How can we help?


Ethernet

Pinned Featured Implemented

Comments

102 comments

  • Avatar
    Jon Alan (Edited )

    I just coincidently looked at the latest firmware update notes for IOS and it mentioned something about Ethernet 10/100.
    So I went to rainmachine’s website and if I’m reading this correctly it looks like the RainMachine pro 8/12 now supports ethernet ?  If true, I’m hoping there will be a upgrade program for us folks who have just Wi-Fi devices.

    0
    Comment actions Permalink
  • Avatar
    lanbrown (Edited )

    @Jon Alan,

    Did you read the first post in this thread?

     

    "With the upcoming beta (version > .920) using usb to ethernet adapters works but this is *officially unsupported*."

    This was the case before the Pro units were even released.  The Pro units are running .1067.

    0
    Comment actions Permalink
  • Avatar
    Jon Alan (Edited )

    Maybe my post wasn’t clear, it wasn’t clear to me that rainmachine released a next generation of RainMachine pro hardware that excepts hardwired ethernet. I was well aware that the model that I own which is Wi-Fi only can be adapted to use a hardwired Ethernet to USB dongle as I showed a picture in this thread. I was simply verifying with the community that my assumption was true which was that rain machine has now issued a device that will except a hardwired ethernet connected device without the need of an adapter...and would there be a trade in program for those who wish to be hardwired without limitations. 

    0
    Comment actions Permalink
  • Avatar
    lanbrown

    Most likely future firmware updates will improve the support of a wired connection.

    Yes, the Pro 8 and 16 both have wired and wireless interfaces on it.

    https://support.rainmachine.com/hc/en-us/community/posts/360014600594-RainMachine-Pro-16 

    Right now the Pro models are on sale.

    The list is $219 but it is on sale now until October 31st for $169 for the Pro 16 model.  For a comparison is Mini 8 is $159.  The Pro 8 is not on sale and is $169.  So right now even if you only needed 8 zones, you are better off buying the Pro 16 since it is the same price as the Pro 8.  The Mini 8 isn't even worth buying since it is only $10 less, an older design and has less functionality.  The Touch HD-12 is $239 and the Touch HD-16 is $269.

    If they did have a trade in program, I doubt they would be giving you more than $50 for an older unit.  What are they going to do with them????  They can't sell them as new, if they sold them as refurbed unit, they still have logistics issues to deal with and it costs them money have to track the units people traded in (did they ship them back or not), boxing them up, inventorying them, etc.  You would get more money by just buying the Pro 16 model (when it is on sale) and selling your current unit on eBay.

    I haven't installed mine yet (still too hot out) but have the unit configured and powered up and being fed by PoE (Power over Ethernet) while it sits in my office.  My current smart irrigation controller is still doing its job.  The only reason I bought the Pro 16 was because of the Ethernet jack.

    0
    Comment actions Permalink
  • Avatar
    Jon Alan

    Just ordered the Pro-16 tonight...  i guess I'll have to sell my (less than 1 year old) touch HD-16 unit.... 

    A real ethernet port is worth my purchasing a newer unit... 

    Is there anyway of porting over my zones, schedules and pictures ?  or will I have to start from scratch - oy?

    Was that a happy accident that you discovered that the unit can be powered by PoE? there is no mention in the manual from what I can tell...
    Will the valves be powered by PoE as well ? or just the unit itself ?  actually, I just looked up 802.3at PoE+ at 600mA (30W) and i'll ask the experts here, is that enough juice to hold open 1 valve at a time ?

     

    0
    Comment actions Permalink
  • Avatar
    lanbrown

    The unit itself is not capable of PoE, I'm using a splitter.  As for if 30 watts is enough, yes as the power supply that comes with the unit puts out 24 volts at 750mA which would be 18 watts.  So even taking 802.3at at 30 watts but actually 25.5 at the PD side, you still have more than what the included adapter can output, but you also need to convert that from DC to AC though.  I'm using 4 pair PoE so I can put 60 watts down the line; 2x30 watts.  Without the RainMachine the power used at the port is 6 watts and with it plugged in, 7 watts.

    The splitter needs to output AC and not DC.  There are two splitters out there but really there is just one as one company just resells the one from the first.  They have two models, I picked the 4 pair PoE model for two reasons:

    1) It has a block connector instead of a barrel connector; makes it easy to connect to the RainMachine

    2) Plenty of power overhead since I can feed it 60 watts and have 51 watts for the PD device minus the 6 watts the splitter takes; so 45 watts for the RainMachine is available.

    One issue I did find is that you need to delay the power being fed to the RainMachine until the splitter has taken power from all four pairs otherwise the RainMachine will not boot.

    With no load the PoE splitter is putting out 28 VAC which is expected.  The included power supply puts out almost 32 VAC.  That is a little high and probably explains why the input is 120 VAC at .3 Amps which is 36 watts but the output listed is 24 VAC at 750 mA or 18 watts.  The power efficiency of the power supply is rather poor but also what a lot of them are.  The PoE splitter I'm using is in the 85% range.  Of course it is weird that I'm taking 220VAC and converting it to DC for the switch stack to send that DC at 56 volts down the line for it to be converted to 24 VAC.

    0
    Comment actions Permalink
  • Avatar
    lanbrown

    Backup and restore information is located here:

    https://support.rainmachine.com/hc/en-us/articles/115002641987-Restore-from-Backup 

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Has anyone gotten this to work?  I followed Nicholas' instructions (using the TechRise adapter last listed (and yes it works perfectly with my laptop)) but I get no connectivity, and the MAC / IP doesn't show up on an IP network scan.  I've rebooted several times with no changes, and I'm using the latest beta firmware update.  I've used other devices with the exact same ethernet cabling / switch, so I know that everything else is working appropriately.  The LED on the switch comes on when I plug in the ethernet cable connected to the USB adapter, but that's it.  Not blinking randomly to show that traffic is being passed.

     

    The TP Link wifi adapter is still plugged in.  I've switched to beta releases and have updated to the last (currently 4.0.954).  Wifi is off in settings.  I've rebooted a billion times.  What am I missing?

     

    I was really hoping for this to be a game-changer since I've got crappy wifi out at the garage where the unit is located.

     

    I hate to do a factory reset and potentially lose all my programming...  But if that's the next troubleshooting step, I'm willing to try anything.

     

    Can anyone give me any pointers?  Thank you very much for your time.   Nicholas - I realize this is unsupported, but any tips you might offer would be very much appreciated.

    0
    Comment actions Permalink
  • Avatar
    Jeff Jeff

    I think for most of us it was NEARLY plug and play. Seems we had to disable WiFi or something. I was really happy to get mine working on Ethernet.

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Unless the adapter is not "seen"  by the RainMachine system it should work. Debugging is difficult as you must ssh using the WIFI adapter IP to the RainMachine and give us the dmesg command output.

    What I can think of is to switch the places of WIFI adapter and Ethernet adapter with the device powered off and then turn it back on and watch if it tries to get any IP from DHCP.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Each time I boot up, there is a *very* brief Android error message along the lines of "Power cycling necessary - Two exceptions occurred" during the "Loading RainMachine data..." screen.   It's in a font that makes me think it's part of the OS, rather than the RainMachine app running on top.  Any thoughts there?

    Nevertheless, I swapped the TP-Link wifi adapter and the USB dongle with no changes.  Still have great wifi from the other USB port, but it still doesn't "see" the USB dongle.

    I'd love to give you that dmesg output, but even that's giving me a huge headache --

    I've followed the SHH instructions as well - I'm pretty sure I did everything exactly right - yet when I try to ssh in, I get an error:

    Kjell-MBP:~ kjellhult$ ssh -i /Users/kjellhult/.ssh/id_rsa 192.168.3.96
    kjellhult@192.168.3.96: Permission denied (publickey,keyboard-interactive).
    Kjell-MBP:~ kjellhult$

     

    Is my syntax correct?  I generated the key, POSTed it to the device, and rebooted.  Oh, how I've rebooted...

    A quick Googling / StackOverflowing of the issue makes me think my permissions on my laptop might be wrong, but they seem right:

    Kjell-MBP:.ssh kjellhult$ ls -l ~/.ssh
    total 24
    -rw-r--r--  1 kjellhult  staff  3243 Sep 11 21:17 id_rsa
    -rw-r--r--  1 kjellhult  staff   737 Sep 11 21:17 id_rsa.pub
    -rw-------  1 kjellhult  staff  2657 Sep 11 21:23 known_hosts
    Kjell-MBP:.ssh kjellhult$

     

    Wondering if that factory reset is in my future given the multiple issues with ssh and USB, and the weird error message on startup.

    Thanks for answering so quickly; I really appreciate your attentiveness to the boards here.

     

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    I now wonder if I got the wrong USB dongle.  Mine is not a "fast" dongle; rather it's a gigabit adapter, and I wonder if that's enough to kill everything.

    I bought this:   http://a.co/d/9uEggrh       Not realizing that the description in Nicholas' post describes an older / slower version of this.

     

    Sorry if all this headache was caused by me not reading the description closely enough.

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    If it's gigabit most likely it won't work, the driver only support 10/100 chipsets. As for the SSH key you need to put the *contents* of the .pub file with the API call as explained here: 

    https://support.rainmachine.com/hc/en-us/articles/228652648-How-to-SSH-on-Touch-HD-2nd-generation-devices

     

    0
    Comment actions Permalink
  • Avatar
    Joe Rankin

    I think the only gigabit ethernet adapters supported are USB 2.0, which is limited to 480 mbps.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Thank you all for the amazingly quick help.  I have a D-Link DUB-E100 on the way from Amazon.  Guaranteed to work...

    The ssh stuff makes sense, but I think I'll put that on hold pending how things pan out with the new USB dongle.

    Again, thank you all for the help.  I feel a little stupid for not paying enough attention and buying the wrong dongle, but live and learn.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    My D-Link DUB-E100 (HW Rev. C1) just arrived and works splendidly on both Mac and Windows.  RainMachine, however, continues to be stumped.

     

    I've followed the directions - D-Link wifi stub is still plugged in, and wifi is off on the device, I've tried multiple reboots, I've tried both USB ports, and even did multiple factory resets.

     

    Still no joy.  No lights illuminate on the Ethernet dongle (and yes I've checked the exact same cabling with my laptop - works great).

     

    Not sure what I could possibly be missing.

     

    Of note, I still get the cryptic "Power cycling the device needed (2 exceptions occurred)" error message while booting (on the" Loading RainMachine data..." screen) with the dongle plugged in - the same error does *not* appear with the dongle unplugged.

    Despite two factory resets deleting backups, the unit still comes on knowing my wifi password and with zone names intact (just location info and watering programs appear to be deleted) - is there a physical reset button somewhere (I held down the yellow reset button for 20 seconds through maybe four power cycles but that didn't seem to do any more) that would force it to lose *all* data so I can start from scratch?

     

    I appreciate all the help with this officially unsupported option.  Really, really hoping to get it to work.

     

    Thanks

    0
    Comment actions Permalink
  • Avatar
    lanbrown

    @Kjellhult

    This may not be the best answer for you.  Since they are out of stock of the HD Touch units, now might be a good time to put it n eBay but first get yourself the RainMachine Pro 16 (on sale now until the end of October) and you will get fully supported Ethernet.  Just a different option for you.  If anyone wanted to buy a HD Touch unit; everyone is out of stock except for one on eBay that has a price of $800.  Unless you really want the large display of the Touch, the Pro does everything and more.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Thanks, Ian.  It may come to that.  At this point, however, I'm on a Mission From God.  I kind of like a tech puzzle, and if I can get this one solved I'll sleep better.

     

    NIcholas - I have ssh working (my issue was that I needed to use " root@ " in front of the IP address).  Happy to give you any relevant portion of the dmesg output if that will help.

    It might be worth noting that I did find this bit in the output, so at least the Ethernet dongle is recognized, but still no lights illuminating, and just a flashing wrench once I turn off wifi and reboot (it never gets an IP address no matter how long I wait):

     

    <4>[    1.593219]  omap_i2c.2: alias fck already exists
    <6>[    1.608919] usb 2-1: New USB device found, idVendor=2001, idProduct=1a02
    <6>[    1.615947] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    <6>[    1.623415] usb 2-1: Product: DUB-E100
    <6>[    1.627329] usb 2-1: Manufacturer: D-Link          
    <6>[    1.632430] usb 2-1: SerialNumber: B1C51C
    <6>[    1.636697] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz

     

    Thanks again for the help; trying to avoid the easy way out after getting this far.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Nicholas -- just because you mentioned the dmesg output might help, I found this bit as well; this one references a driver, rather than just the hardware.  For this one, I swapped the USB devices so the Ethernet is on the left and wifi on the right (hence the change from usb 2-1 to usb 1-1):

     

    <6>[    2.119286] usbcore: registered new interface driver usb-storage
    <6>[    2.125574] USB Mass Storage support registered.
    <6>[    2.130513] usbcore: registered new interface driver usbserial
    <6>[    2.136660] USB Serial support registered for generic
    <6>[    2.141999] usb 1-1: New USB device found, idVendor=2001, idProduct=1a02
    <6>[    2.149006] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    <6>[    2.156477] usb 1-1: Product: DUB-E100
    <6>[    2.160392] usb 1-1: Manufacturer: D-Link          
    <6>[    2.165495] usb 1-1: SerialNumber: B1C51C
    <6>[    2.171586] usbcore: registered new interface driver usbserial_generic
    <6>[    2.178411] usbserial: USB Serial Driver core
    <6>[    2.183030] USB Serial support registered for GSM modem (1-port)
    <6>[    2.189511] usbcore: registered new interface driver option
    <6>[    2.195349] option: v0.7.2:USB Driver for GSM modems
    <6>[    2.200845] mousedev: PS/2 mouse device common for all mice
    <3>[    2.207223] ft5x0x_tp probing with client address 0x38

     

    Yet still nothing but a blinking wrench once I disable wifi and reboot...

     

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    According to this: https://elixir.bootlin.com/linux/v3.2/source/drivers/net/usb/asix.c#L1558 the DUB-E100 should be idProduct 1a00 not 1a02 so it probably won't load because of this mismatch.

    I compiled the driver with your product id added you can download it from here: https://support.rainmachine.com/hc/en-us/article_attachments/360012758353/asix.ko

    To replace it you need to copy this driver to RainMachine (scp -i <key> asix.ko root@<rainmachine ip>:/tmp) and replace the original driver with this new one using the ssh prompt ( cd /system/kmod; cp asix.ko asix.ko.orig; cp /tmp/asix.ko asix.ko)

     

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Nicholas

    Thank you very much for writing me my very own driver.  Regrettably, it didn't change the behavior.

     

    I copied over the new asix.ko driver successfully after backing up the old one.  I rebooted several times and even powered the unit down - still all I get is a blinking wrench after disabling wifi.

    I saved the copy procedure and the latest dmesg output after the new driver install to see if you can divine anything from it (and to confirm that I copied the file accurately).

    You can see the dmesg output here:

     

    https://www.dropbox.com/s/h079mmknlqjnpui/New%20asix.ko%20dmesg.txt?dl=0

     

    Thanks for all your help - I appreciate it very much.

    Kjell

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Strange indeed, what do you get when you type netcfg command ? If you run: netcfg eth1 dhcp  do you get any errors ?

     

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Nicholas

     

    Here's the output:

     

    Kjell-MBP:~ kjellhult$ ssh -i ~/.ssh/id_rsa root@192.168.3.96
    void endpwent()(3) is not implemented on Android
    root@rainmachine:/ # netcfg eth1 dhcp
    action 'dhcp' failed (No such device)
    1|root@rainmachine:/ #
    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    And just the netcfg command gives this:

     

    root@rainmachine:/ # netcfg
    lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
    sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
    eth0     DOWN                                   0.0.0.0/0   0x00001002 d0:ff:50:26:99:19
    wlan0    UP                               192.168.3.140/24  0x00001043 e8:de:27:18:2d:e2
    root@rainmachine:/ #
    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Yes it looks like driver doesn't recognize your adapter. Just to check run lsusb with adapter plugged and you should get at least:

    Bus 001 Device 001: ID 1d6b:0002
    Bus 002 Device 001: ID 1d6b:0002
    Bus 002 Device 002: ID 0bda:8179


    Another device with 2001:1a02 should appear which is the ethernet adapter. Unplug the adapter and do:

    echo 2001 1a02 > /sys/bus/usb/drivers/asix/new_id

    Plug the adapter back and run netcfg which should show eth1 if driver loaded for your adapter.

    Also if the lsusb shows something else than 2001:1a02 for your adapter replace that in the echo command above.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    eth1 was not added after changing the new_id file:

     

    Last login: Tue Sep 18 00:28:27 on console
    Kjell-MBP:~ kjellhult$ ssh -i ~/.ssh/id_rsa root@192.168.3.96
    void endpwent()(3) is not implemented on Android
    root@rainmachine:/ # lsusb
    Bus 001 Device 001: ID 1d6b:0002
    Bus 002 Device 001: ID 1d6b:0002
    Bus 002 Device 002: ID 0bda:8179
    Bus 001 Device 002: ID 2001:1a02
    root@rainmachine:/ # echo 2001 1a02 > /sys/bus/usb/drivers/asix/new_id
    root@rainmachine:/ # packet_write_wait: Connection to 192.168.3.96 port 22: Broken pipe
    Kjell-MBP:~ kjellhult$ ssh -i ~/.ssh/id_rsa root@192.168.3.96

    ^C
    Kjell-MBP:~ kjellhult$ ssh -i ~/.ssh/id_rsa root@192.168.3.96
    void endpwent()(3) is not implemented on Android
    root@rainmachine:/ # netcfg
    lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
    sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
    eth0     DOWN                                   0.0.0.0/0   0x00001002 d0:ff:50:26:99:19
    wlan0    UP                                192.168.3.96/24  0x00001043 e8:de:27:18:2d:e2
    root@rainmachine:


    Thanks again for all your support with this "unsupported" feature.

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Does your device reboots ? Device shouldn't reboot/restart after doing the echo command and plugging the adapter.

    0
    Comment actions Permalink
  • Avatar
    Kjellhult

    Sorry - you're right.  That broken pipe was me rebooting as I assumed the new driver id would need to be loaded at boot.  I'll try to follow your directions exactly as written.

     

    I'm at work now; I will re-try the 'echo' command when I get home.  This time I will run lsusb, unplug the Ethernet adapter, run the echo command, and re-plug in the adapter without reboot.

     

    Thanks

    Kjell

    0
    Comment actions Permalink
  • Avatar
    Kjellhult (Edited )

    It seems that there's no change in the the netcfg output even if I don't reboot - still no eth1 entry:

     

    Last login: Tue Sep 18 13:57:26 on console
    Kjell-MBP:~ kjellhult$ ssh -i ~/.ssh/id_rsa root@192.168.3.96
    void endpwent()(3) is not implemented on Android
    root@rainmachine:/ # lsusb
    Bus 001 Device 001: ID 1d6b:0002
    Bus 002 Device 001: ID 1d6b:0002
    Bus 002 Device 002: ID 0bda:8179
    Bus 001 Device 002: ID 2001:1a02
    root@rainmachine:/ # echo 2001 1a02 > /sys/bus/usb/drivers/asix/new_id
    root@rainmachine:/ # netcfg
    lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
    sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
    eth0 DOWN 0.0.0.0/0 0x00001002 d0:ff:50:26:99:19
    wlan0 UP 192.168.3.96/24 0x00001043 e8:de:27:18:2d:e2
    root@rainmachine:/ #

     

    (the lsusb command was run with the adapter plugged in; the echo command was run while the adapter was unplugged; and the netcfg output is after the adapter is plugged back in.)

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas (Edited )

    I'm out of ideas, I've put a new version of the driver with forced id and some logging: https://support.rainmachine.com/hc/en-us/article_attachments/360013043414/asix.ko

    If this still doesn't work maybe you can return and try a different adapter.

    0
    Comment actions Permalink

Please sign in to leave a comment.