UbuntuThis forum is for the discussion of Ubuntu 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.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Can connect using Windows but not Ubuntu
Hey folks!
I currently live in an apartment complex that provides free wireless internet access. (T1)
I am dual booting Windows XP and Ubuntu Dapper Drake. I use a Linksys wusb11 Version 2.6 wireless antenna, and have no problem connecting to the network when booted to Windows, but Ubuntu does not seem to even DETECT a network!
I used Ubuntu exclusively at my preveous address along with the very same antenna with no problems, but here I get nothing, so I was forced to install XP on my other drive just to access the net.
This is an open network, no wep/wap key needed, just a username and password from the manager each week to access the net.
I went to System>Administration>Networking, Entered the Essid and chose DHCP, and still nothing. I tryed running
Code:
sudo iwlist wlan0 scan
and got:
Code:
Failed to read scan data: Resource temporarily unavailable
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Original Poster
Rep:
And one more thing...
What does a shared encryption have to do with not having an internet connection?
I just cannot connect to the landlords network while using Ubuntu.
My situation is like that of someone who works in an office. My computer is connected wirelessly to a network. I, an employee have a pc in my office that is SUPPOSE to have access to the internet. I only HAVE that access when I am running Windows, but am out of luck if I am using Ubuntu.
Notes: Uses the at76c503a driver, and requires firmware to be loaded into the device (look for a package in your distro called atmel-firmware). On some distros, they do not configure it properly at boot time... simply unplug the USB cable from the unit (not the computer) ... and plug it back in.. and the firmware should then be loaded into the device.
Searching for at76c503a and "ubuntu" gives this (not encouraging) page:
at76c503a driver source
Currently, the driver has no promiscous, monitor or station mode and no support for libpcap, i.e. it does not work with Kismet or Airsnort and it cannot act as an WLAN access point. This is a restriction imposed by the current firmware.
So you are either going to have to do some work (and this http://ubuntuforums.org/showthread.php?p=130085 thread may be a good start), or go and get yourself a wireless thingy that is known to be easily supported by linux.
Best to check compatability before you purchase.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Original Poster
Rep:
Quote:
Originally Posted by tredegar
So your USB wireless thingy is not connected to anything.
Yes, it is.,to a usb port.
Quote:
So you are either going to have to do some work (and this http://ubuntuforums.org/showthread.php?p=130085 thread may be a good start), or go and get yourself a wireless thingy that is known to be easily supported by linux.
Best to check compatability before you purchase.
Thank you very much for your time tredegar. I HAVE done quite a bit of work and I know for a fact that this antenna is compatible with Ubuntu. It's the exact same hardware that I used with no problems before moving here. Never had to install anything for it.
I know for a fact that this antenna is compatible with Ubuntu. It's the exact same hardware that I used with no problems before moving here. Never had to install anything for it.
OK, so there's hope yet. This thread http://www.elitehackers.info/forums/...ad.php?p=46135 says that the error "Failed to read scan data: Resource temporarily unavailable" means you need to use a wep key to access the network. Perhaps you are trying to connect to the wrong network? What is your building's ESSID?
Please post your /etc/network/interfaces file and the output of ifconfig
Quote:
no wep/wap key needed, just a username and password from the manager each week to access the net.
Where are you supposed to put these? Where do other (windows, presumably) residents put them? Are you sure your building manager isn't referring to the ESSID as "Username" and the key as "Password"?
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Original Poster
Rep:
Quote:
the error "Failed to read scan data: Resource temporarily unavailable" means you need to use a wep key to access the network. Perhaps you are trying to connect to the wrong network? What is your building's ESSID?
Ok, this is a bit difficult to explain, AND understand myself, but when logged onto Windows, I can check 'Wireless Networks'. And the only two available are this apartment complex. AND they are 'Unsecured Networks'.
I'm not sure just how the Admin is doing it, but once each week I'll try and open IE to do some surfing, and instead Ill get an IE window that asks for a username, and password. Then I must go down to the landlords office and get them printed out by a machine. Once I enter them, I can then access the internet.
The ESSID is 'Rodeway Grove'. This is the only thing that I have to enter in order to be connected to the Network when using Windows. The wierd thing is, one can connect to this network at any time, but cannot access the internet without a username and password which is provided by the landlord, and expires once a week.
Ubuntu on the other hand does not even seem to SEE a network!
Quote:
Please post your /etc/network/interfaces file and the output of ifconfig
I'll have to get back to you on this one as Ill need to reboot to Ubuntu.
Quote:
Where are you supposed to put these? Where do other (windows, presumably) residents put them? Are you sure your building manager isn't referring to the ESSID as "Username" and the key as "Password"?
This is what is strange. The ESSID stays the same all the time, (Rodeway Grove).
The username and password are not entered in any network app on my PC. They are entered into the web browser.
When the username/password expires, I will get a browser window asking for a new one instead of my home page.
Thank you for your reply my friend! I think I have presented a real challenge.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Original Poster
Rep:
Ok.,heres the output of /etc/network/interfaces:
Quote:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wireless-essid Rodeway Grove
So, it DOES appear that Ubuntu is indeed seeing my network, (Rodeway Grove).
It has to be this 'Username/Password' crap that is screwing me up! I tryed entering the password as the wep key with no result. I am quite sure that the username/password have nothing to do with me being able to connect to the network. They only enable me to access the internet.
Output of 'ifconfig':
Quote:
bigboss@room224:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueulen:0
RX bytes:372 (372.0 b) TX bytes:372 (372.0 b)
wlan0 Link encap:Ethernet HWaddr 00:06:25:27:49:85
UP BROADCAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
All greek to me! Though it doesn't appear that wlan0 is doing anything.
Your ESSID has spaces in its name, so you probably need to put quotes around it, like this:
Code:
auto wlan0
iface wlan0 inet dhcp
wireless-essid "Rodeway Grove"
Also, some sites refer to wireless-essid and some to wireless_essid, one has dash, the other an underline. It is worth trying both: Make the change(s) [one at a time] to /etc/network/interfaces, then (as root) do ifdown wlan0
ifup wlan0
wait a moment for the connection to be made and then try your browser.
I think that once you have the wireless association with the network established, the first http://... request you make will be re-directed to your building's login (UN & PW) page.
I currently live in an apartment complex that provides free wireless internet access. (T1)
I am dual booting Windows XP and Ubuntu Dapper Drake. I use a Linksys wusb11 Version 2.6 wireless antenna, and have no problem connecting to the network when booted to Windows, but Ubuntu does not seem to even DETECT a network!
I used Ubuntu exclusively at my preveous address along with the very same antenna with no problems, but here I get nothing, so I was forced to install XP on my other drive just to access the net.
This is an open network, no wep/wap key needed, just a username and password from the manager each week to access the net.
I went to System>Administration>Networking, Entered the Essid and chose DHCP, and still nothing. I tryed running
Code:
sudo iwlist wlan0 scan
and got:
Code:
Failed to read scan data: Resource temporarily unavailable
Can anyone assist me? Thanks!
I find this an amazing story.
I am guessing if your still having problems then you need to get the latest Ubuntu. if that doesn't work then your wireless is not supported by the Ubuntu wireless drivers.
There is one notorious wireless card that insists on $25 dollars for the drivers for Linux. It I believe it is Linksys.
I guess you could get another card or perhaps you would like to pay linksys. The driver is on there site.
I would recommend you binning the card and buy another card.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Original Poster
Rep:
Quote:
Originally Posted by barrythai
if that doesn't work then your wireless is not supported by the Ubuntu wireless drivers.
Hi barrythai.
As I said, I used this very same wireless antenna along with this very same OS (Ubuntu dapper drake) at my preveous address.
In fact, when I first ran Ubuntu using the Live CD, I could connect to the internet before I even installed, USING this Wireless adapter.
I'll have to get back home after work and try some of everyones suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.