LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting up WiFi (https://www.linuxquestions.org/questions/linux-networking-3/setting-up-wifi-835249/)

MOCKBA 09-29-2010 01:46 PM

Setting up WiFi
 
I want to get rid of WIndows and then pass my PC to 10 years old to learn software and Linux world. I have successfully installed Ubuntu 10.04 and my kid enjoyed look and feel of the system. However I got stuck here, since can't connect the box to Internet. It has USB WiFi adapter: linksys wusb11 ver 2.6. It seems Ubuntu doesn't recognize it and although I put all my WiFi setting right, Linux still can't see network. I tried Internet search however Bing and Google brought me same results, no clear solution and all solutions were target 8.xx or earlier version of Ubuntu. So my question, is something changed for latest version Linux and I can somehome making the adapter work, or I am out of lack and need to go back to Windows?

serafean 09-29-2010 02:38 PM

Hi,

So Ubuntu sees your card, right? please post the relevant lsusb output.
A quick search revealed that this card is powered by an atmel chip, using thus the at76[???] driver; check using the iwconfig command if your card is recognised by a driver. (can it scan? : "iwlist scan" command).
Try connecting to an unsecured network.

Serafean

janhe 09-29-2010 02:51 PM

Can you post the output from the following commands?
Code:

sudo iwconfig
sudo lsusb


MOCKBA 09-30-2010 12:35 AM

iwconfig

lo no wireless extensions.
eth0 no wireless extensions.


lsusb

Bus 004 Device 003: ID 077b:2219 Linksys WUSB11 V2.6 802.11b Adapter

Nothing reported for other USB ports

serafean 09-30-2010 09:31 AM

According to this your device indeed uses the at76c503a driver (which you can find linked in my previous post). try looking through the package manager to find it (search for atmel). if that doesn't work, you'll need to install the "build-essentials" package and compile it yourself (instrucions in the README).

Serafean

MOCKBA 10-01-2010 12:59 PM

Thanks for great help/ However hereI have a confusion. If device is recognized correctly and driver exists then it should be loaded automatically in my understanding. Or you mean I should search in package manager and download it from Linux resource? Is there a way to use other machine, since it is hard to move the machine to location to use wire. If I need to build it, again can I use other machine and then move driver using USB drive?

serafean 10-01-2010 06:55 PM

Ok, new info : just remembered the hell I went through to find firmware for the card... install the atmel-firmware package; maybe you'll get lucky :)

Quote:

If device is recognized correctly and driver exists then it should be loaded automatically in my understanding
yes, but the module has to exist on your system. you can check that by running
Code:

find /lib/modules/ -iname "at76*"
(and then the module has to find the correct firmware)

You can of course download the package on another machine and then install it. I suppose you could transport the compiled module, but would have to be real careful with kernel version (MUST be same).

Serafean

janhe 10-02-2010 04:39 AM

It seems that you can download the package you need here:
http://packages.ubuntu.com/lucid/all...mware/download

You can always try clicking on it in Ubuntu.

MOCKBA 10-02-2010 07:14 PM

I have connected the system by wire and installed atmel-firmware. Ubuntu started seeing wireless networks after, however I got stuck trying to connect to WEP enabled network. I looked in Internet resources and some guy reported that the driver seems having messed up OpenSystem and Sharedkey settings. I believe I have OpenSystem, however when I tried to switch to SharedKey (considering that settings reversed in driver), the system still forces me to OpenSystem and I guess driver still treats it as SharedKey. I do not want to deal with modification driver code, maybe there is some other way to force settings?

MOCKBA 10-03-2010 06:04 PM

I have disabled security, but still no luck. It sees all wireless networks perfectly, actually very sensitive, can see much more networks than Mac for comparison, but alas. If I try to connect to network without security, it tires for about 2-5 minutes then gives up. If network has security and wrong key is provided, it immediately re-ask, however if right key provided it again goes to long waiting with no success. I have impression that problem in obtaining IP address from network or something like that.

janhe 10-04-2010 09:55 AM

Can you please post the output from this command after you tried to connect to a network?
Code:

iwconfig
edit:
You can dump the output to a textfile like this:
Code:

iwconfig > iwconfig_output.txt

MOCKBA 10-05-2010 08:26 PM

This is out
Quote:

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"Belkin_N+_Guest"
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
It looks like text got scrambled, is any way to post in <pre> tags?


All times are GMT -5. The time now is 04:19 AM.