Friday, August 22, 2008

T60 and wireless

1. Installed
http://www.ngsys.eti.br/pub/miscelaneous/patch-wireless.deb
2. /compat-wireless-2008-08-06$ sudo checkinstall make install
but errors

(Reading database ... 136579 files and directories currently installed.)
Unpacking compat-wireless-2008-08 (from .../compat-wireless-2008-08_06-1_i386.deb) ...
dpkg: error processing /home/magg/dwnl/compat-wireless-2008-08-06/compat-wireless-2008-08_06-1_i386.deb (--install):
trying to overwrite `/usr/sbin/b43load', which is also in package patch-wireless
Errors were encountered while processing:
/home/magg/dwnl/compat-wireless-2008-08-06/compat-wireless-2008-08_06-1_i386.deb

3. removed patch-wireless.deb
4. compat-wireless-2008-08-06$ sudo dpkg -i compat-wireless-2008-08_06-1_i386.deb

5. /compat-wireless-2008-08-06$ sudo make load

6. I installed linux-backports-modules-hardy

2 comments:

Magda said...

You have to have ndiswrapper module - not ndiswrapper-utils, -common or whatever. So you have to download the ndiswrapper sources and follow INSTALL instructions. Then you can have your wireless network again.

Magda said...

# look for .config and include
/tmp/ndiswrapper-1.53$ ls -la /lib/modules/`uname -r`/build


/tmp/ndiswrapper-1.53$ sudo make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
removing /sbin/loadndisdriver
removing /usr/sbin/ndiswrapper

:/tmp/ndiswrapper-1.53$ sudo make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.

magg@sartorius:/tmp/ndiswrapper-1.53$ make
....
:/tmp/ndiswrapper-1.53$ ndiswrapper -i /mnt/xp/DRIVERS/WIN/WLLANATH/WINXP_2K/NET5416.INF
driver net5416 is already installed
magg@sartorius:/tmp/ndiswrapper-1.53$ ndiswrapper -l
net5416 : driver installed
device (168C:0024) present (alternate driver: ath5k)
magg@sartorius:/tmp/ndiswrapper-1.53$ sudo modprobe ndiswrapper
magg@sartorius:/tmp/ndiswrapper-1.53$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

irda0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

That's it.