LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2016, 10:40 PM   #1
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Rep: Reputation: Disabled
device not ready wlan0 eth0


I've installed the firmware through git but still can not work eth0 & wlan0 device not ready..

Code:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
make install
# make install
mkdir -p /lib/firmware
cp -r * /lib/firmware
rm -rf /lib/firmware/usbdux
find /lib/firmware \( -name 'WHENCE' -or -name 'LICENSE.*' -or \
	-name 'LICENCE.*' \) -exec rm -- {} \;
root:/# ls /lib/firmware/
3com			    dvb-usb-dib0700-1.20.fw	 iwlwifi-7265-10.ucode		r8a779x_usb3_v2.dlmem
GPL-3			    dvb-usb-it9135-01.fw	 iwlwifi-7265-12.ucode		r8a779x_usb3_v3.dlmem
Makefile		    dvb-usb-it9135-02.fw	 iwlwifi-7265-13.ucode		radeon
README			    dvb-usb-terratec-h5-drxk.fw  iwlwifi-7265-16.ucode		rp2.fw
RTL8192E		    dvb_nova_12mhz.inp		 iwlwifi-7265-8.ucode		rsi_91x.fw
TDA7706_OM_v2.5.1_boot.txt  dvb_nova_12mhz_b0.inp	 iwlwifi-7265-9.ucode		rt2561.bin
TDA7706_OM_v3.0.2_boot.txt  e100			 iwlwifi-7265D-10.ucode		rt2561s.bin
acenic			    edgeport			 iwlwifi-7265D-12.ucode		rt2661.bin
adaptec			    emi26			 iwlwifi-7265D-13.ucode		rt2860.bin
advansys		    emi62			 iwlwifi-7265D-16.ucode		rt2870.bin
agere_ap_fw.bin		    ene-ub6250			 iwlwifi-7265D-21.ucode		rt3070.bin
agere_sta_fw.bin	    ess				 iwlwifi-8000C-13.ucode		rt3071.bin
amd-ucode		    f2255usb.bin		 iwlwifi-8000C-16.ucode		rt3090.bin
amdgpu			    go7007			 iwlwifi-8000C-21.ucode		rt3290.bin
ar3k			    hfi1_dc8051.fw		 iwlwifi-8265-21.ucode		rt73.bin
ar5523.bin		    hfi1_fabric.fw		 kaweth				rtl_bt
ar7010.fw		    hfi1_pcie.fw		 keyspan			rtl_nic
ar7010_1_1.fw		    hfi1_sbus.fw		 keyspan_pda			rtlwifi
ar9170-1.fw		    htc_7010.fw			 korg				s2250.fw
ar9170-2.fw		    htc_9271.fw			 lbtf_usb.bin			s2250_loader.fw
ar9271.fw		    i2400m-fw-usb-1.4.sbcf	 lgs8g75.fw			s5p-mfc-v6-v2.fw
as102_data1_st.hex	    i2400m-fw-usb-1.5.sbcf	 libertas			s5p-mfc-v6.fw
as102_data2_st.hex	    i6050-fw-usb-1.5.sbcf	 liquidio			s5p-mfc-v7.fw
ath10k			    i915			 matrox				s5p-mfc-v8.fw
ath3k-1.fw		    intel			 moxa				s5p-mfc.fw
ath6k			    intelliport2.bin		 mrvl				sb16
ath9k_htc		    isci			 mt7601u.bin			sdd_sagrad_1091_1098.bin
atmel			    isdbt_nova_12mhz.inp	 mt7650.bin			slicoss
atmsar11.fw		    isdbt_nova_12mhz_b0.inp	 mts_cdma.fw			sms1xxx-hcw-55xxx-dvbt-02.fw
atusb			    isdbt_rio.inp		 mts_edge.fw			sms1xxx-hcw-55xxx-isdbt-02.fw
av7110			    iwlwifi-100-5.ucode		 mts_gsm.fw			sms1xxx-nova-a-dvbt-01.fw
bnx2			    iwlwifi-1000-3.ucode	 mts_mt9234mu.fw		sms1xxx-nova-b-dvbt-01.fw
bnx2x			    iwlwifi-1000-5.ucode	 mts_mt9234zba.fw		sms1xxx-stellar-dvbt-01.fw
bnx2x-e1-4.8.53.0.fw	    iwlwifi-105-6.ucode		 mwl8k				sun
bnx2x-e1-5.2.13.0.fw	    iwlwifi-135-6.ucode		 mwlwifi			sxg
bnx2x-e1-5.2.7.0.fw	    iwlwifi-2000-6.ucode	 myri10ge_eth_big_z8e.dat	tdmb_nova_12mhz.inp
bnx2x-e1h-4.8.53.0.fw	    iwlwifi-2030-6.ucode	 myri10ge_eth_z8e.dat		tehuti
bnx2x-e1h-5.2.13.0.fw	    iwlwifi-3160-10.ucode	 myri10ge_ethp_big_z8e.dat	ti-connectivity
bnx2x-e1h-5.2.7.0.fw	    iwlwifi-3160-12.ucode	 myri10ge_ethp_z8e.dat		ti-keystone
brcm			    iwlwifi-3160-13.ucode	 myri10ge_rss_eth_big_z8e.dat	ti_3410.fw
carl9170-1.fw		    iwlwifi-3160-16.ucode	 myri10ge_rss_eth_z8e.dat	ti_5052.fw
carl9170fw		    iwlwifi-3160-7.ucode	 myri10ge_rss_ethp_big_z8e.dat	tigon
cbfw-3.2.1.1.bin	    iwlwifi-3160-8.ucode	 myri10ge_rss_ethp_z8e.dat	tlg2300_firmware.bin
cbfw-3.2.3.0.bin	    iwlwifi-3160-9.ucode	 myricom			tr_smctr.bin
cbfw-3.2.5.1.bin	    iwlwifi-3168-21.ucode	 nvidia				ttusb-budget
cis			    iwlwifi-3945-2.ucode	 ositech			ueagle-atm
cmmb_vega_12mhz.inp	    iwlwifi-4965-2.ucode	 phanfw.bin			usbdux_firmware.bin
cmmb_venice_12mhz.inp	    iwlwifi-5000-1.ucode	 qat_895xcc.bin			usbduxfast_firmware.bin
configure		    iwlwifi-5000-2.ucode	 qat_895xcc_mmp.bin		usbduxsigma_firmware.bin
cpia2			    iwlwifi-5000-5.ucode	 qat_c3xxx.bin			v4l-cx231xx-avcore-01.fw
ct2fw-3.2.1.1.bin	    iwlwifi-5150-2.ucode	 qat_c3xxx_mmp.bin		v4l-cx23418-apu.fw
ct2fw-3.2.3.0.bin	    iwlwifi-6000-4.ucode	 qat_c62x.bin			v4l-cx23418-cpu.fw
ct2fw-3.2.5.1.bin	    iwlwifi-6000g2a-5.ucode	 qat_c62x_mmp.bin		v4l-cx23418-dig.fw
ctefx.bin		    iwlwifi-6000g2a-6.ucode	 qat_mmp.bin			v4l-cx23885-avcore-01.fw
ctfw-3.2.1.1.bin	    iwlwifi-6000g2b-5.ucode	 qca				v4l-cx25840.fw
ctfw-3.2.3.0.bin	    iwlwifi-6000g2b-6.ucode	 qed				vicam
ctfw-3.2.5.1.bin	    iwlwifi-6050-4.ucode	 ql2100_fw.bin			vntwusb.fw
ctspeq.bin		    iwlwifi-6050-5.ucode	 ql2200_fw.bin			vxge
cxgb3			    iwlwifi-7260-10.ucode	 ql2300_fw.bin			whiteheat.fw
cxgb4			    iwlwifi-7260-12.ucode	 ql2322_fw.bin			whiteheat_loader.fw
dabusb			    iwlwifi-7260-13.ucode	 ql2400_fw.bin			wsm_22.bin
dsp56k			    iwlwifi-7260-16.ucode	 ql2500_fw.bin			yam
dvb-fe-xc4000-1.4.1.fw	    iwlwifi-7260-7.ucode	 qlogic				yamaha
dvb-fe-xc5000-1.6.114.fw    iwlwifi-7260-8.ucode	 r128
dvb-fe-xc5000c-4.1.30.7.fw  iwlwifi-7260-9.ucode	 r8a779x_usb3_v1.dlmem
how to install debian packages jessie that this firmware https://packages.debian.org/jessie/k...firmware-linux
Attached Thumbnails
Click image for larger version

Name:	IMG_20160517_082846.jpg
Views:	10
Size:	246.8 KB
ID:	21796  
 
Old 05-17-2016, 12:02 AM   #2
Lex_Linux
LQ Newbie
 
Registered: May 2016
Distribution: Debian
Posts: 17

Rep: Reputation: Disabled
According to the Debian wiki, your wireless card is supported by the kernel, and requires no drivers.


https://wiki.debian.org/ath9k
 
Old 05-17-2016, 02:54 AM   #3
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
I have one of those on my Samsung NC20 and it works out of the box. Could you please post the relevant lines from dmesg? They are usually right at the end. Also check with lsmod that the ath9k module is loaded.
 
Old 05-17-2016, 06:33 AM   #4
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
I have one of those on my Samsung NC20 and it works out of the box. Could you please post the relevant lines from dmesg? They are usually right at the end. Also check with lsmod that the ath9k module is loaded.
no data whatsoever on the lsmod, What to do?
 
Old 05-17-2016, 07:00 AM   #5
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
Oops! Bit of a booboo. Mine is actually using ath5k, not ath9k. But they should behave the same way (i.e. the kernel should load the correct module automatically).

Can you post the result of dmesg|grep ath9k. If that doesn't yield anything, try dmesg|grep Atheros. We need to find out whether the kernel has found your wifi card and what it thinks it is.
 
Old 05-17-2016, 09:39 AM   #6
Lex_Linux
LQ Newbie
 
Registered: May 2016
Distribution: Debian
Posts: 17

Rep: Reputation: Disabled
Please post the output of,

Code:
lspci -nn | grep Network
 
Old 05-17-2016, 11:53 AM   #7
Lex_Linux
LQ Newbie
 
Registered: May 2016
Distribution: Debian
Posts: 17

Rep: Reputation: Disabled
first, bring up your wifi...
Code:
# ip a
# sudo iwconfig
# ip link set wlan0 up
Now scan to get network info...
Code:
$ su
# iwlist scan
Edit your /etc/network/interfaces file...
Code:
# my wifi device
auto wlan0
iface wlan0 inet dhcp
        wireless-essid [ESSID]
        wireless-mode [MODE]
wireless-essid = name of your network
wireless-mode = managed

Hope this helps.
 
Old 05-17-2016, 10:12 PM   #8
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Original Poster
Rep: Reputation: Disabled
I've tried this dmesg|grep ath9k dmesg|grep Atheros lspci -nn | grep Network

image:

http://i.imgur.com/KaifMDH.png

http://i.imgur.com/knGIsov.png
 
Old 05-18-2016, 12:02 AM   #9
Lex_Linux
LQ Newbie
 
Registered: May 2016
Distribution: Debian
Posts: 17

Rep: Reputation: Disabled
Is your wireless on? Perhaps one of the F-keys, or a sliding switch on the front or side of the computer, if you are on a laptop that is.
 
Old 05-18-2016, 02:39 AM   #10
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
Originally Posted by Jigsaw View Post
I've tried this dmesg|grep ath9k dmesg|grep Atheros lspci -nn | grep Network

image:

http://i.imgur.com/KaifMDH.png

http://i.imgur.com/knGIsov.png
Well, now at least we know that both cards are actually working. They have also been given internet addresses, so the scripts that initialise the network seem to be OK too. What you don't appear to have is a connection to your router. That makes it a wifi/wpa problem. Try the suggestions of Lex_Linux first. If they don't work, try temporarily disabling wpa on your router and see if the card works with unencrypted wifi. If it does, the problem is with the wpa_supplicant program.

I had a problem like this once on LFS and the solution turned out to be ensuring that the router broadcast its name. There was some kind of bug in wpa_supplicant that caused the wrong driver to be used otherwise. That was last year though, and they might have fixed it by now. Here's a link to the correspondence.

Last edited by hazel; 05-18-2016 at 02:55 AM. Reason: Link added
 
Old 05-18-2016, 06:17 AM   #11
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Original Poster
Rep: Reputation: Disabled
well i will try thanks suggesting sir, if it does not work I will try to recompile wpa_supplicant.
 
Old 05-18-2016, 06:49 AM   #12
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
Originally Posted by Jigsaw View Post
well i will try thanks suggesting sir, if it does not work I will try to recompile wpa_supplicant.
I doubt if recompiling the program will have any effect at all. It will be the configuration that's causing the problem. And remember that for wifi, the configuration on your router matters too. That's why you may need to do a test with the simplest possible wifi configuration: no encryption and no masking the router id.

Did you read that LFS link I posted? Especially the end of the sequence of posts where the answer is given. It was only after reading the whole sequence that I realised why it had previously taken me so long to get wifi working under Mint on the same machine.
 
  


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
eth0 and wlan0 vs wlan0 problem player107 Linux - Wireless Networking 3 02-25-2013 10:54 AM
boot message -> "eth0: link is not ready" but device is present mgard Linux - Kernel 1 12-17-2010 11:26 PM
wlan0: link becomes ready novacrasher Linux - Hardware 2 09-27-2009 08:28 PM
Unable to configure the network card because the kernel device (eth0, wlan0) is not graham0008 Linux - Newbie 22 09-28-2008 09:46 PM
wlan0: link is not ready dragon1te Linux - Wireless Networking 0 02-14-2007 08:41 AM


All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration