When your ebox/fit-PC/ALIX don't get an IP...

and other offical x86 platforms like e-boxes and fitPC

Moderator: Mattk

Post Reply
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

When your ebox/fit-PC/ALIX don't get an IP...

Post by admin »

The installer image of Meteohub assumes that there is an DHCP server in the LAN when booting the unit, that will provide the necessary network settings. If no DHCP server there (most routers act as DHCP servers, so most LAN will have one), then Meteohub fails to setup it's networking interface.

In these situations you can manually assign an IP address by these steps:

1) login as user "root", password "meteohub".

2) give command (this example sets IP to 192.168.1.77):

Code: Select all

echo -e "auto eth0\\niface eth0 inet static\\n\\taddress 192.168.1.77\\n\\tnetmask 255.255.255.0" >/etc/network/interfaces
3) give command:

Code: Select all

ifdown eth0; ifup eth0
After that meteohub will be reachable in your LAN at the given IP.
Please use settings page of Meteohub to fully setup networking, later on.
paolo_ver
Junior Boarder
Junior Boarder
Posts: 34
Joined: Sun Nov 23, 2008 9:27 pm

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by paolo_ver »

Hello,
I have this problem:
I didn't reach the web-page of meteohub...i thought that the problem was a wrong ip setting so I've made the procedure that you explained before... now each times that pc reboot (alix 1d) the setting ip addressed is 192.168.1.77 but if i try to go at that address with the browser a window pop-up ask me for a user/password....but root/meteohub doesnt' seems to work...what kind of problem may I have ???:S

I have an alix1d without wlan (i use rj45 plug to connect my router) and meteohub version 3.2 unregistered. During the booting time the screen show me "* NOT STARTING INTERNET SUPERSERVER: NO SERVICES ENABLED" is that a symptom that something is going wrong ????
I have a DHCP router that works with 192.168.0.nnn address but meteohub works with 192.168.1.nnn address is this uncompatible ?
I've tryed 192.168.0.77 as ip address but doesnt'work...:S
Thank you in advance if you can help me!
Paolo D.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by admin »

ssh login: user "root", password "meteohub"
http login: user "meteohub", password "meteohub"
paolo_ver
Junior Boarder
Junior Boarder
Posts: 34
Joined: Sun Nov 23, 2008 9:27 pm

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by paolo_ver »

Thank you or the speedy response!!!!!! It's ok now!!! :cheer:
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by skyewright »

admin wrote:The installer image of Meteohub assumes that there is an DHCP server in the LAN when booting the unit, that will provide the necessary network settings. If no DHCP server there (most routers act as DHCP servers, so most LAN will have one), then Meteohub fails to setup it's networking interface.
My network has a DHCP server (gateway 192.168.0.254)- but Meteohub on an ALIX 1D didn't spot it, instead allocating a static IP of 192.168.123.162.

The very first time I booted the ALIX after removing the USB stick with the img file I'd forgotten to plug in the network cable - could that be relevant?
Since then (and before remembering this topic) I've rebooted several times, and even reinstalled, but it never seems to see the DHCP.

By changing one of the other computers to 192.168.123.100 I was able to access the http interface on the ALIX 1D Meteohub, but when I tried to use that to change the IP to 192.168.0.78 and Gateway & DNS to 192.168.0.254, then Saved, when the page was redrawn IP and Gateway (but not DNS) had reverted to 192.168.123.162 and 102.168.123.1

Should I need to use the echo -e stuff before I can use the http interface to make such changes?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by admin »

if you can reach the Meteohub web interface, just make the static settings you want and press "save". don't care what the result is. After reboot your settings should be active.
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:When your ebox/fit-PC/ALIX don't get an IP...

Post by skyewright »

admin wrote:if you can reach the Meteohub web interface, just make the static settings you want and press "save". don't care what the result is. After reboot your settings should be active.
Confirmed. That worked just fine. Thank you.

Now to soak test the ALIX for a few days using a TCP/IP connection to Slug's RFXCOM... :cheer:

PS. UK Supplier for the ALIX 1D linitx.com.
Post Reply