LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-17-2006, 10:07 AM   #1
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Rep: Reputation: 15
Unhappy can't connect to wireless router


I need help from the wizards of linux.
I am having problems connecting to my wireless router. I am using a microsoft wireless adapter (usb model MN-510).
So far I have installed the ndiswrapper package and configured the driver.

command ndiswrapper -l shows driver and hardware as present.

created the alias for the driver
command ndiwrapper -m

commad modprobe ndiswrapper is done

Added the module using sysedit
modules_loaded_on_boot="ndiswrapper"

This is a stand alone workstation and I want to use DHCP for connection to my access point, My wireless router handles DHCP.

I am using wep encryption
Shared Key
64 bit hex

But I never connect to the router, I never recieve the config file from the router and I never connect.

This is very fustrating experience.

Is there anyone out there that can help me?
 
Old 10-17-2006, 10:34 AM   #2
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
It sounds like a good strating point.

I would suggust that you take steps to simplify the problem as much as possible. Off the top I see two items that can be possible causes for problems. The first being WEP and the other being DHCP.

I would suggust (for the pourpose of troubleshooting) that you allow non-ecrypted connectivity to a wireless router, also I would then manually set the IP address, default gateway and DNS servers on your system.

And while it is likely that you are already in close proximity to your wireless router as you are doing this testing, if not I would strongly suggust that you do what is possible to keep the distance short.

If after this you are still unable to make a connection than you are likely dealing with a problem with your system communicating to the wireless adaptor, if on the other hand you can now connect, it is likely that your problem lies in one of the issues above and you can put them back in place one at a time to sort out where you issue truly lies.

Happy Hunting!
 
Old 10-17-2006, 10:47 AM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043

Rep: Reputation: 83
I agree. Start by reducing your security then slowly add more piece by piece. This will help you find out where your problem is. With no security if you can connect then your card is working fine. The problem would then be with your config file.
 
Old 10-17-2006, 11:20 AM   #4
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
Hello kvedaa and jstephens84:

Your suggestions are good and they have already been tried with no success.

I turned off the security to my router and attempted to connect with no luck. I have also tried putting in my ip information static, still no luck.

My card can see my ssid broadcast and other ssid broadcast in my area.

Do you still think there is a communication problem between the system and and the card?

I am so confused my head hurts.
 
Old 10-17-2006, 11:26 AM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043

Rep: Reputation: 83
what does iwconfig and ifconfig show.
 
Old 10-17-2006, 11:28 AM   #6
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
It is interesting that you are receiving information on the SSIDs that are active in your area. Which does indeed seem to suggust that the system and the wireless adaptor are indeed communicating with each other at least at some level.

It also tells us that the adaptor is able to recevice some signals, but that does leave us with the open question can we verify that the adaptor is capable of broadcasting?

I will do some poking around to see if I can find anything of interest on this matter.
 
Old 10-18-2006, 11:01 AM   #7
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
Goooooood Morning Linux world:

To start off, I found some more documentation at linuxquestions.org/linux/answers..
This was on configuring the ma111 and other usb wlan adapters using YaST. I did try it out and it was no help.

So I copied the iwconfig file Information is as follows:

lo no wireless extensions.


eth0 no wireless extensions.


wlan0 IEEE 802.11b ESSIDff/any

Mode:Managed Frequency:24.37 MHz Access Point: Not-Associated

Bit Rate:11 Mb/s

RTS thr:-1026293960 B Fragment thr:-1026293960 B

Encryption keyff

Power Management max timeout:0us mode:All packets received

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

sit0 no wireless extensions.


And I copied the Ifconfig file Information is as follows:

ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:55:BF:C8:0C

UP BROADCAST MULTICAST 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)


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:182 errors:0 dropped:0 overruns:0 frame:0

TX packets:182 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:12221 (11.9 Kb) TX bytes:12221 (11.9 Kb)


wlan0 Link encap:Ethernet HWaddr 00:50:F2:C7:E3:93

UP BROADCAST RUNNING MULTICAST 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)

I have done alot of searching and research and so far I am in an endless loop.
Everyone is directing me to try the same test that were already performed. I need more ideas......

Please help:
 
Old 10-18-2006, 11:09 AM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043

Rep: Reputation: 83
what happens when you type dhclient wlan0 or dhcpcd wlan0?
 
Old 10-18-2006, 11:43 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,781
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by mikescony
G

wlan0 IEEE 802.11b ESSIDff/any

Mode:Managed Frequency:24.37 MHz Access Point: Not-Associated
There is the problem. The card hasn't been configured with SSID and hasn't associated wtih the access point. Nothing is going to work until you get that bit solved.

Can you fill us in on how you are trying to configure this card?
 
Old 10-18-2006, 11:51 AM   #10
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
Hello Jstephens84 and linux world:

this is the outout from dhclient wlan0:

mrnonamepc:~ # dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.3

Copyright 2004-2005 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP


Listening on LPF/wlan0/00:50:f2:c7:e3:93

Sending on LPF/wlan0/00:50:f2:c7:e3:93

Sending on Socket/fallback

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

