udev rules - fails to allocate IP address during boot

Questions about cabled networking
Forum rules
Before you post please read this

udev rules - fails to allocate IP address during boot

Postby bardia.afshin on Thu Dec 27, 2012 5:04 pm

Hi there,

I have modified the udev rules and a few other files in attempt to recover from not having an ip address being allocated to my eth0.

I'm able to get an IP address when I run the following command:
sudo service network-manager restart

HOWEVER, when I reboot the computer - I loose my connectivity and I have to rerun the command every I reboot after logging in.

here's my udev rule:/etc/udev/rules.d $
cat 70-persistent-net.rules
auto eth1
iface eth1 inet dhcp

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:19.0 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"



Notice, I've obscured my mac address for security purposes.


Here's system information:
cat /etc/*release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"
bardia.afshin
Level 1
Level 1
 
Posts: 1
Joined: Thu Dec 27, 2012 4:55 pm

Linux Mint is funded by ads and donations.
 

Return to Ethernet

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests