This is guide that works for a laptop Samsung 700Z and Gentoo 3.2.1-r2
The wireless router uses WPA-Personal protection and DHCP
1. Install Firmware: my source on the net
Gentoo miss a little piece to make wifi working : the firmware.
go to the linux intel wifi site : http://intellinuxwireless.org/ and get the firmware, at this time this is the following : http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
and put the file . ucode in /lib/firmware/, create the directory if it does not exist already.
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
tar xzf iwlwifi-6000g2b-ucode-18.168.6.1.tgz
cp iwlwifi-6000g2b-5.ucode /lib/firmware/
2. Install wpa_supplicant: my source on the net
emerge net-wireless/wpa_supplicant
3. Check if drivers works
ifconfig -a
if wlan0 appears, it works
4. configure wpa_supplicant: my source on the net
edit /etc/conf.d/net:
modules="wpa_supplicant"
# To use dhcp
config_wlan0="dhcp"
# For centrino as of kernel 2.6.15 (and probably earlier)
wpa_supplicant_ath0="-Dwext"
wpa_timeout_ath0=60
edit /etc/wpa_supplicant/wpa_supplicant.conf:
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
fast_reauth=1
country=NO
ctrl_interface_group=0
ap_scan=1
network={
ssid="YourNetwork"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="YourPassPhrase"
priority=1
}
See more examples on this page
5. Create symbolic link, start and make it autostart:
symbolic link:
cd /etc/init.d
ln -s net.lo net.wlan0
start manually:
/etc/init.d/net.wlan0 start
make it autostart:
rc-update add net.wlan0 default
The wireless router uses WPA-Personal protection and DHCP
1. Install Firmware: my source on the net
Gentoo miss a little piece to make wifi working : the firmware.
go to the linux intel wifi site : http://intellinuxwireless.org/ and get the firmware, at this time this is the following : http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
and put the file . ucode in /lib/firmware/, create the directory if it does not exist already.
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
tar xzf iwlwifi-6000g2b-ucode-18.168.6.1.tgz
cp iwlwifi-6000g2b-5.ucode /lib/firmware/
2. Install wpa_supplicant: my source on the net
emerge net-wireless/wpa_supplicant
3. Check if drivers works
ifconfig -a
if wlan0 appears, it works
4. configure wpa_supplicant: my source on the net
edit /etc/conf.d/net:
modules="wpa_supplicant"
# To use dhcp
config_wlan0="dhcp"
# For centrino as of kernel 2.6.15 (and probably earlier)
wpa_supplicant_ath0="-Dwext"
wpa_timeout_ath0=60
edit /etc/wpa_supplicant/wpa_supplicant.conf:
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
fast_reauth=1
country=NO
ctrl_interface_group=0
ap_scan=1
network={
ssid="YourNetwork"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="YourPassPhrase"
priority=1
}
See more examples on this page
5. Create symbolic link, start and make it autostart:
symbolic link:
cd /etc/init.d
ln -s net.lo net.wlan0
start manually:
/etc/init.d/net.wlan0 start
make it autostart:
rc-update add net.wlan0 default
Kommentarer
Legg inn en kommentar