26

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

No i nie udało się. Robię zgodnie z http://eko.one.pl/forum/viewtopic.php?pid=76450#p76450 i nie ma połączenia. Lampka modemu niby reaguje na ifup wan, ale często chwilę później zaczyna migać. Co ciekawe liczniki w Luci/Interfaces pokazują nawet jakieś kilkaset bajtów przychodzących, ale nie daje się spingować Gógla.

TP-Link WDR4300 + E398
WD MyNet N600 + E3131 + E3372
WNDR3700v2
WGT634U

27

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

Looooogi......

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

28

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

Przepraszam że zawracam dupę pytając 101 raz o rzeczy wałkowane setki razy - ale nie znalazłem opisu skąd brać jakie logi. Jedyne co znalazłem to "cat /proc/bus/usb/devices".

TP-Link WDR4300 + E398
WD MyNet N600 + E3131 + E3372
WNDR3700v2
WGT634U

29

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

Polecenie logread

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

30

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

W /proc/bus/ nie ma usb (jest tylko pci) o_O
zaś logi wyglądają tak:

BB Luci, E398 ("wan" qmi) oraz E270 ("WANAPN" ppp), WD MyNetN600:

kern.info kernel: [   15.820000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
kern.info kernel: [   15.840000] usbcore: registered new interface driver option
kern.info kernel: [   15.840000] usbserial: USB Serial support registered for GSM modem (1-port)
kern.info kernel: [   15.850000] option 1-1.3:1.0: GSM modem (1-port) converter detected
kern.info kernel: [   15.880000] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
kern.info kernel: [   15.880000] option 1-1.3:1.1: GSM modem (1-port) converter detected
kern.info kernel: [   15.890000] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
kern.info kernel: [   15.900000] option 1-1.4:1.0: GSM modem (1-port) converter detected
kern.info kernel: [   15.910000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
kern.info kernel: [   15.910000] option 1-1.4:1.1: GSM modem (1-port) converter detected
kern.info kernel: [   15.920000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB3
kern.info kernel: [   15.930000] option 1-1.4:1.2: GSM modem (1-port) converter detected
kern.info kernel: [   15.940000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB4
user.emerg syslog: Error: Failed to connect to ubus
user.emerg syslog: 'radio1' is disabled
user.emerg syslog: 'radio1' is disabled
user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
user.err syslog: /dev/mtdblock7 is already mounted
user.emerg syslog: block: /dev/mtdblock7 is already mounted
authpriv.info dropbear[1405]: Not backgrounding
user.info syslog: module is already loaded - xt_comment
kern.emerg already loaded - xt_comment
user.info syslog: module is already loaded - xt_comment
kern.emerg already loaded - xt_comment
kern.info kernel: [   27.930000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
kern.info kernel: [   27.930000] device eth0 entered promiscuous mode
daemon.notice netifd: Interface 'lan' is enabled
daemon.notice netifd: Interface 'lan' is setting up now
kern.info kernel: [   27.950000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
daemon.notice netifd: Interface 'lan' is now up
daemon.notice netifd: Interface 'WANAPN' is setting up now
daemon.notice netifd: Interface 'loopback' is enabled
daemon.notice netifd: Interface 'loopback' is setting up now
daemon.notice netifd: Interface 'loopback' is now up
daemon.notice netifd: Interface 'wan' is enabled
kern.info kernel: [   27.980000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
daemon.notice netifd: Interface 'waneth' is enabled
daemon.notice netifd: Network device 'lo' link is up
daemon.notice netifd: Interface 'loopback' has link connectivity
daemon.notice netifd: Network device 'wwan0' link is up
daemon.notice netifd: Interface 'wan' has link connectivity
daemon.notice netifd: Interface 'wan' is setting up now
daemon.info qmi[1672]: Waiting for network registration
kern.info kernel: [   28.720000] eth0: link up (1000Mbps/Full duplex)
kern.info kernel: [   28.720000] br-lan: port 1(eth0) entered forwarding state
kern.info kernel: [   28.730000] br-lan: port 1(eth0) entered forwarding state
kern.info kernel: [   28.730000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
daemon.notice netifd: Network device 'eth0' link is up
daemon.info qmi[1672]: Starting network internet
daemon.notice netifd: Bridge 'br-lan' link is up
daemon.notice netifd: Interface 'lan' has link connectivity
kern.info kernel: [   28.760000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
daemon.info qmi[1672]: Connected, starting DHCP
daemon.notice netifd: Interface 'wan6' is enabled
daemon.notice netifd: Network alias 'wwan0' link is up
daemon.notice netifd: Interface 'wan6' has link connectivity
daemon.notice netifd: Interface 'wan6' is setting up now
daemon.notice netifd: Interface 'wan' is now up
kern.info kernel: [   29.300000] cfg80211: Calling CRDA for country: PL
daemon.notice netifd: Interface 'wan_dhcp' is enabled
daemon.notice netifd: Interface 'wan_dhcp' has link connectivity
daemon.notice netifd: Interface 'wan_dhcp' is setting up now
kern.info kernel: [   29.340000] cfg80211: Regulatory domain changed to country: PL
kern.info kernel: [   29.350000] cfg80211:  DFS Master region: ETSI
kern.info kernel: [   29.350000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
kern.info kernel: [   29.360000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
kern.info kernel: [   29.370000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
kern.info kernel: [   29.380000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
kern.info kernel: [   29.390000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s)
kern.info kernel: [   29.400000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
daemon.notice netifd: wan (1672): Command failed: Unknown error
daemon.notice netifd: Interface 'wan_dhcpv6' is enabled
daemon.notice netifd: Interface 'wan_dhcpv6' has link connectivity
daemon.notice netifd: Interface 'wan_dhcpv6' is setting up now
daemon.warn odhcpd[1362]: DHCPV6 SOLICIT IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: ok fd2a:cee6:d53f::af7/128
daemon.notice netifd: wan (1672): Command failed: Unknown error
daemon.notice odhcp6c[1786]: (re)starting transaction on wwan0
daemon.notice odhcp6c[1786]: Starting SOLICIT transaction (timeout 4294967295s, max rc 0)
daemon.notice netifd: wan_dhcp (1792): udhcpc (v1.22.1) started
daemon.notice odhcp6c[1797]: (re)starting transaction on wwan0
daemon.notice odhcp6c[1797]: Starting SOLICIT transaction (timeout 4294967295s, max rc 0)
kern.err kernel: [   30.100000] option1 ttyUSB0: option_instat_callback: error -2
authpriv.info dropbear[1811]: Child connection from 192.168.2.228:49814
daemon.warn odhcpd[1362]: DHCPV6 SOLICIT IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: ok fd2a:cee6:d53f::af7/128
daemon.warn odhcpd[1362]: DHCPV6 REQUEST IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: ok fd2a:cee6:d53f::af7/128
daemon.notice netifd: wan_dhcp (1792): Sending discover...
daemon.notice netifd: wan_dhcp (1792): Sending select for 164.127.5.119...
daemon.notice netifd: wan_dhcp (1792): Lease of 164.127.5.119 obtained, lease time 7200
kern.info kernel: [   30.730000] br-lan: port 1(eth0) entered forwarding state
daemon.notice netifd: WANAPN (1670): Trying to set mode
daemon.notice netifd: Interface 'wan_dhcp' is now up
user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
kern.err kernel: [   31.780000] option1 ttyUSB0: option_instat_callback: error -2
kern.info kernel: [   32.060000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
daemon.warn odhcpd[1362]: DHCPV6 CONFIRM IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: not on-link fd2a:cee6:d53f::af7/128
kern.info kernel: [   32.100000] device wlan0 entered promiscuous mode
kern.info kernel: [   32.100000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   32.110000] br-lan: port 2(wlan0) entered forwarding state
daemon.warn odhcpd[1362]: DHCPV6 SOLICIT IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: ok fd2a:cee6:d53f::af7/128
kern.info kernel: [   32.260000] br-lan: port 2(wlan0) entered disabled state
daemon.warn odhcpd[1362]: DHCPV6 REQUEST IA_NA from 000100011a572d64bc5ff4e4fa22 on br-lan: ok fd2a:cee6:d53f::af7/128
daemon.crit xl2tpd[1888]: setsockopt recvref[30]: Protocol not available
daemon.info xl2tpd[1888]: Using l2tp kernel support.
daemon.info xl2tpd[1899]: xl2tpd version xl2tpd-1.3.6 started on OpenWrt PID:1899
daemon.info xl2tpd[1899]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
daemon.info xl2tpd[1899]: Forked by Scott Balmos and David Stipp, (C) 2001
daemon.info xl2tpd[1899]: Inherited by Jeff McAdams, (C) 2002
daemon.info xl2tpd[1899]: Forked again by Xelerance (www.xelerance.com) (C) 2006
daemon.info xl2tpd[1899]: Listening on IP address 0.0.0.0, port 1701
daemon.notice pppd[1878]: pppd 2.4.6 started by root, uid 0
kern.info kernel: [   34.680000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   34.680000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   34.690000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
local2.info chat[1916]: abort on (BUSY)
local2.info chat[1916]: abort on (NO CARRIER)
local2.info chat[1916]: abort on (ERROR)
local2.info chat[1916]: report (CONNECT)
local2.info chat[1916]: timeout set to 10 seconds
local2.info chat[1916]: send (AT&F^M)
local2.info chat[1916]: expect (OK)
local2.info chat[1916]: AT&F^M^M
local2.info chat[1916]: OK
local2.info chat[1916]:  -- got it
local2.info chat[1916]: send (ATE1^M)
local2.info chat[1916]: expect (OK)
local2.info chat[1916]: ^M
local2.info chat[1916]: ATE1^M^M
local2.info chat[1916]: OK
local2.info chat[1916]:  -- got it
local2.info chat[1916]: send (AT+CGDCONT=1,"IP","eurobank.pl"^M)
daemon.notice netifd: Network device 'wlan0' link is up
user.emerg syslog: setting up led WAN
user.emerg syslog: setting up led LAN1
user.emerg syslog: setting up led LAN2
user.emerg syslog: setting up led LAN3
user.emerg syslog: setting up led LAN4
local2.info chat[1916]: timeout set to 30 seconds
local2.info chat[1916]: expect (OK)
local2.info chat[1916]: ^M
local2.info chat[1916]: AT+CGDCONT=1,"IP","eurobank.pl"^M^M
local2.info chat[1916]: OK
local2.info chat[1916]:  -- got it
local2.info chat[1916]: send (ATD*99***1#^M)
local2.info chat[1916]: expect (CONNECT)
local2.info chat[1916]: ^M
local2.info chat[1916]: ATD*99***1#^M^M
local2.info chat[1916]: CONNECT
local2.info chat[1916]:  -- got it
local2.info chat[1916]: send ( ^M)
daemon.info pppd[1878]: Serial connection established.
daemon.info pppd[1878]: Using interface 3g-WANAPN
daemon.notice pppd[1878]: Connect: 3g-WANAPN <--> /dev/ttyUSB0
kern.info kernel: [   36.680000] br-lan: port 2(wlan0) entered forwarding state
user.info watchcat: starting all tasks
user.info wathchat: started task (mode=ping;period=21600;pinghosts=8.8.8.8;pingperiod=1080;forcedelay=30)
user.info watchcat: all tasks started
user.emerg syslog: - init complete -
daemon.info hostapd: wlan0: STA 48:d7:05:cd:94:55 IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA 48:d7:05:cd:94:55 IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan0: STA 48:d7:05:cd:94:55 WPA: pairwise key handshake completed (RSN)
daemon.warn pppd[1878]: Could not determine remote IP address: defaulting to 10.64.64.64
daemon.notice pppd[1878]: local  IP address 10.255.224.66
daemon.notice pppd[1878]: remote IP address 10.64.64.64
daemon.notice pppd[1878]: primary   DNS address 10.0.48.48
daemon.info dnsmasq[2189]: started, version 2.71 cachesize 150
daemon.info dnsmasq[2189]: 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
daemon.info dnsmasq-dhcp[2189]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
daemon.info dnsmasq[2189]: using local addresses only for domain lan
daemon.info dnsmasq[2189]: reading /tmp/resolv.conf.auto
daemon.info dnsmasq[2189]: using local addresses only for domain lan
daemon.info dnsmasq[2189]: using nameserver 89.108.202.19#53
daemon.info dnsmasq[2189]: using nameserver 89.108.202.20#53
daemon.info dnsmasq[2189]: read /etc/hosts - 1 addresses
daemon.info dnsmasq-dhcp[2189]: read /etc/ethers - 0 addresses
daemon.notice netifd: Network device '3g-WANAPN' link is up
daemon.notice netifd: Interface 'WANAPN' is now up
daemon.err miniupnpd[2233]: could not open lease file: /var/upnp.leases
daemon.notice miniupnpd[2233]: HTTP listening on port 5000
daemon.notice miniupnpd[2233]: HTTP IPv6 address given to control points : [fd2a:cee6:d53f::1]
daemon.notice miniupnpd[2233]: Listening for NAT-PMP/PCP traffic on port 5351
daemon.info dnsmasq-dhcp[2189]: DHCPREQUEST(br-lan) 192.168.2.213 48:d7:05:cd:94:55
daemon.info dnsmasq-dhcp[2189]: DHCPACK(br-lan) 192.168.2.213 48:d7:05:cd:94:55 MagdalenasMBP2
daemon.info dnsmasq[2189]: reading /tmp/resolv.conf.auto
daemon.info dnsmasq[2189]: using local addresses only for domain lan
daemon.info dnsmasq[2189]: using nameserver 10.0.48.48#53
daemon.info dnsmasq[2189]: using nameserver 89.108.202.19#53
daemon.info dnsmasq[2189]: using nameserver 89.108.202.20#53
daemon.info dnsmasq-dhcp[2189]: DHCPREQUEST(br-lan) 192.168.2.228 bc:5f:f4:e4:fa:22
daemon.info dnsmasq-dhcp[2189]: DHCPACK(br-lan) 192.168.2.228 bc:5f:f4:e4:fa:22 S_KUBISIAK_WIN8
daemon.info hostapd: wlan0: STA 5c:0a:5b:b6:9b:0f IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA 5c:0a:5b:b6:9b:0f IEEE 802.11: associated (aid 2)
daemon.info hostapd: wlan0: STA 5c:0a:5b:b6:9b:0f WPA: pairwise key handshake completed (RSN)
daemon.info dnsmasq-dhcp[2189]: DHCPREQUEST(br-lan) 192.168.2.113 5c:0a:5b:b6:9b:0f
daemon.info dnsmasq-dhcp[2189]: DHCPACK(br-lan) 192.168.2.113 5c:0a:5b:b6:9b:0f android-f2d49ddd8aac5fcb
daemon.warn dnsmasq[2189]: nameserver 10.0.48.48 refused to do a recursive query
daemon.info hostapd: wlan0: STA cc:fa:00:ab:53:64 IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA cc:fa:00:ab:53:64 IEEE 802.11: associated (aid 3)
daemon.info hostapd: wlan0: STA cc:fa:00:ab:53:64 WPA: pairwise key handshake completed (RSN)
daemon.info dnsmasq-dhcp[2189]: DHCPREQUEST(br-lan) 192.168.2.138 cc:fa:00:ab:53:64
daemon.info dnsmasq-dhcp[2189]: DHCPACK(br-lan) 192.168.2.138 cc:fa:00:ab:53:64 android-b978a590b184a2cf
authpriv.notice dropbear[1811]: Password auth succeeded for 'root' from 192.168.2.228:49814
user.warn mwan3: Could not find gateway for interface wan (wwan0)
user.notice firewall: Reloading firewall due to ifup of wan (wwan0)

Dla porównania jak wygląda gdy modem działa
AA Garg, E398 jako jedyny modem, WDR4300

kern.info kernel: [   37.060000] USB Serial support registered for generic
kern.info kernel: [   37.060000] usbcore: registered new interface driver usbserial_generic
kern.info kernel: [   37.070000] usbserial: USB Serial Driver core
kern.info kernel: [   37.150000] USB Serial support registered for Sierra USB modem
kern.info kernel: [   37.160000] usbcore: registered new interface driver sierra
kern.info kernel: [   37.160000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
kern.info kernel: [   37.180000] usbcore: registered new interface driver sierra_net
kern.info kernel: [   37.390000] usbcore: registered new interface driver cdc_wdm
kern.info kernel: [   37.410000] usbcore: registered new interface driver cdc_ether
kern.info kernel: [   37.540000] usbcore: registered new interface driver cdc_ncm
kern.info kernel: [   37.610000] usbcore: registered new interface driver qmi_wwan
kern.info kernel: [   37.630000] usbcore: registered new interface driver rndis_host
kern.info kernel: [   37.710000] USB Serial support registered for GSM modem (1-port)
kern.info kernel: [   37.720000] usbcore: registered new interface driver option
kern.info kernel: [   37.730000] option: v0.7.2:USB Driver for GSM modems
kern.info kernel: [   37.750000] USB Serial support registered for Qualcomm USB modem
kern.info kernel: [   37.750000] usbcore: registered new interface driver qcserial
kern.info kernel: [   37.880000] fuse init (API version 7.18)
kern.info kernel: [   42.650000] ADDRCONF(NETDEV_UP): eth0: link is not ready
kern.info kernel: [   44.090000] ADDRCONF(NETDEV_UP): eth0: link is not ready
kern.info kernel: [   44.100000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
kern.info kernel: [   44.110000] device eth0.1 entered promiscuous mode
kern.info kernel: [   44.110000] device eth0 entered promiscuous mode
kern.info kernel: [   44.120000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
daemon.notice netifd: Interface 'lan' is now up
daemon.notice netifd: Interface 'loopback' is now up
user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
kern.info kernel: [   45.210000] eth0: link up (1000Mbps/Full duplex)
kern.info kernel: [   45.220000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
kern.info kernel: [   45.230000] br-lan: port 1(eth0.1) entered forwarding state
kern.info kernel: [   45.230000] br-lan: port 1(eth0.1) entered forwarding state
kern.info kernel: [   45.240000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
kern.info kernel: [   45.240000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
kern.info kernel: [   47.230000] br-lan: port 1(eth0.1) entered forwarding state
kern.info kernel: [   49.540000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
kern.info kernel: [   49.540000] device wlan0 entered promiscuous mode
kern.info kernel: [   49.760000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   49.760000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   49.770000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
kern.info kernel: [   51.760000] br-lan: port 2(wlan0) entered forwarding state
kern.info kernel: [   52.820000] ADDRCONF(NETDEV_UP): wlan1: link is not ready
kern.info kernel: [   52.830000] device wlan1 entered promiscuous mode
kern.info kernel: [   53.030000] br-lan: port 3(wlan1) entered forwarding state
kern.info kernel: [   53.040000] br-lan: port 3(wlan1) entered forwarding state
kern.info kernel: [   53.050000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
kern.info kernel: [   55.040000] br-lan: port 3(wlan1) entered forwarding state
user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
authpriv.info dropbear[1447]: Running in background
user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=? Product=? Serial=?
daemon.crit httpd_gargoyle[1504]: bind 0.0.0.0 - Address already in use
daemon.crit httpd_gargoyle[1504]: bind 0.0.0.0 - Address already in use
daemon.warn httpd_gargoyle[1506]: started as root without requesting chroot(), warning only
daemon.notice httpd_gargoyle[1506]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
user.notice usb-modeswitch: 1-1.2.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching
syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/004
kern.info kernel: [   58.490000] usb 1-1.2.4: USB disconnect, device number 4
user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
user.notice dnsmasq: Allowing 127.0.0.0/8 responses
user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
daemon.info hostapd: wlan0: STA 0c:74:c2:8c:1b:ae IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA 0c:74:c2:8c:1b:ae IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan0: STA 0c:74:c2:8c:1b:ae WPA: pairwise key handshake completed (RSN)
daemon.info hostapd: wlan0: STA 48:d2:24:68:03:dd IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA 48:d2:24:68:03:dd IEEE 802.11: associated (aid 2)
daemon.info hostapd: wlan0: STA 48:d2:24:68:03:dd WPA: pairwise key handshake completed (RSN)
daemon.info dnsmasq[1591]: started, version 2.66 cachesize 150
daemon.info dnsmasq[1591]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
daemon.info dnsmasq-dhcp[1591]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
daemon.info dnsmasq[1591]: using local addresses only for domain lan
daemon.info dnsmasq[1591]: reading /tmp/resolv.conf.auto
daemon.warn dnsmasq[1591]: ignoring nameserver 192.168.1.1 - local interface
daemon.info dnsmasq[1591]: using local addresses only for domain lan
daemon.info dnsmasq[1591]: read /etc/hosts - 3 addresses
daemon.info dnsmasq-dhcp[1591]: read /etc/ethers - 1 addresses
user.err syslog: error starting threads: errno 89 (Function not implemented)
user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
user.info sysinit: (Did you specify correct configuration file path?)
kern.info kernel: [   63.820000] usb 1-1.2.4: new high-speed USB device number 5 using ehci-platform
kern.info kernel: [   63.950000] option 1-1.2.4:1.0: GSM modem (1-port) converter detected
kern.info kernel: [   63.960000] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB0
kern.info kernel: [   63.970000] option 1-1.2.4:1.1: GSM modem (1-port) converter detected
kern.info kernel: [   63.970000] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB1
kern.info kernel: [   63.980000] option 1-1.2.4:1.2: GSM modem (1-port) converter detected
kern.info kernel: [   63.990000] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB2
kern.info kernel: [   64.000000] cdc_wdm 1-1.2.4:1.3: cdc-wdm0: USB WDM device
kern.info kernel: [   64.000000] qmi_wwan 1-1.2.4:1.4: Use "cdc_wdm" for QMI interface 1-1.2.4:1.3
kern.info kernel: [   64.010000] qmi_wwan 1-1.2.4:1.4: wwan0: register 'qmi_wwan' at usb-ehci-platform-1.2.4, QMI speaking wwan device, 00:a0:c6:00:00:00
kern.info kernel: [   64.030000] scsi2 : usb-storage 1-1.2.4:1.5
kern.info kernel: [   64.030000] scsi3 : usb-storage 1-1.2.4:1.6
kern.notice kernel: [   65.030000] scsi 2:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
kern.notice kernel: [   65.040000] scsi 3:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
kern.notice kernel: [   65.050000] sd 3:0:0:0: [sda] Attached SCSI removable disk
daemon.info hostapd: wlan0: STA bc:3b:af:86:15:9d IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA bc:3b:af:86:15:9d IEEE 802.11: associated (aid 3)
daemon.info hostapd: wlan0: STA bc:3b:af:86:15:9d WPA: pairwise key handshake completed (RSN)
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info hostapd: wlan0: STA bc:3b:af:86:15:9d IEEE 802.11: disassociated
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.119 bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.119 bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPREQUEST(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPACK(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae MagdaleasiPhone
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPREQUEST(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPACK(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.119 bc:3b:af:86:15:9d
daemon.info dnsmasq-dhcp[1591]: DHCPDISCOVER(br-lan) 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPOFFER(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPREQUEST(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info dnsmasq-dhcp[1591]: DHCPACK(br-lan) 192.168.1.195 00:90:a9:af:49:55
daemon.info hostapd: wlan0: STA bc:3b:af:86:15:9d IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
daemon.info dnsmasq-dhcp[1591]: DHCPREQUEST(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae
daemon.info dnsmasq-dhcp[1591]: DHCPACK(br-lan) 192.168.1.166 0c:74:c2:8c:1b:ae MagdaleasiPhone
user.notice upnp daemon: external interface not found, not starting
user.notice usb-modeswitch: 1-1.2.4:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice root: vsftpd init: mounted = 0
user.info sysinit: ERROR: No drives attached, no directories to share!
user.info sysinit: setting up led USB1
user.info sysinit: setting up led USB2
user.info sysinit: setting up led WLAN2G
daemon.info hostapd: wlan0: STA 40:0e:85:48:d3:6c IEEE 802.11: authenticated
daemon.info hostapd: wlan0: STA 40:0e:85:48:d3:6c IEEE 802.11: associated (aid 3)
daemon.info hostapd: wlan0: STA 40:0e:85:48:d3:6c WPA: pairwise key handshake completed (RSN)
daemon.info dnsmasq-dhcp[1591]: DHCPREQUEST(br-lan) 192.168.1.116 40:0e:85:48:d3:6c
daemon.info dnsmasq-dhcp[1591]: DHCPACK(br-lan) 192.168.1.116 40:0e:85:48:d3:6c android-6bd07cceda9f1c09
user.notice usb-modeswitch: 1-1.2.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
user.notice usb-modeswitch: 1-1.2.4:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
authpriv.info dropbear[3449]: Child connection from 192.168.1.195:50099
authpriv.notice dropbear[3449]: Password auth succeeded for 'root' from 192.168.1.195:50099
daemon.notice netifd: Interface 'wan' is now down
daemon.notice netifd: wan (3970): 33973976
daemon.notice netifd: wan (3981): udhcpc (v1.19.4) started
daemon.notice netifd: wan (3981): Sending discover...
daemon.notice netifd: wan (3981): Sending select for 164.127.5.119...
daemon.notice netifd: wan (3981): Lease of 164.127.5.119 obtained, lease time 7200
daemon.notice netifd: Interface 'wan' is now up
user.notice firewall: Reloading firewall due to ifup of wan (wwan0)
daemon.info dnsmasq[1591]: reading /tmp/resolv.conf.auto
daemon.info dnsmasq[1591]: using nameserver 89.108.202.20#53
daemon.info dnsmasq[1591]: using nameserver 89.108.202.19#53
daemon.warn dnsmasq[1591]: ignoring nameserver 192.168.1.1 - local interface
daemon.info dnsmasq[1591]: using local addresses only for domain lan
cron.err crond[1367]: time disparity of 153 minutes detected

Pozwoliłem sobie wyciąć timestampy, mam nadzieję że nie będą potrzebne.

TP-Link WDR4300 + E398
WD MyNet N600 + E3131 + E3372
WNDR3700v2
WGT634U

31

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

cat /sys/kernel/debug/usb/devices, bo tak jest w BB

Oba się połączyły.

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

32

Odp: Jak zrobić 2 WANy, dane ip ma iść na jeden, reszta na drugi.

Na razie odpuściłem 2 modemy na 1 routerze, za to udało mi się w końcu rozwiązać konflikt między 2 wanami:

config interface 'waneth'
    option ifname 'eth1'
    option proto 'dhcp'

config interface 'WANAPN'
    option proto '3g'
    option device '/dev/ttyUSB0'
    option service 'umts'
    option apn 'custom.apn'
    option defaultroute '0'

config route
    option interface 'WANAPN'
    option target 'X.X.X.X'
    option netmask '255.255.255.255'

Oprócz tego WANAPN musi być dodany do zone "wan" w firewallu (lub mieć własny zone z maskaradą).
Kluczowe jest tu defaultroute '0' w "dodatkowym" wanie, w przeciwnym razie ostatni podniesiony wan przechwytywał cały ruch - a chodzi właśnie o to by "dodatkowy" wan tego nie mógł zrobić.
Static route kieruje do tego wana tylko niezbędny ruch.

TP-Link WDR4300 + E398
WD MyNet N600 + E3131 + E3372
WNDR3700v2
WGT634U