Site Tools


hardware:perenio:peacg01

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:perenio:peacg01 [2022/02/06 02:50]
– [Hardware] root
hardware:perenio:peacg01 [2022/03/02 23:01] (current)
– [Download] root
Line 858: Line 858:
 </code> </code>
 </details> </details>
 +
 +
 +<details>
 +<summary>uci show</summary>
 +<code>bird4.bird=bird
 +bird4.bird.use_UCI_config='1'
 +bird4.bird.UCI_config_file='/tmp/bird4.conf'
 +bird4.global=global
 +bird4.global.log_file='/tmp/bird4.log'
 +bird4.global.log='all'
 +bird4.global.debug='off'
 +bird4.global.router_id='172.16.1.6'
 +bird4.@table[0]=table
 +bird4.@table[0].name='aux'
 +bird4.kernel1=kernel
 +bird4.kernel1.table='aux'
 +bird4.kernel1.import='all'
 +bird4.kernel1.export='all'
 +bird4.kernel1.kernel_table='100'
 +bird4.kernel1.scan_time='10'
 +bird4.kernel1.learn='1'
 +bird4.kernel1.persist='0'
 +bird4.kernel1.disabled='0'
 +bird4.device1=device
 +bird4.device1.scan_time='10'
 +bird4.device1.disabled='0'
 +bird4.static1=static
 +bird4.static1.table='aux'
 +bird4.static1.disabled='0'
 +bird4.bgp1=bgp
 +bird4.bgp1.template='bgp_common'
 +bird4.bgp1.description='Description of the BGP instance'
 +bird4.bgp1.neighbor_address='172.16.1.5'
 +bird4.bgp1.neighbor_as='65530'
 +bird4.bgp1.source_address='172.16.1.6'
 +bird4.bgp1.next_hop_self='0'
 +bird4.bgp1.next_hop_keep='0'
 +bird4.bgp1.rr_client='1'
 +bird4.bgp1.rr_cluster_id='172.16.1.6'
 +bird4.bgp_common=bgp_template
 +bird4.bgp_common.table='aux'
 +bird4.bgp_common.import='all'
 +bird4.bgp_common.export='all'
 +bird4.bgp_common.local_address='172.16.1.6'
 +bird4.bgp_common.local_as='65001'
 +bird4.bgp_common.import_limit='100'
 +bird4.bgp_common.import_limit_action='warn'
 +bird4.bgp_common.export_limit='100'
 +bird4.bgp_common.export_limit_action='warn'
 +bird4.bgp_common.receive_limit='100'
 +bird4.bgp_common.receive_limit_action='warn'
 +bird4.bgp_common.disabled='0'
 +bird4.@route[0]=route
 +bird4.@route[0].instance='static1'
 +bird4.@route[0].type='router'
 +bird4.@route[0].prefix='192.168.9.0/24'
 +bird4.@route[0].via='10.99.105.159'
 +dhcp.@dnsmasq[0]=dnsmasq
 +dhcp.@dnsmasq[0].domainneeded='1'
 +dhcp.@dnsmasq[0].boguspriv='1'
 +dhcp.@dnsmasq[0].filterwin2k='0'
 +dhcp.@dnsmasq[0].localise_queries='1'
 +dhcp.@dnsmasq[0].local='/lan/'
 +dhcp.@dnsmasq[0].domain='lan'
 +dhcp.@dnsmasq[0].expandhosts='1'
 +dhcp.@dnsmasq[0].nonegcache='0'
 +dhcp.@dnsmasq[0].authoritative='1'
 +dhcp.@dnsmasq[0].readethers='1'
 +dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
 +dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
 +dhcp.lan=dhcp
 +dhcp.lan.interface='lan'
 +dhcp.lan.start='100'
 +dhcp.lan.limit='150'
 +dhcp.lan.leasetime='12h'
 +dhcp.lan.dhcpv6='server'
 +dhcp.lan.ra='server'
 +dhcp.wan=dhcp
 +dhcp.wan.interface='wan'
 +dhcp.wan.ignore='1'
 +dhcp.odhcpd=odhcpd
 +dhcp.odhcpd.maindhcp='0'
 +dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
 +dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
 +dhcp.ap=dhcp
 +dhcp.ap.interface='ap'
 +dhcp.ap.start='100'
 +dhcp.ap.limit='150'
 +dhcp.ap.leasetime='12h'
 +dhcp.ap.dhcpv6='server'
 +dhcp.ap.ra='server'
 +dropbear.@dropbear[0]=dropbear
 +dropbear.@dropbear[0].PasswordAuth='on'
 +dropbear.@dropbear[0].RootPasswordAuth='on'
 +dropbear.@dropbear[0].Port='22'
 +firewall.@defaults[0]=defaults
 +firewall.@defaults[0].syn_flood='1'
 +firewall.@defaults[0].input='ACCEPT'
 +firewall.@defaults[0].output='ACCEPT'
 +firewall.@defaults[0].forward='REJECT'
 +firewall.@defaults[0].disabled='0'
 +firewall.@zone[0]=zone
 +firewall.@zone[0].name='lan'
 +firewall.@zone[0].network='lan'
 +firewall.@zone[0].input='ACCEPT'
 +firewall.@zone[0].output='ACCEPT'
 +firewall.@zone[0].forward='ACCEPT'
 +firewall.@zone[1]=zone
 +firewall.@zone[1].name='wan'
 +firewall.@zone[1].network='wan' 'wan6'
 +firewall.@zone[1].input='REJECT'
 +firewall.@zone[1].output='ACCEPT'
 +firewall.@zone[1].forward='REJECT'
 +firewall.@zone[1].masq='1'
 +firewall.@zone[1].mtu_fix='1'
 +firewall.@forwarding[0]=forwarding
 +firewall.@forwarding[0].src='lan'
 +firewall.@forwarding[0].dest='wan'
 +firewall.@rule[0]=rule
 +firewall.@rule[0].name='Allow-DHCP-Renew'
 +firewall.@rule[0].src='wan'
 +firewall.@rule[0].proto='udp'
 +firewall.@rule[0].dest_port='68'
 +firewall.@rule[0].target='ACCEPT'
 +firewall.@rule[0].family='ipv4'
 +firewall.@rule[1]=rule
 +firewall.@rule[1].name='Allow-Ping'
 +firewall.@rule[1].src='wan'
 +firewall.@rule[1].proto='icmp'
 +firewall.@rule[1].icmp_type='echo-request'
 +firewall.@rule[1].family='ipv4'
 +firewall.@rule[1].target='ACCEPT'
 +firewall.@rule[2]=rule
 +firewall.@rule[2].name='Allow-IGMP'
 +firewall.@rule[2].src='wan'
 +firewall.@rule[2].proto='igmp'
 +firewall.@rule[2].family='ipv4'
 +firewall.@rule[2].target='ACCEPT'
 +firewall.@rule[3]=rule
 +firewall.@rule[3].name='Allow-DHCPv6'
 +firewall.@rule[3].src='wan'
 +firewall.@rule[3].proto='udp'
 +firewall.@rule[3].src_ip='fe80::/10'
 +firewall.@rule[3].src_port='547'
 +firewall.@rule[3].dest_ip='fe80::/10'
 +firewall.@rule[3].dest_port='546'
 +firewall.@rule[3].family='ipv6'
 +firewall.@rule[3].target='ACCEPT'
 +firewall.@rule[4]=rule
 +firewall.@rule[4].name='Allow-MLD'
 +firewall.@rule[4].src='wan'
 +firewall.@rule[4].proto='icmp'
 +firewall.@rule[4].src_ip='fe80::/10'
 +firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
 +firewall.@rule[4].family='ipv6'
 +firewall.@rule[4].target='ACCEPT'
 +firewall.@rule[5]=rule
 +firewall.@rule[5].name='Allow-ICMPv6-Input'
 +firewall.@rule[5].src='wan'
 +firewall.@rule[5].proto='icmp'
 +firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
 +firewall.@rule[5].limit='1000/sec'
 +firewall.@rule[5].family='ipv6'
 +firewall.@rule[5].target='ACCEPT'
 +firewall.@rule[6]=rule
 +firewall.@rule[6].name='Allow-ICMPv6-Forward'
 +firewall.@rule[6].src='wan'
 +firewall.@rule[6].dest='*'
 +firewall.@rule[6].proto='icmp'
 +firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
 +firewall.@rule[6].limit='1000/sec'
 +firewall.@rule[6].family='ipv6'
 +firewall.@rule[6].target='ACCEPT'
 +firewall.@include[0]=include
 +firewall.@include[0].path='/etc/firewall.user'
 +firewall.@rule[7]=rule
 +firewall.@rule[7].src='wan'
 +firewall.@rule[7].dest='lan'
 +firewall.@rule[7].proto='esp'
 +firewall.@rule[7].target='ACCEPT'
 +firewall.@rule[8]=rule
 +firewall.@rule[8].src='wan'
 +firewall.@rule[8].dest='lan'
 +firewall.@rule[8].dest_port='500'
 +firewall.@rule[8].proto='udp'
 +firewall.@rule[8].target='ACCEPT'
 +firewall.miniupnpd=include
 +firewall.miniupnpd.type='script'
 +firewall.miniupnpd.path='/usr/share/miniupnpd/firewall.include'
 +firewall.miniupnpd.family='any'
 +firewall.miniupnpd.reload='1'
 +fstab.@global[0]=global
 +fstab.@global[0].anon_swap='0'
 +fstab.@global[0].anon_mount='0'
 +fstab.@global[0].auto_swap='1'
 +fstab.@global[0].auto_mount='1'
 +fstab.@global[0].delay_root='5'
 +fstab.@global[0].check_fs='0'
 +network.loopback=interface
 +network.loopback.ifname='lo'
 +network.loopback.proto='static'
 +network.loopback.ipaddr='127.0.0.1'
 +network.loopback.netmask='255.0.0.0'
 +network.globals=globals
 +network.globals.ula_prefix='fde8:b21d:ea1a::/48'
 +network.lan=interface
 +network.lan.force_link='1'
 +network.lan.type='bridge'
 +network.lan.proto='static'
 +network.lan.ipaddr='192.168.1.2'
 +network.lan.netmask='255.255.255.0'
 +network.lan.gateway='192.168.1.2'
 +network.lan._orig_ifname='eth0'
 +network.lan._orig_bridge='true'
 +network.lan.metric='60'
 +network.lan.ifname='eth1'
 +network.wan=interface
 +network.wan.proto='dhcp'
 +network.wan.metric='20'
 +network.wan.ifname='eth0'
 +network.wan6=interface
 +network.wan6.proto='dhcpv6'
 +network.wan6.ifname='eth0'
 +network.@switch[0]=switch
 +network.@switch[0].name='switch0'
 +network.@switch[0].reset='1'
 +network.@switch[0].enable_vlan='1'
 +network.@switch_vlan[0]=switch_vlan
 +network.@switch_vlan[0].device='switch0'
 +network.@switch_vlan[0].vlan='1'
 +network.@switch_vlan[0].ports='0 1 2 3 4'
 +network.ap=interface
 +network.ap.proto='static'
 +network.ap.ipaddr='10.0.0.1'
 +network.ap.netmask='255.255.255.0'
 +network.sta=interface
 +network.sta.metric='40'
 +network.sta.proto='dhcp'
 +ntpclient.@ntpserver[0]=ntpserver
 +ntpclient.@ntpserver[0].hostname='0.openwrt.pool.ntp.org'
 +ntpclient.@ntpserver[0].port='123'
 +ntpclient.@ntpserver[1]=ntpserver
 +ntpclient.@ntpserver[1].hostname='1.openwrt.pool.ntp.org'
 +ntpclient.@ntpserver[1].port='123'
 +ntpclient.@ntpserver[2]=ntpserver
 +ntpclient.@ntpserver[2].hostname='2.openwrt.pool.ntp.org'
 +ntpclient.@ntpserver[2].port='123'
 +ntpclient.@ntpserver[3]=ntpserver
 +ntpclient.@ntpserver[3].hostname='3.openwrt.pool.ntp.org'
 +ntpclient.@ntpserver[3].port='123'
 +ntpclient.@ntpdrift[0]=ntpdrift
 +ntpclient.@ntpdrift[0].freq='0'
 +ntpclient.@ntpclient[0]=ntpclient
 +ntpclient.@ntpclient[0].interval='600'
 +pppoe.relay=pppoe_relay
 +pppoe.relay.enable='0'
 +pppoe.relay.client='lan'
 +pppoe.relay.server='wan'
 +qos.wan=interface
 +qos.wan.classgroup='Default'
 +qos.wan.enabled='0'
 +qos.wan.upload='128'
 +qos.wan.download='1024'
 +qos.@classify[0]=classify
 +qos.@classify[0].target='Priority'
 +qos.@classify[0].ports='22,53'
 +qos.@classify[0].comment='ssh, dns'
 +qos.@classify[1]=classify
 +qos.@classify[1].target='Normal'
 +qos.@classify[1].proto='tcp'
 +qos.@classify[1].ports='20,21,25,80,110,443,993,995'
 +qos.@classify[1].comment='ftp, smtp, http(s), imap'
 +qos.@classify[2]=classify
 +qos.@classify[2].target='Express'
 +qos.@classify[2].ports='5190'
 +qos.@classify[2].comment='AOL, iChat, ICQ'
 +qos.@default[0]=default
 +qos.@default[0].target='Express'
 +qos.@default[0].proto='udp'
 +qos.@default[0].pktsize='-500'
 +qos.@reclassify[0]=reclassify
 +qos.@reclassify[0].target='Priority'
 +qos.@reclassify[0].proto='icmp'
 +qos.@default[1]=default
 +qos.@default[1].target='Bulk'
 +qos.@default[1].portrange='1024-65535'
 +qos.Default=classgroup
 +qos.Default.classes='Priority Express Normal Bulk'
 +qos.Default.default='Normal'
 +qos.Priority=class
 +qos.Priority.packetsize='400'
 +qos.Priority.avgrate='10'
 +qos.Priority.priority='20'
 +qos.Priority_down=class
 +qos.Priority_down.packetsize='1000'
 +qos.Priority_down.avgrate='10'
 +qos.Express=class
 +qos.Express.packetsize='1000'
 +qos.Express.avgrate='50'
 +qos.Express.priority='10'
 +qos.Normal=class
 +qos.Normal.packetsize='1500'
 +qos.Normal.packetdelay='100'
 +qos.Normal.avgrate='10'
 +qos.Normal.priority='5'
 +qos.Normal_down=class
 +qos.Normal_down.avgrate='20'
 +qos.Bulk=class
 +qos.Bulk.avgrate='1'
 +qos.Bulk.packetdelay='200'
 +rpcd.@login[0]=login
 +rpcd.@login[0].username='root'
 +rpcd.@login[0].password='$p$root'
 +rpcd.@login[0].read='*'
 +rpcd.@login[0].write='*'
 +sysstat.sysstat=sysstat
 +sysstat.sysstat.log_history='7'
 +sysstat.sysstat.compressafter='10'
 +sysstat.sysstat.sa_dir='/var/log/sysstat'
 +sysstat.sysstat.zip='xz'
 +sysstat.sysstat.enabled='true'
 +system.@system[0]=system
 +system.@system[0].hostname='OpenWrt'
 +system.@system[0].timezone='UTC'
 +system.@system[0].log_buffer_size='64'
 +system.@system[0].log_size='4096'
 +system.@system[0].log_file='/var/log/system.log'
 +system.ntp=timeserver
 +system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
 +system.ntp.enabled='1'
 +system.ntp.enable_server='0'
 +ubootenv.@ubootenv[0]=ubootenv
 +ubootenv.@ubootenv[0].dev='/dev/mtd1'
 +ubootenv.@ubootenv[0].offset='0x0'
 +ubootenv.@ubootenv[0].envsize='0x10000'
 +ubootenv.@ubootenv[0].secsize='0x10000'
 +uhttpd.main=uhttpd
 +uhttpd.main.listen_http='0.0.0.0:80' '[::]:80'
 +uhttpd.main.listen_https='0.0.0.0:443' '[::]:443'
 +uhttpd.main.redirect_https='1'
 +uhttpd.main.home='/www'
 +uhttpd.main.rfc1918_filter='1'
 +uhttpd.main.max_requests='3'
 +uhttpd.main.max_connections='100'
 +uhttpd.main.cert='/etc/uhttpd.crt'
 +uhttpd.main.key='/etc/uhttpd.key'
 +uhttpd.main.cgi_prefix='/cgi-bin'
 +uhttpd.main.script_timeout='60'
 +uhttpd.main.network_timeout='30'
 +uhttpd.main.http_keepalive='20'
 +uhttpd.main.tcp_keepalive='1'
 +uhttpd.main.ubus_prefix='/ubus'
 +uhttpd.px5g=cert
 +uhttpd.px5g.days='730'
 +uhttpd.px5g.bits='1024'
 +uhttpd.px5g.country='ZZ'
 +uhttpd.px5g.state='Somewhere'
 +uhttpd.px5g.location='Uknown'
 +uhttpd.px5g.commonname='OpenWrt'
 +upnpd.config=upnpd
 +upnpd.config.enable_natpmp='1'
 +upnpd.config.enable_upnp='1'
 +upnpd.config.secure_mode='1'
 +upnpd.config.log_output='0'
 +upnpd.config.download='1024'
 +upnpd.config.upload='512'
 +upnpd.config.internal_iface='lan'
 +upnpd.config.port='5000'
 +upnpd.config.upnp_lease_file='/var/upnp.leases'
 +upnpd.config.uuid='c25b2336-a253-4ef7-acc4-b9d6797063c4'
 +upnpd.@perm_rule[0]=perm_rule
 +upnpd.@perm_rule[0].action='allow'
 +upnpd.@perm_rule[0].ext_ports='1024-65535'
 +upnpd.@perm_rule[0].int_addr='0.0.0.0/0'
 +upnpd.@perm_rule[0].int_ports='1024-65535'
 +upnpd.@perm_rule[0].comment='Allow high ports'
 +upnpd.@perm_rule[1]=perm_rule
 +upnpd.@perm_rule[1].action='deny'
 +upnpd.@perm_rule[1].ext_ports='0-65535'
 +upnpd.@perm_rule[1].int_addr='0.0.0.0/0'
 +upnpd.@perm_rule[1].int_ports='0-65535'
 +upnpd.@perm_rule[1].comment='Default deny'
 +wireless.radio0=wifi-device
 +wireless.radio0.type='mac80211'
 +wireless.radio0.channel='11'
 +wireless.radio0.hwmode='11ng'
 +wireless.radio0.path='platform/qca953x_wmac'
 +wireless.radio0.ht_capab='LDPC' 'SHORT-GI-20' 'SHORT-GI-40' 'TX-STBC' 'RX-STBC1' 'DSSS_CCK-40'
 +wireless.radio0.htmode='HT20'
 +wireless.radio0.disabled='0'
 +wireless.@wifi-iface[0]=wifi-iface
 +wireless.@wifi-iface[0].device='radio0'
 +wireless.@wifi-iface[0].network='ap'
 +wireless.@wifi-iface[0].ifname='wlan0'
 +wireless.@wifi-iface[0].mode='ap'
 +wireless.@wifi-iface[0].ssid='PEACG01_Ihvg'
 +wireless.@wifi-iface[0].encryption='psk2'
 +wireless.@wifi-iface[0].key='IMK5wrXC'
 +wireless.@wifi-iface[0].wps_pushbutton='1'</code>
 +</details>
 +
 +
 +
 +===== OpenWRT =====
 +
 +==== Download ====
 +[[http://netlab.dhis.org/download/software/openwrt/Perenio-PEACG01/|Perenio-PEACG01]]\\
 +[[https://github.com/rozhuk-im/openwrt/commits/all_local|github.com]]
 +
 +
 +
 +==== Flashing ====
 +
 +  * Copy **openwrt-ath79-nand-perenio_peacg01-initramfs-kernel.bin** into TFTP server root dir with name **0201A8C0.img**
 +  * TFTP server must listen on 192.168.1.10
 +  * Connect serial to top of the board, use 115200 speed
 +  * Power on device
 +  * Break boot by hitting **space** key
 +  * setenv bootslot 0
 +  * tftp
 +  * bootm
 +  * Wait untill OpenWRT boot
 +  * Use WebUI at 192.168.1.1 to update f/w
 +
  
  
  
 {{tag>hardware reverse linux openwrt ZigBee gateway}} {{tag>hardware reverse linux openwrt ZigBee gateway}}
 +
hardware/perenio/peacg01.1644115854.txt.gz · Last modified: 2022/02/06 02:50 by root