mrnonamepc:~ #


I have never used the last utiility dhcpcd so I am not aware on how to set commands but here is an output that I got from the utility:

mrnonamepc:~ # dhcpcd -h

DHCP Client Daemon v.1.3.22-pl4

Copyright (C) 1996 - 1997 Yoichi Hariguchi <yoichi@fore.com>
Copyright (C) January, 1998 Sergei Viznyuk <sv@phystech.com>

Location: http://www.phystech.com/download/

Usage: dhcpcd [-dknrBCDHKNRSTY] [-l leasetime] [-h hostname] [-t timeout]

[-z reboot-timeout] [-i vendorClassID] [-I ClientID] [-c filename] [-s [i paddr]]

[-w windowsize] [-L ConfigDir] [-G [gateway]] [interface]
 
Old 10-18-2006, 11:57 AM   #11
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
UMMM hangdog42:

Not to be disrespectful but that is the output from runnig iwconfig, I have configured the card in YaST and all appropriate information is there but for some reason the card will not configure this is why I am on the website.. I need to know why this is occuring because I have tried all t/s tricks I know and still no Success.
 
Old 10-18-2006, 01:25 PM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,781
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by mikescony
UMMM hangdog42:

Not to be disrespectful but that is the output from runnig iwconfig, I have configured the card in YaST and all appropriate information is there but for some reason the card will not configure this is why I am on the website.. I need to know why this is occuring because I have tried all t/s tricks I know and still no Success.
The problem is that the output of iwconfig should reflect the configuration, so Yast may not be configuring your card correctly, or even at all.

Try configuring your card with iwconfig from the console and see if that doesn't improve the situation. The iwconfig man page is actually decent, but the basic steps would be (as root)

iwconfig wlan0 essid YourSSID
iwconfig wlan0 key YourWEPHexKey (if you use one)

If those two take (you can see them set in iwconfig) then you should see your router's MAC address appear in the Access Point part of iwconfig's output. That means your card is associated and you can request an IP address with dhclient.
 
Old 10-19-2006, 04:18 PM   #13
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
Hello hangdog42 and linux world:

Well I tried your suggestions and I can get the card to configure the essid
the command iwconfig wlan0 key is not recognized.....

Anyother suggestions?????
 
Old 10-20-2006, 08:16 AM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,781
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by mikescony
the command iwconfig wlan0 key is not recognized.....

Anyother suggestions?????
Can you post the exact command you are using and the exact errors you see?
 
Old 10-20-2006, 01:35 PM   #15
mikescony
LQ Newbie
 
Registered: Oct 2006
Location: Chicago
Distribution: suse 10.0
Posts: 23

Original Poster
Rep: Reputation: 15
Hello hangdog42 and linux world

Well I just witnessed a miracle in linux
after wrestling with this beast I finally got the wireless card working.
I don't know what happend but I aint gonna question it. hangdog your suggestions worked after retrying them for the umpteenth time......(It worked!!!!!!!!!! )
mrnonamepc:~ # iwconfig wlan0 key xxxxxxxxxx
mrnonamepc:~ # iwconfig wlan0
wlan0 IEEE 802.11b ESSIDff/any
Mode:Managed Frequency:24.37 MHz Access Point: 00:16:B6:F4:64:C1
Bit Rate:11 Mb/s
RTS thr:-965492936 B Fragment thr:-965492936 B
Encryption key:xxxx-xxxx-xx Security mode:restricted
Power Management max timeout:0us mode:All packets received
Link Quality:0/100 Signal level:-68 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

mrnonamepc:~ # iwconfig wlan0 essid 20M1LK09
mrnonamepc:~ # iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"20M1LK09"
Mode:Managed Frequency:24.37 MHz Access Point: 00:16:B6:F4:64:C1
Bit Rate:11 Mb/s
RTS thr:-963592392 B Fragment thr:-963592392 B
Encryption key:xxxx-xxxx-xx Security mode:restricted
Power Management max timeout:0us mode:All packets received
Link Quality:0/100 Signal level:-71 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

mrnonamepc:~ # dhcpcd wlan0
mrnonamepc:~ # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:50:F2:C7:E3:93
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:f2ff:fec7:e393/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:590 (590.0 b) TX bytes:6720 (6.5 Kb)

mrnonamepc:~ #

Linuxquestions.org is the best site for information on any distibution of linux....

And Hangdog42 you da MAN if ya ever in chicago I owe you a beer or two....
 
  


Reply

Tags
broadcom


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
Wireless card working but cannot connect to router - I'm in need of help ben_suse Linux - Wireless Networking 6 09-28-2006 01:46 AM
HELP Me Connect to my Wireless Router pxumsgdxpcvjm Linux - Hardware 1 04-12-2006 09:27 AM
Connect to a wireless router Gioutsaman Linux - Wireless Networking 0 05-28-2005 03:57 PM
Wireless talks to the router but does not connect to websites ksgill Linux - Newbie 5 10-29-2004 03:28 AM
Can't Connect to wireless router shaggy007 Linux - Wireless Networking 7 04-23-2004 01:28 AM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration