You are not logged in.

#1 2007-10-12 23:39:47

Robin
Member
Registered: 2007-10-12
Posts: 5

Wireless Connection failing

Hi everybody,

Well i'm a bit stuck at the moment because of my wireless connection which i cant activate to access the internet and get some new packages.
In fact the wifi device is working well as i can scan networks with : iwlist wlan0 scanning
but unfortunately my network interface does not go up, i get a timeout error
/etc/conf.d/wireless is filled with the needed settings => wlan_wlan0="...."
/etc/rc.conf seems ok as well => wlan0="dhcp" ....
The wireless package is rt2500 and was installed successfully during setup, in fact i installed all of the core packages.

the /var/log/messages.log file shows the interface is trying to get an ip but without success.
I have no problem with that device under winXP so it works.

What else should i check ? is there something special related to dhcp under arch ?

Thank you for your help.

Thomas

AMDx2 3800+
Arch 2007.08-2 Don't Panic

Offline

#2 2007-10-13 11:37:42

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,020

Re: Wireless Connection failing

Sounds like something is wrong with your settings, please post your /etc/conf.d/wireless .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-10-15 20:06:46

Robin
Member
Registered: 2007-10-12
Posts: 5

Re: Wireless Connection failing

Hello

Here is my /etc/conf.d/wireless file
Hope this will help !

Thank you all
Thomas

#
# Settings for wireless cards
#
# For each wireless interface declared in INTERFACES (in rc.conf), declare
# a wlan_${IF} variable that contains the arguments to be passed to
# iwconfig(8).  Then list the original interface name in the
# WLAN_INTERFACES array.
#

wlan_wlan0="wlan0 mode managed channel 1 essid freebox_Wifi key s:password"
WLAN_INTERFACES=(wlan0)

Offline

#4 2007-10-15 20:58:16

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,020

Re: Wireless Connection failing

The s:password looks a bit weird, also the value behind key is meant for a WEP key.

Check if your wireless router is set to use WEP or WPA ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-10-15 21:08:02

Robin
Member
Registered: 2007-10-12
Posts: 5

Re: Wireless Connection failing

I did not want to send my real password on this forum so i set it to "password" in the reply

My wireless router is set to WPA

Offline

#6 2007-10-15 21:33:14

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Wireless Connection failing

if you're using dhcp, make sure that in rc.conf you have 'gateway=(...' disabled by an '#'.
I'm just saying, as it was a bit vague for me in the beginning. hmm

Last edited by ibendiben (2007-10-15 21:33:45)

Offline

#7 2007-10-15 22:27:21

nj
Member
Registered: 2007-04-06
Posts: 93

Re: Wireless Connection failing

I'm not positive, but I thought that iwconfig key could only be used with WEP. If you want to use WPA, you'll need to use wpa_supplicant. See the page on the wiki for details.

You might also want to check out wicd which is a nice frontend to iwconfig/wpa_supplicant. There is a package in AUR for it.

Offline

#8 2007-10-16 20:51:55

Robin
Member
Registered: 2007-10-12
Posts: 5

Re: Wireless Connection failing

nj wrote:

I'm not positive, but I thought that iwconfig key could only be used with WEP. If you want to use WPA, you'll need to use wpa_supplicant. See the page on the wiki for details.

You might also want to check out wicd which is a nice frontend to iwconfig/wpa_supplicant. There is a package in AUR for it.

I think that's a good advice : i'm gonna try that way and give you some feedback

Thank you
Thomas

Offline

#9 2007-10-16 22:08:33

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: Wireless Connection failing

Hi,

It is possible to configure the rt2500 WPA settings without wpa_supplicant:

iwpriv set wlan0 AuthMode=WPAPSK
iwpriv set wlan0 EncrypType=TKIP
iwpriv set wlan0 WPAPSK="password"
iwconfig wlan0 mode managed essid ESSID
ifconfig wlan0 IP_ADDRESS
route add default gw GATEWAY_IP

DkSoul

Last edited by DkSoul (2007-10-16 22:09:24)

Offline

#10 2007-10-18 20:05:05

Robin
Member
Registered: 2007-10-12
Posts: 5

Re: Wireless Connection failing

DkSoul wrote:

Hi,

It is possible to configure the rt2500 WPA settings without wpa_supplicant:

iwpriv set wlan0 AuthMode=WPAPSK
iwpriv set wlan0 EncrypType=TKIP
iwpriv set wlan0 WPAPSK="password"
iwconfig wlan0 mode managed essid ESSID
ifconfig wlan0 IP_ADDRESS
route add default gw GATEWAY_IP

DkSoul

this does not work sad
Connection time out

Gonna try wpa_supplicant and if it fails try another distro sad

Offline

#11 2007-10-18 22:37:35

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Wireless Connection failing

nj wrote:

I'm not positive, but I thought that iwconfig key could only be used with WEP. If you want to use WPA, you'll need to use wpa_supplicant. See the page on the wiki for details.

You might also want to check out wicd which is a nice frontend to iwconfig/wpa_supplicant. There is a package in AUR for it.

I use wicd and give my vote for that. I followed the wicd arch wiki and all works great.

Offline

#12 2007-10-19 11:55:06

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: Wireless Connection failing

Robin wrote:
DkSoul wrote:

Hi,

It is possible to configure the rt2500 WPA settings without wpa_supplicant:

iwpriv set wlan0 AuthMode=WPAPSK
iwpriv set wlan0 EncrypType=TKIP
iwpriv set wlan0 WPAPSK="password"
iwconfig wlan0 mode managed essid ESSID
ifconfig wlan0 IP_ADDRESS
route add default gw GATEWAY_IP

DkSoul

this does not work sad
Connection time out

Gonna try wpa_supplicant and if it fails try another distro sad

That's a bit drastic.. lol
I can give you the steps that I took to get my wireless working (with WPA-PSK).

First, remove the drivers that you installed:

pacman -R rt2500
pacman -R rt2x00-cvs

Download the CVS source code for the rt2500 driver from http://rt2x00.serialmonkey.com/rt2500-cvs-daily.tar.gz
Extract it and chdir to Module:

tar -xzvf rt2500-cvs-daily.tar.gz
cd rt2500-cvs-xxxxxxxxxx/Module

Open the file rt_config.h and change the PROFILE_PATH:

from: #define PROFILE_PATH                "/etc/Wireless/RT2500STA/RT2500STA.dat"
to:     #define PROFILE_PATH                "/etc/rt2500.conf"

Compile and install the driver:

make
make install

Create the file /etc/rt2500.conf with the following contents:

[Default]
AuthMode=WPAPSK
EncrypType=TKIP
WPAPSK=your_password

For security reasons, change the permissions of the file to 600:

chmod 600 /etc/rt2500.conf

Edit the file /etc/conf.d/wireless to read:

#
# Settings for wireless cards
#
# For each wireless interface declared in INTERFACES (in rc.conf), declare
# a wlan_${IF} variable that contains the arguments to be passed to
# iwconfig(8).  Then list the original interface name in the
# WLAN_INTERFACES array.
#

wlan_ra0="ra0 mode managed essid YOUR_ESSID"
WLAN_INTERFACES=(ra0)

All that it's left to do is configure your IP settings in the file /etc/rc.conf
NOTE: The interface name with this driver is ra0 !! (not wlan0)

Hope it works out,
DkSoul

Offline

Board footer

Powered by FluxBB