TRADUÇAO PASSO A PASSO INSTALACAO FREIFUNK/ONDALIVRE

Documentação e acompanhamento do grupo de trabalho de redes Mesh

DOWNLOAD E INSTALACAO FIRMWARE BASE

  • hardware
rapida desc do hardware usado e as principais caracteristicas

  • distribuicao de firmware
pq do uso do frei funk e suas vantagens em relacao ao open wrt e o dd-wrt

  • ajustes
que tipo de detalhes foram importantes ???

CONFIGURAÇÃO

Vai ser mantido este passo a passo, se nao vamos utilizar o Batman?

passo a passo em: http://freifunk-texas.net/ffwalkthrough.html acessado em 20/05/2009

livre tradução executada por GT-MESH ASL

Sven-Ola e outros geeks responsaveis pelo freifunk conseguiram colocar juntos e de forma simples no firmware, o necessario para se ter uma rede mesh

Sven-Ola and the other creative geniuses behind freifunk have put together fairly simple to set up wireless mesh firmware. There are some basics you'll need to take care of first.

* Point your browser at 192.168.1.1. You should see the default freifunk page * Click on 'Admin'. You may or may not be asked for a username and password. The default username and password are: username=root password=admin * Click on 'Password'. Change the password.

Set up the Wireless.

* Click on Wireless. * Choose "WLAN protocol" = 'static' * Set the WLAN IP address. You can use something from the 192.*.*.* or 10.*.*.* range. Most default settings are 192.168.*.* so we recommend that you use a 10.*.*.* address. This is different for each router: WLAN IP = 10.0.6.1 o The next router would be 10.0.6.2 o and the next 10.0.6.3 etcetera.

These settings are the same for each router or things won't work at all!!: * WLAN netmask = 255.255.255.0 * WLAN mode = Ad Hoc * Essid = freifunk #or some other cool name you want the world to see. * BSSID = 02:CA:FF:EE:BA:BE #you could choose something else * Channel = 10 In the US channels 1-11 are legal. Most people use 6 followed by 1 and 11. We chose 10. Although it has some interference from channel 6 and is very close to channel 11 its central frequency isn't used much. * Card type = 802.11 b/g Most cards are of this type. * RX Antenna = Auto (Unless you know what you're doing. Antenna A is usually the left antenna as seen from the front.) * TX Antenna = auto (Unless you know what you're doing. Antenna A is usually the left antenna as seen from the front.) * Scroll to the bottom of the page and click 'apply'. * Now it's time to set up the LAN info.

Set up the LAN.

* Click on LAN * LAN protocol = static * LAN IP = 10.0.2.1 This is different for each router: The next router would be 10.0.2.2 and the next 10.0.2.3 etcetera. Notice that the WLAN IP is different than the LAN IP . They can be the same, but there are fewer problems if different. * The "DHCP start ID will be wrong. Don't worry about it. When you restart, it will be OK. * DHCP number of users = 100 (or what you think is appropriate. DHCP and NAT will be handled by the gateway router.) * Click 'Apply' * Now you will need to set up the WAN configuration.

Set up the WAN.

* WAN protocol = Query DHCP server * If you're behind another router / firewall then you might choose: o Permit SSH = X o Permit HTTP = X o Permit Ping =X * Either way you have to decide what you feel is best. Enabling will help with debugging. * Click 'Apply' * Now you will have to restart your router.

Restart the router

* Click on restart. * Choose 'Normal Restart." * Click on 'Restart.' * You will see a progress bar. When the progress bar is finished you may go to the LAN IP address you specified. * You might need to get a new shcp lease. * Point your browser at the the LAN IP address you specified earlier. Possibly:

    1. 0.2.1 * Now you will need to get some basic packages.

Get Software 1.

* Make sure you are connected to the internet. o The cable coming from the 'internet' (cable modem/ gateway router/ etc) should be plugged into the port in back on the far right labelled 'internet.' o In your browser, in another tab, see if you can connect to a website. * Go to the 'freifunk' page of your router:

    1. 0.2.1 * Click on 'Admin' * Log in, if necessary. * Click on 'Software 1'. * Click on 'freifunk-recommended-en' * Click on 'Upload Software' * Wait 5-10 minutes o You can wiggle your mouse over the page to show progress. o Wait until nothing is happening. (This may take a while.)

Restart the router

* Click on restart. * Choose 'Normal Restart." * Click on 'Restart.' * You will see a progress bar. When the progress bar is finished you may go to the LAN IP address you specified. * You might need to get a new shcp lease. * Point your browser at the the LAN IP address you specified earlier. Possibly:

    1. 0.2.1 * Now you will need to get some additional packages.

freifunk should be working now. freifunk-texas recommends that you install B.A.T.M.A.N. (better approach to mobile ad-hoc networking). Install B.A.T.M.A.N.

* Point your browser to your router. For example:

    1. 0.2.1 * Click on 'Admin' * Log in, if neccessary. * Click on 'Software 2' * Scroll down to packages to be installed. * find libpthread * Click on 'install' next to libpthread * Wait until things are done. You'll know they're done when you can wiggle your mouse and you see the grey screen showing downloaded packages and 'Done.' * Click on 'Software 2' * Scroll down to packages to be installed. * find kmod-tun * Click on 'install' next to kmod-tun * Wait until things are done. You'll know they're done when you can wiggle your mouse and you see the grey screen showing downloaded packages and 'Done.' * Now you'll want to get the B.A.T.M.A.N. package. Do not use the B.A.T.M.A.N. package provided by freifunk. It is old and deprectaed and does not have the functionality of the supported 0.3 version. (It does have a pretty web interface though....) * Get the current B.A.T.M.A.N. package. * Click on 'Software 1'. * Click on the icon to browse your desktop. * Select the batmand_0.3-current_mipsel-wr-elf-32-lsb-dynamic.ipk package you downloaded. * Choose 'install automatically'. * Click on 'Upload Software'. * Wait until things are done. You'll know they're done when you can wiggle your mouse and you see the grey screen showing downloaded packages and 'Done.' * Now, you will need to start B.A.T.M.A.N. manually.

Starting B.A.T.M.A.N. manually.

* You will need to use 'ssh'. For Non-Linux or OSX users you will probably want to use 'Putty' or another ssh program. * ssh root@10.0.2.1 #or whatever LAN IP you chose. * Now, if you have 3 routers : o ssh root@10.0.6.3 #or whatever theWLAN IP is from the last router you set up. o batmand eth1 Your connection may freeze at this point. If so don't worry yet. If your connection is frozen press 'Enter' and then '~' and then '.' You should now be back at the command prompt of your #1 router. * * ssh root@10.0.2.1 #or whatever LAN IP you chose * If you have 3 routers : o ssh root@10.0.6.2 #or whatever theWLAN IP is from your second to last router. o batmand eth1 Your connection may freeze at this point. If so don't worry yet. If your connection is frozen press 'Enter' and then '~' and then '.' You should now be back at the command prompt of your #1 router. * Now for your Gateway router. Any router that you have connected to the internet is a Gateway router (if you want to share its internet connection. * You should be at the prompt for your Gateway router. * Type: batmand -g 5mbit eth1 vlan1 * Now, B.A.T.M.A.N. should be running. To test this, type: batmand -c -d 1 This should show that B.A.T.M.A.N. is running.

Hopefully, everything is working now. To reach the other routers you will have to use their WLAN IP addresses: 10.0.6.3, 10.0.6.2, etc. To understand the basics of B.A.T.M.A.N. please read the B.A.T.M.A.N. how-to and get help by typing batmand -H at the command line. Good Luck!

-- RodrigoTroian - 05 Jun 2009

Topic revision: r1 - 05 Jun 2009 - 15:45:07 - RodrigoTroian

  • Start Page
  • How to See?
  • How to Replicate?
  • Announce the Free Software TV?




Create personal sidebar

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki-SL? Send feedback