LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-20-2004, 09:03 AM   #1
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Unhappy cannot connect to wireless network


Hi all,

Problem: I cannot connect to the network!!

Description: I am running SUSE 9.1 on my Compaq armada M700 with a Xterasys XN2422G network card. I managed to configure the card using the windows drivers and Ndiswrapper. I can see that the card is active and is powered (lights flashing).

This is the information that I managed to get about the card and the routers around me.

# modprobe ndiswrapper
# iwconfig wlan0 essid 'Strathclyde'
# iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"Strathclyde"
Mode:Managed Frequency:2.412GHz Access Point: 00:60:1D:1E4:95
Bit Rate:11Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:4096 B Fragment thr:4096 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-51 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

# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:60:1D:1E3:FF
ESSID:"Strathclyde"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412GHz
Quality:0/100 Signal level:-57 dBm Noise level:-256 dBm
Encryption key: XXX
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s

Cell 02 - Address: 00:0F:3D:F7A:2F
ESSID:"ICC"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-79 dBm Noise level:-256 dBm
Encryption key: XXX
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Bit Rate:6Mb/s
Bit Rate:9Mb/s
Bit Rate:12Mb/s
Bit Rate:18Mb/s
Bit Rate:52Mb/s
Cell 03 - Address: 00:60:1D:1E4:95
ESSID:"Strathclyde"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.442GHz
Quality:0/100 Signal level:-50 dBm Noise level:-256 dBm
Encryption key: XXX
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Cell 04 - Address: 00:60:1D:1E56
ESSID:"Strathclyde"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412GHz
Quality:0/100 Signal level:-81 dBm Noise level:-256 dBm
Encryption key:XXX
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s

It looks to me (in my ignorance) as if the signal is too low to connect to any of the cells. However, I can connect to the network via cell03 from the same place if I use the same hardware running Win2000.

Can anyone give me a hand please??

Very much appreciated.

Anartz
 
Old 10-20-2004, 09:21 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
[edit]
 
Old 10-20-2004, 11:05 AM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
It's working great. It has associated to the MAC address that's listed in your iwconfig.

Now you need to have a dhcp program to set the rest of the parameters or set them manually.
 
Old 10-20-2004, 11:35 AM   #4
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your prompt reply! I have tried setting the network parameters using Yast2 but with not success. Could you tell me how I could follow up with this?

Many thanks!

anartz
 
Old 10-20-2004, 11:53 AM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Do you have dhcpcd?

Code:
dhcpcd wlan0
That should set stuff like your IP address. Then you're on the local network. You can test this by pinging to the router:
Code:
ping x.x.x.x
the x.x.x.x is your router's IP address. Use CTRL-C to stop the pinging.
Then there a probably are a few things you still have to set for internet.
 
Old 10-20-2004, 01:23 PM   #6
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I tried as you said and there were no messages or nothing, but I still cannot ping anything. I tried solution on this thread but still couldn't make it work

any more suggestions would be very welcome.

thanks very much!

anartz
 
Old 10-20-2004, 01:43 PM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Couldn't you ping the router? Then the dhcpcd didn't work.

You could try setting everything manual:

Code:
iwconfig wlan0 essid ****
ifconfig wlan0 x.x.x.x
route add default gw 0.0.0.0
x.x.x.x is your ipaddress you can choose any number from 0 to 255 for the last x provided there aren't any other computers on the network already. If so you should use a high number so it isn't already given away.
The x.x.x.x is your router's IP address.

You can check if the settings are ok with:
Code:
ifconfig wlan0
After that you should be able to ping to your router. If you still can't can you post the results of iwcofig wlan0, ifconfig wlan0 and route?
 
Old 10-26-2004, 09:08 AM   #8
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
here I come again :)

I tried to do what you said and still couldn't manage to solve the problem... here are the results that I got from the trial:
Code:
# modprobe ndiswrapper 
# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:E0:98:BD:5C:D4  
          inet addr:10.2.21.150  Bcast:10.2.23.255  Mask:255.255.252.0
          inet6 addr: fe80::2e0:98ff:febd:5cd4/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5273 (5.1 Kb)  TX bytes:1282 (1.2 Kb)
          Interrupt:11 Memory:10420000-10421fff 
# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"Strathclyde"  Nickname:"anartz"
          Mode:Managed  Frequency:2.412GHz  Access Point: 00:60:1D:1E:D3:FF  
          Bit Rate=11Mb/s   Tx-Power:10 dBm   Sensitivity=0/3  
          RTS thr=4096 B   Fragment thr=4096 B   
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-46 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
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
and had to stop it ^C

Then I changed the addresses to those that I get when I connect using windows and this is what I get:
Code:
# ifconfig wlan0 10.2.21.150 broadcast 10.2.20.100 netmask 255.255.252.0
# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:E0:98:BD:5C:D4  
          inet addr:10.2.21.150  Bcast:10.2.20.100  Mask:255.255.252.0
          inet6 addr: fe80::2e0:98ff:febd:5cd4/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:115186 (112.4 Kb)  TX bytes:3144 (3.0 Kb)
          Interrupt:11 Memory:10420000-10421fff 

# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"Strathclyde"  Nickname:"anartz"
          Mode:Managed  Frequency:2.412GHz  Access Point: 00:60:1D:1E:D3:FF  
          Bit Rate=11Mb/s   Tx-Power:10 dBm   Sensitivity=0/3  
          RTS thr=4096 B   Fragment thr=4096 B   
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-46 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
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.2.20.0       *               255.255.252.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
It looks like it is somethhing better, but still cannot make it work :(

any ideas please?? they'll be very welcome!!

anartz
 
Old 10-26-2004, 10:01 AM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Your gateway is set to your loopback device. Can you access the internet or ping to the router if you set the gateway (your router's IP address) with:
Code:
route add default gw x.x.x.x
 
Old 10-27-2004, 08:33 AM   #10
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
is it changed now? I cannot ping anywhere, and still can't connect to the network, but it looks like mozilla is trying to connect to my homepage

Code:
# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:E0:98:BD:5C:D4  
          inet addr:10.2.21.150  Bcast:10.2.23.255  Mask:255.255.252.0
          inet6 addr: fe80::2e0:98ff:febd:5cd4/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:40609 (39.6 Kb)  TX bytes:4363 (4.2 Kb)
          Interrupt:11 Memory:10420000-10421fff 

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.2.20.0       *               255.255.252.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
default         10.2.20.100     0.0.0.0         UG    0      0        0 wlan0

# ping 10.2.20.100
PING 10.2.20.100 (10.2.20.100) 56(84) bytes of data.

--- 10.2.20.100 ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 10998ms
thanks for your help!

anartz
 
Old 10-27-2004, 09:38 AM   #11
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I don't think it should list your loopback device in that list (it doesn't for me) Is that netmask you have there ok? On LANs it's often 255.255.255.0
Otherwise I wouldn't know how to get that the lo interface gone there.

You can set the netmask with:
Code:
ifconfig wlan0 netmask x.x.x.x
 
Old 10-27-2004, 10:11 AM   #12
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
That is the netmask that I get when I do
Code:
 dhcpcd wlan0
It's also the same net mask that I get when connected from windows.

How could I remove lo from the route?

anartz
 
Old 10-27-2004, 10:21 AM   #13
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Quote:
Originally posted by anartz
That is the netmask that I get when I do
Code:
 dhcpcd wlan0
It's also the same net mask that I get when connected from windows.
Then it's Ok

Quote:

How could I remove lo from the route?
That's what I don't know but I think it solves your problem.
 
Old 10-27-2004, 10:38 AM   #14
anartz
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your help!

it is so sad to be so close to fixing it and not being able to

hopefully someone out ther can give me a hand.

Cheers

anartz
 
  


Reply


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
Connect to Wireless Network RySk8er30 Linux - Wireless Networking 8 11-19-2007 01:55 AM
Ipw2200 with FC4, can't connect to my wireless network Larsza Linux - Wireless Networking 1 09-14-2005 11:51 AM
can't connect to my wireless network hedpe Linux - Wireless Networking 14 01-28-2005 02:47 PM
Wireless cannot connect to network/Internet in SuSE 9.1 Hironaga Linux - Wireless Networking 13 09-02-2004 11:00 PM
Getting Suse 9.1 to connect to a Wireless network MDBlueIce Linux - Newbie 0 08-14-2004 11:07 PM


All times are GMT -5. The time now is 03:22 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