Code: Select all
wpa_supplicant_wlan0="-Dnl80211"Code: Select all
wpa_supplicant_wlan0="-Dnl80211"amaltheia ... yes, the kernel needs to be rebuilt and the resulting bzImage placed as /boot/bzImage-{version}amaltheia wrote:Okay, I went back and enabled cfg80211 wireless extensions compatibility in my kernel and saved it. Do I have to make another kernel and save it to grub2, or will it make the necessary changes for my current system?
Intel works to provide good linux support for their chipsets and so will use kernel provided features (such as KFKILL, CFG80211). The iwl3945 driver (which I assume you're using) has probably switched to the new driver API as WEXT is being depreciated.amaltheia wrote:I am just wondering if I really need cfg80211 because my wireless is an Intel pro 3945ABG.
Code: Select all
make && make modules_installCode: Select all
make installCode: Select all
lspci -kamaltheia ... I take it your /boot was mounted at the time, or that /boot is not a seperate partition? Can you check that you are in fact booted with this newly built kernel.amaltheia wrote:Code: Select all
make install
Code: Select all
# uname -v
#1 SMP PREEMPT Mon May 5 15:05:09 CEST 2014That is a kernel option, so you select it via menuconfig (Networking support => Wireless => CONFIG_CFG80211_WEXT). Anyhow, you're confusing me because ".config" is generated by "enabling that in [the] kernel".amaltheia wrote:You mentioned something about "CONFIG_CFG80211_WEXT", am I supposed to add that to my .config file? If I am, where do I find it? I thought that enabling that in my kernel was sufficient.
Code: Select all
uname -v
#1 SMP Mon Dec 1 10:34:15 2014Code: Select all
/etc/boot:
-rw-r--r-- 1 root root 94245 Dec 7 15:55 config-3.16.5-gentoo
-rw-r--r-- 1 root root 94223 Dec 6 21:30 config-3.16.5-gentoo.old
-rw-r--r-- 1 root root 93739 Dec 4 00:52 q
-rw-r--r-- 1 root root 2939467 Dec 7 15:55 System.map-3.16.5-gentoo
-rw-r--r-- 1 root root 3042305 Dec 6 21:30 System.map-3.16.5-gentoo.old
-rw-r--r-- 1 root root 5450208 Dec 7 15:55 vmlinuz-3.16.5-gentoo
-rw-r--r-- 1 root root 5661536 Dec 6 21:30 vmlinuz-3.16.5-gentoo.oldCode: Select all
dmesg:
[ 858.031216] iwl3945 0000:0c:00.0: Could not read microcode: -12
[ 1038.756363] cc1 (3480) used greatest stack depth: 12912 bytes left
[ 1063.030714] iwl3945 0000:0c:00.0: Direct firmware load failed with error -2
[ 1063.030721] iwl3945 0000:0c:00.0: Falling back to user helper
[ 1063.031851] iwl3945 0000:0c:00.0: iwlwifi-3945-2.ucode firmware file req failed: -12
[ 1063.031856] iwl3945 0000:0c:00.0: Could not read microcode: -12Code: Select all
lspci -k
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Subsystem: Intel Corporation Device 1020
Kernel driver in use: iwl3945
Kernel modules: iwl3945Code: Select all
/etc/conf.d/net:
dns_domain_lo=""
config_wlp12s0=""
routes_wlp12s0=""
config_wlp12s0="dhcp"
# Prefer iwconfig over wpa_supplicant
modules="wpa_supplicant"
#Driver
wpa_supplicant_wlp12s0="iwl3945"
#wep keys
key_ESSID1="[1] s key [1] enc open"
preferred_aps="'ESSID1'"
wpa_supplicant_wlp12s0="Dn180211"Code: Select all
iwconfig:
enp9s0 no wireless extensions.
wlp12s0 no wireless extensions.
sit0 no wireless extensions.
lo no wireless extensions.Code: Select all
/etc/wpa_supplicant/wpa_supplicant.conf:
# Do not change below or wpa_supplicant will not work
ctrl_interface=/var/run/wpa_supplicant
# Only root can use it
ctrl_interface_group=0
# Lep wpa_supplicant take care of scanning and AP selection
ap_scan=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid=""
psk=""
priority=5
}
# For networks that refuse scanning
network={
ssid=second
#Allow users in the 'wheel' group to control wpa_supplicant
ctrl_interface_DIR=/var/run/wpa_supplicant GROUP=wheel
#Make this file writable for wpa_gui
update_config=1Thanks, just saw this. Will do it right now.Jaglover wrote:So you need firmware.
iwlwifi-3945-2.ucode
Put it into /lib/firmware
Code: Select all
/lib/modules/3.16.5-gentoo/kernel/drivers/net/wireless/iwlegacyCode: Select all
iwl3945.ko iwlegacy.koYou just need to install sys-kernel/linux-firmware.amaltheia wrote:Edit: I tried to use emerge but I couldn't find the firmware. Does that mean that I have to download it and put it in /firmware that I create in /lib? I googled it and did not find a place to download it.
$ equery f linux-firmware | grep 3945
/lib/firmware/iwlwifi-3945-2.ucode
amaltheia ... honestly, it just seems you're not being carefull as they abound with typo's, duplicate vars, and other errors.amaltheia wrote:Here is some more info to see what else I have screwed up.
Code: Select all
dns_domain_lo="christophel"
config_wlp12s0="dhcp" # dhcp is the default, so this needn't be defined.
wpa_supplicant_wlp12s0="-Dnl80211 -qq"Code: Select all
ctrl_interface_DIR=/run/wpa_supplicant GROUP=wheel
update_config=1
network={
ssid="ATT970"
psk="8267006095"
priority=90 # higher values equal higher priority
}Well thats good to know. I was trying to be careful, but I guess not careful enough. I will just have to go back through all those files and redo everything and check and correct my mistakes.khayyam wrote:amaltheia ... honestly, it just seems you're not being carefull as they abound with typo's, duplicate vars, and other errors.amaltheia wrote:Here is some more info to see what else I have screwed up.
You might want to have a look at https://wiki.gentoo.org/wiki/Dhcpcd and its references. That way config files may become somewhat cleaner.amaltheia wrote:I am still planning on going back and fixing those files that I configured for wpa_supplicant. I want to make those correct and not keep around sloppy configured files.
amaltheia ... ok, good.amaltheia wrote:Okay I fixed it! I reconfigured my kernel and then loaded it into /boot and then into /grub. Once I rebooted into the new kernel wicd found my wireless device and I was able to connect to my wifi.
well, if you're using wicd then the above configuration isn't used, that setup would be for net.wlp12s0 (which once started would run wpa_supplicant and then, once authenticated, request an IP via dhcp). I've not used wicd but I'm fairly sure its configuration is seperate.amaltheia wrote:I am still planning on going back and fixing those files that I configured for wpa_supplicant. I want to make those correct and not keep around sloppy configured files.
No problem ... you're welcome.amaltheia wrote:Thanks for all your help!