LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-02-2007, 08:07 PM   #1
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
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
Can anyone assist me? Thanks!
 
Old 04-02-2007, 09:07 PM   #2
Juan Pablo
LQ Newbie
 
Registered: Mar 2007
Distribution: LFS, Gentoo and Ubuntu
Posts: 8

Rep: Reputation: 0
This means you are in an environment where you need a shared encryption key

iwconfig wlan0 key <yourkey>
iwpriv wlan0 authmode 2

you can also use authmode 1 which is considered more secure
 
Old 04-02-2007, 09:59 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Juan Pablo
This means you are in an environment where you need a shared encryption key

iwconfig wlan0 key <yourkey>
iwpriv wlan0 authmode 2

you can also use authmode 1 which is considered more secure
Hi Juan Pablo. Thank you for your reply, but I'm a bit confused. What "key" exactly are you talking about? And is
Quote:
iwconfig wlan0 key <yourkey>
and
Quote:
iwpriv wlan0 authmode 2
something that i am suppose to enter in a terminal or a configuration file? If configuration file, then where do I find it?

Thanks!
 
Old 04-02-2007, 10:54 PM   #4
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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.
 
Old 04-04-2007, 05:41 PM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
'BUMP' Can anyone help me to understand and correct this issue please?
What "key" is being mentioned here and where do I get/ enter it?

Thanks!
 
Old 04-08-2007, 12:13 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
'BUMP' "Bump' 'Bump'
 
Old 04-09-2007, 03:02 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
sudo iwlist wlan0 scan
Failed to read scan data: Resource temporarily unavailable
So your USB wireless thingy is not connected to anything.

I did a little googling for you......

From this link (http://www.phoronix.com/lch/?k=entry...20WUSB11%202.6)

Quote:
Linksys WUSB11 2.6

Hardware Information

Hardware Description: USB wireless B NIC

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:

http://packages.ubuntulinux.org/bree...76c503a-source
Quote:
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.
 
Old 04-09-2007, 09:48 AM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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.

But thanks again for your help!
 
Old 04-09-2007, 10:58 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Yes, it is.,to a usb port.
-Obviously, but not your network.
Quote:
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"?
 
Old 04-09-2007, 07:03 PM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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.
 
Old 04-09-2007, 07:46 PM   #11
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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.
 
Old 04-10-2007, 01:34 AM   #12
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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.
 
Old 04-10-2007, 04:03 AM   #13
jusupov
LQ Newbie
 
Registered: Apr 2007
Distribution: ubuntu
Posts: 4

Rep: Reputation: 0
I think you can manually do this:

iwconfig wlan0 essid Rodeway Grove

dhclient wlan0
 
Old 04-10-2007, 10:21 AM   #14
barrythai
Member
 
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381

Rep: Reputation: 30
Quote:
Originally Posted by randell6564
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
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.




Last edited by barrythai; 04-10-2007 at 10:26 AM.
 
Old 04-10-2007, 04:44 PM   #15
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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.

Thanks to all!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows XP crashed ran Ubuntu live CD want to connect using samba with linux laptop izquierdista Linux - Networking 3 03-20-2007 11:25 AM
Using Ubuntu...trying to connect to router jlsp Linux - Networking 2 02-17-2007 12:06 PM
Make Windows XP connect with Ubuntu Linux Zendric Linux - Networking 8 07-23-2006 08:03 PM
can you install games on ubuntu that are windows?my children love ubuntu but we can't chasity Linux - Software 3 07-14-2006 12:15 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration