LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-16-2014, 12:02 PM   #1
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Rep: Reputation: Disabled
Network interface card is not listed in Debian 7


I have a wireless device on my computer. The operating system is Debian 7.
The file /etc/udev/rules.d/70-persistent-net.rules
recognizes the presence of the wireless device because two of the lines in the file read as follows:

# PCI device 0x8086:0x4236 (iwlagn)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:6a:b2:fd:42", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Also, I used other means to verify that the wireless device is recognized:

lspci | grep -i wireless
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300

dmesg | grep -i wireless
[ 47.624265] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:

So, the system recognizes the wireless device.
However, when I entered the command: ifconfig -a
The wireless interface card (wlan0) was not listed.

These are the steps that I have taken so far:
Following the link https://wiki.debian.org/WiFi and other links therein,
I downloaded and installed the firmware iwlwifi.
Next, loaded the related modules:
# modprobe -r iwlwifi ; modprobe iwlwifi
Next, logged out and logged in.

The problem still prevails. When, issuing the command "ifconfig -a", the interface wlan0 is not listed.

It is noteworthy that Debian 6 is installed on another partition, but there is no problem, regarding the wireless, with that version of Debian.

Any idea what is happening?
 
Old 01-16-2014, 12:51 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
First things firt, please could you post the result of:
Code:
$ lspci -k | grep -A2 -i net
Also do you have installed the packages: wpasupplicant and wireless-tools?

Regards

Last edited by ukiuki; 01-17-2014 at 02:46 PM.
 
Old 01-17-2014, 12:25 PM   #3
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Reply is below:

Last edited by parviz; 01-17-2014 at 12:36 PM.
 
Old 01-17-2014, 12:31 PM   #4
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
I am now using a live DVD (live debian 7) to experiment this.
As mentioned previously, I have also debian 6 installed on a separate partition.
The wireless is working perfectly with the debian 6.
I am presenting below, the results of my experiments on both debian 6 and the live debian 7.

Experiments with debian live 7 (on which both wpasupplicant and wireless-tools are installed):

$ lspci -k | -A2 -i net
bash: -A2: command not found

$ lspci -k
Selexcted output:
Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011

It seems that there were no drivers installed.

Next, I installed iwlwifi, and ran the command again. The result was the same.

Experiments with the debian 6 (on which wpasupplicant is installed but not wireless-tools):

$ lspci -k | -A2 -i net
bash: -A2: command not found

$ lspci -k
Selected output:
Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
Kernel driver in use: iwlagn


Having made the experiments, there are now too many questions in my head. For example:
Could it be that the presence of both wpasupplicant and wireles-tools on the live debian 7 makes a contradiction?
Should iwlagn be installed on the live debian 7? (it might be an old driver after all)


Regards

Last edited by parviz; 01-17-2014 at 02:34 PM.
 
Old 01-17-2014, 02:48 PM   #5
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Im so sorry i missed the grep, the original post is fixed with the proper command.
Now you are able to do that.

Regards
 
Old 01-17-2014, 02:53 PM   #6
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by parviz View Post
Debian 6
$ lspci -k
Selected output:
Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
Kernel driver in use: iwlagn
Ok this is the information i was looking for, now does Debian 7 uses the same driver?

Regards
 
Old 01-17-2014, 03:09 PM   #7
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Experiment with debian live 7:


user@debian:~$ lspci -k | grep -A2 -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
Subsystem: Lenovo Device 20ee
Kernel driver in use: e1000e
--
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)


Next, installed iwlwifi.

user@debian:~$ lspci -k | grep -A2 -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
Subsystem: Lenovo Device 20ee
Kernel driver in use: e1000e
--
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)




Experiment with debian 6:

parviz@localhost:~$ lspci -k | grep -A2 -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
Subsystem: Lenovo Device 20ee
Kernel driver in use: e1000e
--
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
Kernel driver in use: iwlagn


It seems that debian live 7 is not using iwlagn.

Last edited by parviz; 01-17-2014 at 03:11 PM.
 
Old 01-17-2014, 08:18 PM   #8
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by parviz View Post
...It seems that debian live 7 is not using iwlagn.
please post the output for this under Debian 7:
Code:
lspci -k | grep -A2 -i wifi
By the way use the BBcodes and the code code to post the outputs for better readability.

