Setup Network

From meteoplug
Revision as of 02:23, 18 December 2012 by Admin (Talk | contribs) (Confirm Changes)

Jump to: navigation, search

When you can reach meteobridge's web interface this is a proof that your network settings are fine. The meteobridge application code that presents the web interface is not stored in the non-volatile flash memory of the meteobridge, but gets downloaded from the Internet during boot. So without having the meteobridge connected to the Internet, this will not be there. However, once you have access to the web interface you can make changes to networking to prepare the unit to be operational in another network environment which may need different settings. To get you around the bootstrap problem (how to configure networking when you need networking already configured to be able to do changes in the configuration?) there is a meteobridge simulator in the Internet, which works as described here.

Page0.png

Type Of Connection

In this section you can specify whether meteobridge should use "LAN" or "wireless LAN". When you select "wireless LAN" you have to provide some more information.

  • SSID is the name of the wireless LAN provided by the access point or router. Unless you have configured your router in a way that it hides the SSID, you should see the WLANs meteobridge can login to in the "Known SSID" drop-down menu.
  • WLAN Region defines the geographical region your WLAN is located at. As frequencies and rules how to use these frequencies do change from region to region, it is important that you select the corect region to make sure your meteobridge operates within agreed RF regulations. Simply select the country code that fits best to your current location.
  • Encryption must reflect the type of encryption vaild for your WLAN. Meteobridge supports
    • none, no encryption at all, which is not recommended to use
    • WEP Open System, WEP Shared Key encryption methods from the past and easy to hack today (also not recommended to use)
    • WPA PSK, an encryption method not so easy to hack (but also no longer not recommended)
    • WPA2 PSK, an up-to-date encryption method, with good protection (recommended)
    • WPA/WPA2 mixed mode', which might make sense when you have WPA equipment in your WLAN not abble to run WPA2.
  • Mode defines specific 802.11 standard used in the WLAN. You can choose between
    • auto', let decide meteobridge itself
    • 802.11b, the oldest and slowest standard up to 10 Mbps
    • 802.11g, a faster standard up to 50 Mbps
    • 802.11g+n, todays standard up to 100 Mbps and above
  • Passphrase is the password that grants access to your WLAN. Please don't use passwords with special characters, as these might not be handled correctly by the web interface.

IP Addresses

You can chooese between two diffrent ways to provide the IP details for meteobrige. When you select DHCP all nedded data will be provided automatically from a DHCP server in the network. Meteobridge identifies itself as a DHCP client in the network and the DHCP server (mostly your router) does send all IP configuration data to it. If you don't select DHCP, you have to insert the following data manually:

  • IP is the IP address which is used in your local network to address meteobridge. As most home networks are using a class C network, you have to make sure that all devices in your network have IPs from the same class C network, or to say it less technical, that the first three numbers separated by dots are the same.
  • Netmask defines the size of the subnet. A class C subnet as usually used in home networks always has a netmask of "255.255.255.0".
  • Gateway defines the IP in your local network that acts as a connector to the Internet. Normally this will be the LAN IP of your router.
  • DNS is the name server that should be used to translate domain names into IPs. In some stuations your router also acts as a DNS forwarder and handles DNS requests in your local network. If so, the IP of your router is a suitable DNS IP. If not you should use a DNS IP of your ISP or you can use google DNS which has easy to remember IP "8.8.8.8".

When you use meteobridge in a non DHCP mode all these manual entries must be correct, otherwise you will not have Internet connection.

Proxy

Networks in larger companies or organizations might not provide direct Internet access, but have a proxy server that needs to be contacted in order to retrieve data from the internet. In such a situation, please select the meteobridge proxy checkbox. You can insert the IP of the proxy server (not the name, it must be the IP) and the port number, where the proxy service is provided at). When your proxy also needs some username/password authentification, then you are out of luck, as meteobridge can't handle that.

Confirm Changes

When you press "Save" all changes you did on this page are permanently stored, but not applied. When you press "Save and Apply and Reboot", changes are permanently stored and meteobridge does a reboot to apply changes completely. You have also an option to change into OpenWrt network configuration dialogs by pressing "Expert Mode", which are more advanced, but also much more complicated than settings you can do with meteobridge. This mode is only meant for users familar with Openwrt and with expert knowledge on networking. Once network settings are done it is recommended to press "Save and Apply and Reboot" as this will make you test, if network setup runs ok. Having done this you will proceed to setup the other parts of configuration.

General Remarks on Networking

Meteobridge has very low demands on what your network has to provide. Communication to the Internet is purely done via HTTP requests on port 80. This is exactly what you need to reach out for the Internet with your browser. A rule of thumb is, that in any network where you can browse the Internet, meteobridge should also be able to work properly. Some routers can be configured to block outgoing traffic on port 80. This firewall setting has to be released for the meteobridge LAN IP, otherwise meteobridge will not be able to connect to any weather network.