
Hi
My network is not initiated on grml 0.7 hd install boot up. I have to manually started it up afterward. I'm wondering why this is happening.
- Is it because my network service is not up?
grep network /etc/runlevel.conf 35 - S /etc/init.d/networking
- Is it because I've changed my dhcp client from pump to dhclient?
- or something else?
thanks

* T mlist4suntong@yahoo.com [20060815 17:15]:
My network is not initiated on grml 0.7 hd install boot up. I have to manually started it up afterward. I'm wondering why this is happening.
- Is it because my network service is not up?
grep network /etc/runlevel.conf 35 - S /etc/init.d/networking
- Is it because I've changed my dhcp client from pump to dhclient?
- or something else?
Does '/etc/init.d/networking start' right after bootup work for you?
What do you mean with 'changed my dhcp client from pump do dhclient'? How did you change it?
How does your /etc/network/interfaces look like? Does it contain a "auto $INTERFACE"?
And finally what does 'grep ifup /etc/runlevel.conf' return?
regards, -mika-

On Tue, 15 Aug 2006 22:07:53 +0200, Michael Prokop wrote:
- T mlist4suntong@yahoo.com [20060815 17:15]:
My network is not initiated on grml 0.7 hd install boot up. I have to manually started it up afterward. I'm wondering why this is happening.
- Is it because my network service is not up?
grep network /etc/runlevel.conf 35 - S /etc/init.d/networking
- Is it because I've changed my dhcp client from pump to dhclient?
- or something else?
Does '/etc/init.d/networking start' right after bootup work for you?
IIRC, no. but I'm really not sure.
How does your /etc/network/interfaces look like? Does it contain a "auto $INTERFACE"?
No, it does not contain the "auto $INTERFACE":
$ cat /etc/network/interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # For more sample entries take a look at /etc/network/interfaces.examples
# The loopback interface # automatically added when upgrading auto lo iface lo inet loopback
And it is the same as what I get from booting from the Live-CD.
And finally what does 'grep ifup /etc/runlevel.conf' return?
$ grep ifup /etc/runlevel.conf 18 - S /etc/init.d/ifupdown-clean 36 - S /etc/init.d/ifupdown 39 - - /etc/init.d/ifupdown-scripts-zg2
Again, same as from the Live-CD, expect the extra ifupdown-scripts-zg2 line.
rings any bells?

* T mlist4suntong@yahoo.com [20060815 23:22]:
On Tue, 15 Aug 2006 22:07:53 +0200, Michael Prokop wrote:
Does '/etc/init.d/networking start' right after bootup work for you?
IIRC, no. but I'm really not sure.
Ok.
How does your /etc/network/interfaces look like? Does it contain a "auto $INTERFACE"?
No, it does not contain the "auto $INTERFACE":
$ cat /etc/network/interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # For more sample entries take a look at /etc/network/interfaces.examples
# The loopback interface # automatically added when upgrading auto lo iface lo inet loopback
Ok, there is no configuration for your device. :)
And it is the same as what I get from booting from the Live-CD.
Sure. The loopback interface is initiated "manually" and all network devices are started via "ifconfig $DEVICE up ; pump -i $DEVICE".
And finally what does 'grep ifup /etc/runlevel.conf' return?
$ grep ifup /etc/runlevel.conf 18 - S /etc/init.d/ifupdown-clean 36 - S /etc/init.d/ifupdown 39 - - /etc/init.d/ifupdown-scripts-zg2
Again, same as from the Live-CD, expect the extra ifupdown-scripts-zg2 line.
Ok.
rings any bells?
How do you bring up your network? :) Seems like you are using a DHCP based setup.
If you want to do it automatically start grml-network and configure it according to your needs. Or manually configure /etc/network/interfaces, take a look at /etc/network/interfaces.examples for some configuration examples.
If you want to use dhcp with the same setup as from live-cd mode make sure that CONFIG_DHCP='yes' is set in /etc/grml/autoconfig and the binary "pump" is available.
regards, -mika-

