You are not logged in.

#1 2008-04-06 01:37:32

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

[solved]Wireless Connection Configuration

So I'm using rt61 module for my Linksys WRT54G 4.1, and when I try to configure my connection for WPA2 using the 'iwpriv' command, I'm getting the "no private ioctls" error.
For example:

[root@monpc~]# iwpriv wlan0 set AuthMode=WPA2PSK
wlan0     no private ioctls.

Any idea how to fix this?  The module seems to be working otherwise, as it can detect networks around me, and iwconfig works fine for configuring the essid.

Last edited by Gauvenator (2008-04-12 02:59:48)

Offline

#2 2008-04-06 06:45:55

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: [solved]Wireless Connection Configuration

You should use wpa_supplicant to configure WPA/WPA2

Offline

#3 2008-04-06 10:25:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved]Wireless Connection Configuration

rt61 does not support wpa_supplicant. However, the rt61pci driver now provided by the kernel does, and is recommended over rt61.

Offline

#4 2008-04-06 19:04:48

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: [solved]Wireless Connection Configuration

How can I change to the kernel driver?

Offline

#5 2008-04-06 23:50:55

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: [solved]Wireless Connection Configuration

OK I got it working!  But now I want to edit my rc.conf so that it automatically connects on startup.  I disabled encryption (now I'm just using the mac address filter)

Following one guide on the wiki, it says I should add this line:

wlan_wlan0='wlan0 essid <myessid>

Can someone give me an exact example of how it should be entered (using the essid "gauvenators network") because everytime I try I get errors about unrecognized command.

Last edited by Gauvenator (2008-04-06 23:51:33)

Offline

#6 2008-04-07 03:26:58

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: [solved]Wireless Connection Configuration

I ended up ditching what I previously posted and instead used netcfg2.  Works great for automatically connecting.

Offline

Board footer

Powered by FluxBB