The script start order seems to be: 1. net 2. ntp-client 3. wpa_supplicant With the result that ntp-client fails because it can not connect to the internet. This is quite strange because there is a depend() { before net } statement in /etc/init.d/wpa_supplicant. So it should start before net, but it doesn't. Anyone else having this problem? Does your wpa_supplicant start before net? Anyway this init.d script and the conf.d files are a great improvement! Reproducible: Always Steps to Reproduce: My system is ~x86, emerge --info: Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.7 i686) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa apm arts avi berkdb bitmap-fonts crypt cups doc dvd encode f77 foomaticdb gdbm gif gnokii gphoto2 gpm gps gtk gtk2 imlib irda java jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mplayer nas ncurses nlsoggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime radeon readline samba sdl slang sms spell sse ssl svga tcltk tcpd tetex truetype usb wifi x86 xine xml2 xmms xprint xscreensaver xv zlib linguas_de"
Please attach the output of 'rc-update show' to this bug report.
sorry, I forgot: lab5 ~ # rc-update -s acct | acpid | alsasound | default atop | bootmisc | boot checkfs | boot checkroot | boot clock | boot consolefont | boot crypto-loop | cupsd | dcron | default domainname | boot famd | gpm | hdparm | default hostname | boot hotplug | boot keymaps | boot lisa | local | default nonetwork localmount | boot metalog | boot modules | boot nas | net.ath0 | default net.eth0 | net.eth1 | net.lo | boot netmount | nscd | ntp-client | default ntpd | default numlock | pcmcia | boot portmap | postfix | default reslisa | rmnologin | boot rsyncd | samba | serial | boot smartd | spamd | default speedfreq | default sshd | urandom | boot wpa_supplicant | default xdm | default xfs | xinetd | xprint |
Confirmed. Odd since /etc/init.d/wpa_supplicant has: depend() { before net }
/etc/init.d/iptables has a depend() { before net } as well - on my system iptables is started after the net.* scripts as well.
I added the lines before ntp-client before ntpd right behind before net in /etc/init.d/wpa_supplicant. So this script starts before the ntp scripts and my primary issue is solved. But I still wonder, why wpa_supplicant still starts after net.ath0. As brix already wrote, this is most probably not a problem of the wpa_supplicant script itself.
Adding base-system to CC: - hopefully they'll have a clue :-/
I have the same problem, which also applies to the new wpa_supplicant-0.3.0. I suggest you add wpa_supplicant to the boot script list for now, to force it to start before the net scripts: rc-update add wpa_supplicant boot
*** This bug has been marked as a duplicate of 70226 ***