26

Odp: P2812HNU + E173s-2 z aero2

zmieniłem tylko wwan na 3g i dodałem wpisy w /etc/config/network dla 3g bo dla wwan ich nie było:

config interface 'wan_aero2'
    option apn 'darmowy'
    option proto '3g'
    option service 'umts'
    option defaultroute '1'
    option device '/dev/ttyUSB0'
    option auto '1'

27

Odp: P2812HNU + E173s-2 z aero2

Zmien na wwan ponownie i zobacz logi.

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

28 (edytowany przez geos 2015-08-17 20:47:29)

Odp: P2812HNU + E173s-2 z aero2

zresetowałem ruter do ustawień fabrycznych i wgrałem backup ustawień sprzed zmian z wwan. jeszcze raz:

# opkg update
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/base/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/base/Packages.sig[/url].
Signature check passed.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/luci/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/luci/Packages.sig[/url].
Signature check passed.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/management/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/management/Packages.sig[/url].
Signature check passed.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/packages/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/packages/Packages.sig[/url].
Signature check passed.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/routing/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/routing/Packages.sig[/url].
Signature check passed.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/telephony/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading [url]http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/telephony/Packages.sig[/url].
Signature check passed.
Downloading [url]http://dl.eko.one.pl/chaos_calmer/lantiq/packages/Packages.gz[/url].
Updated list of available packages in /var/opkg-lists/eko1.
Downloading [url]http://dl.eko.one.pl/chaos_calmer/lantiq/packages/Packages.sig[/url].
Signature check passed.
# opkg install kmod-usb-core kmod-usb2 usb-modeswitch libusb-1.0
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Package kmod-usb-core (3.18.18-1) installed in root is up to date.
Multiple packages (kmod-usb2 and kmod-usb2) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb2 and kmod-usb2) providing same name marked HOLD or PREFER. Using latest.
Package kmod-usb2 (3.18.18-1) installed in root is up to date.
Package usb-modeswitch (2014-08-26-993a9a542791953c4804f7ddbb3a07756738e37a) installed in root is up to date.
Package libusb-1.0 (1.0.19-1) installed in root is up to date.
root@ruter:~# opkg install wwan comgt chat comgt-ncm comgt-directip uqmi umbim usb-modeswitch
Package wwan (2014-07-17-1) installed in root is up to date.
Package comgt (0.32-25) installed in root is up to date.
Package chat (2.4.7-6) installed in root is up to date.
Package comgt-ncm (0.32-25) installed in root is up to date.
Package comgt-directip (0.32-25) installed in root is up to date.
Package uqmi (2014-12-03-86bcdb8cca652676a78b2df8b5e3fb27a40c60a4) installed in root is up to date.
Package umbim (2015-04-09-af9c293c1f1d8a97fbd8adf9c6070ead4920ca84) installed in root is up to date.
Package usb-modeswitch (2014-08-26-993a9a542791953c4804f7ddbb3a07756738e37a) installed in root is up to date.
# uci set network.wan_aero2=interface
# uci set network.wan_aero2.proto=wwan
# uci set network.wan_aero2.apn=darmowy
# uci commit network
# reboot

fragment z logread, gdzie widać połączenie:

Mon Jul 27 19:33:15 2015 user.emerg syslog: SQM: Trying to start/stop SQM on all interfaces.
Mon Jul 27 19:33:15 2015 user.notice SQM: Trying to start/stop SQM on all interfaces.
Mon Jul 27 19:33:15 2015 user.emerg syslog: SQM: /usr/lib/sqm/run.sh SQM for interface eth1 is not enabled, skipping over...
Mon Jul 27 19:33:15 2015 user.notice SQM: /usr/lib/sqm/run.sh SQM for interface eth1 is not enabled, skipping over...
Mon Jul 27 19:33:15 2015 daemon.notice netifd: wan_aero2 (1222): Trying to set mode
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): Configuration file: /var/run/hostapd-phy0.conf
Mon Jul 27 19:33:15 2015 kern.info kernel: [   30.968000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
Mon Jul 27 19:33:15 2015 kern.info kernel: [   31.084000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
Mon Jul 27 19:33:15 2015 kern.info kernel: [   31.188000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Mon Jul 27 19:33:15 2015 kern.info kernel: [   31.208000] device wlan0 entered promiscuous mode
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): ACS: Automatic channel selection started, this may take a bit
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): wlan0: interface state COUNTRY_UPDATE->ACS
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): wlan0: ACS-STARTED 
Mon Jul 27 19:33:15 2015 daemon.notice netifd: radio0 (1223): handle_probe_req: send failed
Mon Jul 27 19:33:16 2015 daemon.notice pppd[1506]: pppd 2.4.7 started by root, uid 0
Mon Jul 27 19:33:16 2015 daemon.notice netifd: radio0 (1223): handle_probe_req: send failed
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: abort on (BUSY)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: abort on (NO CARRIER)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: abort on (ERROR)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: report (CONNECT)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: timeout set to 10 seconds
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: send (AT&F^M)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: expect (OK)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: AT&F^M^M
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: OK
Mon Jul 27 19:33:17 2015 local2.info chat[1530]:  -- got it
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: send (ATE1^M)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: expect (OK)
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: ^M
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: ATE1^M^M
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: OK
Mon Jul 27 19:33:17 2015 local2.info chat[1530]:  -- got it
Mon Jul 27 19:33:17 2015 local2.info chat[1530]: send (AT+CGDCONT=1,"IP","darmowy"^M)
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: timeout set to 30 seconds
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: expect (OK)
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: ^M
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: AT+CGDCONT=1,"IP","darmowy"^M^M
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: OK
Mon Jul 27 19:33:18 2015 local2.info chat[1530]:  -- got it
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: send (ATD*99***1#^M)
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: expect (CONNECT)
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: ^M
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: ATD*99***1#^M^M
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: CONNECT
Mon Jul 27 19:33:18 2015 local2.info chat[1530]:  -- got it
Mon Jul 27 19:33:18 2015 local2.info chat[1530]: send ( ^M)
Mon Jul 27 19:33:18 2015 daemon.info pppd[1506]: Serial connection established.
Mon Jul 27 19:33:18 2015 kern.info kernel: [   34.260000] wwan-wan_aero2: renamed from ppp0
Mon Jul 27 19:33:18 2015 daemon.info pppd[1506]: Using interface wwan-wan_aero2
Mon Jul 27 19:33:18 2015 daemon.notice pppd[1506]: Connect: wwan-wan_aero2 <--> /dev/ttyUSB0
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led usb2
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led power
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led power2
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led wireless_green
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led dsl
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led internet_green
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led dsl2
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led internet_red
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led phone1
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led phone1warn
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led phone2
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led phone2warn
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led usb1
Mon Jul 27 19:33:19 2015 user.emerg syslog: setting up led wireless_red
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: started, version 2.73 cachesize 150
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: DNS service limited to local subnets
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq-dhcp[1624]: DHCP, IP range 192.168.1.1 -- 192.168.1.30, lease time 1h
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: reading /tmp/resolv.conf.auto
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: using nameserver 37.8.214.2#53
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: using nameserver 31.11.202.254#53
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: read /etc/hosts - 1 addresses
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq[1624]: read /tmp/hosts/dhcp - 1 addresses
Mon Jul 27 19:33:19 2015 daemon.info dnsmasq-dhcp[1624]: read /etc/ethers - 0 addresses
Mon Jul 27 19:33:20 2015 daemon.info procd: - init complete -
Mon Jul 27 19:33:20 2015 user.notice SQM: Trying to start/stop SQM on interface lo
Mon Jul 27 19:33:21 2015 daemon.notice netifd: radio0 (1223): handle_probe_req: send failed
Mon Jul 27 19:33:22 2015 user.notice SQM: Trying to start/stop SQM on interface eth0.2
Mon Jul 27 19:33:22 2015 daemon.warn pppd[1506]: Could not determine remote IP address: defaulting to 10.64.64.64
Mon Jul 27 19:33:22 2015 daemon.notice pppd[1506]: local  IP address 100.82.49.58
Mon Jul 27 19:33:22 2015 daemon.notice pppd[1506]: remote IP address 10.64.64.64
Mon Jul 27 19:33:22 2015 daemon.notice pppd[1506]: primary   DNS address 212.2.96.51
Mon Jul 27 19:33:22 2015 daemon.notice pppd[1506]: secondary DNS address 212.2.96.52
Mon Jul 27 19:33:23 2015 daemon.notice netifd: Network device 'wwan-wan_aero2' link is up
Mon Jul 27 19:33:23 2015 daemon.notice netifd: Interface 'wan_aero2' is now up
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: reading /tmp/resolv.conf.auto
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: using local addresses only for domain lan
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: using nameserver 37.8.214.2#53
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: using nameserver 31.11.202.254#53
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: using nameserver 212.2.96.51#53
Mon Jul 27 19:33:23 2015 daemon.info dnsmasq[1624]: using nameserver 212.2.96.52#53
Mon Jul 27 19:33:23 2015 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)

