* [gentoo-user] Trouble with dhcpcd after update
@ 2006-06-16 10:29 Jean Magnan de Bornier
2006-06-17 10:34 ` Mick
0 siblings, 1 reply; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-06-16 10:29 UTC (permalink / raw
To: gentoo-user
Hello all,
I made a big update on a machine (about six month without any maintenance,
I KNOW it's bad!!); now here is what happens when I say
..........................................
[root@borixe:/home/jean]# dhcpcd
ClassID = "Linux 2.6.16-gentoo-r9 i686"
ClientID = "61.7.1.00.05.5D.A2.56.5D"
parseDhcpMsgRecv: 8 options received:
i=1 len=4 option = 255.255.255.0
i=3 len=4 option = 192.168.0.1
i=6 len=12 option = 212.27.32.176
i=6 len=12 option = 212.27.32.177
i=6 len=12 option = 213.228.0.212
i=15 len=11 option = "bornier.net"
i=28 len=4 option = 192.168.0.255
i=51 len=4 option = 5184000
i=53 len=1 option = 2
i=54 len=4 option = 192.168.0.1
DhcpMsgRecv->yiaddr = 192.168.0.253
DhcpMsgRecv->siaddr = 192.168.0.1
DhcpMsgRecv->giaddr = 0.0.0.0
DhcpMsgRecv->sname = ""
ServerHardwareAddr = 00.90.27.E6.2C.9C
parseDhcpMsgRecv: 10 options received:
i=1 len=4 option = 255.255.255.0
i=3 len=4 option = 192.168.0.1
i=6 len=12 option = 212.27.32.176
i=6 len=12 option = 212.27.32.177
i=6 len=12 option = 213.228.0.212
i=15 len=11 option = "bornier.net"
i=28 len=4 option = 192.168.0.255
i=51 len=4 option = 5184000
i=53 len=1 option = 5
i=54 len=4 option = 192.168.0.1
i=58 len=4 option = 0
i=59 len=4 option = 0
DhcpMsgRecv->yiaddr = 192.168.0.253
DhcpMsgRecv->siaddr = 192.168.0.1
DhcpMsgRecv->giaddr = 0.0.0.0
DhcpMsgRecv->sname = ""
ServerHardwareAddr = 00.90.27.E6.2C.9C
.......................................
Then my console is *out of use* but I'm connected all right; but the
trouble is I want of course to get a connection during boot, and the same
message appears when booting, and then nothing more happens to my machine:
the booting process is simply stopped.
There is a dhcpc directory in /etc and it is empty...
I don't know how to understand this message; can anyone help?
tia
--
Jean Magnan de Bornier
3 Cours Victor Hugo, 13980 Alleins France
Tel: 08 70 39 34 03 Port: 06 09 17 35 87
e-mots: jean*at*bornier.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Trouble with dhcpcd after update
2006-06-16 10:29 [gentoo-user] Trouble with dhcpcd after update Jean Magnan de Bornier
@ 2006-06-17 10:34 ` Mick
2006-06-17 13:21 ` Jean Magnan de Bornier
0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2006-06-17 10:34 UTC (permalink / raw
To: gentoo-user
On 16/06/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
> There is a dhcpc directory in /etc and it is empty...
In my up-to-date system there is no /etc/dhcp* file or directory.
Check that hostname, domainname are correct in /etc/conf.d/ and that
/etc/hosts has the right entries for your machine. dhdpcd should do
the rest on its own when it is called from your /etc/conf.d/net.eth0
file (link to .etc.conf.d/net). All such config files are now in the
/etc/conf.d/ directory.
To overcome the boot problem remove net.eth0 from the default runlevel:
# rc-update -d net.eth0
HTH
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Trouble with dhcpcd after update
2006-06-17 10:34 ` Mick
@ 2006-06-17 13:21 ` Jean Magnan de Bornier
2006-06-17 17:04 ` Mick
0 siblings, 1 reply; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-06-17 13:21 UTC (permalink / raw
To: gentoo-user
Le 17 juin à 12:34:42 Mick <michaelkintzios@gmail.com> écrit notamment:
| On 16/06/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
>
| > There is a dhcpc directory in /etc and it is empty...
>
| In my up-to-date system there is no /etc/dhcp* file or directory.
| Check that hostname, domainname are correct in /etc/conf.d/ and that
| /etc/hosts has the right entries for your machine. dhdpcd should do
| the rest on its own when it is called from your /etc/conf.d/net.eth0
| file (link to .etc.conf.d/net). All such config files are now in the
| /etc/conf.d/ directory.
Thanks Mick; all the config files are as they should be (I deleted
/etc/hostname and checked /etc/hosts), however the problem is still there!
>
| To overcome the boot problem remove net.eth0 from the default runlevel:
| # rc-update -d net.eth0
Good! I hadn't thought of that; but of course it has to be temporary.
cheers,
--
Jean Magnan de Bornier | Cours Victor Hugo
e-mots: jean at bornier.net | 13980 Alleins France
T 08 70 39 34 03 | P 06 09 17 35 87
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Trouble with dhcpcd after update
2006-06-17 13:21 ` Jean Magnan de Bornier
@ 2006-06-17 17:04 ` Mick
2006-06-17 17:50 ` Jean Magnan de Bornier
0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2006-06-17 17:04 UTC (permalink / raw
To: gentoo-user
On 17/06/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
> Thanks Mick; all the config files are as they should be (I deleted
> /etc/hostname and checked /etc/hosts), however the problem is still there!
I am not sure, but it seems that your dhcpcd is finding a number of
servers on your network, offering IP addresses. When I run dhcpcd
from a terminal on my computer I do not get anything back. It
silently connects to my router (which is the only dhcp server in the
LAN offering IP addresses). In my view this is not necessarily a
dhcpcd problem because when you run the command from a console you get
an IP address. So, it must have something to do with either the
/etc/init.d/net.eth0 script, or the associated configuration files
which the script calls. The default script should work straight out
of the box so we are now looking for something being amiss with the
/etc/conf.d/net and other config files. A critical symlink in
/etc/conf.d/ which is not always installed is this link:
lrwxrwxrwx 1 root root 15 Jun 11 2005 net.eth0 -> /etc/conf.d/net
If this doesn't help it may be worth going through the current gentoo
installation handbook, which will be up to date with regards to
setting up your network.
> | To overcome the boot problem remove net.eth0 from the default runlevel:
> | # rc-update -d net.eth0
>
> Good! I hadn't thought of that; but of course it has to be temporary.
To start/stop your eth0 interface run:
# /etc/init.d/net.eth0 start | stop | restart | zap
I assume of course that you do not have dhcpcd in rc-udpate default
level, but you have net.eth0 default (as well as domainname) instead?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Trouble with dhcpcd after update
2006-06-17 17:04 ` Mick
@ 2006-06-17 17:50 ` Jean Magnan de Bornier
0 siblings, 0 replies; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-06-17 17:50 UTC (permalink / raw
To: gentoo-user
Le 17 juin à 19:04:30 Mick <michaelkintzios@gmail.com> écrit notamment:
| On 17/06/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
>
| > Thanks Mick; all the config files are as they should be (I deleted
| > /etc/hostname and checked /etc/hosts), however the problem is still there!
>
| I am not sure, but it seems that your dhcpcd is finding a number of
| servers on your network, offering IP addresses. When I run dhcpcd
| from a terminal on my computer I do not get anything back. It
| silently connects to my router (which is the only dhcp server in the
| LAN offering IP addresses). In my view this is not necessarily a
| dhcpcd problem because when you run the command from a console you get
| an IP address.
Well, yes, it is definitely a dhcpcd problem, as it happens exactly the
same way with either
# /etc/init.d/net.eth0 start
or simply
# dhcpcd
In both cases I get
1/ a connection,
2/ an unusual verbosity, and
3/ a freezed console/shell.
regards
--
Jean Magnan de Bornier | Cours Victor Hugo
e-mots: jean at bornier.net | 13980 Alleins France
T 08 70 39 34 03 | P 06 09 17 35 87
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-17 18:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 10:29 [gentoo-user] Trouble with dhcpcd after update Jean Magnan de Bornier
2006-06-17 10:34 ` Mick
2006-06-17 13:21 ` Jean Magnan de Bornier
2006-06-17 17:04 ` Mick
2006-06-17 17:50 ` Jean Magnan de Bornier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox