background image

SECN User Guide

4. Flash the MP

Refer to the general instructions in 

Upgrading Mesh Potato Firmware HowTo

 on the Village Telco 

Wiki. Following is a brief description of the flashing process.

Connect the MP directly to your PC with an Ethernet cable with the MP power 

off

 

Execute potato-flash: 

$ sudo potato-flash eth0 openwrt-atheros-root-rv278.squashfs  openwrt-atheros-vmlinux-
rv278.lzma

 

Wait for the program to start looking for the MP device - a series of dots will appear on the 
screen. 

Switch the power 

on

 to the MP. 

Wait for the flashing process to complete and for the MP to fully restart. 

This will take several minutes.

 This is a good time to have a coffee.

Wait for three minutes after the MP WiFi led starts to flash to ensure that flash is complete.

Sample MP Flash Session

$ sudo potato-flash eth0 openwrt-atheros-root-rv238.squashfs  openwrt-atheros-vmlinux-
rv238.lzma

 

Reading rootfs file openwrt-atheros-root-rv238.squashfs with 3801088 bytes ... 
Reading kernel file openwrt-atheros-vmlinux-rv238.lzma with 720896 bytes ... 
Note: The device has to be connected directly (not via switch/hub) 
Device detection in progress.......................................................... 

<<< Turn the power to the MP device ON at this point >>>

….....................device detection: non-arp packet received.. 
Peer MAC: 00:09:45:58:1c:e7 
Peer IP : 192.168.1.184 
Your MAC: 00:ba:be:ca:ff:ee 
Your IP : 192.168.1.0 
Connecting to Redboot bootloader 
WARNING: UNPLUGGING POWER WHILE FLASHING MIGHT DAMAGE THE 
BOOTLOADER 
HOWEVER: IF YOU SEE NOTHING SHOWING UP BENEATH THIS LINE 
FOR MORE THAN A MINUTE, START AGAIN... 
A flash size of 8 MB was detected. 
rootfs(0x006a0000) + kernel(0x00100000) + nvram(0x00000000) sums up to 0x007a0000 bytes 
Setting IP address... 
Initializing partitions... 
Now uploading kernel... 
Sending kernel, 1408 blocks... 
Flashing kernel... 
Loading rootfs... 
Sending rootfs, 7424 blocks... 
Flashing rootfs... 
Flashing process completed... 
Restarting device...

SECN_UserGuideV1d6b

9

Summary of Contents for Mesh Potato

Page 1: ...SECN User Guide Mesh Potato Small Enterprise Campus Network User Guide SECN_UserGuideV1d6b 1...

Page 2: ...een possible without the contributions of many people associated with Village Telco In particular I would like to acknowledge the considerable contributions made by Elektra both in providing technical...

Page 3: ...up 10 Set the root Password 11 Set the br lan Bridge IP Address 12 Set the ath0 IP Address 13 4 4 Advanced Set up 14 Connecting to the MP 14 Set the MP Network Addresses 14 Set the ath0 IP Address 14...

Page 4: ...use of the data network as long as the pass phrase key is kept confidential If one or more of the MP devices is connected via its ethernet port to a LAN with a router DHCP server and internet access a...

Page 5: ...s after the wifi light starts to flash pick up the phone on the 21 MP check for dial tone and dial 22 The other phone should start to ring after a few seconds Repeat the other way around Step 4 Attach...

Page 6: ...etwork either by Ethernet cable or WiFi it will acquire an IP address from the router in exactly the same manner as if it was connected directly to the router The router address space must be managed...

Page 7: ...on assigned a static address in the same range as the MP devices and attached via Ethernet cable or WiFi to any MP device in the network When a workstation is attached to the network either by Etherne...

Page 8: ...g Ubuntu or other Linux distribution on your PC 1 Set up the potato flash application on your PC Download the potato flash file from http elektrad info download MESH POTATO potato flash Save the file...

Page 9: ...rv238 squashfs openwrt atheros vmlinux rv238 lzma Reading rootfs file openwrt atheros root rv238 squashfs with 3801088 bytes Reading kernel file openwrt atheros vmlinux rv238 lzma with 720896 bytes No...

Page 10: ...ntending to connect the mesh to a LAN you may choose to assign addresses from the LAN address space to the MP devices so that they will appear as static IP devices on the LAN In this case just set the...

Page 11: ...your PC to the MP device with an Ethernet cable Set up a network profile for the Ethernet port on your PC with Static IP 172 31 255 253 and Netmask 255 255 255 252 Point your browser to the MP Fallba...

Page 12: ...n click on the Save Apply button at the lower right of the page Once the password as been set and the change committed future logins will require the password to be entered In addition telnet connecti...

Page 13: ...of the MP device s bridge IP address If you are intending to connect the mesh to a LAN you may choose to assign addresses from the LAN address space to the MP devices so that they will appear as stat...

Page 14: ...vides a known fallback address that will work on any device The default setting for this IP address when the device is flashed is 10 10 1 20 and you may choose to change just the last octet of the add...

Page 15: ...ci set network br lan ipaddr 103 130 1 XXX Where xxx is unique to each MP uci commit network Edit the etc config network file config interface lan option type bridge option ifname eth0 bat0 ath1 optio...

Page 16: ...c hostapd conf file interface ath1 bridge br lan driver madwifi Edit BSSID as required ssid Mesh Potato AP country_code DE hw_mode g wpa 1 wpa_passphrase potato potato wpa_key_mgmt WPA PSK macaddr_acl...

Page 17: ...mysecret mysipprovider com b Add a new sipaccount section to define the account details sipaccount host sip mysipprovider com secret mysecret username myusername fromuser myusername insecure port invi...

Page 18: ...ter then all WiFi and Ethernet interfaces connected to the meshed MPs will have access to the LAN resources If there is a DHCP server running on the LAN eg in the router then devices configured as DHC...

Page 19: ...t interface for the batman advanced mesh Batman adv itself bridges all bat0 interfaces in all the mesh devices to a big smart virtual switch This means that all bat0 interfaces in the mesh are link lo...

Page 20: ...onfiguration includes several telephone extension numbers that allow interaction with the device using Interactive Voice Response IVR system These numbers include 2663 C O N F Configure the eth0 br la...

Page 21: ...SECN User Guide SECN_UserGuideV1d6b 21...

Reviews: