Fixing network issues

From Joggler
Jump to: navigation, search

Problem: The Joggler onboard ethernet has no MAC address. The default firmware clones the MAC of the wireless NIC to the ethernet. Obviously this does not happen if you are running another OS. This causes hilarious problems with udev. You might notice ifconfig -a giving the ethernet a different name every boot.


The fix:

1) Edit /lib/udev/rules.d/75-persistent-net-generator.rules

Find the line saying:

KERNEL!="eth*|ath*|wlan*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"

Edit it to say:

KERNEL!="ath*|wlan*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"


2) Edit /etc/udev/rules.d/70-persistent-net.rules

Remove all the duplicate entries so there are only entries for eth0 and wlan.


3) Edit /etc/network/interfaces

Find the part saying:

auto eth0
iface eth0 inet dhcp

Edit it to look like this:

auto eth0
iface eth0 inet dhcp
hwaddress ether DE:AD:BE:EF:CA:FE (or another MAC address of your choosing).


4) sync; sync; reboot #-)