LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-20-2008, 12:04 PM   #1
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Rep: Reputation: 15
Ubuntu 8.04 attempting to make wireless connection


Newbie working with Ubuntu 8.04 attempting to make wireless connection with Linksys Wireless B USB Network Adapter (WUSB11 ver 3.0).

Ubuntu can see the adapter and shows great signal strength. From the toolbar icon I click on 'wireless connection.' Have attempted numerous times to make connection by inputting proper encryption, pass phrase etc. (have double checked double checked!) Icon shows it's looking for the connection but it eventually gives up and ask again for pass phrase.

Last night I finally decided that the drivers were not in the system.
Today I tried to load the Linksys drivers via NDISGTK (GTK+ based frontend for NDISWRAPPER). Read somewhere where this can work.

I did what NDISGTK said to do....by pointing it to the Linksys driver and it claimed that it installed it and quickly states in cannot see the hardware.
(Having said all that about NDISWRAPPE etc let me make it perfectly clear that I in know way understand completely these programs.)

Should I give up on attempting to install this Linksys and save my nickels and dimes to buy another flavor wireless adapter or stick with the wire I have stretched across the house?

Thanks in advance.
 
Old 08-20-2008, 12:21 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you want, you can get a perfectly well working wireless adapter for about 20€ which is not much - it's an USB wireless adapter by A-Link (see this page). There are other devices that use the very same chipset and thus should work in most distributions of Linux by just plugging the device in, without needing to install extra drivers. You may get one for less too.

If you do want to stick with your current hardware, which is ok by me (I don't encourage buying things if you don't absolutely need to), you need to know something about drivers. A driver in Linux is a kernel module - a piece of code built into the kernel or (more often) as a separate module that is loaded into the kernel either during boot process or when it's needed (there are systems nowadays that find out when you plug hardware in and need to have the module(s) loaded). Ndiswrapper is no different; it's a kernel module (and some tools to work with it) that is used to "wrap" a Windows driver so that your hardware works in Linux. Two kernel modules loaded at the same time for the same device may cause trouble, so to make sure you don't run into problems, make sure you have only one kernel module loaded for your wireless device (ndiswrapper and a native driver loaded at the same time usually causes the device not to work as expected). If you use ndiswrapper, remove the other module completely or (preferrably) just blacklist it so it doesn't get loaded. If you use "native" module, do not load ndiswrapper.

If your hardware doesn't work "out of the box", first find out what chip it uses. Then find out what driver (kernel module) you are supposed to use with that chip. Then make sure it is loaded when your hardware is plugged in. And if all this happens, then make sure your configuration is correct, and when that's fine, consider trying out another piece of software to test the functionality Ubuntu's NetworkManager applet (the one you used) is great, easy to use and all that, but if you want to simply see if your card works, you can do so in command line.

See if there are networks around:
Code:
sudo iwlist wlan0 scan
Use eth1 instead of wlan0 if you need; the wireless device name may be either ethN or wlanN, where N is a number from zero upwards, depending on how many devices you have (eth0 is typically primary wired ethernet card device). If you get results from that command, the hardware works and your problem is either in configuration of NetworkManager, the encryption type used or the way you input your passphrase. If you don't get results from this, it indicates that your current driver is not functioning properly or you don't have the correct driver.

To connect to an unencrypted or WEP-encrypted wireless network you can use 'iwconfig' command; see
Code:
man iwconfig
for details. It's easy to use, but remember to use the ASCII switch if your passphrase is in ASCII and not hex..if iwlist provided visible networks information, set your wireless access point for WEP encryption for five minutes and try connecting with iwconfig. If it works, move on to harder encryption, if not, turn on harder encryption anyway (so your neighbours don't break in) and start thinking what might be wrong with your settings.

You can use wpa_supplicant to connect to WEP-, WPA-, non-encrypted, wireless and (if I'm not mistaken) even wired networks - it's a handy tool for command line. Some say it's difficult to set up, but I disagree (after you make it the first time ). Just use wpa_passphrase to create a basic network entry, copy it to /etc/wpa_supplicant.conf, fill the configuration file by some example file found on the net (you only need a few lines, not all of them! try to find as short an example file as possible, with comments if you like) and run wpa_supplicant and then dhcp client. Probably if your hardware works, though, you're better off with NetworkManager (the app in your desktop's panel) I guess..
 
Old 08-20-2008, 01:28 PM   #3
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Think I will give a new adapter a go.

addlogix MA-WL-USB IEEE 802.11b/g USB 2.0 Wireless Adapter

This is the closest I could find to your A-Link recommendation. Seems A-Link is not sold in the states (or at least I couldn't find one). This one seems to work 'out of the box' according to two reviewers that bought one.

Think I'll postpone adventures into the system for a later date.

Thanks so much for your reply and I'll hang on to your suggestions and 'tutorial' for a great weekend project....just to bang around in Linux and learn.

Thanks again!
 
Old 08-21-2008, 02:21 PM   #4
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 122

Rep: Reputation: 16
I am having the same problem and apparently so are a whole lot of other people. My lap top had WinXP on it and the internal wireless card did not work. Since then I installed Ubuntu and now use a pcmcia card. The laptop is a Dell Lattitude D600 and the card is a Dell True Mobile 1150 series.

The thing that I am struggling with is that my wireless card works flawlessly when the network access points are open but I now want to connect to a point that requires a pass phrase. I know the password but it still won't connect. It's got 4 different options which all don't work, WEP 128, WEP 128 HEX, WEP 128 ASCII, and LEAP.
 
Old 08-22-2008, 09:18 PM   #5
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Success finally with my wireless connection. I used the Addlogix MA-WL-USB IEEE 802.11b/g USB 2.0 Wireless Adapter and it was a simple 'out of the box' setup. After I ordered the Addlogix, I spotted one by Asus that looked as if it had the same chipset. It was a bit cheaper and the on line store had a 'free shipping' deal with it.

Again thanks to b0uncer for the good stuff.
 
Old 08-24-2008, 10:22 AM   #6
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
The never ending 'wireless' story continues!

On a whim as I was putting my Linksys wireless adapter away, I decided to unplug the working Addlogix and for the hell of it plug the Linksys in just to see what would happen. (Character flaw) I almost fell off the chair when it not only was accepted but is much faster than the Addlogix. I've powered the box down and turned it back on and it still works! No I'm not going to send the Addlogix back....I'll keep it on hand just in case I need to "reinstall" the Linksys.
 
Old 08-24-2008, 11:52 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Periodically my wireless connection fails to start and I fall over to my stepson's router next door.

The cure is rather simple: All I need to do to get back up is to unplug the modem (the station, not the laptop) wait a few seconds, and plug it back in. (I.e., force the modem to reboot.) I think the DNS cache in the modem is less that perfect, but, hey, rebooting the modem is easy.
 
  


Reply



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
Ubuntu newb: How do I get my wireless connection working with Ubuntu? devilgates Linux - Newbie 12 02-21-2008 07:05 PM
How can I make a wireless ad-hoc connection? dhanar_10 Linux - Wireless Networking 15 10-25-2007 03:32 PM
Make an internet connection in ubuntu Tharindu Dananjaya Linux - Networking 1 04-22-2007 03:02 AM
how can i make auto configure wireless internet connection hibudd Linux - Software 2 03-26-2007 10:17 AM

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

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

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