Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Latest update causes OPT1 to fail unable to apply IP address from DHCP

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    4
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cjbujold
      last edited by

      Getting the following error with the latest update Nov 14th (i386) on OPT1.  No traffic is going through.  I'm using a cable provider who uses DHCP. My configuration is: WAN2R interface OPT1 (em1) From the log it shows that it finds the IP address but is unsuccessful in applying it.  Any suggestion on how to correct this would be appreciated.

      Partial log … constant loop

      Nov 15 14:00:19 php: : The command '/sbin/dhclient -c /var/etc/dhclient_opt1.conf em1 > /tmp/em1_output > /tmp/em1_error_output' returned exit code '1', the output was ''
      Nov 15 14:00:19 dhclient[47805]: exiting.
      Nov 15 14:00:19 dhclient[47805]: exiting.
      Nov 15 14:00:19 dhclient[47805]: connection closed
      Nov 15 14:00:19 dhclient[47805]: connection closed
      Nov 15 14:00:19 dhclient[44232]: exiting.
      Nov 15 14:00:19 dhclient[44232]: exiting.
      Nov 15 14:00:19 php: : rc.newwanip: Informational is starting em1.
      Nov 15 14:00:18 dhclient[44232]: em1: not found
      Nov 15 14:00:18 dhclient[44232]: em1: not found
      Nov 15 14:00:18 dhclient: PREINIT
      Nov 15 14:00:18 php: : HOTPLUG: Configuring interface opt1
      Nov 15 14:00:18 php: : DEVD Ethernet attached event for opt1
      Nov 15 14:00:18 check_reload_status: rc.newwanip starting em1
      Nov 15 14:00:18 dhclient: New Routers (em1): 99.252.54.1
      Nov 15 14:00:18 dhclient: New Broadcast Address (em1): 255.255.255.255
      Nov 15 14:00:18 dhclient: New Subnet Mask (em1): 255.255.254.0
      Nov 15 14:00:18 dhclient: New IP Address (em1): 99.252.54.183
      Nov 15 14:00:18 dhclient: ifconfig em1 inet 99.252.54.183 netmask 255.255.254.0 broadcast 255.255.255.255
      Nov 15 14:00:18 dhclient: Starting add_new_address()
      Nov 15 14:00:18 dhclient: TIMEOUT
      Nov 15 14:00:18 check_reload_status: Linkup starting em1
      Nov 15 14:00:18 dhclient[3189]: Trying recorded lease 99.252.54.183
      Nov 15 14:00:18 kernel: em1: link state changed to UP
      Nov 15 14:00:18 dhclient[3189]: No DHCPOFFERS received.
      Nov 15 14:00:16 kernel: em1: link state changed to DOWN
      Nov 15 14:00:15 dhclient[20764]: exiting.
      Nov 15 14:00:15 dhclient[20764]: exiting.
      Nov 15 14:00:15 dhclient[20764]: short write: wanted 12 got 0 bytes
      Nov 15 14:00:15 dhclient[20764]: short write: wanted 12 got 0 bytes
      Nov 15 14:00:15 dhclient: PREINIT
      Nov 15 14:00:15 php: : The command '/sbin/dhclient -c /var/etc/dhclient_opt1.conf em1 > /tmp/em1_output > /tmp/em1_error_output' returned exit code '15', the output was ''

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Can you please post the content of /tmp/em1_error_output?

        1 Reply Last reply Reply Quote 0
        • C
          cjbujold
          last edited by

          Not very useful but here it is:

          em1: no link …. got link
          dhclient: PREINIT

          The above is followed by one line of a boxes with 0 in it (complied code???) with the following at the end

          DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 8

          1 Reply Last reply Reply Quote 0
          • C
            cjbujold
            last edited by

            Updated today to the latest version 2.0-BETA4 (i386)built on Mon Nov 15 16:00:39 EST 2010  and now my OPT1 is working again but I have the following error in the dashboard system information section.  Help would be appreciated.

            Thanks

            Warning: shell_exec(): Unable to execute 'ifconfig -l' in /etc/inc/globals.inc on line 44 Warning: shell_exec(): Unable to execute 'uname -m' in /etc/inc/globals.inc on line 125 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /etc/inc/globals.inc:44) in /etc/inc/auth.inc on line 1140 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/globals.inc:44) in /usr/local/www/guiconfig.inc on line 41 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/globals.inc:44) in /usr/local/www/guiconfig.inc on line 42 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/globals.inc:44) in /usr/local/www/guiconfig.inc on line 43 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/globals.inc:44) in /usr/local/www/guiconfig.inc on line 44 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/globals.inc:44) in /usr/local/www/guiconfig.inc on line 45

            The system log shows:

            Nov 16 17:25:10 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/opt1-queues.rrd -t :opt1:qACK:qDefault:qVoIP:qOthersHigh:qOthersLow N:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: unknown DS name '''

            Nov 16 17:25:10 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-queuedrops.rrd -t :wan:qACK:qDefault:qVoIP:qOthersHigh:qOthersLow N:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: unknown DS name '''

            Nov 16 17:25:10 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-queues.rrd -t :wan:qACK:qDefault:qVoIP:qOthersHigh:qOthersLow N:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: unknown DS name '''

            Nov 16 17:25:10 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/lan-queuedrops.rrd -t :lan:qInternet:qACK:qDefault:qVoIP:qOthersHigh:qOthersLow N:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: unknown DS name '''

            Nov 16 17:25:10 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/lan-queues.rrd -t :lan:qInternet:qACK:qDefault:qVoIP:qOthersHigh:qOthersLow N:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: unknown DS name '''

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.