połączyło się samo, automatycznie z aero2. zmieniam z wwan na 3g:

# opkg install chat comgt kmod-usb-serial kmod-usb-serial-option
Package chat (2.4.7-6) installed in root is up to date.
Package comgt (0.32-25) installed in root is up to date.
Package kmod-usb-serial (3.18.18-1) installed in root is up to date.
Package kmod-usb-serial-option (3.18.18-1) installed in root is up to date.
# uci set network.wan_aero2.proto=3g
# uci set network.wan_aero2.service=umts
# uci set network.wan_aero2.device=/dev/ttyUSB0
# uci commit network
# tail /etc/config/network 
config interface 'wan_aero2'
    option apn 'darmowy'
    option proto '3g'
    option service 'umts'
    option device '/dev/ttyUSB0'
# reboot

fragment z logread:

Mon Jul 27 19:46:29 2015 daemon.notice netifd: radio0 (1240): handle_probe_req: send failed
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: abort on (BUSY)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: abort on (NO CARRIER)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: abort on (ERROR)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: report (CONNECT)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: timeout set to 10 seconds
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: send (AT&F^M)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: expect (OK)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: AT&F^M^M
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: OK
Mon Jul 27 19:46:30 2015 local2.info chat[1518]:  -- got it
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: send (ATE1^M)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: expect (OK)
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: ^M
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: ATE1^M^M
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: OK
Mon Jul 27 19:46:30 2015 local2.info chat[1518]:  -- got it
Mon Jul 27 19:46:30 2015 local2.info chat[1518]: send (AT+CGDCONT=1,"IP","darmowy"^M)
Mon Jul 27 19:46:30 2015 daemon.notice netifd: radio0 (1240): handle_probe_req: send failed
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: timeout set to 30 seconds
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: expect (OK)
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: ^M
Mon Jul 27 19:46:31 2015 daemon.notice netifd: radio0 (1240): handle_probe_req: send failed
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: AT+CGDCONT=1,"IP","darmowy"^M^M
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: OK
Mon Jul 27 19:46:31 2015 local2.info chat[1518]:  -- got it
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: send (ATD*99***1#^M)
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: expect (CONNECT)
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: ^M
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: ATD*99***1#^M^M
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: CONNECT
Mon Jul 27 19:46:31 2015 local2.info chat[1518]:  -- got it
Mon Jul 27 19:46:31 2015 local2.info chat[1518]: send ( ^M)
Mon Jul 27 19:46:31 2015 daemon.info pppd[1490]: Serial connection established.
Mon Jul 27 19:46:31 2015 kern.info kernel: [   33.476000] 3g-wan_aero2: renamed from ppp0
Mon Jul 27 19:46:31 2015 daemon.info pppd[1490]: Using interface 3g-wan_aero2
Mon Jul 27 19:46:31 2015 daemon.notice pppd[1490]: Connect: 3g-wan_aero2 <--> /dev/ttyUSB0
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led usb2
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led power
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led power2
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led wireless_green
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led dsl
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led internet_green
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led dsl2
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led internet_red
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led phone1
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led phone1warn
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led phone2
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led phone2warn
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led usb1
Mon Jul 27 19:46:31 2015 user.emerg syslog: setting up led wireless_red
Mon Jul 27 19:46:32 2015 daemon.info procd: - init complete -
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: started, version 2.73 cachesize 150
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: DNS service limited to local subnets
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq-dhcp[1646]: DHCP, IP range 192.168.1.1 -- 192.168.1.30, lease time 1h
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: using local addresses only for domain lan
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: reading /tmp/resolv.conf.auto
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: using local addresses only for domain lan
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: using nameserver 37.8.214.2#53
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: using nameserver 31.11.202.254#53
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: read /etc/hosts - 1 addresses
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq[1646]: read /tmp/hosts/dhcp - 1 addresses
Mon Jul 27 19:46:32 2015 daemon.info dnsmasq-dhcp[1646]: read /etc/ethers - 0 addresses
Mon Jul 27 19:46:33 2015 daemon.notice netifd: radio0 (1240): handle_probe_req: send failed
Mon Jul 27 19:46:33 2015 user.notice SQM: Trying to start/stop SQM on interface lo
Mon Jul 27 19:46:34 2015 daemon.warn pppd[1490]: Could not determine remote IP address: defaulting to 10.64.64.64
Mon Jul 27 19:46:34 2015 daemon.notice pppd[1490]: local  IP address 100.82.11.213
Mon Jul 27 19:46:34 2015 daemon.notice pppd[1490]: remote IP address 10.64.64.64
Mon Jul 27 19:46:34 2015 daemon.notice pppd[1490]: primary   DNS address 212.2.96.51
Mon Jul 27 19:46:34 2015 daemon.notice pppd[1490]: secondary DNS address 212.2.96.52
Mon Jul 27 19:46:34 2015 daemon.notice netifd: Network device '3g-wan_aero2' link is up
Mon Jul 27 19:46:34 2015 daemon.notice netifd: Interface 'wan_aero2' is now up
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: reading /tmp/resolv.conf.auto
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: using local addresses only for domain lan
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: using nameserver 37.8.214.2#53
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: using nameserver 31.11.202.254#53
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: using nameserver 212.2.96.51#53
Mon Jul 27 19:46:34 2015 daemon.info dnsmasq[1646]: using nameserver 212.2.96.52#53
Mon Jul 27 19:46:34 2015 daemon.notice netifd: radio0 (1240): handle_probe_req: send failed
Mon Jul 27 19:46:35 2015 user.notice SQM: Trying to start/stop SQM on interface eth0.2
Mon Jul 27 19:46:35 2015 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)