On Tue, 15 Aug 2006 23:38:45 +0200, Michael Prokop wrote:
How does your /etc/network/interfaces look like? Does it contain a "auto $INTERFACE"?
No, it does not contain the "auto $INTERFACE":
$ cat /etc/network/interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # For more sample entries take a look at /etc/network/interfaces.examples
# The loopback interface # automatically added when upgrading auto lo iface lo inet loopback
Ok, there is no configuration for your device. :)
And it is the same as what I get from booting from the Live-CD.
Sure. The loopback interface is initiated "manually" and all network devices are started via "ifconfig $DEVICE up ; pump -i $DEVICE".
hmmm... that seems to have something to do with my messing with my DHCP client software.
How do you bring up your network? :) Seems like you are using a DHCP based setup.
Currently I manually start it up with:
dhclient
If you want to do it automatically start grml-network and configure it according to your needs. Or manually configure /etc/network/interfaces, take a look at /etc/network/interfaces.examples for some configuration examples.
I took a look at how my Debian Sarge does. Would the following 2 lines good enough for eth0, without relying on pump?
# The primary network interface auto eth0 iface eth0 inet dhcp
thanks
PS. How does my Debian Sarge know which DHCP client that I uses, ie, which one to use to talk to DHCP server?

* T mlist4suntong@yahoo.com [20060816 00:21]:
On Tue, 15 Aug 2006 23:38:45 +0200, Michael Prokop wrote:
How do you bring up your network? :) Seems like you are using a DHCP based setup.
Currently I manually start it up with:
dhclient
Ok, as written in my other mail configure /etc/network/interfaces.
If you want to do it automatically start grml-network and configure it according to your needs. Or manually configure /etc/network/interfaces, take a look at /etc/network/interfaces.examples for some configuration examples.
I took a look at how my Debian Sarge does. Would the following 2 lines good enough for eth0, without relying on pump?
# The primary network interface auto eth0 iface eth0 inet dhcp
Yes.
PS. How does my Debian Sarge know which DHCP client that I uses, ie, which one to use to talk to DHCP server?
Take a look at the source of ifupdown for details.
regards, -mika-

On Tue, 15 Aug 2006 22:07:53 +0200, Michael Prokop wrote:
My network is not initiated on grml 0.7 hd install boot up. I have to manually started it up afterward. I'm wondering why this is happening.
- Is it because I've changed my dhcp client from pump to dhclient?
What do you mean with 'changed my dhcp client from pump do dhclient'? How did you change it?
I'm running grml 0.7 on hd install, so I removed the pump package and installed the dhclient, ie, the dhcpcd package, by
apt-get install pump- dhcpcd
To me, pump is more RedHat's choice, and dhclient has always been Debian's. Hope we have dhclient as the dhcp client for grml in the future. But that's only my personal flavor though.

* T mlist4suntong@yahoo.com [20060816 00:12]:
On Tue, 15 Aug 2006 22:07:53 +0200, Michael Prokop wrote:
My network is not initiated on grml 0.7 hd install boot up. I have to manually started it up afterward. I'm wondering why this is happening.
- Is it because I've changed my dhcp client from pump to dhclient?
What do you mean with 'changed my dhcp client from pump do dhclient'? How did you change it?
I'm running grml 0.7 on hd install, so I removed the pump package and installed the dhclient, ie, the dhcpcd package, by
apt-get install pump- dhcpcd
To me, pump is more RedHat's choice, and dhclient has always been Debian's. Hope we have dhclient as the dhcp client for grml in the future. But that's only my personal flavor though.
You can invoke manually whatever you like (dhclient is available by default on grml as well). But pump is used inside grml-autoconfig because it's faster than dhclient.
The Debian way of life is to configure /etc/network/interfaces like:
auto eth0 iface eth0 inet dhcp
if you want to use DHCP for eth0. You don't have to care what's running in the background. It just works.
regards, -mika-
Teilnehmer (2)
-
Michael Prokop
-
T