51

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

pazdzioch napisał/a:

no jest w katalogu bin na routerze, przed chwila patrzyłem

ls -al /bin/tester.sh pokaż.

Robiłeś go pod windows, ustawiłeś właściwe końce linii? Wałkowaliśmy to wcześniej.

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

52

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Plik edytowalem pod windows przez notepad++ i zapisywałem przez winscp.
Jestem juz w warunkach testowych i ciagle zrywa połaczenie po któtkim czasie, ponizej wrzucacm log przez polecenie w putty ls -al /bin/tester.sh

root@LEDE:~# ls -al /bin/tester.sh
-rwxr-xr-x    1 root     root            97 Oct 25 15:54 /bin/tester.sh

ponizej wrzucam logread

Sat Oct 27 10:47:59 2018 daemon.notice openvpn(custom_config)[1626]: [Windscribe                                                                                         Node Server 4096] Inactivity timeout (--ping-restart), restarting
Sat Oct 27 10:47:59 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 10:48:00 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 10:48:01 2018 kern.info kernel: [   43.741778] br-lan: port 2(wlan0)                                                                                         entered forwarding state
Sat Oct 27 10:48:01 2018 user.notice ddns-scripts[1963]: myddns_ipv4: PID '1963'                                                                                         started at 2018-10-27 10:48
Sat Oct 27 10:48:02 2018 user.warn ddns-scripts[1963]: myddns_ipv4: Service sect                                                                                        ion disabled! - TERMINATE
Sat Oct 27 10:48:02 2018 user.warn ddns-scripts[1963]: myddns_ipv4: PID '1963' e                                                                                        xit WITH ERROR '1' at 2018-10-27 10:48
Sat Oct 27 10:48:02 2018 user.notice firewall: Reloading firewall due to ifup of                                                                                         vpn (tun0)
Sat Oct 27 10:48:03 2018 cron.err crond[1233]: time disparity of 1255 minutes de                                                                                        tected
Sat Oct 27 10:48:04 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]46.166.143.98:1194
Sat Oct 27 10:48:04 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 10:48:04 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]46.166.143.98:1194
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: VERIFY OK:                                                                                         depth=1, C=CA, ST=ON, L=Toronto, O=Windscribe Limited, OU=Operations, CN=Windscr                                                                                        ibe Node CA
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: VERIFY KU O                                                                                        K
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: Validating                                                                                         certificate extended key usage
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: ++ Certific                                                                                        ate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authenti                                                                                        cation
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: VERIFY EKU                                                                                         OK
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: VERIFY OK:                                                                                         depth=0, C=CA, ST=ON, O=Windscribe Limited, OU=Operations, CN=Windscribe Node Se                                                                                        rver 4096
Sat Oct 27 10:48:05 2018 daemon.warn openvpn(custom_config)[1626]: WARNING: 'lin                                                                                        k-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1550'
Sat Oct 27 10:48:05 2018 daemon.warn openvpn(custom_config)[1626]: WARNING: 'cip                                                                                        her' is used inconsistently, local='cipher AES-256-CBC', remote='cipher AES-256-                                                                                        GCM'
Sat Oct 27 10:48:05 2018 daemon.warn openvpn(custom_config)[1626]: WARNING: 'aut                                                                                        h' is used inconsistently, local='auth SHA512', remote='auth [null-digest]'
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: Control Cha                                                                                        nnel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
Sat Oct 27 10:48:05 2018 daemon.notice openvpn(custom_config)[1626]: [Windscribe                                                                                         Node Server 4096] Peer Connection Initiated with [AF_INET]46.166.143.98:1194
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: Data Channe                                                                                        l: using negotiated cipher 'AES-256-GCM'
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: Outgoing Da                                                                                        ta Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: Incoming Da                                                                                        ta Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: Preserving                                                                                         previous TUN/TAP instance: tun0
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: NOTE: Pulle                                                                                        d options changed on restart, will need to close and reopen TUN/TAP device.
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: Closing TUN                                                                                        /TAP interface
Sat Oct 27 10:48:11 2018 daemon.notice openvpn(custom_config)[1626]: /sbin/ifcon                                                                                        fig tun0 0.0.0.0
Sat Oct 27 10:48:11 2018 daemon.notice netifd: Network device 'tun0' link is dow                                                                                        n
Sat Oct 27 10:48:11 2018 daemon.notice netifd: Interface 'vpn' has link connecti                                                                                        vity loss
Sat Oct 27 10:48:11 2018 daemon.notice netifd: Interface 'vpn' is now down
Sat Oct 27 10:48:11 2018 daemon.notice netifd: Interface 'vpn' is disabled
Sat Oct 27 10:48:12 2018 daemon.notice netifd: Interface 'vpn' is enabled
Sat Oct 27 10:48:12 2018 daemon.notice netifd: Network device 'tun0' link is up
Sat Oct 27 10:48:12 2018 daemon.notice openvpn(custom_config)[1626]: TUN/TAP dev                                                                                        ice tun0 opened
Sat Oct 27 10:48:12 2018 daemon.notice openvpn(custom_config)[1626]: do_ifconfig                                                                                        , tt->did_ifconfig_ipv6_setup=0
Sat Oct 27 10:48:12 2018 daemon.notice openvpn(custom_config)[1626]: /sbin/ifcon                                                                                        fig tun0 10.116.50.59 netmask 255.255.254.0 mtu 1500 broadcast 10.116.51.255
Sat Oct 27 10:48:12 2018 daemon.notice netifd: Interface 'vpn' has link connecti                                                                                        vity
Sat Oct 27 10:48:12 2018 daemon.notice netifd: Interface 'vpn' is setting up now
Sat Oct 27 10:48:12 2018 daemon.notice netifd: Interface 'vpn' is now up
Sat Oct 27 10:48:12 2018 daemon.notice openvpn(custom_config)[1626]: Initializat                                                                                        ion Sequence Completed
Sat Oct 27 10:48:13 2018 user.notice firewall: Reloading firewall due to ifup of                                                                                         vpn (tun0)
Sat Oct 27 10:48:13 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 10:48:17 2018 kern.notice kernel: [   52.499372] random: nonblocking                                                                                         pool is initialized
Sat Oct 27 10:48:32 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 10:48:32 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 0 a                                                                                        ddresses
Sat Oct 27 10:48:32 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 10:48:32 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 10:48:55 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a IEEE                                                                                         802.11: authenticated
Sat Oct 27 10:48:55 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a IEEE                                                                                         802.11: associated (aid 1)
Sat Oct 27 10:48:55 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED b0:c1:9e                                                                                        :29:cb:9a
Sat Oct 27 10:48:55 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a WPA:                                                                                         pairwise key handshake completed (RSN)
Sat Oct 27 10:48:56 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPDISCOVER(br-lan) b0                                                                                        :c1:9e:29:cb:9a
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPOFFER(br-lan) 192.1                                                                                        68.1.211 b0:c1:9e:29:cb:9a
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPDISCOVER(br-lan) b0                                                                                        :c1:9e:29:cb:9a
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPOFFER(br-lan) 192.1                                                                                        68.1.211 b0:c1:9e:29:cb:9a
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPREQUEST(br-lan) 192                                                                                        .168.1.211 b0:c1:9e:29:cb:9a
Sat Oct 27 10:48:58 2018 daemon.info dnsmasq-dhcp[1804]: DHCPACK(br-lan) 192.168                                                                                        .1.211 b0:c1:9e:29:cb:9a android-7510594f64475acf
Sat Oct 27 10:50:00 2018 cron.info crond[1233]: USER root pid 2467 cmd /bin/test                                                                                        er.sh
Sat Oct 27 10:52:00 2018 cron.info crond[1233]: USER root pid 2469 cmd /bin/test                                                                                        er.sh
Sat Oct 27 10:54:00 2018 cron.info crond[1233]: USER root pid 2471 cmd /bin/test                                                                                        er.sh
Sat Oct 27 10:56:00 2018 cron.info crond[1233]: USER root pid 2473 cmd /bin/test                                                                                        er.sh
Sat Oct 27 10:56:43 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 10:57:59 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a WPA:                                                                                         group key handshake completed (RSN)
Sat Oct 27 10:57:59 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: authenticated
Sat Oct 27 10:57:59 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: associated (aid 2)
Sat Oct 27 10:57:59 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 70:77:81                                                                                        :be:ff:c1
Sat Oct 27 10:57:59 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 WPA:                                                                                         pairwise key handshake completed (RSN)
Sat Oct 27 10:58:00 2018 cron.info crond[1233]: USER root pid 2475 cmd /bin/test                                                                                        er.sh
Sat Oct 27 10:58:01 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 10:58:01 2018 daemon.warn odhcpd[1042]: DHCPV6 SOLICIT IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 10:58:02 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 10:58:02 2018 daemon.warn odhcpd[1042]: DHCPV6 REQUEST IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 10:58:03 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq-dhcp[1804]: DHCPDISCOVER(br-lan) 70                                                                                        :77:81:be:ff:c1
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq-dhcp[1804]: DHCPOFFER(br-lan) 192.1                                                                                        68.1.232 70:77:81:be:ff:c1
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 1 a                                                                                        ddresses
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 10:58:03 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 10:58:04 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 10:58:04 2018 daemon.warn odhcpd[1042]: DHCPV6 CONFIRM IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: not on-link fd08:9437:83fa::ecc/128
Sat Oct 27 10:58:04 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 10:58:04 2018 daemon.warn odhcpd[1042]: DHCPV6 SOLICIT IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 10:58:05 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 10:58:05 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 0 a                                                                                        ddresses
Sat Oct 27 10:58:05 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 10:58:05 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 10:58:05 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 10:58:05 2018 daemon.warn odhcpd[1042]: DHCPV6 REQUEST IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 10:58:06 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 10:58:06 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 1 a                                                                                        ddresses
Sat Oct 27 10:58:06 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 10:58:06 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 10:58:07 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:00:00 2018 cron.info crond[1233]: USER root pid 2493 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:01:12 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: authenticated
Sat Oct 27 11:01:12 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: associated (aid 2)
Sat Oct 27 11:01:12 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:01:15 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: authenticated
Sat Oct 27 11:01:15 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 IEEE                                                                                         802.11: associated (aid 2)
Sat Oct 27 11:01:15 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 70:77:81                                                                                        :be:ff:c1
Sat Oct 27 11:01:15 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 WPA:                                                                                         pairwise key handshake completed (RSN)
Sat Oct 27 11:01:15 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:01:16 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 11:01:16 2018 daemon.warn odhcpd[1042]: DHCPV6 SOLICIT IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 11:01:17 2018 daemon.notice odhcpd[1042]: Got DHCPv6 request
Sat Oct 27 11:01:17 2018 daemon.warn odhcpd[1042]: DHCPV6 REQUEST IA_NA from 000                                                                                        10001212fa42d308d99c5a069 on br-lan: ok fd08:9437:83fa::ecc/128
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq-dhcp[1804]: DHCPDISCOVER(br-lan) 70                                                                                        :77:81:be:ff:c1
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq-dhcp[1804]: DHCPOFFER(br-lan) 192.1                                                                                        68.1.232 70:77:81:be:ff:c1
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 1 a                                                                                        ddresses
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /etc/hosts - 4 addresse                                                                                        s
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/odhcpd - 1 a                                                                                        ddresses
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq[1804]: read /tmp/hosts/dhcp.cfg0241                                                                                        1c - 2 addresses
Sat Oct 27 11:01:19 2018 daemon.info dnsmasq-dhcp[1804]: read /etc/ethers - 0 ad                                                                                        dresses
Sat Oct 27 11:01:19 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:01:23 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:01:23 2018 daemon.info dnsmasq-dhcp[1804]: DHCPREQUEST(br-lan) 192                                                                                        .168.1.232 70:77:81:be:ff:c1
Sat Oct 27 11:01:23 2018 daemon.info dnsmasq-dhcp[1804]: DHCPACK(br-lan) 192.168                                                                                        .1.232 70:77:81:be:ff:c1 DESKTOP-86DUHKJ
Sat Oct 27 11:02:00 2018 cron.info crond[1233]: USER root pid 2503 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:04:00 2018 cron.info crond[1233]: USER root pid 2505 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:06:00 2018 cron.info crond[1233]: USER root pid 2848 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:07:59 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 WPA:                                                                                         group key handshake completed (RSN)
Sat Oct 27 11:07:59 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a WPA:                                                                                         group key handshake completed (RSN)
Sat Oct 27 11:08:00 2018 cron.info crond[1233]: USER root pid 2850 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:09:43 2018 authpriv.info dropbear[2962]: Child connection from 192                                                                                        .168.1.232:51255
Sat Oct 27 11:09:54 2018 authpriv.notice dropbear[2962]: Password auth succeeded                                                                                         for 'root' from 192.168.1.232:51255
Sat Oct 27 11:09:58 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:10:00 2018 cron.info crond[1233]: USER root pid 3047 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:12:00 2018 cron.info crond[1233]: USER root pid 3050 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:14:00 2018 cron.info crond[1233]: USER root pid 3162 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:14:36 2018 authpriv.info dropbear[2962]: Exit (root): Exited norma                                                                                        lly
Sat Oct 27 11:16:00 2018 cron.info crond[1233]: USER root pid 3165 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:16:55 2018 daemon.notice openvpn(custom_config)[1626]: [Windscribe                                                                                         Node Server 4096] Inactivity timeout (--ping-restart), restarting
Sat Oct 27 11:16:55 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:17:00 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]46.166.143.98:1194
Sat Oct 27 11:17:00 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:17:00 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]46.166.143.98:1194
Sat Oct 27 11:17:41 2018 authpriv.info dropbear[3171]: Child connection from 192                                                                                        .168.1.232:51345
Sat Oct 27 11:17:50 2018 authpriv.notice dropbear[3171]: Password auth succeeded                                                                                         for 'root' from 192.168.1.232:51345
Sat Oct 27 11:17:59 2018 daemon.info hostapd: wlan0: STA 70:77:81:be:ff:c1 WPA:                                                                                         group key handshake completed (RSN)
Sat Oct 27 11:17:59 2018 daemon.info hostapd: wlan0: STA b0:c1:9e:29:cb:9a WPA:                                                                                         group key handshake completed (RSN)
Sat Oct 27 11:18:00 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:18:00 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:18:00 2018 cron.info crond[1233]: USER root pid 3257 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:18:05 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]46.166.143.98:1194
Sat Oct 27 11:18:05 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:18:05 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]46.166.143.98:1194
Sat Oct 27 11:19:05 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:19:05 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:19:09 2018 daemon.info odhcpd[1042]: Using a RA lifetime of 0 seco                                                                                        nds on br-lan
Sat Oct 27 11:19:10 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]107.181.78.131:1194
Sat Oct 27 11:19:10 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:19:10 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]107.181.78.131:1194
Sat Oct 27 11:19:47 2018 authpriv.info dropbear[3171]: Exit (root): Exited norma                                                                                        lly
Sat Oct 27 11:19:56 2018 authpriv.info dropbear[3260]: Child connection from 192                                                                                        .168.1.232:51363
Sat Oct 27 11:20:00 2018 cron.info crond[1233]: USER root pid 3261 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:20:01 2018 authpriv.notice dropbear[3260]: Password auth succeeded                                                                                         for 'root' from 192.168.1.232:51363
Sat Oct 27 11:20:10 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:20:10 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:20:15 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]107.181.78.131:1194
Sat Oct 27 11:20:15 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:20:15 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]107.181.78.131:1194
Sat Oct 27 11:21:15 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:21:15 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:21:20 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]185.212.171.131:1194
Sat Oct 27 11:21:20 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:21:20 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]185.212.171.131:1194
Sat Oct 27 11:22:00 2018 cron.info crond[1233]: USER root pid 3348 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:22:20 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:22:20 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:22:25 2018 daemon.notice openvpn(custom_config)[1626]: TCP/UDP: Pr                                                                                        eserving recently used remote address: [AF_INET]185.212.171.131:1194
Sat Oct 27 11:22:25 2018 daemon.notice openvpn(custom_config)[1626]: UDP link lo                                                                                        cal: (not bound)
Sat Oct 27 11:22:25 2018 daemon.notice openvpn(custom_config)[1626]: UDP link re                                                                                        mote: [AF_INET]185.212.171.131:1194
Sat Oct 27 11:23:25 2018 daemon.notice openvpn(custom_config)[1626]: [UNDEF] Ina                                                                                        ctivity timeout (--ping-restart), restarting
Sat Oct 27 11:23:25 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,ping-restart] received, process restarting
Sat Oct 27 11:23:35 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:23:40 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:23:40 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:23:40 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:23:50 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:23:55 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:23:55 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:23:55 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:24:00 2018 cron.info crond[1233]: USER root pid 3350 cmd /bin/test                                                                                        er.sh
Sat Oct 27 11:24:05 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:10 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:10 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:24:10 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:24:20 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:25 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:25 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:24:25 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:24:35 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:40 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:24:40 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:24:40 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:24:55 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:25:00 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:25:00 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:25:00 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting
Sat Oct 27 11:25:25 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:25:30 2018 daemon.err openvpn(custom_config)[1626]: RESOLVE: Canno                                                                                        t resolve host address: nl.windscribe.com:1194 (Try again)
Sat Oct 27 11:25:30 2018 daemon.warn openvpn(custom_config)[1626]: Could not det                                                                                        ermine IPv4/IPv6 protocol
Sat Oct 27 11:25:30 2018 daemon.notice openvpn(custom_config)[1626]: SIGUSR1[sof                                                                                        t,init_instance] received, process restarting

