WPA2-net recognised as WEP and therefore not correct configuration possible

Asked by Stephan

I habe a wireless network called WebGate with WPA2-protection. Knetworkmanager realizes it as a WEP-network therefore it only offers WEP-configuration. (Yes, i habe wpasuppliciant installed.) The option 'configure other wireless networks' works fine, i can insert WPA2-as encryption there. But it wont connect, i guess because it's not really an 'other wireless network' but one he thinks to know (as a WEP one).

I just tried to deactivated encryption within my network but activating the connection again only worked til 28%. I use a PC54G3 Wireless 11g PCI Card from MSI. Is it not compatible with Linux?

Greetings,
Stephan

PS: nothing happens when i press "Manual Configuration ..."

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu knetworkmanager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Massimo Forti (slackwarelife) said :
#1

Which version of Kubuntu you have?
The 6.10 was not able to use the wpa2 protocol with ubuntu, to use it You must install wpa_suppliciant and configure it manually. In order to resolve this problem You can use Network-Manager that install the neccesary lib to use WPA2 with gui tools.
This is a simple example of wpa_suppliciant file configured to work wirh WPA2-EAP:

--- /etc/wpa_suppliciant/wpa_suppliciant.conf ---
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0 network={
ssid="you ssid"
scan_ssid=1
proto=WPA2
key_mgmt=WPA2-EAP
auth_alg=OPEN
pairwise=TKIP
group=TKIP
eap=TLS
identity="your name"
password="your password"
ca_cert="your certificate"
#client_cert=""
private_key="your certificate"
private_key_passwd="certificate password"
}

Revision history for this message
Stephan (simon-void) said :
#2

i use xubuntu7.04. wpa_suppliciant is installed. (There is a networkmanager for xubuntu too, but only proposes WEP, while knetworkmanager proposes WPA too. But that might be the same problem, that i have with knetworkmanager now.)

Is there a gui-tool to configure it? (I would say knetworkmanager is that gui???)I use WPA2-Personal so i don't think there are any certificates involved. Do you have a samplefile for that too?

thanks in advance,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#3

Way you use knetowrk manager on xubuntu, I know xubuntu 7.04 has the networkmanager installed by default. Is not therefore ?
I know this how-to:

https://help.ubuntu.com/community/WifiDocs/NetworkManager

It explain well what you can do.

Thanks

Revision history for this message
Stephan (simon-void) said :
#4

like i said, the preinstalled networkmanager only suggests WEP, not WPA. The how-to was of no help for my problem.
I tend to think it's a driver problem with my wireless card.

Thanks for your help,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#5

Post the result of this:

sudo lshw -C net

I try to know your cipset network card

Thanks.

Revision history for this message
Stephan (simon-void) said :
#6

  *-network:0
       description: Ethernet interface
       product: BCM4401 100Base-T
       vendor: Broadcom Corporation
       physical id: 9
       bus info: pci@00:09.0
       logical name: eth0
       version: 01
       serial: 00:e0:18:bf:4b:84
       size: 100MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=1.01 duplex=full ip=192.168.1.101 latency=32 link=yes multicast=yes port=twisted pair speed=100MB/s
       resources: iomemory:ed800000-ed801fff irq:16
  *-network:1
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: a
       bus info: pci@00:0a.0
       logical name: eth1
       version: 10
       serial: 00:50:22:10:41:f7
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s
       resources: ioport:d800-d8ff iomemory:ed000000-ed0000ff irq:17
  *-network:2
       description: Wireless interface
       product: RT2561/RT61 rev B 802.11g
       vendor: RaLink
       physical id: b
       bus info: pci@00:0b.0
       logical name: ra0
       version: 00
       serial: 00:19:db:02:7c:62
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=RT61STA driverversion=1.1.0 CVS latency=32 link=yes multicast=yes wireless=RT61 Wireless
       resources: iomemory:ec800000-ec807fff irq:19

Thanks,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#7

You can use a ubuntu 7.04 live cd, please. I want to understand because the NetworkManager of xubuntu have not a WPA2 support. I'm using a ubuntu 7.04 live cd and it has the wpa2 support.
I wait your test

thanks

Revision history for this message
Stephan (simon-void) said :
#8

i just check with ubuntu7.04 live cd. The same problem, WPA is not an option in the networkmanager. Do you want a screenshot?

Thanks,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#9

No, I belive.

I want to now if you do (after start Ubuntu 7.04 live cd):

1) left click on NetworkManager Icon

2) Connect another wireless network

3) in the windows open click on emergency wireless

Thanks

