Battlemesh logo
  • Comments
  • Edit
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
    • Edit SideBar
  • Login

Navigation

  • RecentChanges
  • FindPage
  • PastEvents
  • ContactUs
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
tën plüs 10 minüs two?

  • BattleMeshV3
  • NodeConfigScript
  • BMX

BattleMeshV3/NodeConfigScript/BMX hier beschreiben...

cd /tmp

rm bmx*_atheros.ipk

wget ftp://10.10.0.1/../BattleMesh2010/Images/bmx-uci-config_r1683-1_atheros.ipk
wget ftp://10.10.0.1/../BattleMesh2010/Images/bmx_r1683-1_atheros.ipk

opkg install bmx*_atheros.ipk


# setting wireless config
#

uci set network.wlan=interface
uci set network.wlan.proto=static
uci set network.wlan.ipaddr=$WIRELESS_IP
uci set network.wlan.netmask=255.255.255.0
uci commit wireless && wifi
uci commit network

#[edit] Configure the daemon
#
[ -f /etc/config/bmx ] && rm /etc/config/bmx

touch /etc/config/bmx

uci add bmx general

uci add bmx plugin
uci set bmx.@plugin[0]=plugin
uci set bmx.@plugin[0].plugin=bmx_uci_config.so


uci add bmx dev
uci set bmx.@dev[0]=dev
uci set bmx.@dev[0].dev=ath0:5

uci commit bmx


#[edit] Enable the daemon
[ -f /etc/init.d/bmx ] && {
  /etc/init.d/bmx enable
  /etc/init.d/bmx start
} || {
  echo "ERROR: bmx init script not found..."
  exit 1
}

#[edit] Disable the daemon
#
#[ -f /etc/init.d/bmx ] && {
#  /etc/init.d/bmx stop
#  /etc/init.d/bmx disable
#}


reboot 
exit
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01