53

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Jak nie działa z palca - zrób go jeszcze raz pod openwrt. VI lub nano, pisałem to już.

Jak zerwało połączenie pokaż

ifstatus wan
ifstatus wan_4
route -n
uci show network


Tylko wcześniej nie resetuj routera, nie wznawiaj połączenie, nie rób reinstalacji pakietów czy cokolwiek innego głupiego przyjdzie ci do głowy.

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

54

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

ale ten edytor nano musze najpierw zainstalowac w openwrt ?

55

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Tak.

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

56 (edytowany przez pazdzioch 2018-10-28 11:03:40)

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Chyba udami sie zainstalowac edytor nano. Po wpisnaniu w putty # nano /bin/tester.sh wyskakuje okno edytora na ktorym widac ze skrypt połączeniua nie wyglada tak samo jak w instrukcji, co widac na zalaczonym screenie, rozumiem ze te zbedne literki znako usunac i zapisac plik ?

https://zapodaj.net/images/425b1d5c1e465.png

57

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Te zbędne literki to właśnie windowsowe końce linii. Kurde, kilka postów pisania i ostrzegania i nic, jak grochem o ścianę.

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

58 (edytowany przez pazdzioch 2018-10-28 12:27:59)

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Czy jeszcze cos powinienem edytowac ?  Zobaczymy jakie beda tego efekty smile
Jeszcze pytanie czy 2-3 linijke przesunac do lewej - do samego poczatku, czy ma tak zostac jak jest ?

Człowiek całe życie sie uczy smile

59

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Dla poprawności politycznej powinny być od lewej.

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

60

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Cezary napisał/a:

Jak nie działa z palca - zrób go jeszcze raz pod openwrt. VI lub nano, pisałem to już.

Jak zerwało połączenie pokaż

ifstatus wan
ifstatus wan_4
route -n
uci show network


Tylko wcześniej nie resetuj routera, nie wznawiaj połączenie, nie rób reinstalacji pakietów czy cokolwiek innego głupiego przyjdzie ci do głowy.

Znów zawieszone połączenie . ponizej  4 odpowiedzi  putty z cytowanego postu.

root@LEDE:~# ls -al /bin/tester.sh
-rwxr-xr-x    1 root     root            83 Oct 28 15:43 /bin/tester.sh
root@LEDE:~# ifstatus wan
{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "proto": "qmi",
        "data": {

        }
}
root@LEDE:~# ifstatus wan_4
Interface wan_4 not found
root@LEDE:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.116.50.1     128.0.0.0       UG    0      0        0 tun0
10.116.50.0     0.0.0.0         255.255.254.0   U     0      0        0 tun0
128.0.0.0       10.116.50.1     128.0.0.0       UG    0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
root@LEDE:~# uci show network
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='fd08:9437:83fa::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan_dev=device
network.lan_dev.name='eth0.1'
network.lan_dev.macaddr='20:28:18:a1:38:ce'
network.wan_dev=device
network.wan_dev.name='eth0.2'
network.wan_dev.macaddr='20:28:18:a1:38:cf'
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 6t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='0 6t'
network.wan=interface
network.wan.proto='qmi'
network.wan.device='/dev/cdc-wdm0'
network.wan.apn='internet'
network.wan.dns='103.86.96.100 103.86.99.100'
network.wan.peerdns='0'
network.vpn=interface
network.vpn.ifname='tun0'
network.vpn.proto='none'

61

Odp: StoryLink SAP-G32000U3 - Modem Huawei E180

Czyli tak po prostu - połączenia nie masz, system nie wznowił połączenia. Jeżeli z palca ifup wan nie pomaga to wiesza ci się coś ten modem po prostu.

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