[elrepo] D-Link DWA-140 on CentOS 5 disappearing

Kostis Pangalos kostis.pub at gmail.com
Sun Jun 27 02:03:39 EDT 2010


Hello people.

I recently bought a D-Link DWA-140 USB wifi adapter for use with my
CentOS 2.6.18-194.el5 hoping that it would work seamlessly due to its
popularity but having issues with it.

The USB adapter is detected in the System > Administration > Hardware.

It also appears in lsusb:


but when I went into System > Administration > Network it does not
appear in the Hardware tab.

After some searching I found out that I need to install some packages
which I did.

Namely, rt2870-firmware rpm and kmod-rt2870sta from ELRepo.


Then I turned NetworkManager on as a service and through the docked
applet on the top menu bar of my Desktop I was able to connect to my
wifi net.

However when I rebooted the connection wasn't re-established and when
I click on the NetworkManager applet icon it tells me "No network
devices available"

Where did my USB adapter and joy go? :(

I can't for the life of me get the adapter to re-surface even if I go
to System > Administration > Network and try create a new interface.
No devices appear there in the Devices tab and nothing in the Hardware tab.

Can anyone help please?

Please find the output of getinfo.sh network below.

== BEGIN uname -rmi ==
2.6.18-194.el5 i686 i386
== END   uname -rmi ==

== BEGIN rpm -q centos-release ==
centos-release-5-5.el5.centos
== END   rpm -q centos-release ==

== BEGIN getenforce ==
Disabled
== END   getenforce ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM
Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI
Express Root Port (rev 10)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express
Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express
Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE
Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
01:00.1 Audio device: ATI Technologies Inc RV710/730
02:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
03:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit
Ethernet (rev c0)
04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire
II(M)] IEEE 1394 OHCI Controller (rev 46)
04:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
== END   lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:29c0 (rev 10)
00:01.0 0604: 8086:29c1 (rev 10)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:244e (rev e1)
00:1f.0 0601: 8086:27b8 (rev 01)
00:1f.2 0101: 8086:27c0 (rev 01)
00:1f.3 0c05: 8086:27da (rev 01)
01:00.0 0300: 1002:954f
01:00.1 0403: 1002:aa38
02:00.0 0c03: 1033:0194 (rev 03)
03:00.0 0200: 1969:1063 (rev c0)
04:00.0 0c00: 1106:3044 (rev 46)
04:01.0 0401: 13f6:0111 (rev 10)
== END   lspci -n ==

== BEGIN ifconfig -a ==
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:3011 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3011 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3494293 (3.3 MiB)  TX bytes:3494293 (3.3 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

== END   ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
== END   route -n ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
== END   cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files
netmasks:   files
networks:   files
netgroup:   nisplus
== END   grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -i network ==
NetworkManager 	0:off	1:off	2:off	3:off	4:off	5:on	6:off
network        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
== END   chkconfig --list | grep -i network ==



Cheers,
Kostis



More information about the elrepo mailing list