Gentoo and NetworkManager



/Hi!

I have tried to isntall NM on Gentoo using the ebuils from the gentopia project. I'm using the following versions:

emerge dhcp dhcdbd networkmanager -av

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-misc/dhcp-3.0.2-r2  +dbus (-selinux) -static 0 kB [2]
[ebuild   R   ] net-misc/dhcdbd-1.6-r1  0 kB [2]
[ebuild R ] net-misc/networkmanager-0.4.1_pre20050823 +crypt -debug -doc +gnome +wifi 0 kB [2]

When I start networkmanager is ask the dhcp server for an IP and actually retrievs one. But it can not atach it the the interface.

Here is a bit from the log:
Aug 29 22:27:36 alfons NetworkManager: <information> Activation (eth1) Beginning DHCP transaction. Aug 29 22:27:36 alfons dhclient: Internet Systems Consortium DHCP Client V3.0.2
Aug 29 22:27:36 alfons dhclient: Copyright 2004 Internet Systems Consortium.
Aug 29 22:27:36 alfons dhclient: All rights reserved.
Aug 29 22:27:36 alfons dhclient: For info, please visit http://www.isc.org/products/DHCP
Aug 29 22:27:36 alfons dhclient:
Aug 29 22:27:36 alfons dhclient: sit0: unknown hardware address type 776
Aug 29 22:27:36 alfons dhclient: execve (/sbin/dhclient-script, ...): No such file or directory
Aug 29 22:27:36 alfons dhclient: sit0: unknown hardware address type 776
Aug 29 22:27:36 alfons NetworkManager: <information> Activation (eth1) Stage 3 (IP Configure Start) complete. Aug 29 22:27:36 alfons NetworkManager: <information> DHCP daemon state now 12 for interface eth1
Aug 29 22:27:36 alfons dhclient: Listening on LPF/eth1/00:12:f0:54:53:35
Aug 29 22:27:36 alfons dhclient: Sending on   LPF/eth1/00:12:f0:54:53:35
Aug 29 22:27:36 alfons dhclient: Sending on   Socket/fallback
Aug 29 22:27:36 alfons dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Aug 29 22:27:37 alfons dhclient: DHCPOFFER from 192.168.1.1
Aug 29 22:27:37 alfons dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Aug 29 22:27:37 alfons dhclient: DHCPACK from 192.168.1.1
Aug 29 22:27:37 alfons dhclient: execve (/sbin/dhclient-script, ...): No such file or directory Aug 29 22:27:37 alfons dhclient: bound to 192.168.1.225 -- renewal in 17356 seconds.
Aug 29 22:27:44 alfons eth1: no IPv6 routers present

After this nothing happens... I does not bind the received ip adress to the interface and after a while the same procedure happens again with this message:


Aug 29 22:26:56 alfons NetworkManager: <information> Device 'eth1' DHCP transaction took too long (>25s), stopping it. Aug 29 22:26:56 alfons dhclient: Internet Systems Consortium DHCP Client V3.0.2
Aug 29 22:26:56 alfons dhclient: Copyright 2004 Internet Systems Consortium.
Aug 29 22:26:56 alfons dhclient: All rights reserved.
Aug 29 22:26:56 alfons dhclient: For info, please visit http://www.isc.org/products/DHCP
Aug 29 22:26:56 alfons dhclient:
Aug 29 22:26:56 alfons dhclient: sit0: unknown hardware address type 776
Aug 29 22:26:56 alfons dhclient: sit0: unknown hardware address type 776
Aug 29 22:26:56 alfons dhclient: Listening on LPF/eth1/00:12:f0:54:53:35
Aug 29 22:26:56 alfons dhclient: Sending on   LPF/eth1/00:12:f0:54:53:35
Aug 29 22:26:56 alfons dhclient: Sending on   Socket/fallback
Aug 29 22:26:56 alfons dhclient: DHCPRELEASE on eth1 to 192.168.1.1 port 67
Aug 29 22:26:56 alfons dhclient: send_packet: Network is unreachable
Aug 29 22:26:56 alfons dhclient: send_packet: please consult README file regarding broadcast address. Aug 29 22:26:56 alfons dhclient: execve (/sbin/dhclient-script, ...): No such file or directory Aug 29 22:26:57 alfons NetworkManager: <information> Activation (eth1) Stage 4 (IP Configure Timeout) scheduled... Aug 29 22:26:57 alfons NetworkManager: <information> Activation (eth1) Stage 4 (IP Configure Timeout) started...

I noticed that in /etc/dhcp I have the following files:

-rwx------  1 root root 6931 Aug 29 18:31 dhclient-script.sample
-rw-r--r--  1 root root  993 Aug 29 18:31 dhclient.conf.sample
-rw-r--r--  1 root root 3176 Aug 29 18:31 dhcpd.conf.sample

Does these files need to be configured? And if so with what? Or what could be my problem? I do not have /sbin/dhclient-script. Should I have that?

regards
Magnus


/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]