działa aero2, połączyło się automatycznie (na razie działam bez połączenia od vectry). teraz simplefailover:

root@ruter:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/management/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://dl.eko.one.pl/chaos_calmer/lantiq/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://dl.eko.one.pl/chaos_calmer/lantiq/packages/Packages.sig.
Signature check passed.

# opkg install simplefailover
Installing simplefailover (20141229) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/lantiq/packages/simplefailover_20141229_all.ipk.
Configuring simplefailover.
# uci set simplefailover.@simplefailover[0].wan_backup=wan_aero2
# uci commit simplefailover
# tail /etc/config/simplefailover 

config simplefailover
    option wan_main 'wan'
    option host '8.8.4.4'
    option interval '5'
    option wan_backup 'wan_aero2'

# tail /etc/config/network 

config interface 'wan_aero2'
    option apn 'darmowy'
    option proto '3g'
    option service 'umts'
    option device '/dev/ttyUSB0'

# uci set network.wan_aero2.defaultroute=1
# uci set network.wan_aero2.auto=0
# uci commit network
# tail /etc/config/network 

config interface 'wan_aero2'
    option apn 'darmowy'
    option proto '3g'
    option service 'umts'
    option device '/dev/ttyUSB0'
    option defaultroute '1'
    option auto '0'

# /etc/init.d/simplefailover enable
# reboot

w międzyczasie podłączam vectrę. po restarcie idzie przez vectre. odłączam vectrę, przełącza się na aero2. fragment logread:

Mon Jul 27 19:57:44 2015 daemon.notice netifd: Interface 'wan' has link connectivity 
Mon Jul 27 19:57:44 2015 daemon.notice netifd: Interface 'wan' is setting up now
Mon Jul 27 19:57:44 2015 user.notice /usr/bin/simplefailover: Changing connection to backup wan: wan_aero2
Mon Jul 27 19:57:44 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Jul 27 19:57:44 2015 daemon.notice netifd: VLAN 'eth0.3' link is up
Mon Jul 27 19:57:44 2015 daemon.notice netifd: wan (2342): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Mon Jul 27 19:57:44 2015 daemon.notice netifd: wan (2342): udhcpc (v1.23.2) started
Mon Jul 27 19:57:44 2015 daemon.notice netifd: wan (2342): Sending discover...
Mon Jul 27 19:57:46 2015 kern.info kernel: [  106.764000] br-lan: port 1(eth0.1) entered forwarding state
Mon Jul 27 19:57:46 2015 kern.info kernel: [  106.776000] br-lan: port 2(eth0.3) entered forwarding state
Mon Jul 27 19:57:46 2015 daemon.notice netifd: wan_aero2 (2326): Trying to set mode
Mon Jul 27 19:57:47 2015 daemon.notice pppd[2359]: pppd 2.4.7 started by root, uid 0
Mon Jul 27 19:57:47 2015 daemon.notice netifd: wan (2342): Sending discover...
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: abort on (BUSY)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: abort on (NO CARRIER)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: abort on (ERROR)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: report (CONNECT)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: timeout set to 10 seconds
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: send (AT&F^M)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: expect (OK)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: AT&F^M^M
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: OK
Mon Jul 27 19:57:48 2015 local2.info chat[2361]:  -- got it
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: send (ATE1^M)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: expect (OK)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: ^M
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: ATE1^M^M
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: OK
Mon Jul 27 19:57:48 2015 local2.info chat[2361]:  -- got it
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: send (AT+CGDCONT=1,"IP","darmowy"^M)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: timeout set to 30 seconds
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: expect (OK)
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: ^M
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: AT+CGDCONT=1,"IP","darmowy"^M^M
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: OK
Mon Jul 27 19:57:48 2015 local2.info chat[2361]:  -- got it
Mon Jul 27 19:57:48 2015 local2.info chat[2361]: send (ATD*99***1#^M)
Mon Jul 27 19:57:49 2015 local2.info chat[2361]: expect (CONNECT)
Mon Jul 27 19:57:49 2015 local2.info chat[2361]: ^M
Mon Jul 27 19:57:49 2015 local2.info chat[2361]: ATD*99***1#^M^M
Mon Jul 27 19:57:49 2015 local2.info chat[2361]: CONNECT
Mon Jul 27 19:57:49 2015 local2.info chat[2361]:  -- got it
Mon Jul 27 19:57:49 2015 local2.info chat[2361]: send ( ^M)
Mon Jul 27 19:57:49 2015 daemon.info pppd[2359]: Serial connection established.
Mon Jul 27 19:57:49 2015 kern.info kernel: [  109.604000] 3g-wan_aero2: renamed from ppp0
Mon Jul 27 19:57:49 2015 daemon.info pppd[2359]: Using interface 3g-wan_aero2
Mon Jul 27 19:57:49 2015 daemon.notice pppd[2359]: Connect: 3g-wan_aero2 <--> /dev/ttyUSB0
Mon Jul 27 19:57:50 2015 daemon.notice netifd: wan (2342): Sending discover...
Mon Jul 27 19:57:51 2015 daemon.warn pppd[2359]: Could not determine remote IP address: defaulting to 10.64.64.64
Mon Jul 27 19:57:51 2015 daemon.notice pppd[2359]: local  IP address 100.83.151.197
Mon Jul 27 19:57:51 2015 daemon.notice pppd[2359]: remote IP address 10.64.64.64
Mon Jul 27 19:57:51 2015 daemon.notice pppd[2359]: primary   DNS address 212.2.96.51
Mon Jul 27 19:57:51 2015 daemon.notice pppd[2359]: secondary DNS address 212.2.96.52
Mon Jul 27 19:57:51 2015 daemon.notice netifd: Network device '3g-wan_aero2' link is up
Mon Jul 27 19:57:51 2015 daemon.notice netifd: Interface 'wan_aero2' is now up
Mon Jul 27 19:57:51 2015 daemon.info dnsmasq[1626]: reading /tmp/resolv.conf.auto
Mon Jul 27 19:57:51 2015 daemon.info dnsmasq[1626]: using local addresses only for domain lan
Mon Jul 27 19:57:51 2015 daemon.info dnsmasq[1626]: using nameserver 212.2.96.51#53
Mon Jul 27 19:57:51 2015 daemon.info dnsmasq[1626]: using nameserver 212.2.96.52#53
Mon Jul 27 19:57:52 2015 user.notice SQM: Trying to start/stop SQM on interface 3g-wan_aero2
Mon Jul 27 19:57:52 2015 user.notice firewall: Reloading firewall due to ifup of wan_aero2 (3g-wan_aero2)

nie pytaj proszę, nie wiem. smile ale bardzo dziękuję za pomoc.

teraz tak. o ile niby widać, że się łączy przez aero i udało mi się wykonać polecenia logread to zaraz po jego wykonaniu sesja ssh do rutera przestaje być responsywna, nie można nawiązać połączenia ssh z ruterem w innej sesji, nie otwierają się strony www przez aero2 nawet ta z kapciem. co może być nie tak?

29

Odp: P2812HNU + E173s-2 z aero2

Firewall?

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

30 (edytowany przez geos 2015-07-27 19:19:49)

Odp: P2812HNU + E173s-2 z aero2

zmieniłem wcześniej poprzez dodanie do strefy wan interfejsu wan_aero2:

PunBB bbcode test

reszty nie dotykałem, jest na ustawieniach domyślnych poza drop/accept/drop które oryginalnie były reject/accept/reject.

# iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
delegate_input  all  --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy DROP)
target     prot opt source               destination         
delegate_forward  all  --  0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
delegate_output  all  --  0.0.0.0/0            0.0.0.0/0           

