LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to set up wireless via my usb device (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-set-up-wireless-via-my-usb-device-675864/)

naclay 10-12-2008 11:47 AM

Unable to set up wireless via my usb device
 
I haven't the faintest clue how to set up wireless networking on my Fedora 9 system. I have tried using the Network Configuration window but to no avail so I have resorted to doing it the proper way in the terminal.
I have a usb device supplied with my router which I am assured by the instruction manual that it is compatible with linux systems, however it does not tell you, at all, how to set it up.

When I use lsusb I get a response of
Bus001 Device 005: ID 0846:6a00 NetGear, Inc. WG111 WiFi (v2)

I have a disk of drivers but its not very helpful because it doesn't have any instructions on how to install the correct driver.

can anyone help?

john test 10-12-2008 12:14 PM

did you try "iwlist" and "iwconfig" at the command line?

naclay 10-14-2008 08:32 AM

Quote:

Originally Posted by john test (Post 3307801)
did you try "iwlist" and "iwconfig" at the command line?

# iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation

# iwconfig
lo no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"kevin"
Mode:Managed Frequency:2.437 GHz Access Point:08:10:74:1A:E2:06
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2353 B
Encryption key:****-****-**
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

pan0 no wireless extensions.


The ESSID is wrong, it should be "NETGEAR". "kevin" is the neighbours internet access. The encryption key is however correct for my internet access, I just havent included it because I feel its one of those things you shouldnt publish online.

Larry Webb 10-14-2008 09:19 AM

Check out this article and see if it will help

http://www.linuxquestions.org/questi...in-fc4-396300/

Post back if you have any questions or let us know if it works.

john test 10-14-2008 09:27 AM

Looks like you have wifi properly configured on your linux box. Just seems to not be able to find your WAP or wireless router.
Wireless fouters operate on 2.4 gigahz and so do cordless phones. Sometimes they interfere with one another.
For starters I would make sure that all 2.4 gig devices have some distance between them and your wireless router or access point
Then I would move the Linux box close to the router to see if you can get the linux box to talk to your router instead of your neighbors.

That failing I would reset the router to facotory defaults to get a basic wireless connection and then add encryption after the connection is established.

Intervening sheet rock walls should present no problem but Lath and Plaster walls with wire mesh do tend to block signal.

naclay 10-15-2008 06:02 AM

Quote:

Originally Posted by Larry Webb (Post 3309746)
Check out this article and see if it will help

http://www.linuxquestions.org/questi...in-fc4-396300/

Post back if you have any questions or let us know if it works.

I get as far as "iwlist wlan0 scan" and I get a responce from my router. I set the key as it says with "iwconfig wlan0 key restricted xxxxxxx" However running "dhclient wlan0" just fails.
I feel like the answer is right there but I cant find the right way to connect to my Netgear router.

With the scan I get the neighbours "kevin" network sometimes, and my network all the time. I get a mac address, essid, mode, freq, channel, quality 57/64, signal level 30/65, encryption on, bit rates 1, 2, 5.5, 11, 6, 12, 24, 36, 9, 18, 48, 54 Mb/s, and Extra:tsf=0000034d409f304d which im not sure what that is.

It was very useful that link though, thankyou but I need a little help finishing it off

john test 10-15-2008 04:24 PM

You could start by disabling encruption on your router to see is you can get a connection.
Once you get a connection then it falls back on Encryption configuration.
WPA on Router and WPA on the PC
short passphrase on each to get an encrypted connection and then ramp up from there

Ryanjon7 10-15-2008 06:42 PM

You can manually try. Is it using WPA or WEP? Try this;

ex.

ifconfig eth0 down

ifconfig eth0 up

killall dhclient

iwconfig eth0 essid "name of essid"

iwconfig eth0 mode auto

iwconfig eth0 rate auto

iwconfig eth0 key type_passkey_here

dhclient eth0


I've had problems in the past connecting to WPA encrypted passwords . . .

Ryanjon7 10-15-2008 06:46 PM

. . . change all instances of eth0 to wlan0 . . .

john test 10-16-2008 02:21 PM

Gotta love that! An on target response with no hint of the words "Google" or the ever anathematic rtfm :-)
Thank you! Went straight to my Keepers file.
Hope it works out for the OP!

naclay 11-25-2008 08:06 AM

Quote:

Originally Posted by Ryanjon7 (Post 3311440)
You can manually try. Is it using WPA or WEP? Try this;

ex.

ifconfig eth0 down

ifconfig eth0 up

killall dhclient

iwconfig eth0 essid "name of essid"

iwconfig eth0 mode auto

iwconfig eth0 rate auto

iwconfig eth0 key type_passkey_here

dhclient eth0


I've had problems in the past connecting to WPA encrypted passwords . . .


Sorry for the long wait on an update but I have been wrestling with my degree. back on to the problem now.

It is a WEP 128bit encryption, I have tried turning the wep key off like suggested too, but that didnt work either.

I encounterd an error when I typed
# iwconfig wlan0 mode auto
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.


Also since then I have discovered that wlan0 works perfectly as it will connect to the neighbours 'kevin' network every so often when it is in range at low connectivity. Also on my network manager I can see my NETGEAR network but it refuses to connect for unknown reasons.


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