onsdag den 23. maj 2007

Ubuntu, T60 and Wifi LAN

Jeg har leget med Opensource de sidste 5-6 år uden egentligt at bruge det til noget. Med den nye Ubuntu 7.03 Feisty er tingene begyndt at fungere på et helt andet niveau end tidligere.

Ubuntu Live-install CD'en kører uden problemer og er derfor røget ind på den bærbare. Jeg har dog haft problemer med at få det trådløse netværk til at virke. Her er en kort "howto" omkring hvordan jeg fik det til atfungere på min Lenovo T60 IBM Thinkpad:


Installing a Wifi driver on Linux (Ubuntu Feisty) using ndiswrapper for the ThinkPad 11a/b/g/n Wireless mini pci LAN card.

1. Get ndiswrapper:
http://sourceforge.net/project/showfiles.php?group_id=93482

2. Download Lenovo T60 Windows driver:
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-66449

3. Extract its contents with cabextract. You need only the NET5416.INF file.
Run:

cabextract 7iwc16ww.exe

4. Install the driver NET5416.inf file with ndiswrapper:

sudo -i
cd WINXP_2K/
/usr/sbin/ndiswrapper -i NET5416.INF


5.Is the driver is installed?:

ndiswrapper –l

6. load ndiswrapper module:

depmod -a
modprobe ndiswrapper


7. Running iwconfig in the terminal shows the card:

iwconfig wlan0

wlan0 IEEE 802.11b ESSID:"My Home Wireless"
Mode:Managed Frequency:2.462 GHz Access Point: 01:23:45:67:89:AB
Bit Rate:11 Mb/s
Encryption key:off
Power Management:off
Link Quality:42/100 Signal level:-69 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

8. Load ndiswrapper at start:

Add the following to /etc/rc.local to start your network card automatically.

modprobe -r ndiswrapper
modprobe ndiswrapper

9. Reboot and enjoy!

Ingen kommentarer:

Blog-arkiv