View previous topic :: View next topic |
Author |
Message |
lonewolf28 n00b
Joined: 03 Dec 2015 Posts: 1 Location: Canada
|
Posted: Sat Dec 12, 2015 11:30 pm Post subject: RE: Problem with WIFI |
|
|
Hi Everybody,
I'm new to Gentoo and i have a problem with my wifi.
First i forgot to load the module for the wifi and later i recompiled the kernel to include the module.
However, even after recompiling the kernel with the module i can't get it to work.
Right now when i run iwconfig the interface is not detected as a wireless interface i'm not sure why.
Code: |
iwconfig
sit0 no wireless extensions.
lo no wireless extensions.
enp5s0 no wireless extensions.
wlp4s0 no wireless extensions.
|
The wlp4s0 is a wireless interface btw.
Code: |
ifconfig wlp4s0
wlp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:1b:77:e2:75:94 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
Code: |
lsmod
Module Size Used by
iwl3945 50233 0
iwlegacy 42557 1 iwl3945
|
Code: |
dmesg | grep iwl3945
[ 4.257061] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 4.257066] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 4.257129] iwl3945 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 4.257147] iwl3945 0000:04:00.0: enabling device (0000 -> 0002)
[ 4.311620] iwl3945 0000:04:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
[ 4.311626] iwl3945 0000:04:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 4.319129] iwl3945 0000:04:00.0 wlp4s0: renamed from wlan0
[ 8.736297] iwl3945 0000:04:00.0: loaded firmware version 15.32.2.9
|
I used this link to enable the module in the kernel.https://wiki.gentoo.org/wiki/Intel_Corporation_PRO/Wireless_3945ABG
Can anyone help me with this ?
Thank you for your time. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Dec 12, 2015 11:58 pm Post subject: Re: RE: Problem with WIFI |
|
|
lonewolf28 wrote: | Can anyone help me with this? |
lonewolf28 ... for iwconfig (or any of the tools from net-wireless/wireless-tools) to work you must have CONFIG_CFG80211_WEXT enabled in the kernel. This is because wireless-tools uses the now depreciated WEXT, and so the WEXT compatibility layer must be enabled. Without this enabled iwconfig will show "no wireless extensions" for the wireless device ... I suspect this is what's happening in your case.
BTW, If you need a tool that supports NL80211 natively then use net-wireless/iw.
best ... khay |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Sun Dec 13, 2015 12:00 am Post subject: |
|
|
iwconfig uses legacy interface, wireless extensions, which is deprecated and often disabled in kernel config by default. You can enable it and rebuild kernel to get iwconfig back.
However, in most cases you will want to use wpa_supplicant instead, as it's currently the only way to use WPA and it also supports open networks and those with WEP (actually, those are open networks as well )
A replacement for iwconfig is called "iw". It's also an option, but it's neither as powerful as wpa_supplicant nor as simple and convenient as iwconfig. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|