LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-13-2011, 02:41 PM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Rep: Reputation: 24
Is Ethernet card required as well as a Wifi card


I have a new computer which has no Ethernet card. Would this be why the system does not recognize my wifi card? The wifi card is good, it works instantly with my windows machine
 
Old 10-13-2011, 02:59 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Quote:
Originally Posted by porphyry5 View Post
I have a new computer which has no Ethernet card. Would this be why the system does not recognize my wifi card? The wifi card is good, it works instantly with my windows machine
Nope, you don't need to have ethernet. Your wifi card might not have a linux driver. What is the mfg and model?
 
1 members found this post helpful.
Old 10-13-2011, 03:12 PM   #3
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by smallpond View Post
Nope, you don't need to have ethernet. Your wifi card might not have a linux driver. What is the mfg and model?
A usb wifi card, TP-LINK model TL-WN722N, on slackware 13.1. According to http://linux-wless.passys.nl/query_p...ndname=TP-Link this card is fully supported in the linux kernel.

wicd-client reports No Networks Available. /etc/wicd/wireless-settings.conf is there but has no content. ~/.wicd contains WHEREAREMYFILES? I assume this card would automount like my other usb devices.
Code:
$ mount
/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
$
 
Old 10-13-2011, 03:24 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Wifi cards will not mount into your filesystem (why should they, they are not storage devices). Please post the output of lspci
 
Old 10-13-2011, 03:47 PM   #5
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by TobiSGD View Post
Wifi cards will not mount into your filesystem (why should they, they are not storage devices). Please post the output of lspci
Here it is, and no mention of TP-LINK.
Code:
root@a:~# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 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 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
root@a:~#
 
Old 10-13-2011, 03:56 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Sorry, my fault, if it is an USB device the correct command is lsusb
By the way, the last device in that list is an Ethernet device, so I wonder that you have no port for it.

Last edited by TobiSGD; 10-13-2011 at 03:57 PM.
 
Old 10-13-2011, 04:06 PM   #7
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Also please post the output of: ifconfig -a
 
Old 10-13-2011, 04:47 PM   #8
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by TobiSGD View Post
Sorry, my fault, if it is an USB device the correct command is lsusb
By the way, the last device in that list is an Ethernet device, so I wonder that you have no port for it.
I didn't even know that this machine had an ethernet device, it wasn't listed as one of its features. Here is the output of lsusb. The only one I don't recognize that is not a hub is that for Atheros Communications.
Code:
root@a:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bc2:2300 Seagate RSS LLC
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc.
Bus 001 Device 012: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 001 Device 013: ID 0781:5530 SanDisk Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 04b3:301a IBM Corp.
Bus 002 Device 006: ID 04b3:301b IBM Corp. SK-8815 Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Quote:
Originally Posted by smallpond
Also please post the output of: ifconfig -a
Code:
root@a:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr d0:27:88:63:3c:52
          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:26 Base address:0x2000

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: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)

root@a:~#

Last edited by porphyry5; 10-13-2011 at 06:07 PM.
 
Old 10-13-2011, 08:21 PM   #9
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Quote:
Originally Posted by porphyry5 View Post
root@a:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr d0:27:88:63:3c:52
hmm - that sheds more heat than light. Realtek and TP-Link each have their own MAC assignments. Your ethernet port was manufactured by:
Code:
D0-27-88   (hex)		Hon Hai Precision Ind.Co.Ltd
D02788     (base 16)		Hon Hai Precision Ind.Co.Ltd
				66,Chung Shan Rd.Tu-Cheng
				Taipei Hsien  236
				TAIWAN, REPUBLIC OF CHINA
It was found but is not configured.
 
Old 10-14-2011, 07:33 AM   #10
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc.

I think this is the wi-fi device. Atheros makes chips for other vendors.
 
Old 10-14-2011, 10:00 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Your wireless device uses the ath9k kernel driver. What is the version of your kernel?
run "uname -r"

Do you have the ath9k kernel loaded?
lsmod | grep ath9k
 
1 members found this post helpful.
Old 10-14-2011, 11:20 AM   #12
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by smallpond View Post
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc.

I think this is the wi-fi device. Atheros makes chips for other vendors.
Yes, I think you're right, its the only entry I don't recognize.
Quote:
Originally Posted by jschiwal
Your wireless device uses the ath9k kernel driver. What is the version of your kernel?
run "uname -r"

Do you have the ath9k kernel loaded?
lsmod | grep ath9k
That seems to be it, I need to update my OS, and I thank you very much for the intro to these commands.
Code:
06:18:23 $ uname -r
2.6.33.4-smp
09:25:15 $ lsmod|grep ath9k
09:25:49 $
 
Old 10-14-2011, 04:41 PM   #13
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Reply to Thread

Updated to slackware 13.37, which has the ath9k module, but no progress has been made, Wicd Network Manager still reports No Wireless Networks Found, and /etc/wicd/wireless-settings.conf is still empty.
Code:
05:02:54 $ uname -r
2.6.37.6-smp
05:03:38 $ lsmod | grep ath9k
ath9k_htc              38370  0 
mac80211              181473  1 ath9k_htc
ath9k_common            1497  1 ath9k_htc
ath9k_hw              251635  2 ath9k_htc,ath9k_common
ath                    11089  2 ath9k_htc,ath9k_hw
cfg80211              122542  3 ath9k_htc,mac80211,ath
05:12:21 $ su -lm
Password: 
root@a:/home/g# umount /media/4GB
root@a:/home/g# cd /etc/wicd
root@a:/etc/wicd# cat wireless-settings.conf 
root@a:/etc/wicd#
 
Old 10-15-2011, 10:48 AM   #14
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
In /var/log/syslog I found
Code:
Oct 15 19:51:37 a kernel: [    8.531564] usb 1-6: ath9k_htc: Firmware - ar9271.fw not found
Oct 15 19:51:37 a kernel: [    8.531650] ath9k_hif_usb: probe of 1-6:1.0 failed with error -22
googling "ar9271.fw download" led me to http://linuxwireless.org/en/users/Drivers/ath9k_htc
which told me ar9271.fw had been replaced by htc_9271.fw. As ar9271.fw was no longer available I got the update and moved it to /lib/firmware. But when I rebooted I got
Code:
Oct 15 21:47:47 a kernel: [    9.172691] usb 1-6: ath9k_htc: Firmware - ar9271.fw not found   
Oct 15 21:47:47 a kernel: [    9.172767] ath9k_hif_usb: probe of 1-6:1.0 failed with error -22
again, so I figured it had to have ar9271.fw. I found a site still offering it for download at http://www.2shared.com/file/D3dVFI9N/ar9271.html
and put it in /lib/firmware, and rebooted, only to see
Code:
Oct 15 22:42:26 a kernel: [   10.276031] usb 1-6: ath9k_htc: Target is unresponsive
Oct 15 22:42:26 a kernel: [   10.276096] Failed to initialize the device
Oct 15 22:42:26 a kernel: [   10.277313] ath9k_hif_usb: probe of 1-6:1.0 failed with error -22
That is, the card only responds to htc_9271.fw, but linux 2.6.37.6-smp only recognizes ar9271.fw
 
Old 10-15-2011, 03:24 PM   #15
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
There is a Debian package "firmware-atheros" here:
http://packages.debian.org/search?ke...rmware-atheros

The package contains the file ar9271.fw.
 
  


Reply



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
Multiple distros not seeing presence of wifi card or ethernet port theW Linux - Networking 6 08-09-2011 08:02 PM
Wifi card and Ethernet card get mixed bluesmanu Linux - Hardware 2 06-30-2007 10:09 AM
wifi card detected as ethernet card !? Thoddy Fedora 2 10-28-2006 09:49 AM
problem getting wifi and ethernet card to launch racerxMM Linux - Wireless Networking 2 07-13-2006 10:15 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM

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

All times are GMT -5. The time now is 11:31 AM.

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