468,752 Members | 1,491 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,752 developers. It's quick & easy.

Wireless woes

Hi, I can't figure out my wireless (a 2WIRE router/modem) problem. After running the below script both the KWiFiManager and iwconfig shows that my card is working. However, a ping fails. My main card is a bmc4318, but the result is the same with a Linksys pci card.

I've managed to get wireless working on another laptop under Kubuntu versions of Gutsy and Feisty but now that I'm running Hardy....

Expand|Select|Wrap|Line Numbers
  1. #!/bin/bash
  2. iwconfig wlan0 essid "2WIRE178"
  3. iwconfig wlan0 mode managed
  4. iwconfig wlan0 channel auto
  5. iwconfig wlan0 rate 54M auto
  6. iwconfig wlan0 key open s:"1234567890"
  7. iwconfig wlan0 ap 00:ab:cd:ef:12:34
  8. iwconfig wlan0 retry 7
  10. iwconfig wlan0
  11. ping -I wlan0 -c 5 google.com
  14. steve@poohsPlace:~$ sudo ./startWireless
  15. [sudo] password for steve:
  17. <output>
  19. wlan0     IEEE 802.11g  ESSID:"2WIRE178"
  20.           Mode:Managed  Frequency:2.412 GHz  Access Point: 00:ab:cd:ef:12:34
  21.           Bit Rate=1 Mb/s   Tx-Power=27 dBm
  22.           Retry limit:7   RTS thr:off   Fragment thr=2346 B
  23.           Encryption key:****-****-****-****-****
  24.           Link Quality=75/100  Signal level=-39 dBm  Noise level=-71 dBm
  25.           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  26.           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
  28. PING google.com ( from wlan0: 56(84) bytes of data.
  29. From poohs ( icmp_seq=1 Destination Host Unreachable
  30. From poohs ( icmp_seq=2 Destination Host Unreachable
  31. From poohs ( icmp_seq=3 Destination Host Unreachable
  32. From poohs ( icmp_seq=4 Destination Host Unreachable
  33. From poohs ( icmp_seq=5 Destination Host Unreachable
  35. --- google.com ping statistics ---
  36. 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4045ms, pipe 3
Any thought would be appreciated.
Jun 13 '08 #1
1 1981
3,112 Expert 2GB
I'm using Xubuntu Hardy and am therefore not quite sure, that you have absolutely the same network-packages installed as I do (Kubuntu has it's own packages in quite a few areas), but the normal route would be to try via the package "network-admin" instead of trying to set it up manually.
I've had problems like that in the past and I found, that somehow this package must be interfering with any console-based settings. Of course, if you want to do it manually, you can do so - but then I'd remove network-admin.

I'm not using WiFi with this computer as it's a Desktop and near to the router, so I'm quite limited in helping. But I'm trying my best :-D

Jun 16 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by happymeteor | last post: by
1 post views Thread by =?Utf-8?B?QmVmdWRkbGVkLTE=?= | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.