Regards

Last edited by ukiuki; 01-17-2014 at 08:20 PM.
 
Old 01-18-2014, 09:25 AM   #9
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Code:
user@debian:~$ lspci -k | grep -A2 -i wifi
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
	Subsystem: Intel Corporation Device 1011
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
The same computer, with debian 6:
Code:
parviz@localhost:~$ lspci -k | grep -A2 -i wifi
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
	Subsystem: Intel Corporation Device 1011
	Kernel driver in use: iwlagn

Last edited by parviz; 01-18-2014 at 09:42 AM.
 
Old 01-18-2014, 11:07 AM   #10
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
Try typing `modprobe iwlagn`. See if the network card appears. If not, most likely there are some relevant entries in syslog which you could paste here.
 
Old 01-18-2014, 12:42 PM   #11
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
What is the output of iwconfig?
 
Old 01-18-2014, 02:16 PM   #12
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gdr View Post
Try typing `modprobe iwlagn`. See if the network card appears. If not, most likely there are some relevant entries in syslog which you could paste here.
I have already tried "modprobe iwlagn". It does not change the scenario. The wireless interface would still not show up.
Do you mean /var/log/syslog ? What should I do with it?
 
Old 01-18-2014, 02:43 PM   #13
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smeezekitty View Post
What is the output of iwconfig?
Code:
root@debian:/home/user# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
Next, I installed iwlwifi (firmware-iwlwifi_0.36+wheezy.1_all.deb) as suggested by https://wiki.debian.org/WiFi

Code:
root@debian:/home/user# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

root@debian:/home/user# modprobe iwlagn
root@debian:/home/user# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

root@debian:/home/user# # modprobe -r iwl3945 iwl4965
root@debian:/home/user# # modprobe iwl3945 ; modprobe iwl4965
root@debian:/home/user# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

root@debian:/home/user# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
My wireless works fine with debian 6, and I guess the reason is because of the presence of iwlagn.
Now the page https://wiki.debian.org/WiFi says that iwlagn is in iwlwifi (it says this somehow).
But after installing iwlwifi, I cannot still see the presence of iwlagn as a driver because:

Code:
user@debian:~$ lspci -k | grep -A2 -i wifi
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
This is while debian 6 shows the presence of iwlagn because:

Code:
parviz@localhost:~$ lspci -k | grep -A2 -i wifi
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1011
Kernel driver in use: iwlagn

Is there really a file by the name of iwlagn so I install it directly? How can I get it?


Thanks to all who contributed to this article.
The problem is solved now.
The problem was that after installing iwlwifi, I could not take advantage of rebooting
because I was using a live DVD.
Apparently, after installing iwlwifi, I needed to reboot. But rebooting with a live DVD would not make much sense.
So, I decided to install debian 7.
After installing iwlwifi on the installed system, I faced the same problems. But rebooting fixed the issue.
Now wireless is working.

Does anyone have any idea as to how the solution could extend to a live environment.
Mind you, in a live environment, logging out and logging in did not work.

Last edited by parviz; 01-20-2014 at 03:43 PM.
 
Old 01-18-2014, 04:06 PM   #14
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
So in Debian 7 there is no driver and/or firmware installed, you'll have to do it manualy.
Install the package firmware-iwlwifi
type in the terminal as root (or the way you are used to install packages):
Code:
# apt-get install firmware-iwlwifi
Regards
 
Old 01-18-2014, 05:26 PM   #15
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Some thing in Debian have been changed regarding firmware etc. Do you have contrib and non-free added to you repositories? Installing firmware ukiuki proposed might be needed if Debian skipped this during installation.

jlinkels
 
  


Reply

Tags
debian, network, wire-less



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
New network interface card not working ady608 Linux - Hardware 9 02-08-2009 04:57 PM
PCMCIA Network Interface Card!? FarbrorB Linux - Newbie 2 11-22-2007 06:32 PM
network card interface list vkmgeek Programming 1 09-18-2007 06:18 AM
3com network card not listed by /sbin/lspci lixy Linux - Hardware 7 02-12-2005 01:11 PM
How to get Network Interface card details ? dileepkk Linux - Networking 3 07-08-2004 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 PM.

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