-
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

Lot 4 Samsung 64gb PC4-25600 2Rx4 DDR4-3200AA ECC RDIMM Reg Server Memory RAM
$3199.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$225.00

RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections
$63.00

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$169.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50