Encryption doesn't work

First of all this is a great forum which gives very good informations. I use openSUSE since a few month and love it! Until now I managed to solve my issues alone but now I reached a point where I don’t get forward anymore. From now on I have to use a wireless card to connect to the internet (I’m a fan of the dull old cable stuff :wink: ) and tried to figure out how to get it work already a while but i just don’t succeed…

I have a Conceptronic PCI card, details are Network controller: RaLink RT2561/RT61 rev B 802.11g.

If the encryption is turned off i can connect to the internet, but neither WEP nor WAP works. So the firmware should be okay, shouldn’t it? (plus I saw the binary in the right folder).

I followed the „Getting Your Wireless to Work“ article and it works fine until

If you can ping your AP, the next step is to ping an external site. Try the command

ping -c 5 66.70.73.150 

Which gives a nasty

Destination Host Unreachable

--- 66.70.73.150 ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss 

It concludes, that my name server entries are wrong and * should seek help. So, that’ what I do here :).

Some details which are hopefully informative about this problem:

/sbin/lspci    
01:0a.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

/sbin/lspci -n  
01:0a.0 0280: 1814:0302

/usr/sbin/iwconfig
IEEE 802.11bg  ESSID:"belkin54g"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:17:3F:55:35:F4
          Bit Rate=54 Mb/s   Tx-Power=13 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Power Management:off
          Link Quality=76/100  Signal level:-20 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sudo /usr/sbin/iwlist scan
wlan0     Scan completed :
          Cell 01 - Address: 00:17:3F:55:35:F4
                    ESSID:"belkin54g"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=57/100  Signal level:-18 dBm
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=000000008fa57185
                    Extra: Last beacon: 12ms ago

Anyone an idea what I could try? I’d prefer the WPA but also WEP would be okay. I tried different keys, but no matter if it was words or random mixtures of letters and numbers the WPA didn’t work (of course i also changed the settings of the router).*

/sbin/lspci -v tells

01:0a.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
        Subsystem: Device 1948:3c24
        Flags: bus master, slow devsel, latency 64, IRQ 11
        Memory at dbff8000 (32-bit, non-prefetchable) [size=32]
        Capabilities: <access denied>
        Kernel driver in use: rt61pci
        Kernel modules: rt61pci

[/size]

Sorry… I forgot half of the information it seems…
I’m using version 11.1 and KDE 4.1.

KarlaKa wrote:
> First of all this is a great forum which gives very good informations. I
> use openSUSE since a few month and love it! Until now I managed to solve
> my issues alone but now I reached a point where I don’t get forward
> anymore. From now on I have to use a wireless card to connect to the
> internet (I’m a fan of the dull old cable stuff :wink: ) and tried to figure
> out how to get it work already a while but i just don’t succeed…
>
> I have a Conceptronic PCI card, details are Network controller: RaLink
> RT2561/RT61 rev B 802.11g.
>
> If the encryption is turned off i can connect to the internet, but
> neither WEP nor WAP works. So the firmware should be okay, shouldn’t it?
> (plus I saw the binary in the right folder).
>
> I followed the „Getting Your Wireless to Work“ article and it works
> fine until
>
>
> Code:
> --------------------
> If you can ping your AP, the next step is to ping an external site. Try the command
>
> ping -c 5 66.70.73.150
> --------------------
>
>
> Which gives a nasty
>
>
> Code:
> --------------------
> Destination Host Unreachable
>
> — 66.70.73.150 ping statistics —
> 5 packets transmitted, 0 received, +4 errors, 100% packet loss
> --------------------
>
>
> It concludes, that my name server entries are wrong and * should seek
> help. So, that’ what I do here :).
>
> Some details which are hopefully informative about this problem:
>
>
> Code:
> --------------------
> /sbin/lspci
> 01:0a.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
>
> /sbin/lspci -n
> 01:0a.0 0280: 1814:0302
>
> /usr/sbin/iwconfig
> IEEE 802.11bg ESSID:“belkin54g”
> Mode:Managed Frequency:2.437 GHz Access Point: 00:17:3F:55:35:F4
> Bit Rate=54 Mb/s Tx-Power=13 dBm
> Retry min limit:7 RTS thr:off Fragment thr=2352 B
> Power Management:off
> Link Quality=76/100 Signal level:-20 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0

If you can ping your router, then encryption IS working. That data is
encrypted. Are you using DHCP or do you have a static IP? If the latter, you
have not set up /etc/resolv.conf.

