When I start my connection to the AP manually, everything works fine. Example: # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf # dhcpcd wlan0 I get an IP-Address from my AP (verified via ifconfig) and the world is nice. Now, I want that to happen at system-startup, which in fact doesnt work. :( /etc/init.d/net.wlan0 is a symlink to /etc/init.d/net.lo my /etc/conf.d/net reads:modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dwext" #iwconfig_wlan0="mode managed" #config_wlan0=( "dhcp" ) config_wlan0=( "192.168.178.15 netmask 255.255.255.0 brd 192.168.178.255" ) routes_wlan0=( "default gw 192.168.178.1" ) This is what is looks like on the console: # /etc/init.d/net.wlan0 start * Caching service dependencies ... [ ok ] * Starting wlan0 * Starting wpa_supplicant on wlan0 ... [ ok ] * timed out [ !! ] No additional information in /var/log/messages, except Apr xx xx:xx:xx xxxx rc-scripts: timed out And I'm not the only one: http://forums.gentoo.org/viewtopic-t-447920.html wpa_supplicant version is 0.4.8 # emerge --info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Celeron (Mendocino) Gentoo Base System version 1.6.14 dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.4 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r4, 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/ http://81.223.20.162/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx acl alsa apache2 apm arts audiofile avi berkdb bindist bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dedicated dri eds emboss encode ethereal exif expat fastbuild fbcon foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hardened imagemagick imlib innodb isdnlog jabber jpeg lcms libg++ libwww mad memlimit mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis openssh oss pam pcre pdflib perl png posix ppds pppd python quicktime readline samba sasl sdl session simplexml slang slp snmp soap sockets speex spell spl sse ssl svga tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vhosts videos voodoo3 vorbis wmf x86 xml xml2 xsl xv zlib fritzcapi_cards_fcpci userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS Don't complain about my old compiler/glibc - i only have this old celeron for that purpose... :(
what version of bash do you have ?
I have the same problem here after upgrading to bash-3.1_p16 which is marked stable in portage now. After falling back to bash-3.0-r12 everthing is fine again.
Created attachment 84765 [details, diff] Patch to fix wpa_supplicant for bash 3.1_p16 Apply this against /lib/rcscripts/net.modules.d/wpa_supplicant
Just did a quick and nasty patch to fix this for my laptop.
Yeah, well, as all the others, I have bash version 3.1_p16 installed.
I can only say - me too. bash-3.1_p16 broke my /lib/rcscripts/net.modules.d/wpa_supplicant. The provided patch solved the problem.
*** This bug has been marked as a duplicate of 130104 ***