Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Adding a WIFI adapter

Ask your questions here.

Adding a WIFI adapter

Postby jenom » Tue Apr 05, 2016 10:18 pm

I have an Intel Pro Wireless 4965 adapter in my laptop
Found a driver in /home/user/wireless-driver, so installed "firmware-iwlwifi"
Install went ok, when I do " modprobe iwlwifi" , it does not complain.
however, I have no idea how to setup the usual wifi interface, "wlan0" or how to get it work
any suggestion?
thanks!
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Adding a WIFI adapter

Postby dzz » Wed Apr 06, 2016 12:28 am

Easy way is first, get the name of your wireless-capable network devices (after installing the firmware)

(in a terminal)
su
iwconfig

Then open wicd, set it in preferences, refresh, enter key for your network, then just connect!
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Adding a WIFI adapter

Postby jenom » Wed Apr 06, 2016 12:49 am

thanks for your reply, looks like it is not going to be that easy
here is what I got:

root@refracta:/home/user# iwconfig
eth0 no wireless extensions.

lo no wireless extensions.
----------------------------------------------------------------------------------------------------------------------------------------------------
root@refracta:/home/user# lspci |grep -i wireless
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
---------------------------------------------------------------------------------------------------------------------------------------------------------

root@refracta:/home/user# lspci -nn | grep Network
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4230] (rev 61)
------------------------------------------------------------------------------------------------------------------------------------------------------------

root@refracta:/home/user# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1e:37:82:ac:72
inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:37ff:fe82:ac72/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3495 errors:0 dropped:0 overruns:0 frame:0
TX packets:2489 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3850392 (3.6 MiB) TX bytes:279954 (273.3 KiB)
Interrupt:20 Memory:fe000000-fe020000

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:65536 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@refracta:/home/user# ifup wlan0
Ignoring unknown interface wlan0=wlan0.
---------------------------------------------------------------------------------------------------------------------------------------------------------

root@refracta:/home/user# depmod -a
root@refracta:/home/user#
--------------------------------------------------------------------------------------------------------------------------------------------------------


looks like I do not have wireless interface wlan0 specified

where to go from here ?
thanks
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Adding a WIFI adapter

Postby dzz » Wed Apr 06, 2016 1:02 am

Best guess is, you got the wrong firmware. Mine is ralink on one machine, iwlwifi on another, both work no problem. Check your device. on https://wiki.debian.org/WiFi .. Note (after the firmware is in) it's not always wlan0.

One quite new Dell I set up for a friend needed a newer kernel for wireless, hopefully for you that won't be the case.
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Adding a WIFI adapter

Postby jenom » Wed Apr 06, 2016 2:08 am

managed to boot up from an USB, with another debian disro , where wifi works fine
lshw -c network showed:

*-network
description: Wireless interface
product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 61
serial: 00:1d:e0:44:74:c7
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwl4965 driverversion=4.4.0-1-686 firmware=228.61.2.24 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:32 memory:df3fe000-df3fffff

however, this is for a newer kernel version of 4.4.0-1
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Adding a WIFI adapter

Postby jenom » Wed Apr 06, 2016 2:20 am

when I did same in refracta, it revealed:

root@refracta:~# uname -rv
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)

root@refracta:~# lshw -c network
*-network
description: Ethernet interface
product: 82566MM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 03
serial: 00:1e:37:82:ac:72
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=0.3-0 ip=192.168.1.16 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:45 memory:fe000000-fe01ffff memory:fe024000-fe024fff ioport:1820(size=32)
*-network UNCLAIMED
description: Network controller
product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 61
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:df3fe000-df3fffff
------------------------------------------------------------------------------------------------------------------------------------------------------------
I guess, my problem is the "UNCLAIMED" status
does it mean no driver or not a correct driver installed ?
thanks
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Adding a WIFI adapter

Postby jenom » Wed Apr 06, 2016 3:05 am

here is also more info, maybe someone can understand it better than I am
----do I have a working driver?
----is something wrong with network setup ?
thanks!

---------------------------------------------------------------------------------------------------------------------------------------------------------
root@refracta:~# lsmod | grep ^iwl
iwlwifi 96547 0
iwl4965 93164 0
iwlegacy 55017 1 iwl4965
------------------------------------------------------------------------------------------------------------------------------------------------------------
root@refracta:~# modinfo iwl4965
filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/net/wireless/iwlegacy/iwl4965.ko
firmware: iwlwifi-4965-2.ucode
alias: iwl4965
license: GPL
author: Copyright(c) 2003-2011 Intel Corporation <ilw@linux.intel.com>
version: in-tree:
description: Intel(R) Wireless WiFi 4965 driver for Linux
srcversion: D0766260E0632962180F5EF
alias: pci:v00008086d00004230sv*sd*bc*sc*i*
alias: pci:v00008086d00004229sv*sd*bc*sc*i*
depends: iwlegacy,cfg80211,mac80211
intree: Y
vermagic: 3.16.0-4-amd64 SMP mod_unload modversions
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: queues_num:number of hw queues. (int)
parm: 11n_disable:disable 11n functionality (int)
parm: amsdu_size_8K:enable 8K amsdu size (default 0 [disabled]) (int)
parm: fw_restart:restart firmware in case of error (int)

-----------------------------------------------------------------------------------------------------------------------------------------------------------
root@refracta:~# grep iwl /var/log/syslog
Apr 6 02:11:05 localhost kernel: [ 14.734679] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
Apr 6 02:11:05 localhost kernel: [ 14.734687] iwl4965: Copyright(c) 2003-2011 Intel Corporation
Apr 6 02:11:05 localhost kernel: [ 14.734753] iwl4965 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Apr 6 02:11:05 localhost kernel: [ 14.734853] iwl4965 0000:03:00.0: Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
Apr 6 02:11:05 localhost kernel: [ 14.773213] iwl4965 0000:03:00.0: device EEPROM VER=0x36, CALIB=0x5
Apr 6 02:11:05 localhost kernel: [ 14.773348] iwl4965 0000:03:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
Apr 6 02:11:05 localhost kernel: [ 14.773392] iwl4965 0000:03:00.0: irq 49 for MSI/MSI-X
Apr 6 02:11:05 localhost kernel: [ 14.781745] iwl4965 0000:03:00.0: firmware: failed to load iwlwifi-4965-2.ucode (-2)
Apr 6 02:11:05 localhost kernel: [ 14.781753] iwl4965 0000:03:00.0: Direct firmware load failed with error -2
Apr 6 02:11:05 localhost kernel: [ 14.781757] iwl4965 0000:03:00.0: Falling back to user helper
Apr 6 02:11:05 localhost kernel: [ 14.782274] iwl4965 0000:03:00.0: request for firmware file 'iwlwifi-4965-2.ucode' failed.
Apr 6 02:11:05 localhost kernel: [ 14.782281] iwl4965 0000:03:00.0: no suitable firmware found!
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Adding a WIFI adapter

Postby dzz » Wed Apr 06, 2016 4:23 pm

https://wiki.debian.org/iwlegacy#supported

Note it says,

Code: Select all
# modprobe -r iwl3945 iwl4965
# modprobe iwl3945 ; modprobe iwl4965

It might make a difference whether you booted with it already installed or not. Other distros which ship with preinstalled non-free might have lawyers on their payroll and/or have different opinions on software freedom.
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred