Your message dated Wed, 2 Apr 2008 18:57:10 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#472851: -w not used by scripts provided by
wpasupplicant package
has caused the Debian Bug report #472851,
regarding ifup sends w parameter to wpa_supplicant, which is no longer valid
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
472851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472851
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.6.8
Severity: normal
--- Please enter the report below this line. ---
Running ifup on a wireless interface throws a wpa_supplicant error
"invalid option -- w".
-w is discontinued since version 0.6.2+git20080202.gde6ccd7-1 of
wpasupplicant. Changelog states:
New Upstream git snapshot.
- the -w (wait for interface) option has been removed (Closes: #350963
<http://bugs.debian.org/350963>)
Although it appears in the "usage" section of the -h output, it is not
in the man pages, or the option description of the -h output.
Verbose output from ifup follows:
ocean:/home/andy# ifup eth0 --verbose
Configuring interface eth0=eth0 (inet)
wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
wpa_supplicant: invalid option -- w
wpa_supplicant v0.6.3
Copyright (c) 2003-2008, Jouni Malinen <[EMAIL PROTECTED]> and contributors
This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
usage:
wpa_supplicant [-BddhKLqqtuvwW] [-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)
hostap = Host AP driver (Intersil Prism2/2.5/3)
madwifi = MADWIFI 802.11 support (Atheros, etc.)
atmel = ATMEL AT76C5XXx (USB, PCMCIA)
wired = wpa_supplicant wired Ethernet driver
test = wpa_supplicant test 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
-f = log output to debug file instead of stdout
-g = global ctrl_interface
-K = include keys (passwords, etc.) in debug output
-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
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/00check-network-cable
andy[8078]: WARNING: Initialising interface eth0 which does not have link
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
ifconfig eth0 10.0.0.7 netmask 255.0.0.0 up
route add default gw 10.0.0.2 eth0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/10check-duplicate-ip
run-parts: executing /etc/network/if-up.d/20static-routes
run-parts: executing /etc/network/if-up.d/30check-gateway
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/wpasupplicant
ocean:/home/andy#
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.22-3-486
Debian Release: lenny/sid
500 testing 212.219.56.138
500 stable wine.budgetdedicated.com
500 stable security.debian.org
500 stable ftp.debian.org
1 sarge-backports www.backports.org
--- Package information. ---
Depends (Version) | Installed
============================-+-=============
net-tools | 1.60-19
libc6 (>= 2.3.6-6) | 2.7-6
debconf (>= 1.2.0) | 1.5.20
OR debconf-2.0 |
lsb-base | 3.1-24
--- End Message ---
--- Begin Message ---
On Tuesday 01 April 2008 05:23:20 Andy Reed wrote:
>
> Apologies. Found the old option in
> /etc/network/interfaces
>
> Changed
> iface eth0 inet static
> pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
>
> To
> iface eth0 inet static
> pre-up wpa_supplicant -B -Dwext -ieth0 -c/etc/wpa_supplicant.conf
Thanks for confirming.
Consider using:
iface eth0 inet static
wpa-conf /etc/wpa_supplicant.conf
...
Thanks, Kel.
--- End Message ---