Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On my Ubuntu 7.10 2.6.22-14-generic kernel.All other modules besides RT73 are blacklisted and the Ralink RT73 drivers RT73_Linux_STA_Drv1.0.4.0 compiled without errors and rtmp_def.h included my usb device {USB_DEVICE(0x050d,0x705a)}, /* Belkin F5D7050 ver 3000 */ \
In the guide it says to add to your /etc/network/interfaces file something like this
# rt73 wireless network device using DHCP
iface rausb0 inet dhcp
pre-up ifconfig rausb0 up
wireless-essid MY_ESSID
# wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX # This line for hexidecimal keys
# wireless-key s:XXXXXXXXXXXXX # This line for ASCII (string) keys
auto rausb0
I am setup up Auto DHCP and my access point has a essid called 802_11g with no security channel 1. I changed only the wireless-essid line to match my access point and left both key lines commented out because I am not using any security.It looks like this
auto lo
iface lo inet loopback
# rt73 wireless network device using DHCP
iface rausb0 inet dhcp
pre-up ifconfig rausb0 up
wireless-essid 802_11g
# wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX # This line for hexidecimal keys
# wireless-key s:XXXXXXXXXXXXX # This line for ASCII (string) keys
auto rausb0
My RT73 module is loading.my Belkin USB adapter is recognized.But iwconfig gives this.
marge@marge-desktop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
rausb0 RT73 WLAN ESSIDff/any
Mode:Auto Channel=1 Bit Rate=54 Mb/s
RTS thrff Fragment thrff
In networks tools rausb0 shows.It even shows it has transmitted and recieved packets.But it seems to not be accepting my setup.
So
is my /etc/network/interfaces file screwed up?
Where could I look for a log file thats would show the failed attempt?
dmseg simply shows
[ 930.785624] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 931.116985] usb 2-1: configuration #1 chosen from 1 choice
[ 931.119926] idVendor = 0x50d, idProduct = 0x705a
[ 931.238190] rt73 driver version - 1.0.4.0
[ 942.649287] rausb0: no IPv6 routers present
Which would be correct if it never negoitiated with the access point
I had told the /etc/network/interfaces file wireless-essid 802_11g,with no quotes, and I also wasn't sure if leaving the both key lines commented out, was proper for open or no WEP WPA.
The info you asked me for raises more questions
Quote:
marge@marge-desktop:~$ sudo ifdown rausb0 && sudo ifup rausb0 && iwconfig rausb0
[sudo] password for marge:
RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.rausb0.pid with pid 5189
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device rausb0 ; Network is down.
There is already a pid file /var/run/dhclient.rausb0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
rausb0 RT73 WLAN ESSID:off/any
Mode:Auto Channel=1 Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Then
Quote:
marge@marge-desktop:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 rausb0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 rausb0
marge@marge-desktop:~
$
I do no not know where the rausb0 ip range 169.254.0.0 is coming from!!And I am not sure the direction I should take.
Also Error for wireless request "Set ESSID"My network is wide open and I can have always connected under "802_11g"
The 169.254.0.0 is set automatically when a DHCP request isn't successful, from the netstat, it seems that you have and eth0 interface connected at your computer, is that true? do you use it?
You don't say too much about the topology of your network so I can't give you many details about what to do since I don't know what you have.
However, check at the /etc/network/interfaces to see if you uncommented a line that is trying to activate eth0, will be something like this:
Code:
iface eth0 inet dhcp
If so, comment that and any related entry to eth0 and restart the rausb0 (ifdown, ifup and so on...)
Regards
Last edited by Acron_0248; 01-06-2008 at 02:03 PM.
I am working at home with this computer and have a wired LAN available.I hope to move the computer once I sort out the wireless setup.My current lan use a linksys 4port router (192.168.0.1) with DHCP server on.I have an access point (not sure of the brand)@ ip192.168.0.240. WEP and WPA are off.The ssid is "802_11g" and it says it is on channel 1 and dhcp off.At the top of this post I copied my whole /etc/network/interfaces
auto lo
iface lo inet loopback
# rt73 wireless network device using DHCP
iface rausb0 inet dhcp
pre-up ifconfig rausb0 up
wireless-essid 802_11g
# wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX # This line for hexidecimal keys
# wireless-key s:XXXXXXXXXXXXX # This line for ASCII (string) keys
auto rausb0
There is no eth0 included.However it works wheneever I plug my LAN in.I do test with it disconnected and have done several hard reboots.
with my LAN unplugged I try to restart
[sudo] password for marge:
marge@marge-desktop:~$ sudo /etc/init.d/networking restart
[sudo] password for marge:
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.rausb0.pid with pid 5366
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device rausb0 ; Network is down.
There is already a pid file /var/run/dhclient.rausb0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[ OK ]
marge@marge-desktop:~$
Then this is my ifconfig still with my LAN unplugged
marge@marge-desktop:~$ lsusb
Bus 002 Device 002: ID 050d:705a Belkin Components
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
marge@marge-desktop:~$
and the end of dmesg looks like
[ 1219.562593] e100: eth0: e100_watchdog: link down
[ 1232.210698] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1247.280393] rt73 driver version - 1.0.4.0
[ 1258.451159] rausb0: no IPv6 routers present
Final I sudo ifdown rausb0 && sudo ifup rausb0 && iwconfig rausb0
and get
marge@marge-desktop:~$ sudo ifdown rausb0 && sudo ifup rausb0 && iwconfig rausb0
There is already a pid file /var/run/dhclient.rausb0.pid with pid 5604
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device rausb0 ; Network is down.
There is already a pid file /var/run/dhclient.rausb0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on LPF/rausb0/00:1c:df:1b:c6:9d
Sending on Socket/fallback
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
rausb0 RT73 WLAN ESSIDff/any
Mode:Auto Channel=1 Bit Rate=54 Mb/s
RTS thrff Fragment thrff
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.