Unable to activate wifi on Linux
#4
Glad it's all working now!

I never bother with iwconfig unless there is something wrong that needs diagnosing... I just make sure the /etc/network/interfaces has something like this in it...

Code:
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

and in /etc/wpa_supplicant/wpa_supplicant.conf I have (at a minimum)

Code:
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_NETWORK_PASSWORD"
}

and wireless comes up on reboot or with 'sudo ifup wlan0' ... but there's more than one way to skin a cat. Thanks for posting the steps for other people. More ways you know how to do it the better... then you can pick which way you prefer!

Pete

(08-31-2016, 01:48 PM)smouton Wrote: 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
  Reply


Messages In This Thread
Unable to activate wifi on Linux - by smouton - 08-30-2016, 02:09 PM
RE: Unable to activate wifi on Linux - by smouton - 08-31-2016, 01:48 PM
RE: Unable to activate wifi on Linux - by pfeerick - 08-31-2016, 07:22 PM
RE: Unable to activate wifi on Linux - by cr2016 - 09-17-2016, 10:11 PM
RE: Unable to activate wifi on Linux - by dkebler - 02-19-2018, 02:23 PM
RE: Unable to activate wifi on Linux - by dkryder - 02-19-2018, 03:18 PM
RE: Unable to activate wifi on Linux - by dkebler - 02-19-2018, 06:06 PM
RE: Unable to activate wifi on Linux - by dkebler - 02-19-2018, 10:33 PM
RE: Unable to activate wifi on Linux - by dkebler - 02-21-2018, 09:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Better WiFi/BT module? moriel5 3 5,800 05-18-2022, 01:55 PM
Last Post: moriel5
  WIFI/BT Power Supply / VBAT-EXT xalius 3 5,325 08-12-2021, 06:41 AM
Last Post: Luke490
  Better WiFi/BT module? fonix232 20 27,928 08-11-2021, 09:27 AM
Last Post: Jean-Marc LACROIX
  Wifi / Bluetooth Board Update S265 2 4,602 07-30-2020, 04:53 PM
Last Post: S265
  Create a WiFi hotspot on Debian 8 JulianM 6 28,286 03-10-2019, 01:02 AM
Last Post: waqasnasir
  Schematics of Wifi/BT module gamelaster 7 10,843 09-11-2018, 02:02 PM
Last Post: gamelaster
  Installing another WiFi module on one of the buses mido2018 1 3,953 07-22-2018, 07:15 AM
Last Post: tllim
  Pine64 doesn't recognize Wifi/BT Module clobeca 3 6,681 07-13-2017, 08:58 PM
Last Post: MarkHaysHarris777
Sad wifi direct bj_jung 2 5,888 12-29-2016, 10:26 AM
Last Post: happytuna
  Enabling wifi c4tich 10 18,953 12-28-2016, 02:22 PM
Last Post: workaccountbro

Forum Jump:


Users browsing this thread: 1 Guest(s)