Chain delegate_forward (1 references)
target     prot opt source               destination         
forwarding_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for forwarding */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
zone_lan_forward  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_forward  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_forward  all  --  0.0.0.0/0            0.0.0.0/0           
reject     all  --  0.0.0.0/0            0.0.0.0/0           

Chain delegate_input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
input_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for input */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
syn_flood  tcp  --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x17/0x02
zone_lan_input  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_input  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_input  all  --  0.0.0.0/0            0.0.0.0/0           

Chain delegate_output (1 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
output_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for output */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
zone_lan_output  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_output  all  --  0.0.0.0/0            0.0.0.0/0           
zone_wan_output  all  --  0.0.0.0/0            0.0.0.0/0           

Chain forwarding_lan_rule (1 references)
target     prot opt source               destination         

Chain forwarding_rule (1 references)
target     prot opt source               destination         

Chain forwarding_wan_rule (1 references)
target     prot opt source               destination         

Chain input_lan_rule (1 references)
target     prot opt source               destination         

Chain input_rule (1 references)
target     prot opt source               destination         

Chain input_wan_rule (1 references)
target     prot opt source               destination         

Chain output_lan_rule (1 references)
target     prot opt source               destination         

Chain output_rule (1 references)
target     prot opt source               destination         

Chain output_wan_rule (1 references)
target     prot opt source               destination         

Chain reject (1 references)
target     prot opt source               destination         
REJECT     tcp  --  0.0.0.0/0            0.0.0.0/0            reject-with tcp-reset
REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

Chain syn_flood (1 references)
target     prot opt source               destination         
RETURN     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x17/0x02 limit: avg 25/sec burst 50
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_dest_ACCEPT (2 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_forward (1 references)
target     prot opt source               destination         
forwarding_lan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for forwarding */
zone_wan_dest_ACCEPT  all  --  0.0.0.0/0            0.0.0.0/0            /* forwarding lan -> wan */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate DNAT /* Accept port forwards */
zone_lan_dest_ACCEPT  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_input (1 references)
target     prot opt source               destination         
input_lan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for input */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate DNAT /* Accept port redirections */
zone_lan_src_ACCEPT  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_output (1 references)
target     prot opt source               destination         
output_lan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for output */
zone_lan_dest_ACCEPT  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_src_ACCEPT (1 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_dest_ACCEPT (2 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_dest_DROP (1 references)
target     prot opt source               destination         
DROP       all  --  0.0.0.0/0            0.0.0.0/0           
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_forward (2 references)
target     prot opt source               destination         
forwarding_wan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for forwarding */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate DNAT /* Accept port forwards */
zone_wan_dest_DROP  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_input (2 references)
target     prot opt source               destination         
input_wan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for input */
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:68 /* Allow-DHCP-Renew */
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0            icmptype 8 /* Allow-Ping */
ACCEPT     2    --  0.0.0.0/0            0.0.0.0/0            /* Allow-IGMP */
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate DNAT /* Accept port redirections */
zone_wan_src_DROP  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_output (2 references)
target     prot opt source               destination         
output_wan_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* user chain for output */
zone_wan_dest_ACCEPT  all  --  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_src_DROP (1 references)
target     prot opt source               destination         
DROP       all  --  0.0.0.0/0            0.0.0.0/0           
DROP       all  --  0.0.0.0/0            0.0.0.0/0  

w regułach nic nie zmieniałem. wydawało mi się, że jeśłi jakiekolwiek są i działają na strefie wan to będa dalej działać na strefie wan po dodaniu interfejsu wan_aero2. czy z powyższych wpisów można coś wywnioskować sensownego? szczególnie nie rozumiem, czemu nie mogę połączyś się  ruterem jeśli są w tej samej podsieci, bo działa jeśli modem jest sam bez vectry.

31

Odp: P2812HNU + E173s-2 z aero2

I tak ma być. Po wifi możesz się do routera dostać?

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

32

Odp: P2812HNU + E173s-2 z aero2

po wifi mogę. po wifi nawet otworzyło mi stronę sprawdzającą adres ip i był z aero. po kablu ze stacjonarki do rutera ciężko idzie. zrobiłęm dłuższy test. mogę się połączyć ze stacjonarki do rutera ale sesja jest nieresponsywna, prompt o hasło pojawa się po 7-8 minutach. w istniejącej sesji podaję polecenie do wykonania, nie widzę go, pojawia się z wynikiem też po 8 minutach. zmieniłem kabel. sytuacja ta sama: wifi smiga do rutera. ze stacjonarki po kablu kiepsko. połączyłem się ze stacjonarki po wifi. smiga. strony www też się otwierają. czyli coś po kablu nie tak lata...

33

Odp: P2812HNU + E173s-2 z aero2

Dnsy? Ustaw wszędzie 8.8.8.8

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

34

Odp: P2812HNU + E173s-2 z aero2

Cezary, jaki jest tok twojego rozumowania? ustawiłem, zaraz będę sprawdzał, ale nie bardzo rozumiem jak DNSy googlowe moga pomóc a chciałbym zrozumieć. bo po wifi -- dzięki za tę podpowiedź! -- wszystko faktycznie działa, mogę łączyć się po ssh z ruterem wykorzystującym łącze aero, otwierać strony www itp. wszystko z akceptowalną jakością aero. no i nie ma takich kilkuminutowych opóźnień po ssh jak po kablu. ustawiam więc 8.8.8.8 na stacjonarce i sprawdzam po kablu. over.

35

Odp: P2812HNU + E173s-2 z aero2

bez zmian. wpisałem 8.8.8.8 w ustawieniach DNS na stacjonarce.

36

Odp: P2812HNU + E173s-2 z aero2

porobiłem testy z różnymi kablami, z systemem live cd fedora, z samym aero2, z przełączaniem na aero i na razie mogę podsumować następująco:
a) przy przełączaniu failover z vectry na aero2 po wifi dostęp jest, nie ma opóźnień itp. - problemy są na połączaniu kablowym
b) jeśli jest podłączone tylko aero2 albo tylko vectra to nie ma problemów nigdzie: ani wifi, ani po kablu
próbowałem też całkowicie wyłączyć firewalla (tj. aby niczego nie blokował) i po kolei włączać reguły aby metodą eliminacji trafić w tę problematyczną, ale coś mi nie wyszło i konieczny był reset do ustawień fabrycznych. jutro będę testował dalej i jakoś uporządkuję to, ale gdyby ktoś miał podobną sytuację lub na sugestię co mógłbym jeszcze posprawdzać to proszę o odzew.

37 (edytowany przez hanti 2015-07-27 21:55:33)

Odp: P2812HNU + E173s-2 z aero2

moze zostaw to simplefailover i pobaw sie mwan3

tu masz config tylko pozmieniaj nazwy wanow itp

config interface 'wan'
    option enabled '1'
    option count '1'
    option interval '5'
    option reroute '0'
    option reliability '1'
    option timeout '3'
    option up '5'
    option down '5'
    list track_ip '8.8.4.4'
    list track_ip '8.8.8.8'
    list track_ip '4.2.2.2'
    list track_ip '173.252.120.6'
    list track_ip '208.67.222.222'

config interface 'mobile'
    option enabled '1'
    option reliability '1'
    option count '1'
    option reroute '0'
    option timeout '10'
    option down '10'
    option interval '30'
    option up '3'
    list track_ip '8.8.4.4'
    list track_ip '8.8.8.8'
    list track_ip '4.2.2.2'
    list track_ip '173.252.120.6'
    list track_ip '208.67.222.222'

config member 'wan_m1_w3'
    option interface 'wan'
    option metric '1'
    option weight '1'

config member 'wan2_m2_w2'
    option interface 'mobile'
    option metric '2'
    option weight '2'

config policy 'wan_pri_wan2_se'
    list use_member 'wan_m1_w3'
    list use_member 'wan2_m2_w2'

config rule 'rule'
    option dest_ip '0.0.0.0/0'
    option proto 'all'
    option use_policy 'wan_pri_wan2_se'

a w network dodaj tylko do intefejsow option metric 1 i dla zapasowego option metric 2
a i jeszcze dnsy od aero dodaj mu na sztywno a nie zeby bral od operatora bo jak pamietam mwan3 chyba sie gubil

38 (edytowany przez geos 2015-08-17 20:31:53)

Odp: P2812HNU + E173s-2 z aero2

dzięki hanti, będę miał to na uwadze. na razie jeszcze popróbuję z simplefailover.

czy takie wyniki poleceń mogą pomóc w zdiagnozowaniu co się dzieje? polecenia wykonywane ze stacjonarki połączonej kablem do rutera po przełączeniu z vectry na aero2:

$ traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * abc.lan (192.168.1.1)  0.402 ms  0.646 ms

$ traceroute wp.pl
traceroute to wp.pl (212.77.98.9), 30 hops max, 60 byte packets
 1  abc.lan (192.168.1.1)  0.305 ms  0.521 ms  0.732 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  212.2.99.245 (212.2.99.245)  65.323 ms  64.992 ms  65.545 ms
10  195.182.218.85 (195.182.218.85)  65.174 ms  65.335 ms  65.410 ms
11  * * *
12  * * *
13  * * *
14  * * abc.lan (192.168.1.1)  0.289 ms !N
$ traceroute amazon.com
traceroute to amazon.com (176.32.98.166), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *