现在的位置: 首页 > 综合 > 正文

Wpa_supplicant 用法

2012年02月04日 ⁄ 综合 ⁄ 共 1166字 ⁄ 字号 评论关闭

Wpa_supplicant 用法

usage:

  wpa_supplicant [-BddhKLqqstuvW] [-P<pid file>] [-g<global ctrl>] \

        -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] [-p<driver_param>] \

        [-b<br_ifname>] [-f<debug file>] \

        [-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \

        [-p<driver_param>] [-b<br_ifname>] ...]

 

drivers:

  wext = Linux wireless extensions (generic)

  nl80211 = Linux nl80211/cfg80211

  atmel = ATMEL AT76C5XXx (USB, PCMCIA)

  wired = wpa_supplicant wired Ethernet driver

options:

  -b = optional bridge interface name

  -B = run daemon in the background

  -c = Configuration file

  -C = ctrl_interface parameter (only used if -c is not)

  -i = interface name

  -d = increase debugging verbosity (-dd even more)

  -D = driver name (can be multiple drivers: nl80211,wext)

  -f = log output to debug file instead of stdout

  -g = global ctrl_interface

  -K = include keys (passwords, etc.) in debug output

  -s = log output to syslog instead of stdout

  -t = include timestamp in debug messages

  -h = show this help text

  -L = show license (GPL and BSD)

  -p = driver parameters

  -P = PID file

  -q = decrease debugging verbosity (-qq even less)

  -u = enable DBus control interface

  -v = show version

  -W = wait for a control interface monitor before starting

  -N = start describing new interface

example:

  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

抱歉!评论已关闭.