Difference between revisions of "OpenWRT: Setup OLSR di UBNT via CLI"

From OnnoWiki
Jump to navigation Jump to search
Line 138: Line 138:
 
  }
 
  }
 
   
 
   
  Interface "wlan0"
+
  Interface "wlan0"==Pranala Menarik==
 +
 
 +
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 +
* [[OpenWRT: Source Repository Download]]
 +
* [[OpenWRT: Melihat Daftar Package]]
 +
 
 +
===Build Firmware===
 +
 
 +
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[Buffalo]]
 +
* [[Buffalo: WZRHPG450H Cara Recovery]]
 +
* [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]]
 +
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''COOL'''
 +
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]]
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 
 +
===Flash Firmware===
 +
 
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]]
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]]
 +
* [[OpenWRT: Flash UBNT NanoStation M2]]
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
 
 +
===Misc===
 +
 
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 +
* [[OpenWRT: Mikrotik RB433]]
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
* [[UBNT]]
 +
 
 +
 
 +
 
 
  {
 
  {
 
     Mode "mesh"
 
     Mode "mesh"
 
  }
 
  }

Revision as of 10:33, 11 April 2013

Reset Password Root

Reset password root melalui telnet ke 192.168.1.1

telnet 192.168.1.1

Tampilan

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------


BusyBox v1.19.4 (2013-04-10 18:38:45 WIT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36235)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------

root@OpenWrt:/# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root

Konfigurasi Wireless

Konfigurasi wireless dan mengaktifkan sebagai adhoc pada channel 1.

vi /etc/config/wireless

Isinya kira-kira

config wifi-device  radio0
        option type     mac80211
        option channel  1
        option hwmode   11g
        txpower         15
        option path     'platform/ar231x-wmac.0'

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0

config wifi-iface
        option device   radio0
        option network  mesh
        option mode     adhoc
        option ssid     MESH
        option encryption none
        option bssid    02:CA:FF:EE:BA:BE


Konfigurasi IP address MESH

Set IP statik melalui perintah

vi /etc/config/network

Isi kira-kira

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0 

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0

config interface mesh
        option ifname   wlan0
        option type     bridge
        option proto    static
        option ipaddr   10.123.123.223 (SETIAP NODE HARUS menggunakan IP yang BEDA!!)
        option netmask  255.255.255.0

Set agar OLSR start waktu booting

Edit rc.local

vi /etc/rc.local

Isi

ifconfig wlan0 10.123.123.223 netmask 255.0.0.0
/etc/init.d/telnet stop
/etc/init.d/olsrd stop
olsrd -f /etc/olsrd.conf &

exit 0

Buat file /etc/olsrd.conf

Edit

vi /etc/olsrd.conf

Isi dengan

Hna4
{
}

Hna6
{
}

LoadPlugin "olsrd_nameservice.so.0.3"
{
}

LoadPlugin "olsrd_txtinfo.so.0.1"
{
   PlParam "accept" "0.0.0.0"
}

InterfaceDefaults
{
}

Interface "wlan0"==Pranala Menarik==

Build Firmware

Flash Firmware

Misc


{
   Mode "mesh"
}