Ubuntu 10.04 dan TP-Link TL-WN422G USB
Langkah pertama, langsung pasang di PC ubuntu. Hasil dmesg menunjukkan sbb:
[ 2862.296068] usb 1-4: new high speed USB device using ehci_hcd and address 5
[ 2862.444951] usb 1-4: configuration #1 chosen from 1 choice
Ternyata perangkat WLAN USB ini tak dikenali oleh Ubuntu 10.04 kernel Linux quantan 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux.
Hasil lsusb:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0cf3:1006 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Perangkat ini ternyata menggunakan chip atheros. Dari penjelajahan sebentar di internet tak ditemukan kasus yang berhasil memasang perangkat ini tanpa masalah di Ubuntu 9.xx dan 10.xx.
Rincian teknis perangkat WLAN USB ini sbb:
TP-Link TL-WN422G Ver: 2.0.
Langkah berikutnya, mencoba ndiswrapper. Saya baru kali ini mencoba ndiswrapper ini, perlu instalasi dulu dengan :
sudo apt-get install ndisgtk
~$ sudo ndiswrapper
[sudo] password for teguh:
install/manage Windows drivers for ndiswrapper
usage: ndiswrapper OPTION
-i inffile install driver described by 'inffile'
-a devid driver use installed 'driver' for 'devid' (dangerous)
-r driver remove 'driver'
-l list installed drivers
-m write configuration for modprobe
-ma write module alias configuration for all devices
-mi write module install configuration for all devices
-v report version information
where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card
Lalu dijalankan satu-persatu:
~$ sudo ndiswrapper -l
~$ sudo ndiswrapper -i /mnt/terabak/Tools/TL-WN322G\(v3\)_WN422G\(v2\)_win7/Windows\ 7\ 32bit/netathur.inf
installing netathur ...
~$ sudo ndiswrapper -l
netathur : driver installed
~$ sudo ndiswrapper -a 0cf3:1006 netathur
WARNING: Driver 'netathur' will be used for '0CF3:1006'
This is safe _only_ if driver netathur is meant for chip in device 0CF3:1006
~$ sudo ndiswrapper -m
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
~$ sudo ndiswrapper -mi
module configuration information is stored in /etc/modprobe.d/ndiswrapper
~$ sudo ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.32-21-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko
version: 1.55
vermagic: 2.6.32-21-generic SMP mod_unload modversions 586
~$ sudo ndiswrapper -ma
module configuration information is stored in /etc/modprobe.d/ndiswrapper
Hasilnya masih seperti ini:
[ 6844.836032] usb 1-4: new high speed USB device using ehci_hcd and address 11
[ 6844.985008] usb 1-4: configuration #1 chosen from 1 choice
[ 6845.100027] usb 1-4: reset high speed USB device using ehci_hcd and address 11
[ 6845.255138] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:'RtlIsServicePackVersionInstalled'
[ 6845.255162] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:'KeInitializeGuardedMutex'
[ 6845.255174] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:'KeReleaseGuardedMutex'
[ 6845.255185] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:'KeAcquireGuardedMutex'
[ 6845.255293] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateMdl'
[ 6845.255306] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisRetreatNetBufferDataStart'
[ 6845.255319] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAdvanceNetBufferDataStart'
[ 6845.255332] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeMdl'
[ 6845.255358] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisOpenConfigurationEx'
[ 6845.255372] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMSetBusData'
[ 6845.255388] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferAndNetBufferList'
[ 6845.255402] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMAllocateNetBufferSGList'
[ 6845.255415] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMFreeNetBufferSGList'
[ 6845.255429] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMDeregisterScatterGatherDma'
[ 6845.255442] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMIndicateReceiveNetBufferLists'
[ 6845.255456] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferListPool'
[ 6845.255469] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferPool'
[ 6845.255482] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeNetBufferListPool'
[ 6845.255495] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeNetBufferPool'
[ 6845.255508] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateNetBuffer'
[ 6845.255521] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeNetBuffer'
[ 6845.255535] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMGetBusData'
[ 6845.255561] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMSendNetBufferListsComplete'
[ 6845.255581] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMSynchronizeWithInterruptEx'
[ 6845.255601] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMRegisterMiniportDriver'
[ 6845.255615] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateMemoryWithTagPriority'
[ 6845.255631] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeIoWorkItem'
[ 6845.255644] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateIoWorkItem'
[ 6845.255668] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMResetComplete'
[ 6845.255721] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMDeregisterMiniportDriver'
[ 6845.255734] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisQueueIoWorkItem'
[ 6845.255747] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMDeregisterInterruptEx'
[ 6845.255761] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMSetMiniportAttributes'
[ 6845.255779] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMIndicateStatusEx'
[ 6845.255793] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMOidRequestComplete'
[ 6845.255806] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisGetSystemUpTimeEx'
[ 6845.255819] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisAllocateNetBufferList'
[ 6845.255832] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisFreeNetBufferList'
[ 6845.255843] ndiswrapper (import:242): unknown symbol: WDFLDR.SYS:'WdfVersionUnbind'
[ 6845.255853] ndiswrapper (import:242): unknown symbol: WDFLDR.SYS:'WdfVersionBind'
[ 6845.255857] ndiswrapper (load_sys_files:206): couldn't prepare driver 'netathur'
[ 6845.257180] ndiswrapper (load_wrap_driver:108): couldn't load driver netathur; check system log for messages from 'loadndisdriver'
Masih perlu akrab lagi dengan nidswrapper ini. Hasil yang sama pada driver untuk Windows VistaX86, sedangkan yang untuk Windows 2000/XP tidak bisa dipasang (invalid).
[Lanjutan]
Saya ambil driver untuk WindowsXP terakhir, filenya 200912311492414.zip. Dibuang driver sebelumnya yang sudah terpasang di ndiswrapper, sama seperti pemasangannya, sbb:
~$ sudo ndiswrapper -r netathur
~$ sudo ndiswrapper -mi
module configuration information is stored in /etc/modprobe.d/ndiswrapper
~$ sudo ndiswrapper -m
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
~$ sudo ndiswrapper -ma
module configuration information is stored in /etc/modprobe.d/ndiswrapper
Setelah dibuang dan disimpan, lanjutkan dengan pemasangan kembali driver yang baru:
~$ sudo ndiswrapper -i /mnt/terabak/Tools/TL-WN422G/Driver\ Files/Win2K_XP/netathuw.inf
installing netathuw ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
~$ sudo ndiswrapper -l
netathuw : driver installed
~$ sudo ndiswrapper -a 0cf3:1006 netathuw
WARNING: Driver 'netathuw' will be used for '0CF3:1006'
This is safe _only_ if driver netathuw is meant for chip in device 0CF3:1006
~$ sudo ndiswrapper -m
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
~$ sudo ndiswrapper -mi
module configuration information is stored in /etc/modprobe.d/ndiswrapper
~$ sudo ndiswrapper -ma
module configuration information is stored in /etc/modprobe.d/ndiswrapper
Setelah itu lepas dan pasang lagi USB WLAN-nya. Hasil dmesg:
[12579.996029] usb 1-4: new high speed USB device using ehci_hcd and address 13
[12580.145094] usb 1-4: configuration #1 chosen from 1 choice
[12580.260541] usb 1-4: reset high speed USB device using ehci_hcd and address 13
[12580.413992] ndiswrapper: driver netathuw (,07/08/2009,7.7.0.51) loaded
[12582.070191] wlan0: ethernet device 94:0c:6d:87:e2:a8 using NDIS driver: netathuw, version: 0x70007, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 0CF3:1006.F.conf
[12582.539179] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[12582.951839] ADDRCONF(NETDEV_UP): wlan0: link is not ready
1 komentar:
gan, aq baru pertama kali coba linux tetapnya ubuntu 10.04, tapi ada masalah dengan setting usb wifi tplink tl-wn422g, permasalaan terletak pada :
22 November 2010 pukul 17.01disprove@disprove-desktop:~$ sudo apt-get install ndiswrapper-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ndiswrapper-common
itu apa yang salah?
mohon pertolongannya, terima kasih.
Posting Komentar