Revision history for this message
Stephan (simon-void) said :
#10

after i click on 'connect another wireless network' a dialog appears asking me for name and encryption of that new network. Only three variants of WEP are proposed. I don't see anything like 'emergency wireless'.

Thanks,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#11

Post the result of:

lsmod

thanks

Revision history for this message
Massimo Forti (slackwarelife) said :
#12

Probably you have not laoded the correct driver.

Thans

Revision history for this message
Stephan (simon-void) said :
#13

Module Size Used by
ipv6 268704 8
af_packet 23816 2
ppdev 10116 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9228 0
freq_table 5792 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 8200 0
sony_acpi 6284 0
pcc_acpi 13184 0
tc1100_wmi 8068 0
dev_acpi 12292 0
dock 10268 0
ac 6020 0
sbs 15652 0
i2c_ec 5888 1 sbs
asus_acpi 17308 0
backlight 7040 1 asus_acpi
container 5248 0
video 16388 0
battery 10756 0
button 8720 0
nls_utf8 3072 1
ntfs 107764 1
lp 12452 0
fuse 46612 0
snd_via82xx 29208 1
gameport 16520 1 snd_via82xx
snd_ac97_codec 98336 1 snd_via82xx
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10888 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9472 1 snd_via82xx
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
serio_raw 7940 0
usblp 14848 0
parport_pc 36388 1
parport 36936 3 ppdev,lp,parport_pc
pcspkr 4224 0
psmouse 38920 0
via_ircc 27540 0
irda 201276 1 via_ircc
crc_ccitt 3072 1 irda
i2c_viapro 10132 0
via_agp 11264 1
snd 54020 13 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
rt61 245128 1
agpgart 35400 1 via_agp
shpchp 34324 0
pci_hotplug 32576 1 shpchp
i2c_core 22784 2 i2c_ec,i2c_viapro
soundcore 8672 1 snd
tsdev 8768 0
evdev 11008 3
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
ide_cd 32672 0
cdrom 37664 1 ide_cd
ide_disk 17024 4
ata_generic 9092 0
libata 125720 1 ata_generic
scsi_mod 142348 1 libata
generic 5124 0 [permanent]
b44 28044 0
via82cxxx 10372 0 [permanent]
ehci_hcd 34188 0
uhci_hcd 25360 0
usbcore 134280 4 usblp,ehci_hcd,uhci_hcd
8139cp 25088 0
8139too 27648 0
mii 6528 3 b44,8139cp,8139too
thermal 14856 0
processor 31048 1 thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability

Thanks,
Stephan

Revision history for this message
Massimo Forti (slackwarelife) said :
#14

The problem is the rt61 module in ubuntu 2.6.20-15 kernel, here the solution that i have found in ubuntuforum.org:

-----------------------------------------------------------------------------------------------------------------------
Hi! everyone!

Just yesterday I've upgraded to FF, and of course had problems with my Wireless card. In Edgy I had rt61 driver compiled from source RT61_Linux_STA_Drv1.1.0.0.

In kernel 2.6.20 the package wouldn't compile, and Ubuntu shipped rt61 driver is not working properly.

I tried different howtos on this forum, but none has worked for me to enable WPA, so i did this:

in file:
/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c

comment out line 197, it should look like this:

#if WIRELESS_EXT >= 12
// net_dev->get_wireless_stats = RT61_get_wireless_stats;
net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;
#endif

then run:
make

and driver is ready tu use

I copied mine to:
sudo cp rt61.ko /lib/modules/2.6.20-15-generic/kernel/ubuntu/wireless/rt2x00-legacy/rt61/rt61.ko

and run:
sudo modprobe -r rt61
sudo modprobe rt61

then:
sudo ifdown ra0
sudo ifup ra0

and that's it!

It works - and the best proof is that i'm writing this post!

Sorry for my english
Cheers!
-------------------------------------------------------------------------------------------------------------------------

Thanks.

Revision history for this message
Massimo Forti (slackwarelife) said :
#15

I open a bug for your situation, the kernel team ask to do this on shell:

uname -a > uname-a.log command

lspci -vvn > lspci-vvn.log command

lspci -vv > lscpi-vv.log command

dmesg > dmesg.log command

cat /proc/version > proc_version.log command

This command will create a file in your home directory. You can upload these file on your bug at this link:

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/110312/+addcomment

Thanks

Revision history for this message
Stephan (simon-void) said :
#16

Done.

Thanks,
Stephan

Revision history for this message
Launchpad Janitor (janitor) said :
#17

This question was expired because it remained in the 'Open' state without activity for the last 15 days.