DHCP enabled, no IP received after reboot, but with command line



  • Hi all,
    I have the new version 1.0 running wit a wireless WAN device, which is configured to get the IO address from the AP. But if the box is rebooted, then no IP address is received and "nothing works".
    But if I login on the shell and type just only "dhclient wi0", then the IP is received and everything works!

    Can I tell the pfsense box, to run the command "dhclient" automaticly after reboot? But I think, it must be normal….

    Thanks a lot for your help.



  • I already checked the logs….

    the interesting point is written in th elog:

    Oct 24 22:27:19  dhclient[11921]: DHCPREQUEST on wi0 to 255.255.255.255 port 67
      Oct 24 22:27:20  dhclient[11921]: DHCPACK from xxx.xxx.xxx.1
      Oct 24 22:27:20  dhclient: New IP Address (wi0): xxx.xxx.xxx.105
      Oct 24 22:27:20  dhclient: New Subnet Mask (wi0): 255.255.255.0
      Oct 24 22:27:20  dhclient: New Broadcast Address (wi0): xxx.xxx.xxx.255
      Oct 24 22:27:20  dhclient: New Routers (wi0): xxx.xxx.xxx.1
      Oct 24 22:27:20  dhclient: /sbin/route add default xxx.xxx.xxx.1
      Oct 24 22:27:20  dhclient[11921]: bound to xxx.xxx.xxx.105 – renewal in 985762007 seconds.

    but the command "netsat -rn" does not inlcude the route to xxx.xx.xxx.1 on the wi0 interface

    it sounds strange for me, but maybe somebody has an idea

    thanks


Log in to reply