6

DWL-G122 Version C1 -- suse 11.1 -- it works but I can not connect

view full story
linux-howto

http://forums.opensuse.org – Dear forum users, I am new to this community even thought I have been using suse for quite a while. At the moment I have a linux pc with opensuse 11.1 with kernel 2.6.27.45-0.1-pae #1 SMP 2010-02-22 16:49:47 +0100 i686 i686 i386 GNU/Linux I need to use a wireless connection to get rid of a 5 meters long Ethernet cable running in the middle of two rooms, so I checked HCL/Network Adapters (Wireless) - openSUSE and I picked up an hardware which should work: lsusb Bus 001 Device 003: ID 07d1:3c03 D-Link System DWL-G122 802.11g Adapter [ralink rt73] hwinfo --wlan 25: USB 00.0: 0282 WLAN controller [Created at usb.122] UDI: /org/freedesktop/Hal/devices/usb_device_7d1_3c03_noserial_if0 Unique ID: Uc5H.Pj1JuB68U+F Parent ID: k4bc.9T1GDCLyFd9 SysFS ID: /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0 SysFS BusID: 1-4:1.0 Hardware Class: network Model: "D-Link 802.11 bg WLAN" Hotplug: USB Vendor: usb 0x07d1 "D-Link System" Device: usb 0x3c03 "802.11 bg WLAN" Revision: "0.01" Driver: "rt73usb" Driver Modules: "rt73usb" Device File: wlan0 Features: WLAN Speed: 480 Mbps HW Address: 00:26:5a:75:0d:42 Link detected: yes WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 WLAN encryption modes: WEP40 WEP104 TKIP CCMP WLAN authentication modes: open sharedkey wpa-psk wpa-eap Module Alias: "usb:v07D1p3C03d0001dc00dsc00dp00icFFiscFFipFF" Driver Info #0: Driver Status: rt73usb is active Driver Activation Cmd: "modprobe rt73usb" Driver Info #1: Driver Status: rt73 is not active Driver Activation Cmd: "modprobe rt73" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #22 (Hub) Opensuse detect the stick automatically and suggest the installation of ralink-firmware. I had several misunderstanding and I ended up searching for updated firmware. So I found under "software search" that the most recent firmware is the following: home:NicoK:drivers/openSUSE_11.1 I have added it using the 1-click install. From the same repository I have also installed the wpa_supplicant package since I would like to use wpa encoding (please note I have only a vague clue of what are the differences among the several wireless options). I would like to have an encription wpa/wpa-2 and a check on the mac address (which is, at the moment, not active becasue I want to fix the connection before). So, following step by step Getting Your Wireless to Work - openSUSE Forums I have installed the correct packages, and I have configured it with Yast -> Network devices -> Network settings. /usr/sbin/iwlist scan lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. wmaster0 Interface doesn't support scanning. wlan0 Scan completed : [...cut...] Cell 02 - Address: (I got the correct number) Channel:1 Frequency:2.412 GHz (Channel 1) Quality=64/70 Signal level=-46 dBm Encryption key:on ESSID:"Testwireless" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000000075076180 Extra: Last beacon: 64ms ago IE: Unknown: 000B53636865697373654F7274 IE: Unknown: 010882848B960C121824 IE: Unknown: 030101 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : TKIP CCMP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : TKIP CCMP Authentication Suites (1) : PSK IE: Unknown: 2A0100 IE: Unknown: 32043048606C IE: Unknown: DD180050F20201010E0003A4000027A4000042435E0062322F00 IE: Unknown: DD0900037F01010000FF7F IE: Unknown: DD0A00037F04010030000000 IE: Unknown: 0706444520010D14 IE: Unknown: DD910050F204104A00011010440001021041000100103B0001031047001000000000000000030000002308CF68E61021000B436F72706F726174696F6E1023000941525634353238505710240008312E30342E3030301042000A4A3933353036373632361054000800060050F204000110110014576972656C65737320526F757465722857464129100800020004103C000103 The /usr/sbin/iwconfig also return correct data. I configured the "Network settings" and I typed: /etc/init.d/network-remotefs restart Shutting down (remotefs) network interfaces: wlan0 name: 802.11 bg WLAN wlan0 done Hint: you may set mandatory devices in /etc/sysconfig/network/config Setting up (remotefs) network interfaces: wlan0 name: 802.11 bg WLAN wlan0 warning: WPA configured but may be unsupported wlan0 warning: by this device wlan0 starting wpa_supplicant wlan0 Starting DHCP4 client. . . . . . . . wlan0 DHCP4 continues in background wlan0 waiting Setting up service (remotefs) network . . . . . . . . . . done SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... SuSEfirewall2: using default zone 'ext' for interface wmaster0 SuSEfirewall2: batch committing... SuSEfirewall2: Firewall rules successfully set Then I checked the ifconfig, which get an IP address as following: wlan0 Link encap:Ethernet HWaddr (correct mac address) inet addr:192.168.2.109 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::226:5aff:fe75:d42/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13888 errors:0 dropped:0 overruns:0 frame:0 TX packets:8032 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2202624 (2.1 Mb) TX bytes:2793898 (2.6 Mb) At this point I would think that the usb wireless adapter is working properly, also it has two leds, the Lnk is on and the Act is blinking, but if I unplug the Ethernet cable then I can neither ping the router nor any external address, firefox is not loading the pages and skype does not connect! I do not know why, I did some tests including using no encription. Unfortunately my german is rather poor and the D-Telekom has the software only in german for the Speedport W503 V. I assign a name to the net (SSID), which is correctly returened by the test, I chooose a safety type WPA/WPA2 with "Verschluesselungstyp" TKIP/AES (I have no clue if these acronims are international or typical of German software, I am very sorry). Then I give the password (PSK). In the "Network Settings" I select to get a Dynamic Address with DHCP version 4 and 6, the hardware uses the rt73usb firmware and I start the device at boot time. I use Managed operating mode, when I scan networks I see all networks around as well as mine (which I select) and I use WPA-PSK (passphrase) giving the same password I set in the router. I have already deleted the device and reconfigured. I think I have rebooted my pc at least 40 times (in the last 3 days). But the problem does not change, even if it seems to be correcty configured and the usb adapter is working since it detects the available networks, when I unplug the Ethernet cable I can neither ping the router! I am sorry, I am not an expert, I have tried to document me as much as possible but I am not able to find a solution, (by the way, the card is DWL-G122 Version C1, I have seen that version b does not work but I have version C1) (Distributions)