wifi / wireless LAN¶
setup / configure wifi¶
change the hostname¶
run sudo nano /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi
CTRL + X
to close the editor
run sudo nano /etc/hostname
raspberrypi
CTRL + X
to close the editor
run sudo /etc/init.d/hostname.sh
to commit the changes to the system
run sudo reboot
to reboot the system for the changes to take effect
disable power management on RTL8192CU
chipsets¶
run lsmod
to check the chipset
Module Size Used by
cfg80211 419759 0
rfkill 16659 2 cfg80211
8192cu 528485 0
snd_bcm2835 19739 0
bcm2835_gpiomem 3023 0
snd_pcm 74833 1 snd_bcm2835
snd_timer 18164 1 snd_pcm
snd 52116 3 snd_bcm2835,snd_timer,snd_pcm
uio_pdrv_genirq 2966 0
uio 8228 1 uio_pdrv_genirq
ipv6 341380 32
run sudo nano /etc/modprobe.d/8192cu.conf
and add the following line:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
press CTRL + X
to close the editor saving the file
run sudo reboot
to reboot the system for the changes to take effect
more options¶
rtw_power_mgnt
- 0 : disable power saving
- 1 : power saving on, minPS
- 2 : power saving on, maxPS
rtw_enusbss
- 0 : disable auto suspend
- 1 : enable auto suspend