1 (edytowany przez mk77 2014-06-30 19:33:05)

Temat: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Mam ruter WDR3600 (Gargoyle 1.6.1.4) i do niego podłączony modem E3272.

Ustawienia w GUI

CDMA/3G/LTE
4G/3G/2G (zależy od modemu)
/dev/ttyUSB0

po połączeniu się przez SSH:

cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0608 Rev=85.36
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1506 Rev= 1.02
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=10 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:  If#= 2 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms





logread

Jun 30 16:13:49 Gargoyle daemon.notice pppd[6757]: pppd 2.4.5 started by root, uid 0
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: abort on (BUSY)
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: abort on (NO CARRIER)
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: abort on (ERROR)
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: report (CONNECT)
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: timeout set to 10 seconds
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: send (AT&F^M)
Jun 30 16:13:50 Gargoyle local2.info chat[6775]: expect (OK)
Jun 30 16:14:00 Gargoyle local2.info chat[6775]: alarm
Jun 30 16:14:00 Gargoyle local2.info chat[6775]: Failed
Jun 30 16:14:00 Gargoyle daemon.err pppd[6757]: Connect script failed
Jun 30 16:14:01 Gargoyle daemon.info pppd[6757]: Exit.
Jun 30 16:14:02 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:14:05 Gargoyle daemon.notice pppd[6798]: pppd 2.4.5 started by root, uid 0
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: abort on (BUSY)
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: abort on (NO CARRIER)
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: abort on (ERROR)
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: report (CONNECT)
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: timeout set to 10 seconds
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: send (AT&F^M)
Jun 30 16:14:06 Gargoyle local2.info chat[6800]: expect (OK)
Jun 30 16:14:16 Gargoyle local2.info chat[6800]: alarm
Jun 30 16:14:16 Gargoyle local2.info chat[6800]: Failed
Jun 30 16:14:16 Gargoyle daemon.err pppd[6798]: Connect script failed
Jun 30 16:14:17 Gargoyle daemon.info pppd[6798]: Exit.
Jun 30 16:14:17 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:14:21 Gargoyle daemon.notice pppd[6823]: pppd 2.4.5 started by root, uid 0
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: abort on (BUSY)
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: abort on (NO CARRIER)
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: abort on (ERROR)
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: report (CONNECT)
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: timeout set to 10 seconds
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: send (AT&F^M)
Jun 30 16:14:22 Gargoyle local2.info chat[6825]: expect (OK)
Jun 30 16:14:32 Gargoyle local2.info chat[6825]: alarm
Jun 30 16:14:32 Gargoyle local2.info chat[6825]: Failed
Jun 30 16:14:32 Gargoyle daemon.err pppd[6823]: Connect script failed
Jun 30 16:14:33 Gargoyle daemon.info pppd[6823]: Exit.
Jun 30 16:14:33 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:14:36 Gargoyle daemon.notice pppd[6849]: pppd 2.4.5 started by root, uid 0
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: abort on (BUSY)
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: abort on (NO CARRIER)
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: abort on (ERROR)
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: report (CONNECT)
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: timeout set to 10 seconds
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: send (AT&F^M)
Jun 30 16:14:37 Gargoyle local2.info chat[6851]: expect (OK)
Jun 30 16:14:47 Gargoyle local2.info chat[6851]: alarm
Jun 30 16:14:47 Gargoyle local2.info chat[6851]: Failed
Jun 30 16:14:47 Gargoyle daemon.err pppd[6849]: Connect script failed
Jun 30 16:14:48 Gargoyle daemon.info pppd[6849]: Exit.
Jun 30 16:14:48 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:14:52 Gargoyle daemon.notice pppd[6874]: pppd 2.4.5 started by root, uid 0
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: abort on (BUSY)
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: abort on (NO CARRIER)
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: abort on (ERROR)
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: report (CONNECT)
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: timeout set to 10 seconds
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: send (AT&F^M)
Jun 30 16:14:53 Gargoyle local2.info chat[6876]: expect (OK)
Jun 30 16:15:03 Gargoyle local2.info chat[6876]: alarm
Jun 30 16:15:03 Gargoyle local2.info chat[6876]: Failed
Jun 30 16:15:03 Gargoyle daemon.err pppd[6874]: Connect script failed
Jun 30 16:15:04 Gargoyle daemon.info pppd[6874]: Exit.
Jun 30 16:15:04 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:15:07 Gargoyle daemon.notice pppd[6899]: pppd 2.4.5 started by root, uid 0
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: abort on (BUSY)
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: abort on (NO CARRIER)
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: abort on (ERROR)
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: report (CONNECT)
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: timeout set to 10 seconds
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: send (AT&F^M)
Jun 30 16:15:09 Gargoyle local2.info chat[6901]: expect (OK)
Jun 30 16:15:19 Gargoyle local2.info chat[6901]: alarm
Jun 30 16:15:19 Gargoyle local2.info chat[6901]: Failed
Jun 30 16:15:19 Gargoyle daemon.err pppd[6899]: Connect script failed
Jun 30 16:15:20 Gargoyle daemon.info pppd[6899]: Exit.
Jun 30 16:15:20 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:15:23 Gargoyle daemon.notice pppd[6924]: pppd 2.4.5 started by root, uid 0
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: abort on (BUSY)
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: abort on (NO CARRIER)
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: abort on (ERROR)
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: report (CONNECT)
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: timeout set to 10 seconds
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: send (AT&F^M)
Jun 30 16:15:24 Gargoyle local2.info chat[6926]: expect (OK)
Jun 30 16:15:34 Gargoyle local2.info chat[6926]: alarm
Jun 30 16:15:34 Gargoyle local2.info chat[6926]: Failed
Jun 30 16:15:34 Gargoyle daemon.err pppd[6924]: Connect script failed
Jun 30 16:15:35 Gargoyle daemon.info pppd[6924]: Exit.
Jun 30 16:15:35 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:15:39 Gargoyle daemon.notice pppd[6949]: pppd 2.4.5 started by root, uid 0
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: abort on (BUSY)
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: abort on (NO CARRIER)
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: abort on (ERROR)
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: report (CONNECT)
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: timeout set to 10 seconds
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: send (AT&F^M)
Jun 30 16:15:40 Gargoyle local2.info chat[6951]: expect (OK)
Jun 30 16:15:50 Gargoyle local2.info chat[6951]: alarm
Jun 30 16:15:50 Gargoyle local2.info chat[6951]: Failed
Jun 30 16:15:50 Gargoyle daemon.err pppd[6949]: Connect script failed
Jun 30 16:15:51 Gargoyle daemon.info pppd[6949]: Exit.
Jun 30 16:15:51 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:15:54 Gargoyle daemon.notice pppd[6974]: pppd 2.4.5 started by root, uid 0
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: abort on (BUSY)
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: abort on (NO CARRIER)
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: abort on (ERROR)
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: report (CONNECT)
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: timeout set to 10 seconds
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: send (AT&F^M)
Jun 30 16:15:55 Gargoyle local2.info chat[6976]: expect (OK)
Jun 30 16:16:05 Gargoyle local2.info chat[6976]: alarm
Jun 30 16:16:05 Gargoyle local2.info chat[6976]: Failed
Jun 30 16:16:05 Gargoyle daemon.err pppd[6974]: Connect script failed
Jun 30 16:16:06 Gargoyle daemon.info pppd[6974]: Exit.
Jun 30 16:16:07 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:16:10 Gargoyle daemon.notice pppd[7000]: pppd 2.4.5 started by root, uid 0
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: abort on (BUSY)
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: abort on (NO CARRIER)
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: abort on (ERROR)
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: report (CONNECT)
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: timeout set to 10 seconds
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: send (AT&F^M)
Jun 30 16:16:11 Gargoyle local2.info chat[7002]: expect (OK)
Jun 30 16:16:21 Gargoyle local2.info chat[7002]: alarm
Jun 30 16:16:21 Gargoyle local2.info chat[7002]: Failed
Jun 30 16:16:21 Gargoyle daemon.err pppd[7000]: Connect script failed
Jun 30 16:16:22 Gargoyle daemon.info pppd[7000]: Exit.
Jun 30 16:16:22 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:16:26 Gargoyle daemon.notice pppd[7025]: pppd 2.4.5 started by root, uid 0
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: abort on (BUSY)
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: abort on (NO CARRIER)
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: abort on (ERROR)
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: report (CONNECT)
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: timeout set to 10 seconds
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: send (AT&F^M)
Jun 30 16:16:27 Gargoyle local2.info chat[7027]: expect (OK)
Jun 30 16:16:37 Gargoyle local2.info chat[7027]: alarm
Jun 30 16:16:37 Gargoyle local2.info chat[7027]: Failed
Jun 30 16:16:37 Gargoyle daemon.err pppd[7025]: Connect script failed
Jun 30 16:16:38 Gargoyle daemon.info pppd[7025]: Exit.
Jun 30 16:16:38 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:16:41 Gargoyle daemon.notice pppd[7050]: pppd 2.4.5 started by root, uid 0
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: abort on (BUSY)
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: abort on (NO CARRIER)
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: abort on (ERROR)
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: report (CONNECT)
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: timeout set to 10 seconds
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: send (AT&F^M)
Jun 30 16:16:42 Gargoyle local2.info chat[7148]: expect (OK)
Jun 30 16:16:52 Gargoyle local2.info chat[7148]: alarm
Jun 30 16:16:52 Gargoyle local2.info chat[7148]: Failed
Jun 30 16:16:52 Gargoyle daemon.err pppd[7050]: Connect script failed
Jun 30 16:16:53 Gargoyle daemon.info pppd[7050]: Exit.
Jun 30 16:16:53 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:16:57 Gargoyle daemon.notice pppd[7172]: pppd 2.4.5 started by root, uid 0
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: abort on (BUSY)
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: abort on (NO CARRIER)
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: abort on (ERROR)
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: report (CONNECT)
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: timeout set to 10 seconds
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: send (AT&F^M)
Jun 30 16:16:58 Gargoyle local2.info chat[7174]: expect (OK)
Jun 30 16:17:08 Gargoyle local2.info chat[7174]: alarm
Jun 30 16:17:08 Gargoyle local2.info chat[7174]: Failed
Jun 30 16:17:08 Gargoyle daemon.err pppd[7172]: Connect script failed
Jun 30 16:17:09 Gargoyle daemon.info pppd[7172]: Exit.
Jun 30 16:17:09 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:17:12 Gargoyle daemon.notice pppd[7197]: pppd 2.4.5 started by root, uid 0
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: abort on (BUSY)
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: abort on (NO CARRIER)
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: abort on (ERROR)
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: report (CONNECT)
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: timeout set to 10 seconds
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: send (AT&F^M)
Jun 30 16:17:14 Gargoyle local2.info chat[7199]: expect (OK)
Jun 30 16:17:24 Gargoyle local2.info chat[7199]: alarm
Jun 30 16:17:24 Gargoyle local2.info chat[7199]: Failed
Jun 30 16:17:24 Gargoyle daemon.err pppd[7197]: Connect script failed
Jun 30 16:17:25 Gargoyle daemon.info pppd[7197]: Exit.
Jun 30 16:17:25 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:17:28 Gargoyle daemon.notice pppd[7222]: pppd 2.4.5 started by root, uid 0
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: abort on (BUSY)
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: abort on (NO CARRIER)
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: abort on (ERROR)
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: report (CONNECT)
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: timeout set to 10 seconds
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: send (AT&F^M)
Jun 30 16:17:29 Gargoyle local2.info chat[7224]: expect (OK)
Jun 30 16:17:39 Gargoyle local2.info chat[7224]: alarm
Jun 30 16:17:39 Gargoyle local2.info chat[7224]: Failed
Jun 30 16:17:39 Gargoyle daemon.err pppd[7222]: Connect script failed
Jun 30 16:17:40 Gargoyle daemon.info pppd[7222]: Exit.
Jun 30 16:17:40 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:17:44 Gargoyle daemon.notice pppd[7247]: pppd 2.4.5 started by root, uid 0
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: abort on (BUSY)
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: abort on (NO CARRIER)
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: abort on (ERROR)
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: report (CONNECT)
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: timeout set to 10 seconds
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: send (AT&F^M)
Jun 30 16:17:45 Gargoyle local2.info chat[7249]: expect (OK)
Jun 30 16:17:55 Gargoyle local2.info chat[7249]: alarm
Jun 30 16:17:55 Gargoyle local2.info chat[7249]: Failed
Jun 30 16:17:55 Gargoyle daemon.err pppd[7247]: Connect script failed
Jun 30 16:17:56 Gargoyle daemon.info pppd[7247]: Exit.
Jun 30 16:17:56 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:17:59 Gargoyle daemon.notice pppd[7273]: pppd 2.4.5 started by root, uid 0
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: abort on (BUSY)
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: abort on (NO CARRIER)
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: abort on (ERROR)
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: report (CONNECT)
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: timeout set to 10 seconds
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: send (AT&F^M)
Jun 30 16:18:00 Gargoyle local2.info chat[7275]: expect (OK)
Jun 30 16:18:10 Gargoyle local2.info chat[7275]: alarm
Jun 30 16:18:10 Gargoyle local2.info chat[7275]: Failed
Jun 30 16:18:10 Gargoyle daemon.err pppd[7273]: Connect script failed
Jun 30 16:18:11 Gargoyle daemon.info pppd[7273]: Exit.
Jun 30 16:18:12 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:18:15 Gargoyle daemon.notice pppd[7298]: pppd 2.4.5 started by root, uid 0
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: abort on (BUSY)
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: abort on (NO CARRIER)
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: abort on (ERROR)
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: report (CONNECT)
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: timeout set to 10 seconds
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: send (AT&F^M)
Jun 30 16:18:16 Gargoyle local2.info chat[7300]: expect (OK)
Jun 30 16:18:26 Gargoyle local2.info chat[7300]: alarm
Jun 30 16:18:26 Gargoyle local2.info chat[7300]: Failed
Jun 30 16:18:26 Gargoyle daemon.err pppd[7298]: Connect script failed
Jun 30 16:18:27 Gargoyle daemon.info pppd[7298]: Exit.
Jun 30 16:18:27 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jun 30 16:18:31 Gargoyle daemon.notice pppd[7323]: pppd 2.4.5 started by root, uid 0
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: abort on (BUSY)
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: abort on (NO CARRIER)
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: abort on (ERROR)
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: report (CONNECT)
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: timeout set to 10 seconds
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: send (AT&F^M)
Jun 30 16:18:32 Gargoyle local2.info chat[7325]: expect (OK)

