LinuxQuestions.org
Help answer threads with 0 replies.
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 07-09-2008, 02:25 AM   #1
m1dn1ght
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
D-Link (DWL-G122 rev.C) Wifi USB Adapter keeps dropping connection in Ubuntu Hardy


Hi guys,

Am having some trouble with my newly purchased D-Link Wireless Dongle. When I plug it into my laptop, it activates and I am able to see the wireless networks in network manager (And WICD which I installed but didn't resolve problem)

After selecting the network and typing in my network key it connects fine, but then completely deactivates after a couple of seconds. If I continue unplugging and plugging it in, eventually one of the attempts will work and it will stay on, but that can sometimes take over 10-15 tries. The messages in the system log are:

Jul 8 10:26:44 m1dn1ght-laptop kernel: [ 202.469250] usb 3-5: new high speed USB device using ehci_hcd and address 5
Jul 8 10:26:44 m1dn1ght-laptop kernel: [ 202.740406] usb 3-5: configuration #1 chosen from 1 choice
Jul 8 10:26:45 m1dn1ght-laptop kernel: [ 203.089546] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jul 8 10:26:48 m1dn1ght-laptop kernel: [ 206.681439] eth0: PHY reset until link up.
Jul 8 10:26:58 m1dn1ght-laptop kernel: [ 216.442494] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jul 8 10:26:58 m1dn1ght-laptop kernel: [ 216.703963] eth0: PHY reset until link up.
Jul 8 10:27:04 m1dn1ght-laptop dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Jul 8 10:27:04 m1dn1ght-laptop dhcdbd: dhco_parse_option_settings: bad option setting: new_dhcp_lease_time = -1
Jul 8 10:27:04 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.host_name
Jul 8 10:27:04 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.nis_domain
Jul 8 10:27:04 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.nis_servers
Jul 8 10:27:08 m1dn1ght-laptop kernel: [ 226.726520] eth0: PHY reset until link up.
Jul 8 10:27:09 m1dn1ght-laptop kernel: [ 226.992449] usb 3-5: USB disconnect, address 5

Also, not sure if it's relevant but there is one line in the system log that keeps repeating every 10 seconds

Jul 8 10:33:40 m1dn1ght-laptop kernel: [ 617.604917] eth0: PHY reset until link up.

---

Any help will be much appreciated.
 
Old 07-09-2008, 06:25 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
How bizarre - 'PHY' is the physical layer - if this were a wired NIC, that would be like the driver always complaining that you don't have a cable plugged in.

This type of problem is often caused by a spurious interrupt - do you see any 'spurious interrupt' messages?

One thing to try (though not guaranteed to work) is to disable the apic, lapic, or if you're really desperate and have super-buggy hardware, disable both. So try booting with the following set of kernel parameters and see if one fixes your problem:

noapic lapic
nolapic apic
noapic nolapic

One other possibility is that the setup scripts are just screwed - did you search the Ubuntu forum to see if other people have reported that problem?
 
Old 07-09-2008, 09:48 AM   #3
m1dn1ght
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hi and thanks for the reply!

Unfortunately my laptop's hardware is already so ridiculously incompatible with linux that I am already having to use noapic and acpi=off simply to boot the OS (not just Ubuntu - same is true for every distro I've tried so far). Even more unfortunate, the addition of the nolapic argument to the boot script has not resolved the problem.

I'm currently writing this reply from my desktop and unfortunately I have no net connection on my laptop right now, so I shall follow this message up with the outputs of a few commands once I wire up the laptop to my router. If anyone can suggest any other outputs that would help diagnose the problem, please let me know.

I have also asked about this problem on the Ubuntuforums and the Ubuntu IRC channel but unfortunately I'm so far coming up blank.

Thanks again for the reply
 
Old 07-09-2008, 10:07 AM   #4
m1dn1ght
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
OK - here's the outputs.

(this first one is obviously before the USB adapter shuts itself off - once that happens it disappears from lsusb. Also, I've tested other USB devices (e.g Printer/Mouse) in the ports and they work fine, so confident it's not the ports themselves causing trouble)

m1dn1ght@m1dn1ght-laptop:~$ lsusb
Bus 003 Device 019: ID 07d1:3c03 D-Link System
Bus 003 Device 002: ID 0bda:0158 Realtek Semiconductor Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
m1dn1ght@m1dn1ght-laptop:~$

m1dn1ght@m1dn1ght-laptop:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)

-----------------------------------

Output from System > Admin > System Log:

Jul 9 22:50:53 m1dn1ght-laptop kernel: [ 290.950348] usb 3-5: new high speed USB device using ehci_hcd and address 3
Jul 9 22:50:54 m1dn1ght-laptop kernel: [ 291.221408] usb 3-5: configuration #1 chosen from 1 choice
Jul 9 22:50:54 m1dn1ght-laptop kernel: [ 291.856196] usbcore: registered new interface driver rt73usb
Jul 9 22:50:54 m1dn1ght-laptop kernel: [ 292.043173] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jul 9 22:51:07 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.reason
Jul 9 22:51:08 m1dn1ght-laptop dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Jul 9 22:51:08 m1dn1ght-laptop dhcdbd: dhco_parse_option_settings: bad option setting: old_dhcp_lease_time = -1
Jul 9 22:51:24 m1dn1ght-laptop kernel: [ 321.203184] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jul 9 22:51:30 m1dn1ght-laptop dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Jul 9 22:51:30 m1dn1ght-laptop dhcdbd: dhco_parse_option_settings: bad option setting: new_dhcp_lease_time = -1
Jul 9 22:51:30 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.host_name
Jul 9 22:51:30 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.nis_domain
Jul 9 22:51:30 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.nis_servers
Jul 9 22:51:41 m1dn1ght-laptop kernel: [ 338.231016] usb 3-5: USB disconnect, address 3
Jul 9 22:51:41 m1dn1ght-laptop kernel: [ 338.461266] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
Jul 9 22:51:41 m1dn1ght-laptop kernel: [ 338.529388] usbcore: registered new interface driver ndiswrapper
Jul 9 22:51:45 m1dn1ght-laptop dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Jul 9 22:51:45 m1dn1ght-laptop dhcdbd: dhco_parse_option_settings: bad option setting: new_dhcp_lease_time = -1
Jul 9 22:51:45 m1dn1ght-laptop dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Jul 9 22:51:45 m1dn1ght-laptop dhcdbd: dhco_parse_option_settings: bad option setting: old_dhcp_lease_time = -1
Jul 9 22:51:46 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
Jul 9 22:51:46 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
Jul 9 22:51:46 m1dn1ght-laptop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers

------------------------------------------

dmesg output following problem (too long to include in message):

http://pastebin.com/f41fb0e70



------------------------------------------


Would really appreciate any help people can provide!
 
Old 07-09-2008, 10:11 AM   #5
m1dn1ght
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Oh - one more thing - this time I wasn't getting this line:

Jul 8 10:33:40 m1dn1ght-laptop kernel: [ 617.604917] eth0: PHY reset until link up.

So that was either a temporary glitch, or stopped because the ethernet cable was plugged in. At any rate, the problem continue unabated, so that was probably not the problem

Last edited by m1dn1ght; 07-09-2008 at 10:14 AM. Reason: Correcting some appalling English
 
  


Reply

Tags
dlink, ubuntu, usb, wireless


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
Which linux distro works OUT OF THE BOX with D-link usb wifi dwl-g122 rev.c1 (rt73)?? dkdk2 Linux - Hardware 10 11-25-2008 06:24 PM
D-Link DWL-G122 USB adapter and LAN Sordelka Linux - Newbie 1 11-28-2007 02:29 PM
How can I get the D-Link AirPlus G DWL-G122 Wireless USB Adapter working under Debian No_Good_With_Linux Debian 3 09-14-2006 12:58 PM
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 02:27 PM
Is it possible to install the D-Link DWL-G122 wireless USB adapter on SuSE 8.2 ? SuSE starter Linux - Hardware 2 03-05-2005 11:20 AM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration