Yellow Dog Solutions

TOPIC: Launching Airport before rc.local



Introduction
Some tips on getting AirPort to load at startup before rc.local is run under YDL 2.3 (with 2.4.x kernel.)

In the doc airport24.shtml it is suggested that AirPort networking be loaded from /etc/rc.d/rc.local. This is not always optimal, as some services require networking to be up before rc.local is run.

How to
To bring up AirPort in the proper boot sequence, the following setup works:
  1. Load AirPort support in rc.modules, as root:

    pico /etc/rc.modules [ENTER]
    ... add the following lines:

    #! /bin/sh

    /sbin/modprobe airport
    ... Save and Exit (CONTROL-X) pico.

  2. Make it executable:

    chmod a+x /etc/rc.modules [ENTER]

  3. Create the interface config file with AirPort network settings. This is done as root from a terminal:

    pico /etc/sysconfig/network-scripts/ifcfg-eth1 [ENTER]
    ... configure this text file to appear as follows:
    	NAME=localhost
    	DEVICE=eth1
    	IPADDR=
    	BOOTPROTO=dhcp
    	ONBOOT=yes
    	NETMASK=
    	GATEWAY=
    	ESSID="My Network Name"
    	KEY="(if required)"
    	

    All available AirPort interface options are listed in /etc/sysconfig/network-scripts/ifup-wireless .

    This HOWTO was offered by Jussi-Pekka Mantere



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation