Temat: Easyconfig i błąd w zakładce SYSTEM

Witam,

Na ruterze TPlink WR-1043ND zainstalowałem najnowszą wersje OPENWRT 18.06-SNAPSHOT. Zainstalowałem sobie również easyconfig - i wszystko OK poza tym, że po wejściu w zakładkę SYSTEM -wyrzuca mi błąd (przy okazji podczas informacji pojawił się jakiś warning związany z uci - bad parameter line 24 byte 2).

Pozdrawiam i z góry dziękuję za pomoc,
sledz82

2

Odp: Easyconfig i błąd w zakładce SYSTEM

uci show

zrób z konsoli i zobacz czy wyświetli błąd. Jezeli tak to popraw to co zepsułeś.

A tak w ogóle to pokaż screenshot tego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez sledz82 2019-06-06 22:06:15)

Odp: Easyconfig i błąd w zakładce SYSTEM

po reinstalacji easyconfig sypie bledem:

Installing easyconfig (20190429) to root...
Downloading http://dl.eko.one.pl/openwrt-18.06/pack … 29_all.ipk
Configuring easyconfig.
uci: Parse error (invalid command) at line 25, byte 2

ale uci show nie pokazuje błędów i zakladka system juz dziala.

Aktualizacja[23:04] Po restarcie rutera przestało dzialać. log z uci show ponizej:

root@OpenWrt:~# uci show
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port='81'
3ginfo.@3ginfo[0].language='pl'
3ginfo.@3ginfo[0].network='wan'
3ginfo.@3ginfo[0].device='/dev/ttyUSB2'
ddns.global=ddns
ddns.global.ddns_dateformat='%F %R'
ddns.global.ddns_loglines='250'
ddns.global.upd_privateip='0'
ddns.myddns_ipv4=service
ddns.myddns_ipv4.interface='wan'
ddns.myddns_ipv4.ip_source='web'
ddns.myddns_ipv4.ip_url='http://plain-text-ip.com'
ddns.myddns_ipv4.enabled='1'
ddns.myddns_ipv4.domain='xxxx.no-ip.pl'
ddns.myddns_ipv4.password='xxxx'
ddns.myddns_ipv4.service_name='no-ip.pl'
ddns.myddns_ipv4.username='xxx82'
ddns.myddns_ipv4.lookup_host='xxx.no-ip.pl'
ddns.myddns_ipv4.use_syslog='2'
ddns.myddns_ipv4.use_logfile='1'
ddns.myddns_ipv6=service
ddns.myddns_ipv6.update_url='http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]'
ddns.myddns_ipv6.lookup_host='yourhost.example.com'
ddns.myddns_ipv6.domain='yourhost.example.com'
ddns.myddns_ipv6.username='your_username'
ddns.myddns_ipv6.password='your_password'
ddns.myddns_ipv6.use_ipv6='1'
ddns.myddns_ipv6.interface='wan6'
ddns.myddns_ipv6.ip_source='network'
ddns.myddns_ipv6.ip_network='wan6'
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].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='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.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].logqueries='1'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='50'
dhcp.lan.leasetime='24h'
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.odhcpd.loglevel='4'
dhcp.guest=dhcp
dhcp.guest.start='100'
dhcp.guest.leasetime='1h'
dhcp.guest.interface='guest'
dhcp.guest.limit='10'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
easyconfig.traffic=service
easyconfig.traffic.warning_cycle='p'
easyconfig.traffic.period='30'
easyconfig.traffic.cycle='9'
easyconfig.traffic.warning_enabled='1'
easyconfig.traffic.warning_value='1650'
easyconfig.traffic.warning_unit='m'
easyconfig.watchdog=service
easyconfig.watchdog.dest='google.com'
easyconfig.watchdog.action='wan'
easyconfig.watchdog.delay='4'
easyconfig.watchdog.period='5'
easyconfig.watchdog.period_count='4'
easyconfig.sms=service
easyconfig.ussd=service
easyconfig.ussd.raw_input='1'
easyconfig.ussd.raw_output='1'
easyconfig.modem=service
easyconfig.modem.force_qmi='0'
easyconfig.modem.force_plmn='0'
easyconfig-opkg.traffic=service
easyconfig-opkg.traffic.period='10'
easyconfig-opkg.traffic.cycle='1'
easyconfig-opkg.traffic.warning_enabled='0'
easyconfig-opkg.traffic.warning_unit='g'
easyconfig-opkg.traffic.warning_cycle='p'
easyconfig-opkg.traffic.warning_value='3'
easyconfig-opkg.watchdog=service
easyconfig-opkg.watchdog.dest='google.com'
easyconfig-opkg.watchdog.period='1'
easyconfig-opkg.watchdog.period_count='10'
easyconfig-opkg.watchdog.delay='3'
easyconfig-opkg.watchdog.action='wan'
easyconfig-opkg.sms=service
easyconfig-opkg.ussd=service
easyconfig-opkg.ussd.raw_input='1'
easyconfig-opkg.ussd.raw_output='1'
easyconfig-opkg.modem=service
easyconfig-opkg.modem.force_qmi='0'
easyconfig-opkg.modem.force_plmn='0'
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.@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='fc00::/6'
firewall.@rule[3].dest_ip='fc00::/6'
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.@rule[7]=rule
firewall.@rule[7].name='Allow-IPSec-ESP'
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].name='Allow-ISAKMP'
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.@include[0]=include
firewall.@include[0].path='/etc/firewall.user'
firewall.@zone[2]=zone
firewall.@zone[2].name='guest'
firewall.@zone[2].network='guest'
firewall.@zone[2].input='REJECT'
firewall.@zone[2].output='ACCEPT'
firewall.@zone[2].forward='REJECT'
firewall.@forwarding[1]=forwarding
firewall.@forwarding[1].src='guest'
firewall.@forwarding[1].dest='wan'
firewall.@rule[9]=rule
firewall.@rule[9].src='guest'
firewall.@rule[9].proto='udp'
firewall.@rule[9].src_port='67-68'
firewall.@rule[9].dest_port='67-68'
firewall.@rule[9].target='ACCEPT'
firewall.@rule[9].family='ipv4'
firewall.@rule[10]=rule
firewall.@rule[10].src='guest'
firewall.@rule[10].dest_port='53'
firewall.@rule[10].target='ACCEPT'
firewall.@rule[10].family='ipv4'
firewall.@rule[10].proto='tcpudp'
firewall.@rule[11]=rule
firewall.@rule[11].name='ssh'
firewall.@rule[11].src='wan'
firewall.@rule[11].target='ACCEPT'
firewall.@rule[11].proto='tcp'
firewall.@rule[11].dest_port='22'
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='fdb4:395b:320f::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth1.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.2.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.apn='internet'
network.wan.device='/dev/ttyUSB0'
network.wan.proto='3g'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
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='1 2 3 4 0t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='5 6t'
network.guest=interface
network.guest.proto='static'
network.guest.ipaddr='10.20.30.1'
network.guest.netmask='255.255.255.0'
network.guest.type='bridge'
uci: Parse error (invalid command) at line 25, byte 2
rpcd.@rpcd[0]=rpcd
rpcd.@rpcd[0].socket='/var/run/ubus.sock'
rpcd.@rpcd[0].timeout='30'
rpcd.@login[0]=login
rpcd.@login[0].username='root'
rpcd.@login[0].password='$p$root'
rpcd.@login[0].read='*'
rpcd.@login[0].write='*'
system.@system[0]=system
system.@system[0].hostname='OpenWrt'
system.@system[0].ttylogin='0'
system.@system[0].log_size='64'
system.@system[0].urandom_seed='0'
system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
system.@system[0].zonename='Europe/Warsaw'
system.ntp=timeserver
system.ntp.enabled='1'
system.ntp.enable_server='0'
system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
system.led_usb=led
system.led_usb.name='USB'
system.led_usb.sysfs='tp-link:green:usb'
system.led_usb.trigger='usbdev'
system.led_usb.interval='50'
system.led_usb.dev='1-1'
system.led_wlan=led
system.led_wlan.name='WLAN'
system.led_wlan.sysfs='tp-link:green:wlan'
system.led_wlan.trigger='phy0tpt'
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.lua_prefix='/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua'
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.defaults=cert
uhttpd.defaults.days='730'
uhttpd.defaults.bits='2048'
uhttpd.defaults.country='ZZ'
uhttpd.defaults.state='Somewhere'
uhttpd.defaults.location='Unknown'
uhttpd.defaults.commonname='OpenWrt'
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.channel='11'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/qca955x_wmac'
wireless.radio0.htmode='HT20'
wireless.radio0.country='PL'
wireless.radio0.disabled='0'
wireless.radio0.txpower='20'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='xxxx'
wireless.default_radio0.encryption='psk2'
wireless.default_radio0.key='xxx!'
root@OpenWrt:~#

4

Odp: Easyconfig i błąd w zakładce SYSTEM

Nie mam tam żadnego skryptu instalacyjnego który miały aż 25 linii.

Zrób

/etc/uci-defaults/zz-easyconfig.sh

i zobacz czy w/w błąd się pojawi.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Easyconfig i błąd w zakładce SYSTEM

/etc/uci-defaults/zz-easyconfig.sh: not found

ls /etc/uci-defaults
daje:
pusto

6

Odp: Easyconfig i błąd w zakładce SYSTEM

teraz zakladka system pokazuje jakies glupoty dot. modemu:


Modem
Producent

00000FFB,00021E0C,00000000006088B2,000000000FA584C2,00107AC0,00107AC0
Model

-
Wersja

-
IMEI

-
Numer karty SIM (ICCID)

-

7

Odp: Easyconfig i błąd w zakładce SYSTEM

Masz modem huawei który śmieci swoimi danymi. Albo sobie to wyłącz albo po prostu odśwież dane i za którym razem złapie poprawne dane.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Easyconfig i błąd w zakładce SYSTEM

ok dzieki

9

Odp: Easyconfig i błąd w zakładce SYSTEM

PS. Chyba wiem z czego wynika błąd w zakładce. Zmień sobie skrypt w routerze: https://github.com/obsy/packages/commit … f684d928ba albo poczekaj na następną wersję.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.