Difference between pages "Setup Network" and "Getting Started"

From meteoplug
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
When you can reach meteobridge 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 make a Meteobridge of of TP-LINK routers TL-MR3020 or TL-WR703N, you simply habe to install an applicable Meteobridge firmware image. Flashing the firmware ware can be done with the firmware update functions the router's stock firmware does provide. By doing so you will void the TP-LINK warranty, but having the cheap price in mind you will certainly not face a substantial financial risk in the unlikely event that you brick the router.  
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 [http://meteobridge.com/wiki/index.php/Getting_Started#Cloud_Simulator_for_Network_Configuration here].
+
  
==Type Of Connection==
+
====Flashing Meteobridge Firmware to TL-MR3020====
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.
+
Please consult the TP-Link manual to understand how to get access with your browser to its web interface. What the manual will tell you is basically that you have to connect your PC/Laptop via ethernet cable, and log in to the router's web interface (IP is 192.168.0.254, login name is "admin", password: "admin").
* '''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 shuld see the WLANs meteobridge can login to in the "nown SSID" drop-down box.
+
When you have access to web interface of TL-MR3020, overwrite factory firmware like a regular firmware update by [http://www.meteohub.de/files/meteobridge-tl-mr3020-v10.bin meteobridge-tl-mr3020-v10.bin]. Wait until unit restarts. After that it will be a Meteobridge client in standard configuration receiving an IP from your router in the LAN.
* '''WLAN Region''' defines the geographical region your WLAN is located at. As frequencies and rules how to use these frequencies does change from region to region, it is important that you select the corect region here to make sure your meteobridge operates within RF regulations of your region. Simply select the country code that fits best to your current location.  
+
* '''Encryption''' must refelct 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 easy to hack today (also not recommended to use)
+
** ''WPA PSK'', an encryption method not so easy to hack (weakly recommended)
+
** ''WPA2 PSK'', an up-to-date encryption method, with good protection (recommended)
+
** ''WPA/WPA2 mixed mode''', which might make sense when you haven WPA equipment in your WLAN not abble to run WPA2.
+
* '''Mode''' defines the 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==
+
====Flashing Meteobridge Firmware to TL-WR703N====
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 dont select DHCP, you have to insert the following data manually:
+
As TL-WR703N does only come with a Chinese web interface, it might be a bit tricky to find the right menu item to initiate firmware update. First you have to login with your browser. To achieve that you have to connect your PC/Laptop via ethernet cable, and log in to the router's web interface (IP is 192.168.1.1, login name is "admin", password: "admin").  
*'''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 seperated by dots are the same.
+
When you have access to web interface of TL-WR703N, you select the item at the bottom of the left menu items, marked in light red on the picture below.
* '''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".
+
[[File:wr703n-p1.png]]
* '''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 nameserver 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 esy 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==
+
Next you choose sub menu item as marked in light red in the picture below and browse to target file by pressing light red marked file select dialog in the middle of the screen. Please use [http://www.meteohub.de/files/meteobridge-tl-wr703n-v10.bin meteobridge-tl-wr703n-v10.bin] to install Meteobridge firmware onto the device.
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, pelase select the meteobridge proxy swith. 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.  
+
[[File:wr703n-p2.png]]
  
==General Remarks on Networking==
+
Finally, a "are you sure" dialog will pop up, please press "yes" button and wait until progress bar has reached 100%. Unit will reboot automatically. After reboot it will be a Meteobridge in standard configuration receiving an IP from your router in the LAN.
Meteobridge has very low networking demands. 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.
+
 
 +
====First Login to Meteobridge====
 +
When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the largest LED has stopped. Do a short press on the the transparent push button on top of the large LED (TL-MR3020) or a short press of the reset button behind the pinhole at the back of the unit (TL-WR703N). Now LED will start signaling the IP.
 +
 
 +
Meteoplug will signal its IP by pulsing the lead beneath the pressed button (TL-MR3020) or the blue LED on the top of the device (TL-WR703N). Sequence begins with LED going off, then each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a "H" (LED shines bright). Each number is signaled by blinking digit per digit. Each digit is represented by a "M" (LED shines medium dimmed) repeated as often as the digit tells us. The zero digit is signaled by ten blinks. After having done this for all digits of all numbers of the IP, the end is signaled by LED staying off a while like it started with. When Sequenze is done, the LED is constantly turned on again.
 +
 
 +
Example: IP 192.168.10.77 Legend: M = LED medium dimmed, H = LED shines bright, _ = LED is dark
 +
 
 +
<pre>Signal:                                          Comment
 +
___M___M_M_M_M_M_M_M_M_M___M_M___H              192
 +
___M___M_M_M_M_M_M___M_M_M_M_M_M_M_M___H        168
 +
___M___M_M_M_M_M_M_M_M_M_M___H                  10
 +
___M_M_M_M_M_M_M___M_M_M_M_M_M_M___              77</pre>
 +
 
 +
If you don't like reading the blinks, you can also use an IP scanner (for example: [http://www.advanced-ip-scanner.com/ Advanced IP Scanner]) or you can look into the logs of your router that provides IPs via DHCP for clients in the LAN/WLAN.
 +
 
 +
====Cloud Simulator for Network Configuration====
 +
If Meteobridge client cannot connect to your LAN or your LAN does not provide a DHCP service, large LED will not leave fast-blinking mode. To get network settings fixed, you can define the correct network parameters in a simulator in the Internet, which works as follows.
 +
# Please browse to [http://config.meteobridge.com config.meteobridge.com]. There you will find a simulation of the Meteobridge web interface. Please select the "Setup Network" tab and configure settings as needed for your specific network situation.
 +
# When settings are done, please press "save" and change to "Download" tab which will cause your browser to start downloading a configuration file named "config.tgz".
 +
# Please store that file (as is, do not unpack) on a USB stick formatted as FAT and start the Meteobridge with the USB stick plugged into the USB port of Meteobridge. When network settings are right, Meteobridge will stop with slow and fast blinking and turn on the LED constantly.
 +
# You can now remove the USB stick, it is no longer needed.
 +
 
 +
==Configuration==
 +
When you have done the flashing of your meteobridge and initial network setup done, you can reach meteobridge for some final configuration with your browser by typing in its IP as URL. Following sections will tell you how to finalize the configuration so that your weather data gets uploaded to Weather Underground.
 +
 
 +
Your browser will show you meteobridge's web interface with 5 tabs. Please go through all these tabs and make the required settings. The page will show warnings for all still missing essentials until you have worked through all of this. It is just a few steps, which will be explained in the chapters below, page by page.

Revision as of 02:29, 16 December 2012

To make a Meteobridge of of TP-LINK routers TL-MR3020 or TL-WR703N, you simply habe to install an applicable Meteobridge firmware image. Flashing the firmware ware can be done with the firmware update functions the router's stock firmware does provide. By doing so you will void the TP-LINK warranty, but having the cheap price in mind you will certainly not face a substantial financial risk in the unlikely event that you brick the router.

Flashing Meteobridge Firmware to TL-MR3020

Please consult the TP-Link manual to understand how to get access with your browser to its web interface. What the manual will tell you is basically that you have to connect your PC/Laptop via ethernet cable, and log in to the router's web interface (IP is 192.168.0.254, login name is "admin", password: "admin"). When you have access to web interface of TL-MR3020, overwrite factory firmware like a regular firmware update by meteobridge-tl-mr3020-v10.bin. Wait until unit restarts. After that it will be a Meteobridge client in standard configuration receiving an IP from your router in the LAN.

Flashing Meteobridge Firmware to TL-WR703N

As TL-WR703N does only come with a Chinese web interface, it might be a bit tricky to find the right menu item to initiate firmware update. First you have to login with your browser. To achieve that you have to connect your PC/Laptop via ethernet cable, and log in to the router's web interface (IP is 192.168.1.1, login name is "admin", password: "admin"). When you have access to web interface of TL-WR703N, you select the item at the bottom of the left menu items, marked in light red on the picture below. Wr703n-p1.png

Next you choose sub menu item as marked in light red in the picture below and browse to target file by pressing light red marked file select dialog in the middle of the screen. Please use meteobridge-tl-wr703n-v10.bin to install Meteobridge firmware onto the device. Wr703n-p2.png

Finally, a "are you sure" dialog will pop up, please press "yes" button and wait until progress bar has reached 100%. Unit will reboot automatically. After reboot it will be a Meteobridge in standard configuration receiving an IP from your router in the LAN.

First Login to Meteobridge

When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the largest LED has stopped. Do a short press on the the transparent push button on top of the large LED (TL-MR3020) or a short press of the reset button behind the pinhole at the back of the unit (TL-WR703N). Now LED will start signaling the IP.

Meteoplug will signal its IP by pulsing the lead beneath the pressed button (TL-MR3020) or the blue LED on the top of the device (TL-WR703N). Sequence begins with LED going off, then each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a "H" (LED shines bright). Each number is signaled by blinking digit per digit. Each digit is represented by a "M" (LED shines medium dimmed) repeated as often as the digit tells us. The zero digit is signaled by ten blinks. After having done this for all digits of all numbers of the IP, the end is signaled by LED staying off a while like it started with. When Sequenze is done, the LED is constantly turned on again.

Example: IP 192.168.10.77 Legend: M = LED medium dimmed, H = LED shines bright, _ = LED is dark

Signal:                                          Comment
___M___M_M_M_M_M_M_M_M_M___M_M___H               192
___M___M_M_M_M_M_M___M_M_M_M_M_M_M_M___H         168
___M___M_M_M_M_M_M_M_M_M_M___H                   10
___M_M_M_M_M_M_M___M_M_M_M_M_M_M___              77

If you don't like reading the blinks, you can also use an IP scanner (for example: Advanced IP Scanner) or you can look into the logs of your router that provides IPs via DHCP for clients in the LAN/WLAN.

Cloud Simulator for Network Configuration

If Meteobridge client cannot connect to your LAN or your LAN does not provide a DHCP service, large LED will not leave fast-blinking mode. To get network settings fixed, you can define the correct network parameters in a simulator in the Internet, which works as follows.

  1. Please browse to config.meteobridge.com. There you will find a simulation of the Meteobridge web interface. Please select the "Setup Network" tab and configure settings as needed for your specific network situation.
  2. When settings are done, please press "save" and change to "Download" tab which will cause your browser to start downloading a configuration file named "config.tgz".
  3. Please store that file (as is, do not unpack) on a USB stick formatted as FAT and start the Meteobridge with the USB stick plugged into the USB port of Meteobridge. When network settings are right, Meteobridge will stop with slow and fast blinking and turn on the LED constantly.
  4. You can now remove the USB stick, it is no longer needed.

Configuration

When you have done the flashing of your meteobridge and initial network setup done, you can reach meteobridge for some final configuration with your browser by typing in its IP as URL. Following sections will tell you how to finalize the configuration so that your weather data gets uploaded to Weather Underground.

Your browser will show you meteobridge's web interface with 5 tabs. Please go through all these tabs and make the required settings. The page will show warnings for all still missing essentials until you have worked through all of this. It is just a few steps, which will be explained in the chapters below, page by page.