PDA

View Full Version : Network card eth0 start with DHCP !!!!!



fabry6210
05-02-2004, 10:27 AM
Hello, i have install knoppix 3.4 cbit edition, i configure the network card eth0 with a static ip address but when the knoppix start it search a dhcp for eth0 :-(
this is the /etc/network/interfaces file:

auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.0.0.20
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.138

please help me and sorry for my english......

firebyrd10
05-02-2004, 10:24 PM
if your useing the live cd then your config is going to be deleted when you restart unless you tell knoppix to save your config and then load it on boot. knoppix config=scan knoppix floppyconfig etc

master_b
05-12-2004, 09:53 AM
at boot prompt, type knoppix nodhcp to stop knoppix searching for dhcp - see cheat codes

terminator
05-16-2004, 01:47 PM
Hi.

I installed knoppix in my hd (knoppix-installer) with option 1 (multi user) to use it as a firewall.
I had the same problem (that a my dear friend solved) with network card configuration:
at reboot, ip settings are deleted and knoppix always search dhcp.
My friend created a script (as workaround) that set interfaces at startup (runlevel 3 or 5).
In this script is set static ip for etho and dhcp for eth1.
Fortunally it works but...I think it is a big bug.

Now....I have a question: how can I inform klaus or knoppix developpers to inform them?

Marco R.
Italy

turbines
05-25-2004, 02:33 PM
See this thread.
http://www.knoppix.net/forum/viewtopic.php?t=10784

user unknown
05-25-2004, 03:06 PM
And the correct runlevel is 4 imho.



---runlevels---
0 halt
1 singleuser
2 ?
3 multiuser (MU)
4 MU network
5 MU network X11
6 reboot

what's 2 for? /etc/inittab only tells "2-5 multiuser"

terminator
05-26-2004, 07:47 PM
Hi

turbines, I read the topic and I thanks you but I had already created a script as workaround that worked fine for me.
The problem is that it is a bug in knoppix installer thus I think someone should inform Klaus or knoppix team; I haven't understood how to contact the teams.
Do you know the correct procedure? I looked at bug section of this forum and there is a "sign in" form but with my login cannot log on.

bye

aay
05-27-2004, 12:45 AM
I haven't understood how to contact the teams. Do you know the correct procedure?

The best way is to subscribe to this list

http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix

Pulp
05-27-2004, 04:55 PM
Hallo zusammen,

ich setze mich seit einigen Tagen nun schon mit Knoppix 3.4 auseinander.
Mein Problem im Augenblick besteht daran, dass ich nach jedem Start meine
Netzwerkkarte erneut mit einer statischen IP-Adresse konfigurieren muss.
Ich habe Knoppix auf meine Festplatte installiert und habe dafür die Option
"Beginner" verwendet. Bei Starten wird die Netzwerkkarte standardmäßig
auf DHCP konfiguriert, wenn nichts anderes in den Bootoptionen steht.
Da ich es jedoch fest auf meiner Platte installiert habe und LILO
verwende kann ich ja keine Bootoptionen mehr angeben und die Karte wird
jedes mal auf DHCP konfiguriert. Also habe ich mich mal an das Boot-Skript
herangewagt, welches ausgeführt wird und bin fündig geworden.
Dort stand nämlich sinngemäß drin, wenn keine Bootoptionen in Sachen
Netzwerkkonfiguration angegeben wurden, konfiguriere die Karte für DHCP.
Also habe ich diese stelle auskommentiert und habe "ifconfig eth0 IPADRESSE up"
hineingeschrieben und siehe da nun funktioniert es. Nun meine eigentlich Frage:
Ist das so in Ordnung oder empfiehlt sich dafür etwas anderes?
Es wäre nett wenn sich jemand darüber äußern würde.

user unknown
05-27-2004, 06:02 PM
all: I hope you excuse my answer in german.

Hi pulp: imho ist das völlig in Ordnung.
Wenn Du des Englischen mächtig bist, dann nutze es bitte.
Wenn Du ein deutsches Forum findest, sag Bescheid :)
Nicht in Ordnung ist die Behauptung:

... und LILO verwende kann ich ja keine Bootoptionen mehr angeben

a) kannst Du die Optionen in lilo.conf festlegen, z.B. so:


append "acpi=off nohwsetup"

oder Du wählst, bei mehreren bootoptionen eine aus, z.B. "linux-2.6.5", haust aber nicht auf die Enter-Taste, sondern ergänzt: acpi=off nohwsetup
zum Beispiel.

terminator
05-27-2004, 09:25 PM
Hi aay,

I thanks you for your information. I will try to subscribe to the list.


bye