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. |
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 |
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? |
Quote:
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. |
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. |
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 |
I've tried that & the MAC won't show up. All it says is Access Point: Not-Associated.
|
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. |
@Blipside, send us the output of
iwlist wlan0 scan |grep -C3 Quality for your network |
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 key:off 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. |
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 |
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 thr:off Fragment thr=2352 B Power Management:off 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 |
Quote:
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' |
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.
|
There's three or four ways of turning off. No ideas spring to mind. You need to get it turned on.
|
All times are GMT -5. The time now is 10:29 AM. |