File: essidscan.8

package info (click to toggle)
ifscheme 1.7-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 240 kB
  • ctags: 33
  • sloc: sh: 925; makefile: 5
file content (51 lines) | stat: -rw-r--r-- 1,276 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH ESSIDSCAN 8 "" "" "Commands"
.SH NAME
essidscan \- scan for ESSID corresponding to available WLAN access points
.SH SYNOPSIS
In
.I /etc/network/interfaces:
.P
.B mapping <interface> script essidscan
.SH DESCRIPTION
.P
The essidscan utility is used to tell the ifup and ifdown utilities
about the current SSID of the WLAN currently being accessed.
It can be used to map the SSID name to an iface stanza.
.SH CONFIGURATION
A sample
.I /etc/network/interfaces
may look like this:
.P
   mapping hotplug
     script /etc/network/essidscan
     map SSIDONE  wlan-work
     map SSIDTWO  wlan-work
     map HOME

   iface wlan-work inet dhcp
     wireless-key     1234-5678-9ABC-DEF0-1234-5678-9A
     wireless-keymode restricted

   iface HOME inet static
     address          192.168.2.4
     netmask          255.255.255.0
     gateway          192.168.2.1
     wireless-essid   HOME
     wireless-key     s:somepassword
     wireless-keymode open

   iface DEFAULT inet dhcp
.SH FILES
.TP
.I /etc/network/interfaces
the interfaces definition file
.TP
.I /etc/network/run/ifstate
a record of the current state of the interfaces, managed by ifup and ifdown
.SH "SEE ALSO"
.BR interfaces (5)
.BR ifscheme (8)
.BR ifup (8)
.BR ifdown (8)
.SH AUTHORS
Tor Slettnes <tor@slett.net>