Home Forums Getting Started Trouble getting Wan DHCP IP number.

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #426
    dpreviti
    Participant

    Is any one else having trouble getting their card to take an IP number via DHCP?

    I’m following the guide in the FAQs but I can’t seem to get the interface to communicate even if I set it manually with ifconfig.

    #429
    dpreviti
    Participant

    I’m following this faq: http://wiki.espressobin.net/tiki-index.php?page=Quick+User+Guide

    And having the same issues as this gentleman:

    # ifconfig eth0 up
    # dhclient wan
    [ 162.790397] IPv6: ADDRCONF(NETDEV_UP): wan: link is not ready
    [ 164.323110] dsa dsa@0 wan: Link is Down
    [ 165.331782] dsa dsa@0 wan: Link is Up – 100Mbps/Full – flow control rx/tx
    [ 165.338761] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready

    (I presume they meant “enter” and not “insert”.)

    I tried that …
    Note that the online doc never mentions what happens next. Do I wait a second, or a few minutes?

    In my case, several minutes later, I’m still waiting.

    I just saw some output that implies dhclient (or someone) did a “PING” after a few minutes,
    albeit unsuccessfully, to 192.168.10.252.

    I just got “rm: cannot remove ‘/etc/resolv.conf.dhclient’: No such file or directory
    I also just got “cat: /etc/resolv.conf.*: No such file or directory”
    followed by

    […] dsa dsa@0 wan: Link is Down

    Can anyone already setup or from Marvell help?

    #430
    Benjamin Huang
    Keymaster

    Hi dpreviti,

    I don’t seem to have this issue in my network environment, I have my ESPRESSObin connected to the Ethernet through its wan port and power it up. Then under the buildroot prompt if do ifconfig eth0 up then dhclient wan, in about 8 seconds the dhclient wan returns with valid IP address acquired from the DHCP server. See my log below:

    Starting NFS services: done
    Starting NFS daemon: done
    Starting NFS mountd: done
    Starting vsftpd: OK
    Starting HPA’s tftpd:
    Welcome to Buildroot
    buildroot login: root
    # ifconfig eth0 up
    # [ 16.087887] mvneta d0030000.ethernet eth0: Link is Up – 1Gbps/Full – flow control off

    # dhclient wan
    [ 29.060437] dsa dsa@0 wan: Link is Down
    [ 32.077210] dsa dsa@0 wan: Link is Up – 1Gbps/Full – flow control rx/tx
    # ifconfig
    eth0 Link encap:Ethernet HWaddr F0:AD:4E:03:69:30
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:43 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:532
    RX bytes:7164 (6.9 KiB) TX bytes:700 (700.0 B)
    Interrupt:9

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:2 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)

    wan Link encap:Ethernet HWaddr F0:AD:4E:03:69:30
    inet addr:10.82.40.149 Bcast:10.82.43.255 Mask:255.255.252.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:43 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:6218 (6.0 KiB) TX bytes:684 (684.0 B)

    #

    If you may post your full log here, we maybe find some clues.

    #431
    dpreviti
    Participant

    Benjamin,

    I got it, I dragged out an old hub and it recognized it immediately. For some reason it didn’t like being or plugged directly into the wall.

    Can I ask you a stupid question? Am I missing something, or does the Linux version shipped not have a package manager, making it effectively useless? I’m assuming the first matter of business to use this for anything is to either format the sd or add an external drive and put a new os on it?

    Thanks!!

    David

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop