No routes via DHCP by default, but in Mandriva 2010.2 routes are via DHCP by default. Fixed in Mandriva: https://qa.mandriva.com/show_bug.cgi?id=62242
Can you explain a bit more please, I don't understand your wiki page, thanks
Keywords: (none) => NEEDINFO
It's better to see https://qa.mandriva.com/show_bug.cgi?id=62242 how Eugeni Dodonov fixed this bug (2011-01-19 14:32:51). /etc/dhclient-exit-hooks is in wiki. /etc/dhclient.conf is in wiki to start: dhclient eth0 But I don't know how Dodonov fixed, but he saw wiki. http://translate.google.ru/?hl=ru&tab=wT#ru|en|
ok found it, needs more sleeping.. http://svn.mandriva.com/viewvc/packages?view=revision&revision=631680 but as you can see it here it's the same change, so ?
Summary: No routes via DHCP by default, but in Mandriva 2010.2 the routes are via DHCP by default => Getting the routes via DHCP by defaultSource RPM: dhclient => dhcp
>but as you can see it here it's the same change, so ? missing to paste the link: http://svnweb.mageia.org/packages?view=revision&revision=84559
/etc/dhclient-exit-hooks is in package dhcp-server, but dhcp-server is not installed by default in Mageia - this is the first reason why is not working. After installing of dhcp-server I did not receive routes via DHCP. It means Dodonov fixed something more.
it's the same in mdv, so it's wrong too no ? you should said that instead of make us guess things So if we move the patch to the dhcp-client it's ok ?
I think: 1) better to move the patch to the dhcp-client: /etc/dhclient-exit-hooks, 2) to include to the dhcp-client: /etc/dhclient.conf (in wiki), 3) to change ifup (or another network script): after rising up of net interface (for example, eth0) to do: dhclient eth0.
Keywords: NEEDINFO => Junior_jobSeverity: normal => enhancement
Will you add dhcp-server package as preinstalled in distro? And this bug will be closed.
Installing dhcp-server by default certainly doesn't make any sense. Maybe switching back to dhcpcd instead of dhcp-client as the default DHCP client would help?
Eugeni Dodonov fixed only dhcp-server for getting the routes via DHCP.
Assignee: bugsquad => pterjanCC: (none) => pterjan
I have moved the hook to the dhcp-client package
But we may rather want something in /etc/NetworkManager/dispatcher.d (not sure)
Since dhcp-client-4.3.1-2 with the move in of the hook file, status network.service shows an error every time: # systemctl -l status network.service gives inter alia: ...ifplugd(eth0)[6959]: client: Determining IP information for eth0.../etc/dhclient-exit-hooks: line 8: hook: No such file or directory ...dhclient[7147]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 ...dhclient[7147]: DHCPACK from 192.168.xxx.xx ...ifplugd(eth0)[6959]: client: /etc/dhclient-exit-hooks: line 8: hook: No such file or directory ...dhclient[7147]: bound to 192.168.xxx.xx -- renewal in 402859 seconds. So I'm afraid the change is not very helpful.
CC: (none) => dvgevers
Should be fixed in -4
Wow; that's fast :)) Thanks!
Pascal, hello, Nothing requires dhcp-client. It is requires for networkmanager, for example; but without networkmanager I got non working network.
CC: dvgevers => (none)