Jak sobie z tym poradzić ??

2

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Ndis ustaw: http://eko.one.pl/forum/viewtopic.php?id=7236

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

3

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Niestety nie działa nadal

root@Gargoyle:~# logread
Jan  1 01:00:39 Gargoyle kern.warn kernel: [    0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jan  1 01:00:39 Gargoyle kern.notice kernel: [    0.550000] 0x00000010ef10-0x0000007f0000 : "rootfs"
Jan  1 01:00:39 Gargoyle kern.warn kernel: [    0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jan  1 01:00:39 Gargoyle kern.notice kernel: [    0.570000] mtd: partition "rootfs" set to be root filesystem
Jan  1 01:00:39 Gargoyle kern.info kernel: [    0.570000] mtd: partition "rootfs_data" created automatically, ofs=680000, len=170000
Jan  1 01:00:39 Gargoyle kern.notice kernel: [    0.580000] 0x000000680000-0x0000007f0000 : "rootfs_data"
Jan  1 01:00:39 Gargoyle kern.notice kernel: [    0.590000] 0x0000007f0000-0x000000800000 : "art"
Jan  1 01:00:39 Gargoyle kern.notice kernel: [    0.590000] 0x000000020000-0x0000007f0000 : "firmware"
Jan  1 01:00:39 Gargoyle kern.info kernel: [    0.730000] ag71xx_mdio: probed
Jan  1 01:00:39 Gargoyle kern.info kernel: [    0.730000] eth0: Atheros AG71xx at 0xb9000000, irq 4
Jan  1 01:00:39 Gargoyle kern.info kernel: [    1.310000] eth0: Atheros AR8327 switch driver attached.
Jan  1 01:00:39 Gargoyle kern.info kernel: [    2.470000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
Jan  1 01:00:39 Gargoyle kern.info kernel: [    2.490000] TCP cubic registered
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.350000] cfg80211:  DFS Master region: unset
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.360000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.370000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.380000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.600000] RPC: Registered named UNIX socket transport module.
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.610000] RPC: Registered udp transport module.
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.610000] RPC: Registered tcp transport module.
Jan  1 01:00:39 Gargoyle kern.info kernel: [   32.610000] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.040000] PPP generic driver version 2.4.2
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.160000] tun: Universal TUN/TAP device driver, 1.6
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.160000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.260000] GRE over IPv4 demultiplexor driver
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.280000] GRE over IPv4 tunneling driver
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.580000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan  1 01:00:39 Gargoyle kern.info kernel: [   33.660000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:39 Gargoyle kern.info kernel: [   34.120000] NET: Registered protocol family 24
Jan  1 01:00:39 Gargoyle kern.info kernel: [   34.240000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   34.620000] PPTP driver version 0.8.5
Jan  1 01:00:39 Gargoyle kern.info kernel: [   35.330000] xt_time: kernel timezone is -0000
Jan  1 01:00:39 Gargoyle kern.info kernel: [   35.980000]       Hooked IMQ after mangle on PREROUTING
Jan  1 01:00:39 Gargoyle kern.info kernel: [   35.990000]       Hooked IMQ after nat on POSTROUTING
Jan  1 01:00:39 Gargoyle kern.info kernel: [   35.990000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   36.170000] Netfilter messages via NETLINK v0.30.
Jan  1 01:00:39 Gargoyle kern.notice kernel: [   36.360000] ip_set: protocol 6
Jan  1 01:00:39 Gargoyle kern.info kernel: [   36.930000] usbcore: registered new interface driver cdc_acm
Jan  1 01:00:39 Gargoyle kern.info kernel: [   36.930000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.060000] usbcore: registered new interface driver usblp
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.090000] usbcore: registered new interface driver usbserial
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.090000] USB Serial support registered for generic
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.100000] usbcore: registered new interface driver usbserial_generic
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.100000] usbserial: USB Serial Driver core
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.180000] USB Serial support registered for Sierra USB modem
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.190000] usbcore: registered new interface driver sierra
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.200000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.220000] usbcore: registered new interface driver sierra_net
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.420000] usbcore: registered new interface driver cdc_wdm
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.440000] usbcore: registered new interface driver cdc_ether
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.580000] usbcore: registered new interface driver cdc_ncm
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.650000] usbcore: registered new interface driver qmi_wwan
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.670000] usbcore: registered new interface driver rndis_host
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.750000] USB Serial support registered for GSM modem (1-port)
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.760000] usbcore: registered new interface driver option
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.760000] option: v0.7.2:USB Driver for GSM modems
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.780000] USB Serial support registered for Qualcomm USB modem
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.790000] usbcore: registered new interface driver qcserial
Jan  1 01:00:39 Gargoyle kern.info kernel: [   37.920000] fuse init (API version 7.18)
Jan  1 01:00:42 Gargoyle kern.info kernel: [   42.700000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan  1 01:00:44 Gargoyle kern.info kernel: [   44.140000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan  1 01:00:44 Gargoyle kern.info kernel: [   44.150000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Jan  1 01:00:44 Gargoyle kern.info kernel: [   44.160000] device eth0.1 entered promiscuous mode
Jan  1 01:00:44 Gargoyle kern.info kernel: [   44.160000] device eth0 entered promiscuous mode
Jan  1 01:00:44 Gargoyle kern.info kernel: [   44.170000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
Jan  1 01:00:44 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:44 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:44 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.260000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.270000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.270000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.280000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.290000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.310000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Jan  1 01:00:47 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:47 Gargoyle kern.info kernel: [   47.280000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:49 Gargoyle kern.info kernel: [   49.640000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan  1 01:00:49 Gargoyle kern.info kernel: [   49.640000] device wlan0 entered promiscuous mode
Jan  1 01:00:49 Gargoyle kern.info kernel: [   49.850000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:49 Gargoyle kern.info kernel: [   49.850000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:49 Gargoyle kern.info kernel: [   49.860000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jan  1 01:00:51 Gargoyle kern.info kernel: [   51.850000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:52 Gargoyle kern.info kernel: [   52.900000] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jan  1 01:00:52 Gargoyle kern.info kernel: [   52.910000] device wlan1 entered promiscuous mode
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.120000] br-lan: port 3(wlan1) entered forwarding state
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.130000] br-lan: port 3(wlan1) entered forwarding state
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.130000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Jan  1 01:00:55 Gargoyle kern.info kernel: [   55.130000] br-lan: port 3(wlan1) entered forwarding state
Jun 30 16:39:11 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Jun 30 16:39:12 Gargoyle authpriv.info dropbear[1458]: Running in background
Jun 30 16:39:12 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=FFFFFFFFFFFFFFFF
Jun 30 16:39:12 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/12d1:14fe for mode switching
Jun 30 16:39:13 Gargoyle daemon.crit httpd_gargoyle[1495]: bind 0.0.0.0 - Address already in use
Jun 30 16:39:13 Gargoyle daemon.crit httpd_gargoyle[1495]: bind 0.0.0.0 - Address already in use
Jun 30 16:39:13 Gargoyle daemon.warn httpd_gargoyle[1496]: started as root without requesting chroot(), warning only
Jun 30 16:39:13 Gargoyle daemon.notice httpd_gargoyle[1496]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jun 30 16:39:13 Gargoyle syslog.notice usb_modeswitch: switch device 12d1:14fe on 001/003
Jun 30 16:39:13 Gargoyle kern.warn kernel: [   58.080000] usb 1-1.1: usbfs: process 1487 (usb_modeswitch) did not claim interface 0 before use
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.260000] usb 1-1.1: USB disconnect, device number 3
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.500000] usb 1-1.1: new high-speed USB device number 4 using ehci-platform
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.620000] option 1-1.1:1.1: GSM modem (1-port) converter detected
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.620000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.640000] usb 1-1.1: MAC-Address: 0x0c:0x5b:0x8f:0x27:0x9a:0x64
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.650000] cdc_ncm 1-1.1:1.2: wwan0: register 'cdc_ncm' at usb-ehci-platform-1.1, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.660000] scsi1 : usb-storage 1-1.1:1.3
Jun 30 16:39:13 Gargoyle kern.info kernel: [   58.680000] scsi2 : usb-storage 1-1.1:1.4
Jun 30 16:39:14 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jun 30 16:39:14 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jun 30 16:39:14 Gargoyle user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Jun 30 16:39:14 Gargoyle kern.notice kernel: [   59.670000] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jun 30 16:39:14 Gargoyle kern.notice kernel: [   59.680000] scsi 2:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Jun 30 16:39:15 Gargoyle kern.notice kernel: [   59.690000] sd 2:0:0:0: [sda] Attached SCSI removable disk
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: started, version 2.66 cachesize 150
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq-dhcp[1795]: DHCP, IP range 192.168.0.80 -- 192.168.0.90, lease time 12h
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: using local addresses only for domain lan
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: reading /tmp/resolv.conf.auto
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: using nameserver 8.8.4.4#53
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: using nameserver 8.8.8.8#53
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: using local addresses only for domain lan
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq[1795]: read /etc/hosts - 2 addresses
Jun 30 16:39:17 Gargoyle daemon.info dnsmasq-dhcp[1795]: read /etc/ethers - 0 addresses
Jun 30 16:39:18 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Jun 30 16:39:18 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jun 30 16:39:18 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jun 30 16:39:18 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Jun 30 16:39:18 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Jun 30 16:39:20 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jun 30 16:39:20 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jun 30 16:39:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jun 30 16:39:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jun 30 16:39:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jun 30 16:39:33 Gargoyle user.notice usb-modeswitch: 1-1.1:1.3: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jun 30 16:39:33 Gargoyle user.notice usb-modeswitch: 1-1.1:1.4: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jun 30 16:39:45 Gargoyle user.notice root: vsftpd init: mounted = 0
Jun 30 16:39:45 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Jun 30 16:39:45 Gargoyle user.info sysinit: setting up led USB1
Jun 30 16:39:45 Gargoyle user.info sysinit: setting up led USB2
Jun 30 16:39:45 Gargoyle user.info sysinit: setting up led WLAN2G
Jun 30 16:40:43 Gargoyle daemon.info hostapd: wlan0: STA 9c:b7:0d:73:ef:dd IEEE 802.11: authenticated
Jun 30 16:40:43 Gargoyle daemon.info hostapd: wlan0: STA 9c:b7:0d:73:ef:dd IEEE 802.11: associated (aid 1)
Jun 30 16:40:43 Gargoyle daemon.info hostapd: wlan0: STA 9c:b7:0d:73:ef:dd WPA: pairwise key handshake completed (RSN)
Jun 30 16:40:43 Gargoyle daemon.info dnsmasq-dhcp[1795]: DHCPREQUEST(br-lan) 192.168.0.90 9c:b7:0d:73:ef:dd
Jun 30 16:40:43 Gargoyle daemon.info dnsmasq-dhcp[1795]: DHCPACK(br-lan) 192.168.0.90 9c:b7:0d:73:ef:dd MK-TOSH
Jun 30 16:40:46 Gargoyle daemon.info dnsmasq-dhcp[1795]: DHCPINFORM(br-lan) 192.168.0.90 9c:b7:0d:73:ef:dd
Jun 30 16:40:46 Gargoyle daemon.info dnsmasq-dhcp[1795]: DHCPACK(br-lan) 192.168.0.90 9c:b7:0d:73:ef:dd MK-TOSH

4

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Ustawiłeś monitor połączenia?

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

5

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Sorry smile po włączeniu monitora zaskoczył.
Dziękuję.
Mam jeszcze pytanie. Posiadam 2 identyczne modemy i chciał bym podpiąć oba do ruterka i zrobić loadbalancing aby równomiernie były obciążane oba modemy. Da się to zrobić ? Jeśli tak to jak ?

6

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Pakiet nazywa się mwan3, szczegóły najdziesz na wiki openwrt.org (ale czeka cię ręczna konfiguracja. W gargoyle w gui tego nie zrobisz).

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

7

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wpiąłem 2 modem i zainstalowałem mwan3.
Jak do konfigurować drugi interface wan2 ??
w /etc/config/network mam tylko wan nie wiem jak dodać wan2

8

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Identycznie jak masz wan, tylko sekcja ma się nazywać wan2. Podobnie w /etc/config/firewall masz zrobić.

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

9

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wan wyklikałem w gui a wan2 nie wiem jak zrobić z ssh

10

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Identycznie, pisałem. Jeżeli pytasz zaś o edytor to jest to vi, opis masz na eko.one.pl. nano jest łatwiejsze tylko musisz go zainstalować bo domyślnie go nie masz.

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

11

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

hmmm w gui w menu konfiguracja->podstawowa mam sekcję Internet/wan i tam mam do wyboru
Interface wan: wwan0 lub wwan1
oraz
Urządzenie: /dev/ttyUSB0 lub /dev/ttyUSB1
mogę wybrać to lub to nie mam dwóch sekcji wan

12

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Pisałem już to wcześniej - w gui gargoyle tego nie zrobisz. Wszystko ręcznie, masz zrobić identyczna konfigurację jak dla wan tyle że ma się nazywać wan1. Ręcznie, edytując pliki konfiguracyjne.

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

13

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Ok, zaćmiło mnie.
W /etc/config/network dodałem wan2 tak jak poniżej

config interface 'wan2'
        option apn 'internet'
        option mobile_isp 'Polska - Play Online'
        option auto '1'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option proto 'ndis'
        option service 'ndis'
        option ifname 'wwan1'
        option device '/dev/ttyUSB1'

W /etc/config/firewall w config zone mam dodać tylko list network 'wan2' ? czy coś jeszcze ?

14

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wystarczy. jeżeli dobrze zrobisz to po poleceniach

ifdown wan
ifup wan2

nadal powinieneś mieć internet. Jeżeli tak jest - to robisz dalej z mwan3.

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

15 (edytowany przez mk77 2014-07-01 18:17:19)

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Działa ale teraz oba modemy świecą na niebiesko

logread

Jul  1 19:06:29 Gargoyle kern.info kernel: [ 1026.900000] ADDRCONF(NETDEV_UP): wwan0: link is not ready
Jul  1 19:06:31 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:31 Gargoyle user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.3: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:32 Gargoyle user.notice usb-modeswitch: 1-1.1:1.4: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:33 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:33 Gargoyle user.notice usb-modeswitch: 1-1.2:1.1: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:33 Gargoyle user.notice usb-modeswitch: 1-1.2:1.2: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:33 Gargoyle user.notice usb-modeswitch: 1-1.2:1.3: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:06:34 Gargoyle user.notice usb-modeswitch: 1-1.2:1.4: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jul  1 19:08:47 Gargoyle daemon.notice netifd: wan (9982): Trying to set mode
Jul  1 19:08:51 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul  1 19:08:51 Gargoyle kern.info kernel: [ 1168.690000] ADDRCONF(NETDEV_UP): wwan0: link is not ready
Jul  1 19:08:51 Gargoyle daemon.notice netifd: wan (9997): Trying to set mode
Jul  1 19:08:55 Gargoyle daemon.notice netifd: wan (9997): Trying to set mode
Jul  1 19:08:56 Gargoyle kern.info kernel: [ 1173.610000] cdc_ncm: wwan0: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:08:56 Gargoyle kern.info kernel: [ 1173.620000] cdc_ncm: wwan0: network connection: connected
Jul  1 19:08:56 Gargoyle kern.info kernel: [ 1173.630000] ADDRCONF(NETDEV_CHANGE): wwan0: link becomes ready
Jul  1 19:08:59 Gargoyle daemon.notice netifd: wan (10009): udhcpc (v1.19.4) started
Jul  1 19:08:59 Gargoyle daemon.notice netifd: wan (10009): Sending discover...
Jul  1 19:08:59 Gargoyle daemon.notice netifd: wan (10009): Sending select for 164.126.108.28...
Jul  1 19:08:59 Gargoyle daemon.notice netifd: wan (10009): Lease of 164.126.108.28 obtained, lease time 518400
Jul  1 19:08:59 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jul  1 19:08:59 Gargoyle user.notice mwan3: ifup interface wan (wwan0)
Jul  1 19:09:00 Gargoyle user.info mwan3track: Lost 122 ping(s) on interface wan (wwan0)
Jul  1 19:09:00 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (wwan0)
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:09:04 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:10:12 Gargoyle daemon.info hostapd: wlan0: STA 9c:b7:0d:73:ef:dd WPA: group key handshake completed (RSN)
Jul  1 19:10:12 Gargoyle daemon.info hostapd: wlan0: STA 60:be:b5:04:c4:3f WPA: group key handshake completed (RSN)
Jul  1 19:10:13 Gargoyle daemon.info hostapd: wlan0: STA 00:22:f4:d9:57:e0 WPA: group key handshake completed (RSN)
Jul  1 19:10:29 Gargoyle daemon.notice netifd: wan (11052): Trying to set mode
Jul  1 19:10:30 Gargoyle kern.info kernel: [ 1267.440000] cdc_ncm: wwan0: network connection: disconnected
Jul  1 19:10:33 Gargoyle daemon.notice netifd: wan (10009): Received SIGTERM
Jul  1 19:10:33 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul  1 19:10:43 Gargoyle user.notice mwan3track: Interface wan (wwan0) is offline
Jul  1 19:10:43 Gargoyle user.notice mwan3: ifdown interface wan (wwan0)
Jul  1 19:10:45 Gargoyle kern.info kernel: [ 1282.770000] ADDRCONF(NETDEV_UP): wwan1: link is not ready
Jul  1 19:10:46 Gargoyle daemon.notice netifd: wan2 (11285): Trying to set mode
Jul  1 19:10:49 Gargoyle daemon.notice netifd: wan2 (11285): Trying to set mode
Jul  1 19:10:50 Gargoyle kern.info kernel: [ 1287.770000] cdc_ncm: wwan1: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:10:50 Gargoyle kern.info kernel: [ 1287.780000] cdc_ncm: wwan1: network connection: connected
Jul  1 19:10:50 Gargoyle kern.info kernel: [ 1287.780000] ADDRCONF(NETDEV_CHANGE): wwan1: link becomes ready
Jul  1 19:10:50 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:10:50 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:10:50 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:10:50 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:10:53 Gargoyle daemon.notice netifd: wan2 (11305): udhcpc (v1.19.4) started
Jul  1 19:10:53 Gargoyle daemon.notice netifd: wan2 (11305): Sending discover...
Jul  1 19:10:53 Gargoyle daemon.notice netifd: wan2 (11305): Sending select for 164.127.163.121...
Jul  1 19:10:53 Gargoyle daemon.notice netifd: wan2 (11305): Lease of 164.127.163.121 obtained, lease time 518400
Jul  1 19:10:53 Gargoyle daemon.notice netifd: Interface 'wan2' is now up
Jul  1 19:10:54 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan2 (wwan1)
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:11:32 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:12:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jul  1 19:12:06 Gargoyle kern.info kernel: [ 1363.730000] ADDRCONF(NETDEV_UP): wwan0: link is not ready
Jul  1 19:12:07 Gargoyle daemon.notice netifd: wan (11560): Trying to set mode
Jul  1 19:12:10 Gargoyle daemon.notice netifd: wan (11560): Trying to set mode
Jul  1 19:12:11 Gargoyle kern.info kernel: [ 1368.720000] cdc_ncm: wwan0: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:12:11 Gargoyle kern.info kernel: [ 1368.730000] cdc_ncm: wwan0: network connection: connected
Jul  1 19:12:11 Gargoyle kern.info kernel: [ 1368.730000] ADDRCONF(NETDEV_CHANGE): wwan0: link becomes ready
Jul  1 19:12:14 Gargoyle daemon.notice netifd: wan (11577): udhcpc (v1.19.4) started
Jul  1 19:12:14 Gargoyle daemon.notice netifd: wan (11577): Sending discover...
Jul  1 19:12:14 Gargoyle daemon.notice netifd: wan (11577): Sending select for 164.126.108.28...
Jul  1 19:12:14 Gargoyle daemon.notice netifd: wan (11577): Lease of 164.126.108.28 obtained, lease time 518400
Jul  1 19:12:14 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:12:14 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:12:14 Gargoyle user.notice mwan3: ifup interface wan (wwan0)
Jul  1 19:12:16 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (wwan0)

16

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

No tak, oba mają być aktywne.

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

17

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Niestety jednak nie do końca działa.
Wyłączam wan podnoszę wan2. wan2 nie chce się połączyć i po chwili wstaje samoczynnie wan

logread
Jul  1 19:35:23 Gargoyle daemon.notice netifd: wan (19243): Trying to set mode
Jul  1 19:35:23 Gargoyle kern.info kernel: [ 2760.850000] cdc_ncm: wwan0: network connection: disconnected
Jul  1 19:35:26 Gargoyle daemon.notice netifd: wan (18017): Received SIGTERM
Jul  1 19:35:26 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul  1 19:35:28 Gargoyle daemon.notice netifd: wan2 (19309): Trying to set mode
Jul  1 19:35:29 Gargoyle kern.info kernel: [ 2766.620000] cdc_ncm: wwan1: network connection: disconnected
Jul  1 19:35:32 Gargoyle daemon.notice netifd: wan2 (17780): Received SIGTERM
Jul  1 19:35:32 Gargoyle daemon.notice netifd: Interface 'wan2' is now down
Jul  1 19:35:32 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:35:32 Gargoyle kern.info kernel: [ 2769.630000] ADDRCONF(NETDEV_UP): wwan1: link is not ready
Jul  1 19:35:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:35:32 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:35:32 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:35:32 Gargoyle daemon.notice netifd: wan2 (19341): Trying to set mode
Jul  1 19:35:36 Gargoyle daemon.notice netifd: wan2 (19341): Trying to set mode
Jul  1 19:35:37 Gargoyle kern.info kernel: [ 2774.570000] cdc_ncm: wwan1: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:35:37 Gargoyle kern.info kernel: [ 2774.580000] cdc_ncm: wwan1: network connection: connected
Jul  1 19:35:37 Gargoyle kern.info kernel: [ 2774.580000] ADDRCONF(NETDEV_CHANGE): wwan1: link becomes ready
Jul  1 19:35:38 Gargoyle user.notice mwan3track: Interface wan (wwan0) is offline
Jul  1 19:35:38 Gargoyle user.notice mwan3: ifdown interface wan (wwan0)
Jul  1 19:35:40 Gargoyle daemon.notice netifd: wan2 (19508): udhcpc (v1.19.4) started
Jul  1 19:35:40 Gargoyle daemon.notice netifd: wan2 (19508): Sending discover...
Jul  1 19:35:40 Gargoyle daemon.notice netifd: wan2 (19508): Sending select for 164.127.163.121...
Jul  1 19:35:40 Gargoyle daemon.notice netifd: wan2 (19508): Lease of 164.127.163.121 obtained, lease time 518400
Jul  1 19:35:40 Gargoyle daemon.notice netifd: Interface 'wan2' is now up
Jul  1 19:35:40 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan2 (wwan1)
Jul  1 19:36:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jul  1 19:36:06 Gargoyle kern.info kernel: [ 2803.510000] ADDRCONF(NETDEV_UP): wwan0: link is not ready
Jul  1 19:36:06 Gargoyle daemon.notice netifd: wan (19705): Trying to set mode
Jul  1 19:36:10 Gargoyle daemon.notice netifd: wan (19705): Trying to set mode
Jul  1 19:36:11 Gargoyle kern.info kernel: [ 2808.520000] cdc_ncm: wwan0: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:36:11 Gargoyle kern.info kernel: [ 2808.530000] cdc_ncm: wwan0: network connection: connected
Jul  1 19:36:11 Gargoyle kern.info kernel: [ 2808.540000] ADDRCONF(NETDEV_CHANGE): wwan0: link becomes ready
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:36:11 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:36:14 Gargoyle daemon.notice netifd: wan (19722): udhcpc (v1.19.4) started
Jul  1 19:36:14 Gargoyle daemon.notice netifd: wan (19722): Sending discover...
Jul  1 19:36:14 Gargoyle daemon.notice netifd: wan (19722): Sending select for 164.126.238.173...
Jul  1 19:36:14 Gargoyle daemon.notice netifd: wan (19722): Lease of 164.126.238.173 obtained, lease time 518400
Jul  1 19:36:14 Gargoyle daemon.notice netifd: Interface 'wan' is now up

root@Gargoyle:~# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0.1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.0.250'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan'
        option apn 'internet'
        option mobile_isp 'Polska - Play Online'
        option auto '1'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option proto 'ndis'
        option service 'ndis'
        option ifname 'wwan0'
        option device '/dev/ttyUSB0'

config interface 'wan2'
        option apn 'internet'
        option mobile_isp 'Polska - Play Online'
        option auto '1'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option proto 'ndis'
        option service 'ndis'
        option ifname 'wwan1'
        option device '/dev/ttyUSB1'

config switch
        option name 'eth0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'eth0'
        option vlan '1'
        option ports '0t 2 3 4 5'

config switch_vlan
        option device 'eth0'
        option vlan '2'
        option ports '0t 1'


root@Gargoyle:~# cat /etc/config/firewall

config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option force_router_dns '1'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan2'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fe80::/10'
        option src_port '547'
        option dest_ip 'fe80::/10'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config include
        option path '/etc/firewall.user'
        option reload '1'

config include
        option type 'script'
        option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
        option family 'IPv4'
        option reload '1'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'IPv4'
        option reload '1'

config include 'openvpn_include_file'
        option path '/etc/openvpn.firewall'
        option reload '1'

config remote_accept 'ra_22_22'
        option local_port '22'
        option remote_port '22'
        option proto 'tcp'
        option zone 'wan'

18

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Ale ty monitor połączenia wyłącz, bo ci wan podnosi co chwilę...

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

19

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wyłączyłem monitor i teraz jest tak
na wan up i wan2 down jest internet, modem wan świeci modem wan2 mruga
na wan down i wan2 up nie ma internetu, modem wan mruga modem wan2 świeci

logread

Jul  1 19:43:15 Gargoyle daemon.notice netifd: wan (21306): Trying to set mode
Jul  1 19:43:15 Gargoyle kern.info kernel: [ 3233.010000] cdc_ncm: wwan0: network connection: disconnected
Jul  1 19:43:18 Gargoyle daemon.notice netifd: wan (19722): Received SIGTERM
Jul  1 19:43:18 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul  1 19:43:21 Gargoyle daemon.notice netifd: wan2 (21367): Trying to set mode
Jul  1 19:43:22 Gargoyle kern.info kernel: [ 3239.450000] cdc_ncm: wwan1: network connection: disconnected
Jul  1 19:43:25 Gargoyle daemon.notice netifd: wan2 (19508): Received SIGTERM
Jul  1 19:43:25 Gargoyle daemon.notice netifd: Interface 'wan2' is now down
Jul  1 19:43:25 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:43:25 Gargoyle kern.info kernel: [ 3242.470000] ADDRCONF(NETDEV_UP): wwan1: link is not ready
Jul  1 19:43:25 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:43:25 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:43:25 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan
Jul  1 19:43:25 Gargoyle daemon.notice netifd: wan2 (21404): Trying to set mode
Jul  1 19:43:29 Gargoyle user.notice mwan3track: Interface wan (wwan0) is offline
Jul  1 19:43:29 Gargoyle user.notice mwan3: ifdown interface wan (wwan0)
Jul  1 19:43:29 Gargoyle daemon.notice netifd: wan2 (21404): Trying to set mode
Jul  1 19:43:30 Gargoyle kern.info kernel: [ 3247.400000] cdc_ncm: wwan1: 150 mbit/s downlink 150 mbit/s uplink
Jul  1 19:43:30 Gargoyle kern.info kernel: [ 3247.410000] cdc_ncm: wwan1: network connection: connected
Jul  1 19:43:30 Gargoyle kern.info kernel: [ 3247.420000] ADDRCONF(NETDEV_CHANGE): wwan1: link becomes ready
Jul  1 19:43:33 Gargoyle daemon.notice netifd: wan2 (21566): udhcpc (v1.19.4) started
Jul  1 19:43:33 Gargoyle daemon.notice netifd: wan2 (21566): Sending discover...
Jul  1 19:43:33 Gargoyle daemon.notice netifd: wan2 (21566): Sending select for 164.127.163.121...
Jul  1 19:43:33 Gargoyle daemon.notice netifd: wan2 (21566): Lease of 164.127.163.121 obtained, lease time 518400
Jul  1 19:43:33 Gargoyle daemon.notice netifd: Interface 'wan2' is now up
Jul  1 19:43:33 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan2 (wwan1)
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: reading /tmp/resolv.conf.auto
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.4.4#53
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: using nameserver 8.8.8.8#53
Jul  1 19:43:39 Gargoyle daemon.info dnsmasq[1754]: using local addresses only for domain lan

20

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wg logów wszystko masz, więc zostaje co najwyżej firewall. Sprawdź co tam masz, zrób sobie iptables -v -L -t nat i zobacz jak wygląda.

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

21

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

wpisałem mwan3 stop i działa przełączanie między wan a wan2

22 (edytowany przez mk77 2014-07-02 05:24:08)

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Doszedłem do momentu gdzie mam coś takiego

root@Gargoyle:~# mwan3 status
Interface status:
Interface wan is online (tracking active)
Interface wan2 is online (tracking active)

Policy balanced:
wan2 (40%)
wan (60%)

Policy wan2_only:
wan2 (100%)

Policy wan2_wan:
wan2 (100%)

Policy wan_only:
wan (100%)

Policy wan_wan2:
wan (100%)

Known networks:
destination        policy             hits
------------------------------------------------
127.0.0.0/8        default            16
224.0.0.0/3        default            54
164.126.238.172/30 default            0
164.127.163.120/30 default            0
192.168.0.0/24     default            137

Active rules:
source             destination        proto  src-port      dest-port     policy          hits
---------------------------------------------------------------------------------------------------
0.0.0.0/0.0.0.1    0.0.0.0/0          tcp    0:65535       443           wan_wan2        22
0.0.0.1/0.0.0.1    0.0.0.0/0          tcp    0:65535       443           wan2_wan        6
0.0.0.0/0          0.0.0.0/0          all                                balanced        1776


root@Gargoyle:~# ping -c 1 -I wwan0 www.google.com
przechodzi ping
natomiast
root@Gargoyle:~# ping -c 1 -I wwan1 www.google.com
nie działa

w logread pojawia się coś takiego

Jul  1 22:21:24 Gargoyle user.notice mwan3track: Interface wan2 (wwan1) is offline
Jul  1 22:22:25 Gargoyle user.warn mwan3: Timeout waiting for older hotplug processes to finish. ifdown interface wan2 (wwan1) aborted

23

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Wyrzuca mi taki błąd
gdzie te dns ustawić ?

mwan3 restart
ERROR: No valid dynamic DNS service configurations defined
(Did you specify correct configuration file path?)

24

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

Zignoruj to. To nie ddns a dyndns, dynamic dns. Nie masz ustawionych  a startuje i buntuje się że konfiga nie ma.

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

25 (edytowany przez mk77 2014-07-02 16:37:20)

Odp: WDR3600 + Huawei E3272 + Gargoyle 1.6.1.4

root@Gargoyle:~# mwan3 status
Interface status:
Interface wan is offline (tracking active)
Interface wan2 is online (tracking active)

Policy balanced:
 wan2 (100%)

Policy wan2_only:
 wan2 (100%)

Policy wan2_wan:
 wan2 (100%)

Policy wan_only:
 "unreachable"

Policy wan_wan2:
 wan2 (100%)

Known networks:
destination        policy             hits
------------------------------------------------
127.0.0.0/8        default            0
224.0.0.0/3        default            30
164.126.238.172/30 default            0
164.127.163.120/30 default            0
192.168.0.0/24     default            45

Active rules:
source             destination        proto  src-port      dest-port     policy          hits
---------------------------------------------------------------------------------------------------
0.0.0.0/0.0.0.1    0.0.0.0/0          tcp    0:65535       443           wan_wan2        7
0.0.0.1/0.0.0.1    0.0.0.0/0          tcp    0:65535       443           wan2_wan        0
0.0.0.0/0          0.0.0.0/0          all                                balanced        411
root@Gargoyle:~# cat /etc/config/mwan3

config interface 'wan'
        option enabled '1'
        list track_ip '8.8.4.4'
        list track_ip '8.8.8.8'
        list track_ip '208.67.222.222'
        list track_ip '208.67.220.220'
        option reliability '2'
        option count '1'
        option timeout '2'
        option interval '5'
        option down '3'
        option up '8'

config interface 'wan2'
        option enabled '1'
        list track_ip '8.8.8.8'
        list track_ip '208.67.220.220'
        option reliability '1'
        option count '1'
        option timeout '2'
        option interval '5'
        option down '3'
        option up '8'

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

config member 'wan_m2_w3'
        option interface 'wan'
        option metric '2'
        option weight '3'

config member 'wan2_m1_w2'
        option interface 'wan2'
        option metric '1'
        option weight '2'

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

config policy 'wan_only'
        list use_member 'wan_m1_w3'

config policy 'wan2_only'
        list use_member 'wan2_m1_w2'

config policy 'balanced'
        list use_member 'wan_m1_w3'
        list use_member 'wan2_m1_w2'

config policy 'wan_wan2'
        list use_member 'wan_m1_w3'
        list use_member 'wan2_m2_w2'

config policy 'wan2_wan'
        list use_member 'wan_m2_w3'
        list use_member 'wan2_m1_w2'

config rule 'sticky_even'
        option src_ip '0.0.0.0/0.0.0.1'
        option dest_port '443'
        option proto 'tcp'
        option use_policy 'wan_wan2'

config rule 'sticky_odd'
        option src_ip '0.0.0.1/0.0.0.1'
        option dest_port '443'
        option proto 'tcp'
        option use_policy 'wan2_wan'

config rule 'default_rule'
        option dest_ip '0.0.0.0/0'
        option use_policy 'balanced'
root@Gargoyle:~# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0.1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.0.250'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan'
        option apn 'internet'
        option mobile_isp 'Polska - Play Online'
        option auto '1'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option proto 'ndis'
        option service 'ndis'
        option ifname 'wwan0'
        option device '/dev/ttyUSB0'

config interface 'wan2'
        option apn 'internet'
        option mobile_isp 'Polska - Play Online'
        option auto '1'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option proto 'ndis'
        option service 'ndis'
        option ifname 'wwan1'
        option device '/dev/ttyUSB1'

config switch
        option name 'eth0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'eth0'
        option vlan '1'
        option ports '0t 2 3 4 5'

config switch_vlan
        option device 'eth0'
        option vlan '2'
        option ports '0t 1'
root@Gargoyle:~# cat /etc/config/firewall

config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option force_router_dns '1'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan2'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fe80::/10'
        option src_port '547'
        option dest_ip 'fe80::/10'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config include
        option path '/etc/firewall.user'
        option reload '1'

config include
        option type 'script'
        option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
        option family 'IPv4'
        option reload '1'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'IPv4'
        option reload '1'

config include 'openvpn_include_file'
        option path '/etc/openvpn.firewall'
        option reload '1'

config remote_accept 'ra_22_22'
        option local_port '22'
        option remote_port '22'
        option proto 'tcp'
        option zone 'wan'