wpa_supplicant

Wi-Fi Protected Access client and IEEE 802.1X supplicant

copy
761
291
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dOnce the configuration is ready, you can test whether the configuration works by running wpa_supplicant with following command to start it on foreground with debugging enabled:

details |

copy
403
128
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -BAssuming everything goes fine, you can start using following command to start wpa_supplicant on background without debugging:

details |

copy
314
71
sudo wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -Dmadwifi -w

details |

copy
290
68
wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -dThe easiest way to debug problems, and to get debug log for bug reports, is to start wpa_supplicant on foreground with debugging enabled:

details |

copy
288
61
wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -DwextRun wpa_supplicant with debugging info, for more verbose try -dd, or -B to run in background

details |

copy
283
64
sudo wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -Dmadwifi -wTest wpa_supplicant, assuming ath0 as interface and madwifi as the driver, try wpa_supplicant -h to see other possible drivers

details |

copy
10
0
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B

source | details |

copy
223
52
wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -iwlan0This makes the process fork into background and wait for the wlan0 interface if it is not available at startup time.

details |

copy
4
0
/usr/local/bin/wpa_supplicant -B -c/etc/wpa_supplicant.conf -i$DEVICE

source | details |

copy
202
36
wpa_supplicant -d -c /etc/wpa_supplicant.conf -iath0 -DmadwifiRun wpa_supplicant with debuing info on interface ath0 using a madwifi driver, try -dd for more verbose info, or -B to run in daemon mode.

details |

copy
196
43
wpa_supplicant -Bw -iath1 -Dmadwifi -c/etc/wpa_supplicant/wpa_supplicant.confRun wpa_supplicant in background, -w will wait for interface to be added, if needed, using interface ath1 and madwifi driver.

details |

copy
194
37
wpa_supplicant -c /etc/wpa/wpa.conf -D wext -dd -i eth1 -B -c Read the configuration file from. -D The driver to use -dd Very debugging verbose messages -i Wireless interface. -B Run as deamon

details |

copy
236
42
wpa_supplicant -c wpa1.conf -i wlan0 -D hostap -N -c wpa2.conf -i ath0 -D madwifiwpa_supplicant can control multiple interfaces (radios) either by running one process for each interface separately or by running just one process and list of options at command line. Each interface is separated with -N argument. As an example, following command would start wpa_supplicant for two interfaces:

details |

copy
8
0
if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then

source | details |

copy
8
0
wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0

source | details |

copy
8
0
wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d

source | details |

copy
8
0
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d

source | details |

copy
203
36
wpa_supplicant -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -Dwext -ddRun wpa_supplicant on interface eth1 using the wext driver, with verbose logging

details |