08-31-2016, 01:48 PM
Well in fact it works ...
Simply iwconfig tool is not installed by default in Ubuntu longsleep image
Here is the way to activate wifi:
sudo apt-get install wireless-tools
iwconfig
sudo ifup wlan0
sudo iwconfig wlan0 essid "Use this one Mom"
# wpa_passphrase essid pwd > /etc/wpa_supplicant.conf
sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
sudo dhclient wlan0
Hope it may help others
Simply iwconfig tool is not installed by default in Ubuntu longsleep image
Here is the way to activate wifi:
sudo apt-get install wireless-tools
iwconfig
sudo ifup wlan0
sudo iwconfig wlan0 essid "Use this one Mom"
# wpa_passphrase essid pwd > /etc/wpa_supplicant.conf
sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
sudo dhclient wlan0
Hope it may help others