Odp: Wydzielenie drugiego portu WAN na WNDR3700v2+Multiwan+Loadbalancing
Nie ma sensu wgranie, zrób po prostu powrót do ustawień domyślnych.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Wydzielenie drugiego portu WAN na WNDR3700v2+Multiwan+Loadbalancing
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
Nie ma sensu wgranie, zrób po prostu powrót do ustawień domyślnych.
Dziś sobota więc zabrałem się za temat i problem ![]()
Po resecie do default configa, restarcie i podstawowych zmianach IP modem ZTE MF823 nie wstaje jako device USB0 w ifconfigu. Tak to wygląda:
Przypomnę model Machine: TP-Link TL-MR3420 v2 |
| Flash: total: 320KB, free: 84KB, used: 74%
root@Gargoyle:~# 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= 2, #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=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.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#= 3 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.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=03 Prnt=03 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=19d2 ProdID=1403 Rev=f0.70
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=MF8230ZTED000000
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
root@Gargoyle:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
inet addr:192.168.123.3 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:447 errors:0 dropped:58 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47822 (46.7 KiB) TX bytes:20346 (19.8 KiB)
eth0 Link encap:Ethernet HWaddr E8:94:F6:94:95:B5
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4
eth1 Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3036 (2.9 KiB) TX bytes:35825 (34.9 KiB)
Interrupt:5
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
TX packets:1272 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76656 (74.8 KiB) TX bytes:76656 (74.8 KiB)
wlan0 Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:413 errors:0 dropped:0 overruns:0 frame:0
TX packets:434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51024 (49.8 KiB) TX bytes:67328 (65.7 KiB)
konfiguracja wpisów network wykonana ręczenie oczywiście niema szans zadziałać:
config interface 'wan'
option auto '1'
option ifname 'usb0'
option proto 'dhcp'
Może jakiś sterownik trzeba dograć do tego modemu
Drivera nie ma, rndis konkretnie: http://eko.one.pl/?p=openwrt-3g#obsugam … stlessquot
Cezary dzięki za szybką odpowiedź. Jeśli można jeszcze zawrócić głowę to skąd można pobrać ten driver kmod-usb-net-rndis do mojej dystrybucji 1.6.2.2
Chodzi o url bo z urządzenia nie mam dostępu do neta. Sam już go wgram po scp i zainstaluję ręcznie, a ilość tych dystrybucji wprowadza mnie w stan permanentnej niepewności że wgram coś niepotrzebnego i problem przepełnienia fluha powróci.
Z repozytorium AA. http://dl.eko.one.pl/attitude_adjustmen … /packages/
Ale po co ci to? Najpierw exroota zrób bo nic i tak nie wgrasz. Jak będziesz miał extroota możesz instalować dalej.
Poszło. Dodałem extroota (karta SD w modemie 1GB) i tu wsztko ok.
Idąc za ciosem doinstalowałem multiwana lecz po włożeniu drugiego modemu łącze zaczyna flapować i obserwuję bajzel w logach
Jan 16 16:49:17 Gargoyle daemon.info pppd[7148]: Serial connection established.
Jan 16 16:49:17 Gargoyle daemon.info pppd[7148]: Using interface 3g-wan2
Jan 16 16:49:17 Gargoyle daemon.notice pppd[7148]: Connect: 3g-wan2 <--> /dev/ttyUSB0
Jan 16 16:49:18 Gargoyle daemon.info pppd[7148]: CHAP authentication succeeded
Jan 16 16:49:18 Gargoyle daemon.notice pppd[7148]: CHAP authentication succeeded
Jan 16 16:49:21 Gargoyle daemon.warn pppd[7148]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan 16 16:49:21 Gargoyle daemon.notice pppd[7148]: local IP address 10.230.217.208
Jan 16 16:49:21 Gargoyle daemon.notice pppd[7148]: remote IP address 10.64.64.64
Jan 16 16:49:21 Gargoyle daemon.notice pppd[7148]: primary DNS address 194.204.159.1
Jan 16 16:49:21 Gargoyle daemon.notice pppd[7148]: secondary DNS address 194.204.152.34
Jan 16 16:49:21 Gargoyle daemon.notice netifd: Interface 'wan2' is now up
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: reading /tmp/resolv.conf.auto
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: using nameserver 194.204.152.34#53
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: using nameserver 194.204.159.1#53
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: using nameserver 8.8.4.4#53
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: using nameserver 8.8.8.8#53
Jan 16 16:49:46 Gargoyle daemon.warn dnsmasq[1846]: ignoring nameserver 192.168.123.3 - local interface
Jan 16 16:49:46 Gargoyle daemon.info dnsmasq[1846]: using local addresses only for domain lan
Jan 16 16:50:00 Gargoyle kern.crit kernel: [ 510.940000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #30980: comm rm: reading directory lblock 0
Jan 16 16:50:01 Gargoyle kern.crit kernel: [ 511.590000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #23264: block 98369: comm bw_get: unable to read itable block
Jan 16 16:50:01 Gargoyle kern.crit kernel: [ 511.610000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 16 16:50:01 Gargoyle kern.crit kernel: [ 511.620000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #23264: block 98369: comm bw_get: unable to read itable block
ifconfig
3g-wan2 Link encap:Point-to-Point Protocol
inet addr:10.254.141.58 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:791 (791.0 B) TX bytes:1858 (1.8 KiB)
br-lan Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
inet addr:192.168.123.3 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2251 errors:0 dropped:72 overruns:0 frame:0
TX packets:2161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:286792 (280.0 KiB) TX bytes:898322 (877.2 KiB)
eth1 Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1012 (1012.0 B) TX bytes:46181 (45.0 KiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2932 (2.8 KiB) TX bytes:2932 (2.8 KiB)
usb0 Link encap:Ethernet HWaddr 36:4B:50:B7:EF:D9
inet addr:192.168.0.152 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12912 (12.6 KiB) TX bytes:12227 (11.9 KiB)
wlan0 Link encap:Ethernet HWaddr E8:94:F6:94:95:B6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2239 errors:0 dropped:0 overruns:0 frame:0
TX packets:2570 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:317274 (309.8 KiB) TX bytes:996086 (972.7 KiB)
konfig:
config interface 'wan'
option auto '1'
option ifname 'usb0'
option proto 'dhcp'
option dns '8.8.8.8 8.8.4.4'
option peerdns '0'
config interface 'wan2'
option proto '3g'
option service 'umts'
option device '/dev/ttyUSB0'
option apn 'internet'
option username 'internet'
option password 'internet'
Zastanawia mnie tylko czy ZTE jako 'usb0' i Huawei jak /dev/ttyUSB0 to nie błąd konfiguracyjny
root@Gargoyle:~# 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= 3, #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#= 6 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.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=06 Port=00 Cnt=01 Dev#= 7 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.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=03 Prnt=07 Port=00 Cnt=01 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1405 Rev=f0.70
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=MF8230ZTED000000
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
T: Bus=01 Lev=03 Prnt=07 Port=02 Cnt=02 Dev#= 9 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1446 Rev= 0.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
pewnie coś niedokonfigurowałem!
Pytanie: przełączyłeś wcześniej modem na stałe?
Podłączę się pod temat, bo sprzęt ten sam i to samo chcę osiągnąć.
Mam w tym momencie dwóch ISP 160/5 oraz 250/20M - jest sens to łączyć? Wolniejszy net jest wyłączony ale jeśli można to sensownie wykorzystać i połączyć to warto się bawić. Tylko pytanie - czy rozwiązanie multiwan/loadbalancing będzie sensowne przy takich łączach?
Jak masz wielu użytkowników routera to oczywiście tak - bo ruch rozłoży się na dwa łącza.
Niekoniecznie. Aczkolwiek mam serwer NAS podłączony w tym FTP - czy to zwiększy mi wysył z 20 na 25M przez ftp?
Nie, tym bardziej że będzie to robione jednowątkowo.
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Wydzielenie drugiego portu WAN na WNDR3700v2+Multiwan+Loadbalancing
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc