LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2009, 03:28 AM   #1
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Rep: Reputation: 15
Ubuntu Edimax Ew-7128G Won't Connect to Wireless Network


Good day. I bought an Edimax EW-7128G wireless PCI card because everything I read said it works out of the box with Ubuntu. I have tried it with Kubuntu 8.04, Ubuntu 9.04, & Kubuntu 9.04. I can scan the networks in the area, but I can not connect to my network. I have tried with & without encryption, but can not connect. I have tried looking for information on how to fix my problem, but I can not find any information since everything says it just works. Here is a copy of lsmod.

Module Size Used by
ppdev 15620 0
bridge 56340 0
stp 10500 1 bridge
bnep 20224 2
input_polldev 11912 0
video 25360 0
output 11008 1 video
lp 17156 0
parport 42220 2 ppdev,lp
arc4 9856 2
ecb 10752 2
snd_hda_intel 435636 2
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
rt61pci 29572 0
crc_itu_t 10112 1 rt61pci
snd_pcm 82948 2 snd_hda_intel,snd_pcm_oss
rt2x00pci 15616 1 rt61pci
rt2x00lib 37888 2 rt61pci,rt2x00pci
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
led_class 12036 1 rt2x00lib
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
mac80211 217208 2 rt2x00pci,rt2x00lib
snd 62628 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm
pcspkr 10496 0
cfg80211 38032 2 rt2x00lib,mac80211
k8temp 12416 0
eeprom_93cx6 10240 1 rt61pci
joydev 18368 0
tpm_infineon 16936 0
tpm 22976 1 tpm_infineon
tpm_bios 14080 1 tpm
nvidia 7233756 36
i2c_nforce2 14980 0
agpgart 42696 1 nvidia
hid_logitech 16256 0
ff_memless 13320 1 hid_logitech
usbhid 42336 1 hid_logitech
forcedeth 61712 0
floppy 64324 0
fbcon 46112 0
tileblit 10752 1 fbcon
font 16384 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit


Any help would be appriciated. Thank you.
 
Old 09-30-2009, 03:58 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
OK, if you can scan you are most of the way there. Turn off encryption for starters. Try this:
iwlist wlan0 scan |less.

Pick out your network, copy the Address (e.g. 00:11:22:33) and type
iwconfig wlan0 essid <your-essid> ap <your-address> e.g.
iwconfig wlan0 essid myhouse ap 00:11:22:33

When you now type iwconfig wlan0 you should see the Access point 00:11:22:33
you are in! now run dhcpcd or dhclient on wlan0

dhcpcd wlan0, and it should give you an ip
 
Old 10-01-2009, 01:31 PM   #3
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
business_kid,

Thank you for the help. Unfortunately that did not work. I was able to attach my essid, but the access point did not take. I tried requesting a dhcp any way, but all it gave me was a default IP address. Any other suggestions?
 
Old 10-02-2009, 03:44 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
Quote:
Originally Posted by Blipside View Post
business_kid,

Thank you for the help. Unfortunately that did not work. I was able to attach my essid, but the access point did not take. I tried requesting a dhcp any way, but all it gave me was a default IP address. Any other suggestions?
Is encryption off?

What was the default IP address? That is not standard behaviour. It should surely obtain an ip address when you call dhcp. Try the
iwconfig ap <your router's mac address>

as a command on it's own and then see what the logs say
dmesg |tail -n 20
tail -n 20 /var/log/messages

Try and find any error in the wireless stuff.
 
Old 10-04-2009, 06:55 AM   #5
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
I tried just using iwconfig wlan0 ap & all I get is iwconfig showing Access-point Not-Associated. My system doesn't understand dhcpcd & here is what happens when I use dhclient

blipside@TV:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1f:1f:38:9a:39
Sending on LPF/wlan0/00:1f:1f:38:9a:39
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

When I look at dmesg |tail -n 20 it doesn't seem to show anything about wlan0

blipside@TV:~$ dmesg |tail -n 20
[ 37.092037] Clocksource tsc unstable (delta = -117519423 ns)
[ 41.544029] eth0: no IPv6 routers present
[ 299.070456] usb 1-2: USB disconnect, address 2
[ 299.070462] usb 1-2.1: USB disconnect, address 3
[ 299.121888] usb 1-2.2: USB disconnect, address 4
[ 897.704053] usb 1-2: new high speed USB device using ehci_hcd and address 5
[ 897.881844] usb 1-2: configuration #1 chosen from 1 choice
[ 897.884531] hub 1-2:1.0: USB hub found
[ 897.888372] hub 1-2:1.0: 4 ports detected
[ 898.160785] usb 1-2.1: new low speed USB device using ehci_hcd and address 6
[ 898.284246] usb 1-2.1: configuration #1 chosen from 1 choice
[ 898.288583] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.1/1-2.1:1.0/input/input8
[ 898.340207] logitech 0003:046D:C517.0004: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:0b.1-2.1/input0
[ 898.345771] logitech 0003:046D:C517.0005: fixing up Logitech keyboard reportdescriptor
[ 898.347417] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.1/1-2.1:1.1/input/input9
[ 898.416459] logitech 0003:046D:C517.0005: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:0b.1-2.1/input1
[ 898.488804] usb 1-2.2: new low speed USB device using ehci_hcd and address 7
[ 898.608196] usb 1-2.2: configuration #1 chosen from 1 choice
[ 898.623881] input: Logitech Trackball as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.2/1-2.2:1.0/input/input10
[ 898.664197] generic-usb 0003:046D:C404.0006: input,hidraw2: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:0b.1-2.2/input0

Here is the output from tail -n 20 /var/log/messages

blipside@TV:~$ tail -n 20 /var/log/messages
Oct 4 13:30:41 TV kernel: [ 30.980257] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 4 13:30:47 TV kernel: [ 37.092037] Clocksource tsc unstable (delta = -117519423 ns)
Oct 4 13:35:09 TV kernel: [ 299.070456] usb 1-2: USB disconnect, address 2
Oct 4 13:35:09 TV kernel: [ 299.070462] usb 1-2.1: USB disconnect, address 3
Oct 4 13:35:09 TV kernel: [ 299.121888] usb 1-2.2: USB disconnect, address 4
Oct 4 13:45:07 TV kernel: [ 897.704053] usb 1-2: new high speed USB device using ehci_hcd and address 5
Oct 4 13:45:08 TV kernel: [ 897.881844] usb 1-2: configuration #1 chosen from1 choice
Oct 4 13:45:08 TV kernel: [ 897.884531] hub 1-2:1.0: USB hub found
Oct 4 13:45:08 TV kernel: [ 897.888372] hub 1-2:1.0: 4 ports detected
Oct 4 13:45:08 TV kernel: [ 898.160785] usb 1-2.1: new low speed USB device using ehci_hcd and address 6
Oct 4 13:45:08 TV kernel: [ 898.284246] usb 1-2.1: configuration #1 chosen from 1 choice
Oct 4 13:45:08 TV kernel: [ 898.288583] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.1/1-2.1:1.0/input/input8
Oct 4 13:45:08 TV kernel: [ 898.340207] logitech 0003:046D:C517.0004: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:0b.1-2.1/input0
Oct 4 13:45:08 TV kernel: [ 898.345771] logitech 0003:046D:C517.0005: fixing up Logitech keyboard report descriptor
Oct 4 13:45:08 TV kernel: [ 898.347417] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.1/1-2.1:1.1/input/input9
Oct 4 13:45:08 TV kernel: [ 898.416459] logitech 0003:046D:C517.0005: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:0b.1-2.1/input1
Oct 4 13:45:08 TV kernel: [ 898.488804] usb 1-2.2: new low speed USB device using ehci_hcd and address 7
Oct 4 13:45:08 TV kernel: [ 898.608196] usb 1-2.2: configuration #1 chosen from 1 choice
Oct 4 13:45:08 TV kernel: [ 898.623881] input: Logitech Trackball as /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2.2/1-2.2:1.0/input/input10
Oct 4 13:45:08 TV kernel: [ 898.664197] generic-usb 0003:046D:C404.0006: input,hidraw2: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:0b.1-2.2/input0


Thanks again for your help with this.
 
Old 10-05-2009, 03:22 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
my bad about the usb, you're on pci, aren't you?

is encryption off in the modem/router?

do you see wlan0? does iwconfig wlan0 give you information?

Let's presume yes to each of those questions. then take your router's mac address from the line of the scan that reads e.g.

Cell 04 - Adress: 0F:AB:92:74

and run
iwconfig wlan0 ap 0F:AB:92:74
(or whatever the digits are) and you should be in.

iwconfig wlan0 should then say
wlan0 IEEE 802.11bg ESSID:"YOUR_ESSID"
Mode:Managed Frequency:2.417 GHz Access Point: <mac address>

_Then_ you can run dhcp
 
Old 10-05-2009, 08:09 AM   #7
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
I've tried that & the MAC won't show up. All it says is Access Point: Not-Associated.
 
Old 10-06-2009, 02:30 AM   #8
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
Hi,
Are you using any encryption such as wpa...you might need to set up wpa_supplicant first before you can associate with your AP.
 
Old 10-06-2009, 04:18 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
@Blipside, send us the output of

iwlist wlan0 scan |grep -C3 Quality

for your network
 
Old 10-06-2009, 09:09 AM   #10
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
Here it is. I am using WPA for my network, but when I am working on this computer I shut it off. I want it to be able to connect first & then I will worry about the security.

blipside@TV:~$ iwlist wlan0 scan |grep -C3 Quality
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=64/100 Signal level:-60 dBm
Encryption keyff
IE: Unknown: 000D41746F6D69632D467573696F6E
IE: Unknown: 010482848B96

I bought the card because every one said that it just works with Ubuntu, but like everything I have experienced it doesn't just work. Oh well, this will just give me a better understanding of the system when I do get it to work. Thank you guys for the help.
 
Old 10-07-2009, 03:07 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
You have the mode set as 'master'. It thinks you're the server! The router should be 'master' you should be 'managed'
Iwconfig wlan0 mode managed
fixes that. THEN try connecting
 
Old 10-07-2009, 01:10 PM   #12
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
When I did an iwconfig wlan0 it shows that I am in managed mode. I don't know why it said master. Any other ideas?

blipside@TV:~$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"Atomic-Fusion"
Mode:Managed Frequency:2.452 GHz Access Point: Not-Associated
Tx-Power=6 dBm
Retry min limit:7 RTS thrff Fragment thr=2352 B
Power Managementff
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
 
Old 10-08-2009, 03:46 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
Quote:
Originally Posted by Blipside View Post
When I did an iwconfig wlan0 it shows that I am in managed mode. I don't know why it said master. Any other ideas?


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

It's turned off :-o! Mine says

Link Quality=70/70 Signal level=-39 dBm Noise level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

try 'ifconfig wlan0 up' also 'iwconfig wlan0 power on txpower auto'
 
Old 10-08-2009, 12:23 PM   #14
Blipside
Member
 
Registered: Feb 2005
Posts: 45

Original Poster
Rep: Reputation: 15
Well, I tried those commands & it is still showing the same thing. Could I have gotten a bad card? That would be my luck. Any other ideas? Thanks again for helping me with this.
 
Old 10-09-2009, 03:01 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
There's three or four ways of turning off. No ideas spring to mind. You need to get it turned on.
 
  


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
how should i connect to my wireless network at home in ubuntu 8.10??? learning linux Linux - Newbie 3 08-04-2009 07:30 AM
Cannot connect to wireless network in Ubuntu 9.04 (Jaunty) amac26629 Linux - Hardware 2 07-28-2009 12:10 AM
Wireless Card That Works With Ubuntu - Edimax-EW-7128G? Boffy Linux - Hardware 0 08-06-2008 11:28 AM
ubuntu picks up wireless network but will not connect... personalcrusade Linux - Networking 1 03-17-2008 09:46 PM
cannot connect to unsecured wireless network on edgy ubuntu ywemily Linux - Wireless Networking 0 03-27-2007 10:04 AM

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

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