Re: F13 network and wpa_supplicant startup sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Jul 2010 10:55:13 -0500 (CDT) lxnf98mm@xxxxxxxxxxx wrote:
> On Tue, 20 Jul 2010, Frank Elsner wrote:
> 
> > On Tue, 20 Jul 2010 10:12:29 -0500 (CDT) lxnf98mm@xxxxxxxxxxx wrote:
> >> I added a wireless card to a machine that has no gui interface installed, so no NM
> >> I configured wpa_supplicant and wlan startup script
> >> What I do not get is when the machine boots wpa_supplicant starts after the network script
> >
> > "after" is the problem. wpa_supplicant must start *before" network.
> > Change the sequence.
> >
> >
> > --Frank Elsner
> >
> 
> '/etc/init.d/wpa_supplicant' has requirement '# Required-Start: $local_fs messagebus'
> Should I also move these before network startup
> Who is responsible for deciding the sequence of these scripts

Oh shit, the upstart :-(

I disabled the start of "wpa_supplicant", "network" and NetworkManager.

In /etc/rc.d/rc5.d I have

S10Networking -> ../init.d/Networking
                           ^^^^^^^^^^ This is a script which main part is

#! /bin/bash
#
# network       Bring up/down networking
#
# chkconfig: 235 10 90
# description: Activates/Deactivates all network interfaces configured to \
#              start at boot time.
#
# Modified version by Frank Elsner 
#
### BEGIN INIT INFO

# See how we were called.
case "$1" in
  start)
        /etc/init.d/wpa_supplicant start
        /etc/init.d/network        start
        ;;
  stop)
        /etc/init.d/network        stop
        /etc/init.d/wpa_supplicant stop
        ;;


So *I" define the sequence.


--Frank Elsner
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux