Log in

fermenti.bo.ninux-1607 [r49403]

Name
1607
Network
fermenti.bo.ninux
Description
valsamoggia network
OpenWrt revision
r49403
Creation date
Feb. 17, 2017, 5:26 p.m.
Created by
kiki
Admins
kiki
compare with
Last cook with success for this profile was 2 years, 5 months ago.

SSH Keys

Packages

lime-full
-rdisc6
-reghack
-6relayd
-dnsmasq
-ppp
-ppp-mod-pppoe
-firewall
-odhcpd
-odhcp6c

Files

/etc/uci-defaults/93_dns-alias-for-anygw

#!/bin/sh

### Uncomment to create additional alias equivalent to thisnode.info
### (useful for adapting to local language)
#sed -i '\|^address=/anygw/|{p;s|^address=/anygw/|address=/tplinklogin.net/|}' /etc/dnsmasq.d/*
#sed -i '\|^address=/anygw/|{p;s|^address=/anygw/|address=/roteador.info/|}' /etc/dnsmasq.d/*

/etc/config/libremap

config libremap 'settings'
        list api_url 'http://libremap.net/api'
        option community '{{NETWORK_NAME}}'
	option community_lat '-3.1416FIXME'
	option community_lon '-3.1416FIXME'
        option fetch_by_name '1'

config plugin 'location'
        option enabled '1'
        option elev '0'
        option latitude 'FIXME'
        option longitude 'FIXME'

config plugin 'system'
        option enabled '1'

config plugin 'wireless'
        option enabled '1'

/etc/uci-defaults/95_add-sshkeys

#!/bin/sh

sshkeys="
{{SSH_KEYS}}
"
 
authkeys="/etc/dropbear/authorized_keys"
umask 077 ; mkdir -p $(dirname $authkeys) ; touch $authkeys
IFS="
"    
for key in $sshkeys ; do
  sed "\|^$key$|d" -i $authkeys
  echo   "$key"    >> $authkeys
done                           

/etc/config/lime-defaults

# Beware this file is NOT supposed to be edited by the end user, modify /etc/config/lime instead
# If the same option or list is defined both in /etc/config/lime and lime-defaults file, the former will prevail
# Beware this file is not supposed to store interface specific configuration, like "config net eth0"

# Read the documentation in /etc/config/lime.example file
# and on https://libremesh.org

config lime system
        option hostname 'LiMe-%M4%M5%M6'
        option domain 'lan'

config lime network
        option primary_interface eth0
        option main_ipv4_address '10.%N1.0.0/16'
        option main_ipv6_address '2a00:1508:0a%N1:%N200::/64'
        list protocols adhoc
        list protocols lan
        list protocols anygw
        list protocols batadv:%N1
        list protocols bmx6:13
        list protocols olsr:14
        list protocols olsr6:15
        list protocols olsr2:16
        list resolvers 4.2.2.2   # b.resolvers.Level3.net
        list resolvers 141.1.1.1 # cns1.cw.net
        list resolvers 2001:470:20::2 # ordns.he.net

config lime wifi
        option channel_2ghz '11'
        option channel_5ghz '48'
        option htmode_5ghz 'HT40'
        list modes 'ap'
        list modes 'apname'
        list modes 'adhoc'
        option ap_ssid '{{NETWORK_NAME}}'
        option apname_ssid '{{NETWORK_NAME}}/%H'
        option adhoc_ssid 'LiMe'
        option adhoc_bssid 'ca:fe:00:c0:ff:ee'
        option adhoc_mcast_rate_2ghz '24000'
        option adhoc_mcast_rate_5ghz '6000'
        option ieee80211s_mesh_fwding '0'
        option ieee80211s_mesh_id 'LiMe'

/etc/uci-defaults/95_reboot-daily

#!/bin/sh

### Uncomment to schedule a daily reboot at 6:00am
#mkdir -p /etc/crontabs ; touch /etc/crontabs/root
#sed "\| \* \* \* .*reboot$|d" -i /etc/crontabs/root
#echo "0 6 * * * sleep 70; touch /etc/banner; reboot" >> /etc/crontabs/root

/etc/uci-defaults/95_snmpd

#!/bin/sh

#location="$(uci -q get lime.system.location || uci -q get lime-defaults.system.location)"
#contact="$(uci -q get lime.system.contact || uci -q get lime-defaults.system.contact)"

#uci delete snmpd.@system[0].sysName
#uci set snmpd.@system[0].sysLocation="$location"
#uci set snmpd.@system[0].sysContact="$contact"
#uci set snmpd.@agent[0].agentaddress='UDP:161,UDP6:161'
#uci set snmpd.public6=com2sec6
#uci set snmpd.public6.secname=ro
#uci set snmpd.public6.source=default
#uci set snmpd.public6.community=public
#uci commit snmpd

/etc/uci-defaults/95_set-timezone

#!/bin/sh

### Uncomment to set the correct timezone of all nodes
### You can check out all the possible values at:
### http://wiki.openwrt.org/doc/uci/system#time_zones
#uci set system.@system[0].timezone="ART3"
#uci set system.@system[0].zonename="America/Argentina/Buenos Aires"
#uci commit system

/etc/chef_version

20160913_2312

/etc/uci-defaults/95_set-remote-syslog

#!/bin/sh

### Uncomment to send UDP syslog packets through network
#if ! uci -q get system.@system[0].log_ip > /dev/null ; then
#    uci set system.@system[0].log_ip="10.4.0.2"
#    uci commit system
#fi