LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-25-2004, 12:13 AM   #1
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Rep: Reputation: 0
Unhappy Suse 9.0 Linksys WPC11


Just as a disclaimer I am a newbie to Linux. I am having trouble with my Linksys Instant Wireless PC card WPC11 after installing Suse 9.0. Actually I am having trouble with it after turning on the WEP encryption. After the initial install I didn't have WEP encryption turned on and was able to use the graphical configuration under Kwifimanager to set up the connection to my access point and get onto the internet with no problems. I then turned on the 40 bit encryption on the Linksys router and tried to change the settings under Suse to use the encryption (doesn't seem to have anything to differentiate between 40 bit and 128 bit encryption). I also tried it with the 128 bit encryption set on the router. That is when the problems started. It didn't seem to connect after that so I turned off the encryption on the router and in the Suse configuration but after doing so I was still unable to connect to the internet. I could see with Kwifimanager that it was seeing the network as I could see the signal was strong and showing the correct managed mode but I was unable to ping the router. I could probably get it working again if I re-installed but I would rather learn how to set it up correctly and learn from whatever I did wrong to mess it up. Here is some info I have seen similar posts asking for:

linux:/ # iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11-DS ESSID:"Network" Nickname:"linux"
Mode:Managed Frequency:2.457GHz Access Point: 44:44:44:44:44:44
Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security mode:restricted
Power Management:off
Link Quality:0/92 Signal level:134/153 Noise level:134/153
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.

linux:/ # ifconfig
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:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3912 (3.8 Kb) TX bytes:3912 (3.8 Kb)

wlan0 Link encap:Ethernet HWaddr 00:04:5A:CD:CB:2C
inet6 addr: fe80::204:5aff:fecd:cb2c/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:23 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x100
linux:/ # netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
linux:/ #

linux:/etc/sysconfig/network # cat ifcfg-wlan0
BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE=''
WIRELESS_ESSID='Network'
WIRELESS_KEY='s:xxxxxx'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID='6'
DHCLIENT_MODIFY_RESOLV_CONF='yes'
DHCLIENT_SET_DEFAULT_ROUTE='yes'


