Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. W5100 Gateway not getting an IP

W5100 Gateway not getting an IP

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 1.2k Views 3 Watching
  • 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.
  • A Offline
    A Offline
    avs
    wrote on last edited by
    #1

    Hi, I am pretty new to this. I have a working serial gateway, but for convenience I want an ethernet Gateway. For that I am using an Arduino Uno and a W5100 ethernetshield. I am using the W5100 gateway sketch with the only modification that i commented the line with an ip adress so it uses dhcp and uncommented the line for the dhcp renewal.

    But somehow i dont get an ip adress when i connect it to the netwerk. If i connect the cable to my laptop it works and my laptop gets an ip adress so the cable is good. I do not have an other arduino project currently on my netwerk, so the mac adress is unique in my network.

    When i look at the debug it says:

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;!TSM:INIT:TSP FAIL
    0;255;3;0;9;TSM:FAIL:CNT=1
    0;255;3;0;9;TSM:FAIL:PDT
    0;255;3;0;9;TSM:FAIL:RE-INIT
    

    With the CNT going up to 7. But with all the rest the same.

    I do not have the rf24 yet connected as i first wanted to test this first.

    What am I missing?

    mfalkviddM 1 Reply Last reply
    0
    • A avs

      Hi, I am pretty new to this. I have a working serial gateway, but for convenience I want an ethernet Gateway. For that I am using an Arduino Uno and a W5100 ethernetshield. I am using the W5100 gateway sketch with the only modification that i commented the line with an ip adress so it uses dhcp and uncommented the line for the dhcp renewal.

      But somehow i dont get an ip adress when i connect it to the netwerk. If i connect the cable to my laptop it works and my laptop gets an ip adress so the cable is good. I do not have an other arduino project currently on my netwerk, so the mac adress is unique in my network.

      When i look at the debug it says:

      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;!TSM:INIT:TSP FAIL
      0;255;3;0;9;TSM:FAIL:CNT=1
      0;255;3;0;9;TSM:FAIL:PDT
      0;255;3;0;9;TSM:FAIL:RE-INIT
      

      With the CNT going up to 7. But with all the rest the same.

      I do not have the rf24 yet connected as i first wanted to test this first.

      What am I missing?

      mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @avs what indicates that the gateway did not get an ip address?

      The log says it is unable to initialize the radio, which is expected if the radio is not connected.

      Connect the radio and try again.

      A 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @avs what indicates that the gateway did not get an ip address?

        The log says it is unable to initialize the radio, which is expected if the radio is not connected.

        Connect the radio and try again.

        A Offline
        A Offline
        avs
        wrote on last edited by
        #3

        @mfalkvidd thanks for your reaction; i am using an app to find devices in my network and it did not show the gateway, thus i jumped to the conclusion the gw did not get an ip adress. I shall try it tomorrow with the radio attached.

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          If radio doesn't initialize the gateway doesn't load pretty much anything

          1 Reply Last reply
          0
          • A Offline
            A Offline
            avs
            wrote on last edited by
            #5

            That was indeed the solution. Sometimes it can be so simple. Did not think that wiring the radio would matter. Thanks!

            mfalkviddM 1 Reply Last reply
            1
            • A avs

              That was indeed the solution. Sometimes it can be so simple. Did not think that wiring the radio would matter. Thanks!

              mfalkviddM Online
              mfalkviddM Online
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @avs great that it solved the problem. Thanks for reporting back.

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                Actually you can comment out the define of the gateway and use it as a simple gateway with sensors.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                26

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular