View previous topic :: View next topic |
Author |
Message |
Clad in Sky l33t
Joined: 04 May 2007 Posts: 885 Location: Germany
|
Posted: Sun Nov 25, 2012 11:00 am Post subject: DHCP Configured as a router not a host |
|
|
Hello,
I recently noticed this message when dhcp starts. Network works, though, so I'm not too concerned. But I'd like to know what causes this and if I can get rid of it. It'd also be interesting to know what it actually does (being configured as a router instead of a host), if anyone has the time to explain it.
Thanks. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21497
|
Posted: Sun Nov 25, 2012 5:15 pm Post subject: |
|
|
Please post the exact message, as well as some context around it. Also, what DHCP client are you using? |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 885 Location: Germany
|
Posted: Mon Nov 26, 2012 3:00 pm Post subject: |
|
|
I'm using dhcpcd
Code: |
* Bringing up interface eth0
* dhcpcd ...
* Running dhcpcd ...
dhcpcd[3084]: version 5.6.2 starting
dhcpcd[3084]: all: configured as a router, not a host
dhcpcd[3084]: eth0: waiting for carrier
dhcpcd[3084]: eth0: carrier acquired
dhcpcd[3084]: eth0: rebinding lease of IP
dhcpcd[3084]: eth0: acknowledged IP from other IP
dhcpcd[3084]: eth0: checking for IP
dhcpcd[3084]: eth0: leased IP for 604800 seconds
* received address IP
|
Where IP are IP addresses. They're local so I could've disclosed them, probably. I'm not sure of it though, that's why I didn't. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
RosenSama Tux's lil' helper
Joined: 28 Apr 2003 Posts: 99
|
Posted: Tue Dec 04, 2012 4:26 am Post subject: |
|
|
Did you figure this out? I'm seeing it too. |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Thu Dec 06, 2012 3:30 pm Post subject: |
|
|
Same here, any news or explanation? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Dec 06, 2012 5:08 pm Post subject: |
|
|
dhcpcd-5.6 features IPv6 support for sending an RS and processing an RA.
By default it does this to process RDNSS and DNSSL options in the RA and leaving any address or routing config to the kernel as before.
The message you are seeing is because, as far as IPv6 is concerned, your system has returned a non zero value for /proc/sys/net/ipv6/conf/all/forwarding
Thinking about it, the test itself could be bogus because it assumes that proc entry exists.
To all having this message, could you post the output of this please?
Code: |
cat /proc/sys/net/ipv6/conf/all/forwarding
echo $?
|
_________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Thu Dec 06, 2012 5:26 pm Post subject: |
|
|
As far as I'm concerned you'll have to wait until next week, this is when I'll have access to the box again. All I can say that I have IPv6 not even supported in the kernel so I assume that proc entry should not exist on that box |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3921 Location: Hamburg
|
Posted: Thu Dec 06, 2012 6:00 pm Post subject: |
|
|
I don't have IPv6 in my kernel : Code: | tfoerste@n22 ~ $ cat /proc/sys/net/ipv6/conf/all/forwarding
cat: /proc/sys/net/ipv6/conf/all/forwarding: No such file or directory
tfoerste@n22 ~ $ echo $?
1
| and was wondering about that message too. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3921 Location: Hamburg
|
Posted: Thu Dec 06, 2012 8:23 pm Post subject: |
|
|
UberLord wrote: | That is something I haven't considered to be truthful. | Well even if I run into more and more troubles during the the test phase of emerge b/c packages expect ipv6 I don't see a value for me of compiling in a technique into the kernel for which I don't have a use case here at home within near future. (And in addition my firewall script contains 325 lines currently, I fear a reasonable amount of them I'd have to clone for ipv6 too)
UberLord wrote: | I'll put out a better error in future versions. | TIA |
|
Back to top |
|
|
leonixyz Tux's lil' helper
Joined: 18 Sep 2012 Posts: 76
|
Posted: Thu Dec 06, 2012 9:36 pm Post subject: |
|
|
Hi, i (could) have the same problem, but in addiction can't connect to wireless network...
I'm very novice to Gentoo, and to Linux too, thus please excuse my ignorance.
When I "startx" and open the "wicd-client", I get some errors about the d-bus first, and then about the wicd daemon. After I restart the wicd daemon, my wicd-client works good displaying the wireless networks around me.
I try then to connect to my network (wicd settings encryption and passphrase are ok): while attempting to connect, by reading the messages on the bottom of the wicd GUI, it seems working... but at the end I'm not connected, and the message displayed is "Done connecting", and not "Connected to Vodafone-leonixyz 192.168.1.125", like happens on this other distro.
Before changing dhcpcd.conf, I had a little problem during boot, my dhcpcd was waiting for something and I couldn't log in until dhcpcd timed out. I solved this by adding the last line in dhcpcd.conf.
Code: | cat /proc/sys/net/ipv6/conf/all/forwarding |
no "ipv6" folder in /proc/sys/net/
output is "130"
Here are some (hopefully) useful info:
here is /var/log/wicd/wicd.log
http://paste.ubuntu.com/1415630/
here is the tail of /var/log/syslog
http://paste.ubuntu.com/1415635/
here is a cut of /usr/src/linux/.config
http://paste.ubuntu.com/1415638/
here is /etc/dhcpcd.conf
http://paste.ubuntu.com/1415643/
and finally "emerge --info"
http://paste.ubuntu.com/1415644/
Thank you |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3921 Location: Hamburg
|
Posted: Fri Dec 07, 2012 2:04 pm Post subject: |
|
|
Code: | INIT: Entering runlevel: 3
* Bringing up interface eth0
* dhcp ...
* Running dhcpcd ...
dhcpcd[1053]: version 5.6.2 starting
dhcpcd[1053]: ipv6_open: Address family not supported by protocol
dhcpcd[1053]: eth0: rebinding lease of 192.168.0.22
dhcpcd[1053]: eth0: acknowledged 192.168.0.22 from 192.168.0.254
dhcpcd[1053]: eth0: checking for 192.168.0.22
dhcpcd[1053]: eth0: leased 192.168.0.22 for infinity
dhcpcd[1053]: forked to background, child pid 1080
[ ok ]
* received address 192.168.0.22/16
[ ok ]
| BTW the ebuild seems to ignore epatch_user(), or ? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Dec 07, 2012 2:23 pm Post subject: |
|
|
It's up to the ebuild author to call epatch_user; some do, some don't.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3921 Location: Hamburg
|
Posted: Fri Dec 07, 2012 3:48 pm Post subject: |
|
|
John R. Graham wrote: | It's up to the ebuild author to call epatch_user; some do, some don't.
- John | Ah - interesting. I thought that EAPI=4 would automatically add that feature to an ebuild. |
|
Back to top |
|
|
|