You are not logged in.

#1 2008-05-11 12:03:59

Ink-Jet
Member
From: London
Registered: 2008-03-27
Posts: 64
Website

Cannot connect to WEP encrypted network

Hey all,
I've been having trouble connecting to a WEP network.

I know the problem is not hardware related, as I can connect to a different network, even though it is WPA encrypted.
Also, other devices (a laptop running Windows, and an iPhone, can connect).

I have tried connecting with netcfg2, with this profile (key blacked out for obvious reasons)

CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="no"
SECURITY="wep"
ESSID="02wireless314821"
KEY="xxxxxxxxxx"
IP="dhcp"

And this gives the error message "Wireless association failed."
With scan set to "yes", the error message is "Network unavailable".

I have tried connecting with the commands: (key blacked out again)

sudo ifconfig eth0 down
sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid 02wireless314281 key xxxxxxxxxx
sudo dhcpcd wlan0

However, this failes at "sudo dhcpcd wlan0" with:

err, wlan0: timed out
err, wlan0: lease information file `/var/lib/dhcpcd/dhcpcd-wlan0.info' does not exist
warn, wlan0: using IPV4LL address 169.254.21.187

I'm unsure where to go next, as my google-fu has failed me.
Any help?

Offline

#2 2008-05-11 13:17:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Cannot connect to WEP encrypted network

You say the network is WPA encrypted, yet your config has SECURITY="wep". That ought to be SECURITY="wpa" if you use wpa.

Last edited by iphitus (2008-05-11 13:27:33)

Offline

#3 2008-05-11 16:14:21

Ink-Jet
Member
From: London
Registered: 2008-03-27
Posts: 64
Website

Re: Cannot connect to WEP encrypted network

I meant that the other network I've managed to connect to is WPA encrypted.
The one I'm having trouble with is WEP encrypted.

I was just showing that it wasn't a hardware problem, albeit with some grammatical ambiguity.

Last edited by Ink-Jet (2008-05-11 16:14:48)

Offline

#4 2008-05-12 06:26:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Cannot connect to WEP encrypted network

what driver?

Offline

#5 2008-05-12 11:00:57

Ink-Jet
Member
From: London
Registered: 2008-03-27
Posts: 64
Website

Re: Cannot connect to WEP encrypted network

rtl8187 - it says on the wiki it supports WEP.

And I'm using 2.6.25, so it's enabled as a module.

Last edited by Ink-Jet (2008-05-12 11:03:01)

Offline

Board footer

Powered by FluxBB