NIC confusion
-
- Posts: 5
- Joined: 17. Feb 2010, 18:24
NIC confusion
Had some difficulties with online access. After initial installation everything worked as expected via eth0. Some weeks later couldn't get connected. Apparently, the onboard NIC was now being detected as eth1. I've seen this behaviour before, mainly with Mandriva and don't understand it. Had to re-assign addresses to eth1 at a root console, but there were further nuisances. Couldn't login as root, su - console refused to load mousepad, had to edit resolve.conf via <mc>. Too much grief, not enough understanding! Root login is a sine qua non for these kinds of fixes - most other good distros permit it.
Re: NIC confusion
Hi !
About eth0/eth1, I think a udev rule could be tricked to always assign to eth0, unfortunalty, I don't know how, but others should probably know.
About eth0/eth1, I think a udev rule could be tricked to always assign to eth0, unfortunalty, I don't know how, but others should probably know.
Only graphically and this is normal. If you still need to log in graphically, just edit gdm config (there is a graphical application in the system menu for that).NobodyParticular wrote:Couldn't login as root
This is completely normal. "su -" will loose the X11 authentification. Try to use "su" instead.NobodyParticular wrote:su - console refused to load mousepad
You should probably configure all this through wicd client. If you're in DHCP and resolv.conv is not filled correctly, this is a problem with your DHCP server.NobodyParticular wrote:had to edit resolve.conf via <mc>
You can log as root, of course ! Try "su", "gksu", a true Linux Console "CTRL+ALT+F2" for example....NobodyParticular wrote:Root login is a sine qua non for these kinds of fixes - most other good distros permit it.
-
- Posts: 5
- Joined: 17. Feb 2010, 18:24
Re: NIC confusion
Thanks for all that good advice. Will work on it! Look forward to some further erudition concerning the eth0/1 issue. Have router split static: x.y.z.2 - x.y.z.100 (assignment locally) and DHCP: x.y.z.101 - x.y.z.254 (guests!) - works well with all other distros including Windoze. Maybe this is causing the confusion?
Re: NIC confusion
Found :
Do (in root):
Note the MAC Address (HWaddr)
Edit the file /etc/udev/rules.d/70-persistent-net.rules
Add the line :
You're done !
Do (in root):
Code: Select all
ifconfig | grep ^eth
Edit the file /etc/udev/rules.d/70-persistent-net.rules
Add the line :
Code: Select all
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="you_mac_address", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
-
- Posts: 5
- Joined: 17. Feb 2010, 18:24
Re: NIC confusion
Genius is alive in Lyon - thanks a bundle.