(of course the encryption keys have been x'ed out and network name changed for paranoia reasons)
Thanks in advance for any help you can give me that would prevent me from having to re-install.

Last edited by dmk; 02-25-2004 at 12:15 AM.
 
Old 02-25-2004, 12:59 AM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
for wireless options and networking options:

set GATEWAY to IP address of linksys router

change WIRELESS_NWID to ""

set WIRELESS_CHANNEL to "6" ( I believe that is default for linksys, check to be sure)

try using 40 bit WEP key syntax
WIRELESS_KEY="restricted [1] xxxxxxxxxx"

other syntaxs may work, but this works for me and my linksys router
 
Old 02-26-2004, 06:22 PM   #3
tomasj19
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
Remove the "s:" in Wireless Key...

Type in ur key as is.....I know it calls for s: for string..but that has known to cause problems..


Let me know if it worked...
 
Old 03-03-2004, 08:27 PM   #4
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
It's been a bit since I had time to try anything but here's the story.....After changing ifcfg-wlan0 as beyer42 had suggested except for the 40 bit encryption part the WPC11 blinked and wouldn't go solid connect. I tried turning off the encryption on the router and then turning if off in the settings and restarting but it still blinked with no solid connect. I then tried using suseplugger to "eject" the WPC11 but it just froze up. I then pulled the card hot and reseated it. At this point it came up and connected ok without the encryption. I then set the key as tomasj19 suggested and turned the encryption back on in the router. Wifimanager seemed to see the router and showed signal but I couldn't get to the internet through Konqueror. I tried to ping the router and got network not reachable right away. I tried to open up the configuration under wifimanager and immediately the WPC11 started blinking again. So now I am back at step 1. Any suggestions?
 
Old 03-03-2004, 08:47 PM   #5
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
What is the IP address of wlan0 and of the gateway/router?


Also try adding in addition to GATEWAY,
NETMASK and BROADCAST settings.

for example if on 192.168.0 network
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
 
Old 03-03-2004, 08:59 PM   #6
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Ok so after I made the last post (in w2k) I rebooted to linux and the WPC11 light was solid connect. I changed the ifcfg-wlan-pcmcia file to remove the key. But I didn't restart networking (not that I know how to yet from the command line anyway). I then opened Konqueror and connected immediately to linuxquestions.org. So the key line in ifcfg-wlan-pcmcia didn't seem to have any effect. Now I really don't know what to do to get encryption working. Just for comparison here are the now working (without encryption) iwconfig, ifconfig and ifcfg-wlan-pcmcia:

linux:/etc/sysconfig/network # iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11-DS ESSID:"Network" Nickname:"linux"
Mode:Managed Frequency:2.442GHz Access Point: 00:06:25:6D:67:35
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:70/92 Signal level:-32 dBm Noise level:-149 dBm
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.

linux:/etc/sysconfig/network # ifconfig
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:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3260 (3.1 Kb) TX bytes:3260 (3.1 Kb)

wlan0 Link encap:Ethernet HWaddr 00:04:5A:CD:CB:2C
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:5aff:fecd:cb2c/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:639 errors:0 dropped:0 overruns:0 frame:0
TX packets:702 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:322683 (315.1 Kb) TX bytes:128850 (125.8 Kb)
Interrupt:3 Base address:0x100

linux:/etc/sysconfig/network # cat ifcfg-wlan-pcmcia
BOOTPROTO='dhcp'
DHCLIENT_SET_DOWN_LINK='yes'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE='K1pk.jrBDbmL7DWA'
WIRELESS_ESSID='Network'
WIRELESS_KEY=''
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID='6'

Last edited by dmk; 03-03-2004 at 09:02 PM.
 
Old 03-03-2004, 09:11 PM   #7
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
The IP of the router is the default 192.168.0.1 but I don't know how to find my wlan-pcmcia ip from the command line in linux (still learning). I believe it to be 192.168.0.100 from the info in my last post but I don't know what command would tell me that for sure. What is the linux approximate equivalent of ipconfig /all? I'm betting its ifconfig.
 
Old 03-03-2004, 10:44 PM   #8
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
add

GATEWAY=192.168.0.1
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
CHANNEL=6

change
WIRELESS_NWID='6'
to
WIRELESS_NWID=''
 
Old 03-04-2004, 07:31 AM   #9
tomasj19
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
Can u post ur 'route -n' command output
 
Old 03-04-2004, 06:01 PM   #10
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Keep in mind this is during the working connection without encryption.

linux:/home/david # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
 
Old 03-05-2004, 08:09 AM   #11
tomasj19
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
Based on all ur input looks like u should be able to get on the internet without encryption..

try ftp ftp.kde.org and see if u are able to connect...
also do a ping 198.68.0.1 and see if ur able to talk to the router...

Post back..with errors...
 
Old 03-08-2004, 02:38 AM   #12
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Ok I can connect to the internet without encryption turned on but when I turn encryption on in the router and then change ifcfg-wlan-pcmcia to include the key I then can't connect to the internet any longer. The WPC11 gives solid connect and Wifimanager shows that it sees the router. However when I try to ping the router it says network unavailable. Here is all the settings and results:

linux:/etc/sysconfig/network # cat ifcfg-wlan-pcmcia
BOOTPROTO='dhcp'
DHCLIENT_SET_DOWN_LINK='yes'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE='K1pk.jrBDbmL7DWA'
WIRELESS_ESSID='Network'
WIRELESS_KEY='s:xxxxxxxx'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID='6'
GATEWAY=192.168.0.1
NETMASK=255.255.255.0
BROADCAST=192.168.0.255

linux:/etc/sysconfig/network # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
linux:/etc/sysconfig/network # ping 192.168.0.1
connect: Network is unreachable

linux:/etc/sysconfig/network # iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11-DS ESSID:"Network" Nickname:"linux"
Mode:Managed Frequency:2.442GHz Access Point: 00:06:25:6D:67:35
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security mode:open
Power Management:off
Link Quality:87/92 Signal level:-15 dBm Noise level:-149 dBm
Rx invalid nwid:0 Rx invalid crypt:22 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.

linux:/etc/sysconfig/network # ifconfig
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:240 errors:0 dropped:0 overruns:0 frame:0
TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18560 (18.1 Kb) TX bytes:18560 (18.1 Kb)

wlan0 Link encap:Ethernet HWaddr 00:04:5A:CD:CB:2C
inet6 addr: fe80::204:5aff:fecd:cb2c/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:5 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
 
Old 03-08-2004, 03:57 AM   #13
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
I only see a small number of TX (transmit) packets being sent and a relatively large number of errors.

This leads me to believe (given that the gateway IP address is correct) that the problem is with your specification of the key.

KEY='restricted [1] xxxxxxxxxx'

don't add the s: in front of the key.

Once you get the settings configured by hand in the configuration file(s) you won't need to use any Manager programs to setup or use your wireless interface.
 
Old 03-08-2004, 09:34 AM   #14
tomasj19
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
Same comment as beyer...remove s: in ur encryption key....
 
Old 03-08-2004, 09:22 PM   #15
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Ok I tried changing the WIRELESS_KEY='s:xxxxxxxx' to WIRELESS_KEY ='restricted [1] xxxxxxxx' and then used suseplugger to restart networking. The WPC11 began flashing showing no connection after that. I changed the setting back to 's:xxxxxxxx' and used suseplugger again to restart but it was still flashing no connect. I then tried rebooting and the WPC11 went solid connect again but still had nothing under route -n. I think I'll try to manually input the hex value of the key and try again. By the way what are the commands to start and stop networking from the shell?
 
  


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
Linksys WPC11 v2.5/SUSE 9.2 default Linuxrat Linux - Wireless Networking 1 01-16-2005 08:34 AM
Linksys wpc11 v4 and SuSE 9.1 Pro theSandMan Linux - Wireless Networking 1 12-07-2004 02:00 AM
SuSE 9.1 and LinkSys WPC11 Troubles! HELP Marcuch Linux - Newbie 1 07-24-2004 04:16 PM
Linksys WPC11 on SuSE 8.2 Lee_B_H Linux - Networking 4 07-21-2003 05:19 PM
SuSe 8.0 and Linksys Wireless WPC11 diablo17 Linux - Newbie 2 08-05-2002 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:45 PM.

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