VirtualHere CloudHub set LAN IP Address

10 posts / 0 new
Last post
RDPi
VirtualHere CloudHub set LAN IP Address

I loaded Cloudhub onto a Raspberry PI. Wifi works fine but I want to plug it into a LAN with a static IP. How do I set the IP address?

Michael
.

That functionality is not there at the moment, i want to keep cloudhub simple for most users.

If you need to use a static ip you will have to ssh into the pi and configure accordingly..

RDPi
Cloudhub static IP needed

I am not familiar with what most users are doing with virtualhere, but what I imagine they would want to do, to use it as a USB extender, is they would plug a remote ethernet switch into a spare ethernet port on their PC and plug the raspberry pi with cloudhub and usb devices into that. Since there is no DHCP server in that link, it is necessary to set a static IP. I was hoping for at least a config file on the RPi. Please reconsider for those of us not well versed in linux and just looking for a simple way to set up remote usb.

Michael
.

The firmware is just plain lede with a special virtualhere binary, so you can use the normal lede commands e.g uci to set the network as required

Bakie
I am looking to do the same

I am looking to do the same as RDPi. This is my current way I use (its not straightforward to a Linux newbie):

  • Perform a clean install of the CloudHub on the Pi
  • Plug in via Ethernet and allow the Pi to assign an IP to my PC via DHCP (or use wifi)
  • SSH into Pi using Putty (or another client) using the default gateway IP. Username: root (there is no password)
  • Modify /etc/config/dhcp and add "option ignore '1'" under the eth section [to disable DHCP on the Pi]
  • Modify /etc/config/network to have the required IP + Netmask
  • Reboot pi and hope that you did not make a mistake
  • Assign a static ip to your PC under the same subnet and connect

There is an an easier way by putting the CloudHub into "part of an existing mode" and then just logging in and modifying /etc/config/network via SSH but without a GUI finding the IP the Pi was assigned can be difficult unless you have access to the network infrastructure.

In my opinion adding the option under the CloudHub Configuration screen to put it part of an existing network and connect via LAN using an IP + Subnet would make it easier.

Michael
.

OK i will make that change in the next version so you can set the static ip. I checked my orders and ive got quite a few so far for the cloudhub so others might find it useful also

Michael
.

OK this is now in the 3.3.9 of the firmware available here https://www.virtualhere.com/hardware

Bakie
Thanks!

Thanks Michael, this makes my life much easier, no more faffing around with SSH. Ordering 2 licences now :)

RDPi
Still cannot set IP on Raspberry Pi.

I downloaded the new version and set a Static IP, but cannot find it on my LAN.

I set a Static IP with the previous version of CloudHub using Paragon ExtFS in Windows and editing the RPI network file. What worked was:

config interface 'lan'
option proto 'static'

config interface 'eth'
option ifname 'eth0'
option ipaddr '192.168.0.30'
option netmask '255.255.255.0'
option proto 'static'

That is not what is in there now after using the new software. Unfortunately, for reasons I don't understand, Paragon ExtFS will now not allow me to edit a file to test this. Now I cannot even get the old version to work, because I cannot edit the network file! Can you confirm the latest version works on Raspberry Pi?

Michael
.

Sorry, i found the bug and its now fixed, can you download 3.3.9 again

Log in or register to post comments