Larry
*

Thank you for your reply. I have DHCP.

On 04/01/2009 KarlaKa wrote:
> Thank you for your reply. I have DHCP.

Try setting the default gateway manually. In a console as root

route add default gw IPofRouter

Uwe

I got a new problem… I moved the computer to its place and the signal is too weak there… I got a new antenna and an antenna cable, but it won’t improve. My laptop is able to find up to 3 networks, my desktop computer just one… even if i put the antenna next to the laptop, where it finds an okay signal it doesn’t help. The router is by Belkin and the wlan card by Conceptronic, could it be that they have problems with each other? (the parts, not the companies…)
I have no clue anymore what else I could try… Anyone other ideas? (it shouldn’t be too expensive…)
Ah, and the connection is relativley slow, could be that it isn’t even full DSL.
(a LAN cable up the staircase to my room works, but it is not accepted by the other people :-/)

Buy a better card, especially Ralkink cards are low cost/low end hardware and known for these problems.

You get what you paid for, good cards with Atheros-, Broadcom- or Prism-chipset (and a good antenna) should be available from 30-50 € and as they normally should last for several years, what is the sense of trying to save a few euros instead of having good hardware?

Thank you, so I’ll invest more in that. I compared a list of cards which work good with linux and an online store and took the first match… (I rather ment I don’t want a powerline solution or such, as that would be too much). I didn’t expect that there’s such a big difference with the cards.
And sorry for my stupid questions…

well, the question is not stupid at all. it’s a well known issue that default drivers for some of the Ra-Link cards suck. just look:

Drivers for RT61 and openSUSE-11.1

choose the one which suit your kernel (the was an update of the kernel since the release of a version 11.1 and you need the kernel module which match the running kernel on your PC).

the package below:
RutilT

will give you the advanced configuration tool for your Ra-Link card. it’d be started “as root” :slight_smile:

There are two possible steps one should perform before totally switching to other drivers and another configuration tool.

A) Try newest rt2x00-drivers (rt61pci) from “compat-wireless”

Webpin

If they give better performance no further changes are needed.

B) If they don’t work, try the “legacy”-driver rt61 together with a wpa_supplicant package, which is capable of using the “ralink”-extension and use the traditional method with ifup.

Packages of such a wpa_supplicant can be found in my OBS-repo.

Index of /repositories/home:/Akoellh

(You can also install the rt61-kmp-package from that repo, it is identical to those in “driver:wireless”, I provide recent “compat-wireless”-packages in that repo, too.)

Until now, you have to make a few changes to the “ifup-wireless”-script, in the next openSUSE-release they might be available by default.

See:

https://bugzilla.novell.com/show_bug.cgi?id=477833

and

https://bugzilla.novell.com/show_bug.cgi?id=481380

Thanks to your help I got drivers with which the signal got a bit better. But not good enough to work with the connection… I guess it’s also a physical problem, too many things blocking the signal. And it’s a desktop, so I can’t just move it to get a better signal whenever required (I already have got a better antenna). So I just gave up and consider a N-draft solution.
At least this finally made me install linux to my laptop. :wink:

Good morning,

I hat the same problem with a Medion E1212. WLAN did work with no encryption and not with WPA or WPA2. When the root user did log on everything worked fine (including encryption). I use OpenSuse 11.1 with networkmanager. The system is fully patched.

Today I tried downgrading the dbus package from 1.2.10-5.3.1-i586 (openSUSE-11.1-Update) to 1.2.4-5.1-i586 (Main-Repository OSS).

Now everything works fine at my site.
It seems that with the new dbus package a security issue has been solved which makes the wlan unusable for a standard user.

Kind regardss,
Johannes

jbla wrote:
> Good morning,
>
> I hat the same problem with a Medion E1212. WLAN did work with no
> encryption and not with WPA or WPA2. When the root user did log on
> everything worked fine (including encryption). I use OpenSuse 11.1 with
> networkmanager. The system is fully patched.
>
> Today I tried downgrading the dbus package from 1.2.10-5.3.1-i586
> (openSUSE-11.1-Update) to 1.2.4-5.1-i586 (Main-Repository OSS).
>
> Now everything works fine at my site.
> It seems that with the new dbus package a security issue has been
> solved which makes the wlan unusable for a standard user.

There are fixes in progress. When you see a new version of dbus, it should be OK.