Hi
I'm using an belkin (rt73) wireless card and my router has WPA2PSK encryption on it. I use the iwpriv command to connect to my router seen below:
ifconfig rausb0 up
sleep 1
iwpriv rausb0 set AuthMode=WPA2PSK
sleep 0.2
iwpriv rausb0 set EncrypType=AES
sleep 0.2
iwpriv rausb0 set SSID="BTHomeHub-B061"
sleep 0.2
iwpriv rausb0 set WPAPSK="**********"
sleep 0.5
iwpriv rausb0 set SSID="BTHomeHub-B061"
sleep 0.5
dhclient rausb0
echo 'nameserver 192.168.1.254' > /etc/resolv.conf
I only managed to get this to work with SL 3.3 by recompiling the Sabayon kernel removing lots of stuff from the kernel config file. Before I done this, the command iwpriv would only return what's shown below:
rausb0 no private ioctls
Now, after recompiling the kernel, the command iwpriv returns what's shown below when I run it:
rausb0 Available private ioctls :
set (8BE2) : set 1024 char & get 0
adhocOfdm (8BE6) : set 1 int & get 0
stat (8BE9) : set 1024 char & get 1024 char
get_site_survey (8BEF) : set 1024 char & get 1024 char
get_RaAP_Cfg (8BF1) : set 1024 char & get 0
forceprism (8BF2) : set 1024 char & get 0
rfmontx (8BEC) : set 1024 char & get 0
get_rfmontx (8BED) : set 0 & get 1 int
auth (8BE7) : set 1 int & get 0
enc (8BE8) : set 1 int & get 0
wpapsk (8BEA) : set 64 char & get 0
psm (8BEB) : set 1 int & get 0
I was hoping the SabayonLinux 3.4 Loop 1 would have fixed the issue with iwpriv but it looks like it hasn't. It's better than the original SL 3.3 but the iwpriv command only returns what's shown below:
wmaster0 no private ioctls.
wlan0 Available private ioctls :
param (8BE0) : set 2 int & get 0
get_param (8BE1) : set 1 int & get 1 int
test_param (8BE4) : set 2 int & get 0
The iwpriv command will not let me set any of the settings (listed at the top of the page) in order to connect to my router.
Looks like I'll have to recompile the SL3.4 kernel taking all of the stuff out of it like I had to before.
Any help would be most appreciated.
Thanks
Dave

