• DHCP on wlan0 int (Wireless Dongle)

    From jross@110:300/1.1 to All on Wed Mar 17 23:25:22 2010
    Hi Guys,

    Having some issues with dhcpd running on a wireless dongle (wlan0). The problem is if the wireless dongle is not connected at startup the dhcp
    daemon will fail to start because there is no wlan0 interface (The dhcp service is enabled at startup).

    I have added the DHCPDARGS="wlan0" to /etc/sysconfig/dhcpd" and it makes
    no difference. Once the dhcp server is up and running if I dis-connect
    the wireless dongle and then re-connect I have to restart the dhcp
    server, basically I don't want to have to restart the dhcp service
    every-time I dis/re-connect the dongle.

    So my question is there a way to force dhcp to run even if there is no interface up?

    I'm using:
    OS:Fedora Core 4
    kernel:2.6.17-1.2142_FC4smp
    DHCP:dhcp-3.0.2-34
    Wireless Dongle:Belkin USB Dongle (F5D7050AU)

    Files:

    /etc/init.d/dhcpd:
    http://pastebin.org/115619


    /etc/dhcpd.conf:

    #
    # DHCP Server Configuration file.

    1. see /usr/share/doc/dhcp*/dhcpd.conf.sample

    #
    ddns-update-style none;
    default-lease-time 14440;
    deny bootp;

    shared-network NetworkName {
    subnet 192.168.131.0 netmask 255.255.255.0 {
    option routers 192.168.131.101;
    option subnet-mask 255.255.255.0;
    pool {
    range 192.168.131.202 192.168.131.203;
    }
    }
    }


    /etc/sysconfig/dhcpd:
    DHCPDARGS="wlan0"

    Any help would be appreciated and I'll be happy to supply anymore info

    Cheers

    JoelC

    --- MBSE BBS v0.95.5 (GNU/Linux-x86_64)
    * Origin: Unlimited download news at news.astraweb.com (110:300/1.1@linuxnet)