LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Can connect using Windows but not Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/can-connect-using-windows-but-not-ubuntu-542813/)

randell6564 04-02-2007 08:07 PM

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!

Juan Pablo 04-02-2007 09:07 PM

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

randell6564 04-02-2007 09:59 PM

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!

randell6564 04-02-2007 10:54 PM

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.

randell6564 04-04-2007 05:41 PM

'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!

randell6564 04-08-2007 12:13 PM

'BUMP' "Bump' 'Bump'

tredegar 04-09-2007 03:02 AM

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.

randell6564 04-09-2007 09:48 AM

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!

tredegar 04-09-2007 10:58 AM

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"?

randell6564 04-09-2007 07:03 PM

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.

randell6564 04-09-2007 07:46 PM

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.

tredegar 04-10-2007 01:34 AM

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.

jusupov 04-10-2007 04:03 AM

I think you can manually do this:

iwconfig wlan0 essid Rodeway Grove

dhclient wlan0

barrythai 04-10-2007 10:21 AM

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.



:Pengy: :Pengy: :Pengy:

randell6564 04-10-2007 04:44 PM

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!


All times are GMT -5. The time now is 03:26 AM.