15 septembre 2007

WPA Setup with Linsys WRT54G on Ubuntu

You need to install bcm43xx-fwcutter

Remove the line bcm43xx from /etc/modprobe.d/blacklist.

To begin go to your system configuration folder :
cd /etc/
Then create (or edit) a wpasupplicant configuration file :
sudo vi wpa_supplicant.conf
And adapt this sample to your context :
ctrl_interface=/var/run/wpa_supplicant
ap_scan=2
eapol_version=2
network={
ssid=""
pairwise=TKIP
group=TKIP
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk=<your_encoded_WPA_KEY>
#priority=0
#auth_alg=OPEN
}
You need now to call this configuration file, so, go to your network configuration folder :
cd /etc/network/
And create (or edit) your interfaces configuration file :
sudo vi interfaces
And link your configuration to your interface :
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
And to auto connect your system to internet go to your default system launch folder :
cd /etc/default/
Create (or edit) a wpasupplicant script file :
sudo vi wpasupplicant
And, finally, adapt this content to your system in this file :
ENABLED=1
OPTIONS="-w -D wext -i eth1 -c /etc/wpa_supplicant.conf"

WSL 2 upgrade on windows

Few days ago I would like to use docker from windows with docker composer. And because I am using ansible, I found easier to deal from Linux...