Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to get internet address
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1677
Location: Edinburgh, UK

PostPosted: Mon Aug 29, 2016 5:04 pm    Post subject: Not able to get internet address Reply with quote

Hi all,

I have for many years had no problem with using dhcpcd to get an internet address. Recently, I set up wireless on my main desktop, but, after finding it much too slow, I went back to a cabled connection.

I thought I purged everything and went so far as to fall back on an older kernel and rebuild the kernel, but for some reason, I am unable to lease an address from the router. I don't think I changed anything at all on that end.

The message i get is something like:

Code:

DUID ...
eth0: IAID ...
eth0 soliciting a DHCP lease
eth0: probing for an IPv4LL address
eth0: using IPv4LL address x.x.x.x
eth0: adding route to x.x.x.x/16
received address x.x.x.x/16


Sorry I had to type everything in.

This has not been a good few months for me... sigh.

Alex
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Mon Aug 29, 2016 5:55 pm    Post subject: Reply with quote

Use ethtool to make sure there is nothing wrong with physical layer, then set up the connection by hand. This will give you time to investigate your DHCP issue.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43755
Location: 56N 3W

PostPosted: Mon Aug 29, 2016 6:04 pm    Post subject: Reply with quote

evoweiss,

You should get an address before it even gets to
Code:
eth0: probing for an IPv4LL address

Is the link up, e.g.?
Code:
$ dmesg | grep  eth0
[    2.371406] r8169 0000:0a:06.0 eth0: RTL8169s at 0xffffc900000fec00, 00:e0:4c:69:15:09, XID 00800000 IRQ 21
[    2.371416] r8169 0000:0a:06.0 eth0: jumbo features [frames: 7152 bytes, tx checksumming: ok]
[   11.322480] r8169 0000:0a:06.0 eth0: link down
[   11.322486] r8169 0000:0a:06.0 eth0: link down
[   11.322519] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.619639] r8169 0000:0a:06.0 eth0: link up
[   13.619648] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Is the interface called eth0 or something else?

Is there anything interesting at the end of dmesg after you restart eth0?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1677
Location: Edinburgh, UK

PostPosted: Sat Oct 01, 2016 4:53 am    Post subject: Reply with quote

Hi,

Sorry for the long delay in replying, but some personal matters at home required my full attention.

Things are working again, though at this stage I don't recall what I did to solve the problem.

Best,

Alex

NeddySeagoon wrote:
evoweiss,

You should get an address before it even gets to
Code:
eth0: probing for an IPv4LL address

Is the link up, e.g.?
Code:
$ dmesg | grep  eth0
[    2.371406] r8169 0000:0a:06.0 eth0: RTL8169s at 0xffffc900000fec00, 00:e0:4c:69:15:09, XID 00800000 IRQ 21
[    2.371416] r8169 0000:0a:06.0 eth0: jumbo features [frames: 7152 bytes, tx checksumming: ok]
[   11.322480] r8169 0000:0a:06.0 eth0: link down
[   11.322486] r8169 0000:0a:06.0 eth0: link down
[   11.322519] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.619639] r8169 0000:0a:06.0 eth0: link up
[   13.619648] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Is the interface called eth0 or something else?

Is there anything interesting at the end of dmesg after you restart eth0?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum