Page 1 of 1
When your ebox/fit-PC/ALIX don't get an IP...
Posted: Mon Dec 01, 2008 1:21 am
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:
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.
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Fri Dec 12, 2008 11:48 pm
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.
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Fri Dec 12, 2008 11:54 pm
by admin
ssh login: user "root", password "meteohub"
http login: user "meteohub", password "meteohub"
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Sat Dec 13, 2008 12:00 am
by paolo_ver
Thank you or the speedy response!!!!!! It's ok now!!! :cheer:
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Sat Dec 13, 2008 12:26 am
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?
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Sat Dec 13, 2008 12:33 am
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.
Re:When your ebox/fit-PC/ALIX don't get an IP...
Posted: Sat Dec 13, 2008 12:55 am
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.