Results 1 to 2 of 2

Thread: Networksettings thrown away - Need help

  1. #1

    Networksettings thrown away - Need help

    Hi,

    i need some help. I want to remaster KNOPPIX 3.7 with the remaster_0.1-6.tar.gz script but every changes i made to /etc/network/interfaces will be lost after i choose "2 create compressed fs" at the menu.

    The system i use to remaster has only one interface (eth0) which gets its ip from the dhcp. The /mnt/hda2/remaster/etc/network/interfaces config file looks like:

    Code:
    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
    # The loopback interface
    # automatically added when upgrading
    auto lo
    iface lo inet loopback
    The CD has to run on a server with 2 interfaces. I tried to configure the IPs (and some static routes) in that file:
    Code:
    auto lo eth0 eth1
    iface lo inet loopback
    
    iface eth0 inet static
     address 10.250.240.4
     netmask 255.255.255.0
     network 10.250.240.0
     broadcast 10.250.240.255
     up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.250.240.1 eth0
    
    iface eth1 inet static
     address 192.168.13.5
     netmask 255.255.255.248
     network 192.168.13.0
     broadcast 192.168.13.7
     gateway 192.168.13.1
     up route add -net 10.205.11.148 netmask 255.255.255.255 gw 192.168.13.1 eth1
     up route add -net 10.205.11.149 netmask 255.255.255.255 gw 192.168.13.1 eth1
    But after i choose the 2nd menu item, the interface file is overwritten with the first one above (default?)!
    All other config files stay untouched.
    Do anyone see an error? Why do the remaster script throw my settings away?

    Thx for help!
    Schlabbl

  2. #2
    HA, i found the first Problem.

    The remastering script "knoppix-remaster" calls the script "Knoppix-3.4-mkcompressed" in the chang root enviroment.
    Look at this script:

    ...snip...
    cat >/etc/network/interfaces <<EOT
    # /etc/network/interfaces -- configuration file for ifup(, ifdown(

    # The loopback interface
    # automatically added when upgrading
    auto lo
    iface lo inet loopback

    EOT

    cat >/etc/dhcpc/resolv.conf <<EOT
    # Insert nameservers here
    # nameserver 127.0.0.1
    EOT
    ...snip...
    tstststs



    Now i have another problem:
    The remastered CD doesnt take my config in /etc/network/interfaces (see above)!
    Knoppix starts only eth0 and tries to get a dhcp server there?!
    What are my mistakes?

    Thanx,
    Schlabbl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Crucial MX500 500GB 2.5

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1

$52.99



SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE picture

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE

$214.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



KingSpec SSD 2.5

KingSpec SSD 2.5" SATA3 Internal Solid State Drive for PC,Laptop,Mac

$60.00



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$37.99



Samsung SSD, v-nand,860 EVO, 500gb, model MZ-76E500, SATA III, Health 90-98% picture

Samsung SSD, v-nand,860 EVO, 500gb, model MZ-76E500, SATA III, Health 90-98%

$50.00



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Kingston 128GB M.2 SATA III SSD  picture

Kingston 128GB M.2 SATA III SSD

$13.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99