Friday, 29 February 2008

Intel3945 wireless upgrade

Well I just upgraded my kernel what a nightmare it had been

Since this was my first kernel upgrade under gentoo linux I'll admit a bit (or a lot) of noobishness and came very close to just screaming at the thing and formating but alas i am still gentoos bitch.

the whole process started because I was trying to get KVM (kernel based virtual machine) working to run XP under linux. Anyway I went from 2.6.18r8 to 2.6.24r3 only to find not only my frame buffer not working but more importantly my wireless not working.

After looking at the forum and i found the previous driver (ipw3945) is now deprecated and has been replace with iwlwifi which uses a different subsystm. after installing the required packages and kernel modules i still found the wireless not working.

after about 6 hours and becoming totally confused as to why i suddenly had a new interface and still the old one (wlan0 and eth1) i tracked it down to a udev rule that had not been rewriten after the new wireless driver.

now having removed /etc/udev/rules.d/70-persistant-net.conf and restarted the new file was generated to look like so

# This file was automatically generated by the /lib64/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x14e4:0x170c (b44)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:d4:de:52:26", ATTR{type}=="1", NAME="eth0"

# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:d2:64:a8:63", ATTR{type}=="1", NAME="wlan0"
the important part of this is the "NAME" section, it had previously been
but as you can see above should now be

so after a couple of edits to my network config to reflect this change everything is good again and my desire to leave gentoo has disappeared again.


No comments:

Post a Comment