55
55
The current wpasupplicant package is not starting as system daemon per default
56
56
anymore. We consider the old behavior as deprecated and do not support that any
57
longer. You need to read this section only if you want to keep the old
58
behaviour from the wpasupplicant package in Debian 3.1 (sarge).
59
60
The current behavior uses wpasupplicant the other way round: ifupdown now
60
61
controls wpasupplicant. This means the supplicant is running as long as you want
61
62
to use the interface (i.e. it is ifupped from the ifupdown POV). For a roaming
62
63
solution, please read the wpa_action(8) manual page.
65
Please note that past packages didn't provide any roaming solution by itself.
66
The fact that it was a system daemon enabled the user to make it 'control'
67
ifupdown, so that mechanisms like guessnet can choose the current location. If
68
you insist on this behavior, please install the init script yourself.
70
We do however, provide a somewhat improved init script in the
71
/usr/share/doc/wpasupplicant/examples/ directory of the package. Follow the
72
instructions below to revert to the deprecated behaviour:
74
Copy the file into the /etc/init.d directory and make it executable:
76
cp /usr/share/doc/wpasupplicant/examples/wpa_supplicant.init-daemon \
78
chmod +x /etc/init.d/wparoamd
80
The init daemon must be altered to suit your persnal configuration. Edit the
81
script so that INTERFACE, CONFIG and DRIVER are defined, then make sure the
82
init daemon begins with the following commands:
84
update-rc.d wparoamd start 15 2 3 4 5 . stop 90 0 1 6 .
85
invoke-rc.d wparoamd start
87
The following commands revert the above changes:
89
invoke-rc.d wparoamd stop
90
update-rc.d wparoamd remove
91
rm -f /etc/init.d/wparoamd
93
A howto for using a system daemon for these purposes is located at:
95
http://www.debian-administration.org/articles/312