w/lan card enables but won't connect

Asked by tonyc

Have an BELKIN usb w/lan that seems to be enabled but won't connect to internet. Am using Kubuntu 10 and am very new to the Linux based OS. A hardware report was generated but could not be sent due to no connection. Not sure where to send the report. Tried manual & auto configs but to no avail. Any help or suggestions would be appreciated. Thanks...odlp
eth0 Link encap:Ethernet HWaddr 00:e0:18:2a:1d:ff
          inet addr:72.207.91.228 Bcast:72.207.91.255 Mask:255.255.252.0
          inet6 addr: fe80::2e0:18ff:fe2a:1dff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:4656 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1098 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1086399 (1.0 MB) TX bytes:192272 (192.2 KB)
          Interrupt:9 Base address:0xd800

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:252 errors:0 dropped:0 overruns:0 frame:0
          TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18456 (18.4 KB) TX bytes:18456 (18.4 KB)

wlan0 Link encap:Ethernet HWaddr 00:1c:df:46:53:10
          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)

wmaster0 Link encap:UNSPEC HWaddr 00-1C-DF-46-53-10-00-00-00-00-00-00-00-00-00-00
          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)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
tonyc
Solved:
Last query:
Last reply:
Revision history for this message
Mostafa Berg (mostafaberg) said :
#1

Are you sure your wlan card is supported ?

Because i have a feeling its Atheros Chipsets, which is not 100% supported yet, you can do two things to make this work !

first of, "the easy way" download ubuntu 8.04, it supports Atheros chipsets (HAL).

Second thing, is to download the Atheros drivers from madwifi.org and compile it yourself. I donot recommend this now.

in order to help you better, can you show us the output of ifconfig ?

if you are very new, here is how to do so:

open up your terminal
type in the following "Case sensitive"

cd Desktop
ifconfig > data_out
exit

after those commands, you'll find a new file called data_out on your desktop, please open it up
copy and paste the data in here so we can all see it.

Thanks :)

Revision history for this message
tonyc (tonyc-intergate) said :
#2
Revision history for this message
Mostafa Berg (mostafaberg) said :
#3

Hello again tony !:)

sorry but I cannot read your las message, can you please re-post ?

Revision history for this message
tonyc (tonyc-intergate) said :
#4

Thanks for the response....here is the file

eth0 Link encap:Ethernet HWaddr 00:0C:76:27:45:51
          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)
          Interrupt:19 Base address:0x8f00

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 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:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:12:0E:11:74:24
          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)
          Interrupt:18 Base address:0xe000

Revision history for this message
Mostafa Berg (mostafaberg) said :
#5

Seems your card is working.

what sort of encryption are you using ? "WPA, WEP" ?

Revision history for this message
tonyc (tonyc-intergate) said :
#6

Sorry for the delay but was outside doing some yard work...........am using WEP encryption...dosen't want to connect to internet.

Revision history for this message
Mostafa Berg (mostafaberg) said :
#7

Can you see your Access Point name or it doens't show up ?
might be a wrong key , try turning off the encryption and see what happens too

Revision history for this message
tonyc (tonyc-intergate) said :
#8

Moatafa, not sure how to shut off encryption with kubuntu but I did try to reconfig manually & automatically. It seems that every time I go into the network manager that the default gateway is gone. I reenter that and apply changes and same story..no action. The access pt name is in the config window but that's it. The WEP key is ok as this card worked on 2 different win98 systems & I made sure I kept a copy when first installed. I looked in the owners manual (pdf file) but just shows different setups for win systems. Anyway, thanks for the time & info so far, I really appreciate it!! Time to get some sleep & will try tommorrow again. /Tony

Revision history for this message
Mostafa Berg (mostafaberg) said :
#9

Ok, so it's a WEP key, i was making sure that your wlan hardware supports the encryption "Some cards don't support WPA"

Now let's make sure that your Access point is visible to your computer !

Open up a terminal window, then type in the following commands
commands are case sensitive:

cd Desktop
sudo iwlist wlan0 scan > output
exit

you'll find another file on your desktop called output , if you can please show us the contents of this file here.
the contents should be the wireless networks your card can "see" !

Revision history for this message
tonyc (tonyc-intergate) said :
#10

Mostafa here is the file.........

wlan0 Scan completed :
          Cell 01 - Address: 00:1F:B3:26:C1:F1
                    ESSID:"2WIRE450"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=32/100 Signal level=5/100 Noise level=0/100
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 02 - Address: AE:03:36:01:C1:00
                    ESSID:"SST-PR-1"
                    Mode:Ad-Hoc
                    Frequency:2.437 GHz (Channel 6)
                    Quality=38/100 Signal level=13/100 Noise level=0/100
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
          Cell 03 - Address: 00:15:05:23:EF:4B
                    ESSID:"ACTIONTEC"
                    Mode:Master
                    Frequency:2.452 GHz (Channel 9)
                    Quality=50/100 Signal level=30/100 Noise level=0/100
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 22 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s

Revision history for this message
Mostafa Berg (mostafaberg) said :
#11

great, you are detecting wireless networks.
The access points are :
"2WIRE450" and "ACTIONTEC"
which one is yours ?

Revision history for this message
tonyc (tonyc-intergate) said :
#12

Mine is the Actiontec

/Tony

Revision history for this message
Mostafa Berg (mostafaberg) said :
#13

I guess this set of commands in terminal will let yo go :
fire up terminal again, and type the following set of commands

iwconfig wlan0 ap 00:15:05:23:EF:4B
iwconfig wlan0 ACTIONTEC
iwconfig wlan0 key s:"your key here"
dhclient wlan0

tell us if it worked or if you got any errors ?

Revision history for this message
tonyc (tonyc-intergate) said :
#14

Mostafa..............error on first command set:

