1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problems connecting to WAN provided by Macintosh via DHCP

Discussion in 'Tomato Firmware' started by stepheneb, Oct 3, 2007.

  1. stepheneb

    stepheneb LI Guru Member

    I'm having trouble completing a DHCP connection from Tomato to a Mac acting as a WAN router.

    I'd like to use a Mac running 10.4.10 with an EVDO modem as the WAN connection for my WRT54GL flashed with Tomato v1.09 firmware.

    I open Systems Preferences:Sharing:Internet -- select the EVDO modem as the device to "Share your connection from" and select "Built-in Ethernet" as an interface to share on.

    This sets up a DHCP server on the Mac.

    When I connect the Tomato/WRT54 system with an ethernet cable from it's WAN port to the Mac acting as a router the Tomato firmware will just continually display "renewing ..." and never completes the DHCP request.

    If I instead connect a second Mac (client mac) to the Mac acting as a router it grabs a DHCP lease and connects through the router Mac fine.

    In the System profiler on the client mac it lists the following information about it's connection to the Internet:

    client ip: 192.168.2.2

    DHCP Server responses:
    dns: 192.168.2.1
    lease duration (seconds): 0
    DHCP message type: 0x05
    routers: 192.168.2.1
    server identifier: 169.254.61.240
    subnet mask: 255.255.255.0

    After clicking "release" and then "renew" in the Tomato Overview page I see this in the log:

    Oct 3 12:30:44 unknown local0.info udhcpc[10060]: Entering released state
    Oct 3 12:31:25 unknown local0.info udhcpc[10060]: Performing a DHCP renew
    Oct 3 12:31:25 unknown local0.debug udhcpc[10060]: Sending discover...
    Oct 3 12:31:28 unknown local0.debug udhcpc[10060]: Sending discover...
    Oct 3 12:31:32 unknown local0.debug udhcpc[10060]: Sending discover...

    Can anyone suggest ways I can troubleshoot this further?
     
  2. stepheneb

    stepheneb LI Guru Member

    FYI:

    The firmware connects just fine to the WAN provided by the WildBlue satellite modem:

    Oct 3 12:56:21 unknown local0.info udhcpc[10060]: Entering released state
    Oct 3 12:56:23 unknown local0.info udhcpc[10060]: Performing a DHCP renew
    Oct 3 12:56:23 unknown local0.debug udhcpc[10060]: Sending discover...
    Oct 3 12:56:26 unknown local0.debug udhcpc[10060]: Sending select for 72.173.28.49...
    Oct 3 12:56:27 unknown local0.info udhcpc[10060]: Lease of 72.173.28.49 obtained, lease time 43200
    Oct 3 12:56:27 unknown daemon.info dnsmasq[10076]: exiting on receipt of SIGTERM
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: started, version 2.40 cachesize 150
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: compile time options: no-IPv6 GNU-getopt no-RTC no-ISC-leasefile no-DBus no-I18N no-TFTP
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 2d12h
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: reading /etc/resolv.dnsmasq
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: using nameserver 12.189.32.61#53
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: read /etc/hosts - 0 addresses
    Oct 3 12:56:27 unknown daemon.info dnsmasq[15628]: read /etc/hosts.dnsmasq - 2 addresse
     
  3. ifican

    ifican Network Guru Member

    I would simply put a static IP on the wan port of the tomato router and just let it be. I have had similar issues at time with other firmware and other devices. Rather then spend weeks trying to figure out why coding doesnt work right, simply assign a static ip and let it be.
     
  4. roadkill

    roadkill Super Moderator Staff Member Member

    reduce dhcp packet size?
     
  5. stepheneb

    stepheneb LI Guru Member

    I tried reducing the packet size.

    I think setting up static routing is he way to go until I have time to check the logs on the mac also. Perhaps wireshark could show what packets are being sent.
     

Share This Page