Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wificmdline [2017/08/31 22:44]
yassine chaouche
wificmdline [2017/09/25 20:56] (current)
yassine chaouche
Line 12: Line 12:
   - -i : specify the interface   - -i : specify the interface
   - -c : the configuration file   - -c : the configuration file
 +
 +==== Warning ====
 +A single instance of wpa_supplicant must be running on your computer. To insure this is always the case, you might consider creating a wifi.connect script that goes something like this 
 +
 +<​code>​
 +root@karabeela ~/SCRIPTS # cat wifi.home
 +#!/bin/bash
 +pkill wpa_supplicant
 +/​usr/​sbin/​wpa_supplicant -B -i wlan0 -c /​etc/​wpa_supplicant.conf
 +/​sbin/​dhclient wlan0
 +root@karabeela ~/SCRIPTS #
 +</​code>​
 +
 +As always, YMMV.
  
 [[http://​forums.debian.net/​viewtopic.php?​f=5&​t=128451|source]] [[http://​forums.debian.net/​viewtopic.php?​f=5&​t=128451|source]]

QR Code
QR Code Warning (generated for current page)