Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networking Issue, Lost Routes?
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
Parag Patel
n00b
n00b


Joined: 12 Dec 2007
Posts: 21

PostPosted: Wed May 04, 2011 3:34 pm    Post subject: Networking Issue, Lost Routes? Reply with quote

I have an interesting problem. I have just installed an x86_64 based Gentoo:

2.6.37-r7 (Hardened) kernel.
dhcpcd v. 5.2.12
route v 1.98

When I boot the system, using dhcpcd, I get messages that the interface communicates with the network server, and an ip address is acquired and applied, however when I run ifconfig, the interface is not configured with an ipv4 address. If I tried to reconfigure the interface manually, the address would not "stick," that is, the address would not be configured.

I configured the system for manual network configuration from boot up, and the interface appears to stay configured, however the default route does not stay configured.

Did I mention that I replicated this problem with a current Gentoo liveCD?
I tried this with two network interfaces, using the e1000 and e1000e kernel drivers.

I have seen some similar issues with earlier kernel versions, and dhcpcd versions going back to last autumn, but as the stage3, and live CD have both been recreated in the last month, I am expecting these issues have been fixed... I reviewed the emerge logs, and I have not updated anything that looks network related. (except for the packages I added, dhcpcd, hostapd, and bridge-utils. I replicated the problem after uninstalling the latter two)

Any thoughts?

Parag
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 838

PostPosted: Thu May 05, 2011 1:34 pm    Post subject: Reply with quote

(0. check that dhcp-server really works.)
1. select working network-driver: boot livecd, when nic works, find out driver with
Code:
orbb ~ # lspci -k
04:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
        Subsystem: Sun Microsystems Computer Corp. Device 534f
        Kernel driver in use: e1000e

2. boot installed system, if necessary, recompile kernle with exactly the driver from 1. if module, load it, if compiled into kernel, reboot.
3. do
Code:
ifconfig -a

if numbering of ifs is uncorrect (eg you have only one nic, but it is named eth1 instead of eth0), delete (or adjust) /etc/udev/rules.d/70-persistent-net.rules (it will be re-created on reboot); reboot if necesssary
4. assign address manually with ifconfig and configure route(s); if this works as desired write it into /etc/conf.d/net OR check your dhcp-server and configure the system to use that. you can check if this setup works by running the dhcp-client manually, eg
Code:
dhcpcd eth0
if you use dhcpcd.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
Parag Patel
n00b
n00b


Joined: 12 Dec 2007
Posts: 21

PostPosted: Sat May 14, 2011 1:47 am    Post subject: Reply with quote

Thanks DawgG. Didn't really help. I think I am looking at a hardware failure.

Parag
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