| Summary: | Getting the routes via DHCP by default | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alex Loginov <loginov_alex> |
| Component: | RPM Packages | Assignee: | Pascal Terjan <pterjan> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | pterjan |
| Version: | Cauldron | Keywords: | Junior_job |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://wiki.mageialinux.ru/index.php?title=%D0%9F%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B0%D1%80%D1%88%D1%80%D1%83%D1%82%D0%BE%D0%B2_%D1%87%D0%B5%D1%80%D0%B5%D0%B7_DHCP | ||
| Whiteboard: | |||
| Source RPM: | dhcp | CVE: | |
| Status comment: | |||
|
Description
Alex Loginov
2012-07-11 12:28:06 CEST
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 default >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.
Manuel Hiebel
2012-07-12 19:02:17 CEST
Keywords:
NEEDINFO =>
Junior_job 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.
Pascal Terjan
2014-02-09 22:39:31 CET
Assignee:
bugsquad =>
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.
Dick Gevers
2019-10-12 19:13:56 CEST
CC:
dvgevers =>
(none) |