Attempting to use wpa_supplicant to connect to my wireless ap with the latest baselayout results in baselayout starting wpa_supplicant and then getting 'stuck', unable to proceed. Looking at wpa_cli in another console shows that wpa_supplicant is successfully connecting and authenticating. Manually setting an ip address or running dhcpcd results in everything working perfectly fine with no problems. baselayout seems to be unable to determine that wpa_supplicant has successfully connected. The same result is obtained with and without using an association timeout, in the former case the init sript displays the error '* Failed to configure eth1 in the background'. However wpa_supplicant is still running after this and manually setting/getting an ip address works fine and I have full network access. eth1 is the wireless interface using ipw2200 1.0.8-r1. baselayout-1.12.0_pre15-r1 is used. wpa_supplicant-0.4.7 and 0.5.1 have been tried with the same result. * /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( "dhcp" ) modules_eth1=( "!plug" ) modules=( "wpa_supplicant" ) wpa_supplicant_eth1="-Dwext" config_eth1=( "192.168.2.100/24" ) config_eth1=( "default gw 192.168.2.1" ) * /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant network={ ssid="bandits" psk="secret" } * emerge --info Gentoo Base System version 1.12.0_pre15 Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r4 i686) ================================================================= System uname: 2.6.15-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz dev-lang/python: 2.4.2 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-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_AU.UTF-8" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ymir/gentoo-portage" USE="x86 X acpi alsa apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk crypt curl dts dvd dvdr eds emboss encode ethereal expat fam flac foomaticdb fortran gdbm gif gmp gpm gtk gtk2 hal idn ieee1394 imlib ipv6 java jpeg kde kdeenablefinal lcms libg++ libwww mad mmx mng motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline sasl sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml2 xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
I just tried this again with baselayout-1.12.0_pre16 and the same thing occurs. The init script starts wpa_supplicant and just gets stuck and does not proceed despite wpa_supplicant authenticating with no problems. loki ~ # /etc/init.d/net.eth1 start * Starting eth1 * Starting wpa_supplicant on eth1 ... [ ok ] * Starting wpa_cli on eth1 ... [ ok ] * Failed to configure eth1 in the background [ !! ] loki ~ # While wpa_cli is displaying this: <2>Trying to associate with 00:30:f1:d2:9e:eb (SSID='bandits' freq=0 MHz) <2>Associated with 00:30:f1:d2:9e:eb <2>WPA: Key negotiation completed with 00:30:f1:d2:9e:eb [PTK=TKIP GTK=TKIP] <2>CTRL-EVENT-CONNECTED - Connection to 00:30:f1:d2:9e:eb completed (auth) status bssid=00:30:f1:d2:9e:eb ssid=bandits pairwise_cipher=TKIP group_cipher=TKIP key_mgmt=WPA-PSK wpa_state=COMPLETED After this it backgrounds itself and manually setting up the interface with ifconfig or dhcpcd allows you to get network access.
(In reply to comment #0) > config_eth1=( "192.168.2.100/24" ) > config_eth1=( "default gw 192.168.2.1" ) That should be routes_eth1=( "default gw 192.168.2.1" ) re-open if you disagree