-
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
-
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
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00

20TB 7200 RPM SATA III Internal 3.5" White Label Hard drive
$349.99

Western Digital WD Red 4TB NAS Hard Drive WD40EFRX SATA 64MB 3.5" HDD
$70.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5" Hard Drive MB4000GCWDC /ST4000NM0033
$125.00

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$58.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99