tony@tony-desktop:~$ iwconfig wlan0 ap 00:15:05:23:EF:4B
Error for wireless request "Set AP Address" (8B14) :
    SET failed on device wlan0 ; Operation not permitted.
tony@tony-desktop:~$

Revision history for this message
Mostafa Berg (mostafaberg) said :
#15

I forgot to mention that you have to be root to do so.

just type the commands with "sudo" before each command, like this:

sudo iwconfig wlan0 ap 00:15:05:23:EF:4B
sudo iwconfig wlan0 ACTIONTEC
sudo iwconfig wlan0 key s:"your key here"
sudo dhclient wlan0

it will ask for your password.

Revision history for this message
tonyc (tonyc-intergate) said :
#16

Here are the other commands tried

tony@tony:~$ iwconfig wlan0 ACTIONTEC
iwconfig: unknown command "ACTIONTEC"
tony@tony:~$ iwconfig wlan0 key s:"your key here"
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not permitted.
tony@tony:~$ dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

can't create /var/lib/dhcp3/dhclient.leases: Permission denied
Can't create /var/run/dhclient.pid: Permission denied
drop_privileges: could not set group id: Operation not permitted
tony@tony:~$

                              Tony

Revision history for this message
tonyc (tonyc-intergate) said :
#17

I think I have it correct now...here it is:

[sudo] password for tony:
tony@tony:~$ sudo iwconfig wlan0 ap 00:15:05:23:EF:4B
tony@tony:~$ sudo iwconfig wlan0 ACTIONTEC
iwconfig: unknown command "ACTIONTEC"
tony@tony:~$ sudo iwconfig wlan0 key s:"your key here"
tony@tony:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:12:0e:11:74:24
Sending on LPF/wlan0/00:12:0e:11:74:24
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
tony@tony:~$

Revision history for this message
Mostafa Berg (mostafaberg) said :
#18

Hi Tony,

you made a small mistake.

in this line :
tony@tony:~$ sudo iwconfig wlan0 key s:"your key here"
you didn't replace the "your key here" phrase with your actual key

try again with your actual key, and remove the Quotes.

Revision history for this message
tonyc (tonyc-intergate) said :
#19

HopeI have it correct.....

[sudo] password for tony:
tony@tony:~$ sudo iwconfig wlan0 ACTIONTEC
iwconfig: unknown command "ACTIONTEC"
tony@tony:~$ sudo iwconfig wlan0 s:3034321998
iwconfig: unknown command "s:3034321998"
tony@tony:~$ sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 5435
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:12:0e:11:74:24
Sending on LPF/wlan0/00:12:0e:11:74:24
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
tony@tony:~$

Revision history for this message
Mostafa Berg (mostafaberg) said :
#20

Ok let's try something different,
We'll do it using the GUI this time.

1-right click on your connection manager in the taskbar.
2-Click on "Connect to Other Wireless Network..."
Now a new window will show up, fill in the following data:
3-in Name(ESSID), enter : ACTIONTEC
4-click on the "Use Encryption" check box
5-Encryption : WEP Passphrase
6-Passphrase: you will enter your key here again 3034321998
7-Authentication : I'm unsure what should that be, but try each one , starting with Shared key, that's most likely it.
8-Click on Connect and tell us what happens !.

I'm sorry this is taking very long to solve, I'm not a wireless expert :(
keep me informed.

Revision history for this message
tonyc (tonyc-intergate) said :
#21

don't have that screen anymore..only manual config mode & do not have that choice.

/Toy

Revision history for this message
tonyc (tonyc-intergate) said :
#22

Mostafa, Im only able to do do a manual config in network manager...I no longer have the original auto config dialog box. Even shutting down network manager & starting from the desktop dosen't cure that. I was going to reinstall Kubuntu again but the cd will allow me the entire original config dialog box. I tried the config as you outlined with & without the many combinations that I was allowed to input but to no avail. Each time I would try the setup suggested it would allow only 2 attempts & then shut off the manager to where the only way I could restart the whole process was to do a hard system reboot. The system would not boot from the menu selections but would just black the screen and 'hang'. This occured while using the live cd...I'm not able to use network manager on the installed system in total..only the manual config option is available. I have no data on my system so reinstalling is not a problem if needed. Probably will not get back to this for abt 16-20 hrs as I have a job to do. I really appreciate the time spent on helping me with this. Also, where can I get info on learning how to use the 'command line syntax'...books,etc.?

Thanks, Tony

Revision history for this message
Mostafa Berg (mostafaberg) said :
#23

Hi Tony,

I'm sorry that this problem wasn't solved, well I think it's disbaled because you are not a root user, but that's not our problem because it doesn't work anyway !

My final recommendation it on test an Ubuntu LiveCD , not Kubuntu !

since you are leaving for a few hours, start an Ubuntu 7.10 download till you get back !

and about learning the command line syntax, you can go here :

http://linuxreviews.org/beginner/

also try googling for : "Learn the linux shell"

hope i've been helpful.

please keep me updated !

Revision history for this message
tonyc (tonyc-intergate) said :
#24

Mostafa,

             Have not had much time the past few weeks to try to solve the w/lan card problem until a couple of days ago. I still don't know why the Xterasys w/lan didn't work but I purchased a 'cheap' Linksys w/lan card & it worked with no problems whatsoever. I'm going to try the Xterasys card in another computer soon to see what happens. I truly appreciate your time & patience with helping with this problem. Thank You!!

                                Tony

Revision history for this message
Mostafa Berg (mostafaberg) said :
#25

Hi tony !

It's good to hear that you're finally online !

Hope you have a great time on ubuntu :)

But just to relax my mind:), you can try to turn off the encryption on your router, then try to connect using your Xterasys card.

It should work i guess !:)

have a great time !

Mostafa Berg