[debian-non-standard] WLAN with D-Link DWL-G122 USB WLAN stick
Martin Steigerwald
Martin at lichtvoll.de
Tue Jul 14 21:33:04 CEST 2009
Hi!
Appears to work. But dunno whether this could work as access point. I
wouldn't be surprised if it doesn't. I got my stick from Alternate[1].
gayatri:~# tail -fn0 /var/log/syslog
Jul 14 21:18:57 gayatri kernel: [ 307.830000] usb 1-2: new high speed USB
device using ehci_hcd and address 3
Jul 14 21:18:57 gayatri kernel: [ 308.120000] usb 1-2: configuration #1
chosen from 1 choice
Jul 14 21:18:58 gayatri kernel: [ 308.830000] phy1 ->
rt73usb_validate_eeprom: EEPROM recovery - NIC: 0xffef
Jul 14 21:18:58 gayatri kernel: [ 308.830000] phy1 ->
rt73usb_validate_eeprom: EEPROM recovery - Led: 0xe000
Jul 14 21:18:58 gayatri kernel: [ 308.830000] phy1 ->
rt73usb_validate_eeprom: EEPROM recovery - RSSI OFFSET A: 0x0000
Jul 14 21:18:58 gayatri kernel: [ 308.830000] phy1 -> rt2x00_set_chip:
Info - Chipset detected - rt: 1300, rf: 0002, rev: 0002573a.
Jul 14 21:18:58 gayatri kernel: [ 308.860000] phy1: Selected rate control
algorithm 'minstrel'
Jul 14 21:18:58 gayatri kernel: [ 308.870000] Registered led device:
rt73usb-phy1::radio
Jul 14 21:18:58 gayatri kernel: [ 308.880000] Registered led device:
rt73usb-phy1::assoc
Jul 14 21:18:58 gayatri kernel: [ 308.880000] Registered led device:
rt73usb-phy1::quality
Jul 14 21:18:58 gayatri kernel: [ 308.900000] usbcore: registered new
interface driver rt73usb
^C
gayatri:~# aptitude install rt73-common firmware-ralink
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
firmware-ralink rt73-common unzip{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 195kB of archives. After unpacking 594kB will be used.
Do you want to continue? [Y/n/?]
Invalid response. Please enter a valid command or '?' for help.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://debian.n-ix.net lenny/non-free firmware-ralink 0.14+lenny1
[11.8kB]
Get:2 http://debian.n-ix.net lenny/main unzip 5.52-12 [166kB]
Get:3 http://debian.n-ix.net lenny/contrib rt73-common 1:1.0.3.6-
cvs20080623-dfsg1-3 [17.2kB]
Fetched 195kB in 0s (247kB/s)
Selecting previously deselected package firmware-ralink.
(Reading database ... 15575 files and directories currently installed.)
Unpacking firmware-ralink (from .../firmware-ralink_0.14+lenny1_all.deb) ...
Selecting previously deselected package unzip.
Unpacking unzip (from .../unzip_5.52-12_mipsel.deb) ...
Selecting previously deselected package rt73-common.
Unpacking rt73-common (from .../rt73-common_1%3a1.0.3.6-cvs20080623-
dfsg1-3_all.deb) ...
Processing triggers for man-db ...
Setting up firmware-ralink (0.14+lenny1) ...
Setting up unzip (5.52-12) ...
Setting up rt73-common (1:1.0.3.6-cvs20080623-dfsg1-3) ...
E: Directory '/var/log/apt/' missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
gayatri:~# date
Tue Jul 14 21:23:22 CEST 2009
gayatri:~#
gayatri:~# tail -fn0 /var/log/syslog
Jul 14 21:24:28 gayatri kernel: [ 639.220000] usb 1-2: USB disconnect,
address 3
Jul 14 21:24:28 gayatri kernel: [ 639.220000] phy1 ->
rt2x00usb_vendor_request: Error - Vendor Request 0x0a failed for offset
0x0000 with error -19.
Jul 14 21:24:28 gayatri kernel: [ 639.230000] phy1 ->
rt2x00usb_vendor_request: Error - Vendor Request 0x0a failed for offset
0x0000 with error -19.
Jul 14 21:24:28 gayatri kernel: [ 639.240000] phy1 ->
rt2x00usb_vendor_request: Error - Vendor Request 0x0a failed for offset
0x0000 with error -19.
Jul 14 21:24:35 gayatri kernel: [ 646.020000] usb 1-2: new high speed USB
device using ehci_hcd and address 4
Jul 14 21:24:35 gayatri kernel: [ 646.310000] usb 1-2: configuration #1
chosen from 1 choice
Jul 14 21:24:36 gayatri kernel: [ 646.590000] phy2 ->
rt73usb_validate_eeprom: EEPROM recovery - NIC: 0xffef
Jul 14 21:24:36 gayatri kernel: [ 646.590000] phy2 ->
rt73usb_validate_eeprom: EEPROM recovery - Led: 0xe000
Jul 14 21:24:36 gayatri kernel: [ 646.590000] phy2 ->
rt73usb_validate_eeprom: EEPROM recovery - RSSI OFFSET A: 0x0000
Jul 14 21:24:36 gayatri kernel: [ 646.590000] phy2 -> rt2x00_set_chip:
Info - Chipset detected - rt: 1300, rf: 0002, rev: 0002573a.
Jul 14 21:24:36 gayatri kernel: [ 646.620000] phy2: Selected rate control
algorithm 'minstrel'
Jul 14 21:24:36 gayatri kernel: [ 646.630000] Registered led device:
rt73usb-phy2::radio
Jul 14 21:24:36 gayatri kernel: [ 646.640000] Registered led device:
rt73usb-phy2::assoc
Jul 14 21:24:36 gayatri kernel: [ 646.640000] Registered led device:
rt73usb-phy2::quality
^C
gayatri:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 00:1e:8c:2e:0f:51 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21e:8cff:fe2e:f51/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 40:10:18:00:00:2d brd ff:ff:ff:ff:ff:ff
4: wmaster0_rename: <> mtu 0 qdisc noop state DOWN qlen 1000
link/ieee802.11 00:1e:8c:2e:0f:51 brd 00:00:00:00:00:00
5: wlan0_rename: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000
link/ether 00:1e:8c:2e:0f:51 brd ff:ff:ff:ff:ff:ff
6: eth0.1 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP
link/ether 00:1e:8c:2e:0f:52 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.9/16 brd 10.0.0.255 scope global eth0.1
inet6 fe80::21e:8cff:fe2e:f52/64 scope link
valid_lft forever preferred_lft forever
7: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc
pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 88.217.112.162 peer 82.135.16.28/32 scope global ppp0
10: wmaster0: <> mtu 0 qdisc noop state DOWN qlen 1000
link/ieee802.11 00:22:b0:6f:b9:96 brd 00:00:00:00:00:00
11: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:22:b0:6f:b9:96 brd ff:ff:ff:ff:ff:ff
gayatri:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
gayatri:~# ifconfig wlan0 up
gayatri:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: [...]
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=46/70 Signal level=-64 dBm
[...]
[1] http://www.alternate.de
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wpkg.org/pipermail/debian-non-standard/attachments/20090714/e5166736/attachment-0001.sig>
More information about the debian-non-standard
mailing list