Zrobiłem wszystko, dobija teraz do 60Mbps.
Jest dużo lepiej, choć nie aż tak dobrze jak na oryginalnym firmware sad
Czyżby OpenWRT było dla niego za ciężkie?
Potestuję, czy chociaż przestał zrywać połączenie.
Pozdrawiam

Witam
jestem zielony, ale coś tam potrafię wyklikać i w GUI i w konsoli.
Mam:
TP-Link TL-WR842N/ND v2
Wgrałem LEDE Reboot 17.01-SNAPSHOT r3876-efb6ca1 / LuCI lede-17.01 branch (git-18.098.72829-575e327)
Połączenie po WiFi wg PC 144Mbps, router 1m od notebooka, na speedtest 20-25Mbps i często rozłącza.
Połączenie po kablu 100Mbps.
Przed wgraniem OpenWRT po WiFi było praktycznie to samo, co po kablu i nie rozłączało.
Co mogę zobaczyć/zrobić?
Pozdrawiam

3

(26 odpowiedzi, napisanych Oprogramowanie / Software)

Pomogło smile
Nie wpadłem na to, że formatowanie nie zadziałało.
WIELKIE DZIĘKI !!!

4

(26 odpowiedzi, napisanych Oprogramowanie / Software)

mkfs.ext3 /dev/sda1
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 3889280 4k blocks and 972944 inodes
Filesystem UUID: 2340ab34-9070-425c-8bc9-0521041b806a
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done
Writing inode tables: Killed9

5

(26 odpowiedzi, napisanych Oprogramowanie / Software)

mkdir /mnt/sda1
mount -t ext3 /dev/sda1 /mnt/sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
sad
Może już za długo mieszam, przywrócę router do domyślnych i spróbuję jeszcze raz

6

(26 odpowiedzi, napisanych Oprogramowanie / Software)

karta się formatuje, ale co bym nie zrobił:
mount -t ext3 /dev/sda1 /mnt/sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed: No such file or directory

7

(26 odpowiedzi, napisanych Oprogramowanie / Software)

Na każdej karcie to samo.
Czytnik coś czyta:
dmesg | grep sda
[   12.595560] sd 0:0:0:1: [sda] Attached SCSI removable disk
[   14.019204] sd 0:0:0:1: [sda] 3842048 512-byte logical blocks: (1.97 GB/1.83 GiB)
[   14.036356] sd 0:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   14.061046]  sda: sda1
[   16.478976] sd 0:0:0:1: [sda] Synchronizing SCSI cache
[   18.723094] sd 1:0:0:0: [sda] 3842048 512-byte logical blocks: (1.97 GB/1.83 GiB)
[   18.761984] sd 1:0:0:0: [sda] Write Protect is off
[   18.767032] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
[   18.804824] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   18.850886]  sda: sda1
[   18.862710] sd 1:0:0:0: [sda] Attached SCSI removable disk

8

(26 odpowiedzi, napisanych Oprogramowanie / Software)

Włożyłeś kartę do slotu dobrze? - tak
Karta ma partycję? fat16, fat32, ntfs - to samo za każdym razem

9

(26 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Podepnę się pod temat.
LEDE Reboot 17.01-SNAPSHOT r3876-efb6ca1 / LuCI lede-17.01 branch (git-18.098.72829-575e327)
Modem HiLink E3372
Nie widzi karty uSD w slocie modemu.
dmesg niby coś widzi,

[   17.036093] usb-storage 1-1:1.2: USB Mass Storage device detected
[   17.062557] scsi host1: usb-storage 1-1:1.2
[   18.136647] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   18.151456] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   27.219981] device eth0 entered promiscuous mode

ale mount

/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)


i df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.8M      4.8M         0 100% /rom
tmpfs                    13.6M      1.3M     12.2M  10% /tmp
/dev/mtdblock3            1.9M    244.0K      1.6M  13% /overlay
overlayfs:/overlay        1.9M    244.0K      1.6M  13% /
tmpfs                   512.0K         0    512.0K   0% /dev

już nie za bardzo...

10

(651 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Czy na tym routerze WiFi działa max bg (54kbps) zamiast bgn, czy ja coś źle zrobiłem ?
Kartę wykrywa jako "Generic MAC80211 802.11bg"
pozdrawiam

Aktualizacja systemu załatwiła problem, dziękuję @Gruberek.

Pozdrawiam

Dzięki, przetestuję, może na nim ruszy.

Pozdrawiam

Podepnę się pod wątek
Jestem zielony w OpenWRT, ale coś tam wyklikam.
U mnie też nie działa VPN PPTP w Windows.
Mam :
OpenWrt Chaos Calmer 15.05 / LuCI (git-16.043.44305-e2f9172), wersja jądra    3.18.23
Przy instalacji kmod-nf-nathelper-extra mam komunikat:

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-nathelper-extra:
*     kernel (= 3.18.29-1-a4675e081599cd0e03f90fa7570f4839) *     kernel (= 3.18.29-1-a4675e081599cd0e03f90fa7570f4839) *
* opkg_install_cmd: Cannot install package kmod-nf-nathelper-extra.

cp /rom/etc/opkg.conf /etc/opkg.conf :
cp: '/rom/etc/opkg.conf' and '/etc/opkg.conf' are the same file

Podejrzewam, że problemem jest wersja jądra, ja mam 3.18.23 a kmod-nf-nathelper-extra jest na 3.18.20-1, 3.18.27-1 i 3.18.29-1
Niestety, nie widzę nowszego obrazu dla mojego routera niż:
openwrt-15.05-brcm63xx-generic-F@ST2704V2-squashfs-cfe.bin    3538948    14-Sep-2015 07:37

Idzie u mnie uruchomić VPN PPTP ?

Pozdrawiam

Witam
Jestem zielony w OpenWRT, ale coś tam skrobię.
Uruchomiłem  OpenWRT 15.05 na Sagemcom F@st 2704 z modemem E3372 HiLink, karta Play w roamingu Plusa.
Modem podłączony do komputera daje download/upload ok 4,5/2,5Mbps.
Podłączony do routera - 0,5/2,5Mbps.
Czyli download pada, a upload pozostaje praktycznie bez zmian.
Modem jest na kablu 1m, nie zmienia miejsca przy przepinaniu.
Co może być przyczyną ?
Proszę o pomoc.
Pozdrawiam

A zapomniałem
ps powiedział, że:
3267 root      1536 S    /usr/sbin/pppd nodetach ipparam wan2 ifname 3g-wan2 nodefaultroute usepeerdns persist maxfail 1 connect USE_APN=darmowy /usr/sbin/chat -t5 -v -E -f /etc/chatscr

Ale wan2 mam połączony, to wan1 wisi... nic nie rozumiem.

logread:
Mar 17 15:22:06 Gargoyle daemon.notice pppd[19343]: pppd 2.4.5 started by root, uid 0
Mar 17 15:22:06 Gargoyle daemon.notice pppd[19343]: Device ttyUSB0 is locked by pid 3267
Mar 17 15:22:06 Gargoyle daemon.info pppd[19343]: Exit.
Mar 17 15:22:06 Gargoyle daemon.notice netifd: Interface 'wan1' is now down

i tak w kółko...

Cezary, Gargoyle to Twoje w dużej mierze dzieło, proszę o pomoc !

Na Gargoyle doinstalowałem mwan3.
wan2 wstało bez problemów, natomiast wan1 is down: device ttyUSB0 is locked by pid 3267

moje konfigi:

3gtester.sh:
if ! ping -q -c 1 -W 10 -I 3g-wan1 8.8.8.8 > /dev/null; then
        (ifup wan1; sleep 5; /etc/init.d/mwan3 restart) &
    fi

if ! ping -q -c 1 -W 10 -I 3g-wan2 8.8.8.8 > /dev/null; then
        (ifup wan2; sleep 5; /etc/init.d/mwan3 restart) &
    fi


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 type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ifname 'eth0 eth1'
        option dns '192.168.100.1'
        option ipaddr '192.168.100.1'

config interface 'wan1'
        option _orig_ifname 'eth1'
        option _orig_bridge 'false'
        option auto '1'
        option proto '3g'
        option device '/dev/ttyUSB0'
        option apn 'darmowy'
        option service 'umts_only'
        option mobile_isp 'Polska - Aero2'

config interface 'wan2'
        option auto '1'
        option proto '3g'
        option device '/dev/ttyUSB0'
        option apn 'darmowy'
        option service 'umts_only'
        option mobile_isp 'Polska - Aero2'

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

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


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

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

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

config zone
        option name 'wan'
        option network 'wan1 wan2'
        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'

config include
        option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'

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

nfig multiwan 'config'
        option enabled '1'
        option default_route 'fastbalancer'

config interface 'wan1'
        option weight '10'
        option icmp_hosts 'dns'
        option timeout '3'
        option health_fail_retries '3'
        option health_recovery_retries '5'
        option dns 'auto'
        option health_interval '5'
        option failover_to 'fastbalancer'

config interface 'wan2'
        option weight '10'
        option timeout '3'
        option health_fail_retries '3'
        option health_recovery_retries '5'
        option health_interval '5'
        option dns 'auto'
        option icmp_hosts 'dns'
        option failover_to 'fastbalancer'

config mwanfw
        option wanrule 'fastbalancer'

config mwanfw
        option wanrule 'fastbalancer'

config mwanfw
        option wanrule 'fastbalancer'
root@Gargoyle:~#

@grisha

Próbowałem na tych ustawieniach wcześniej i teraz (z multiwan).
Co bym nie zrobił, mam:

Mar 17 12:02:23 OpenWrt user.notice multiwan: Succesfully Initialized on Sun, 17 Mar 2013 12:02:23 +0100.
Mar 17 12:02:24 OpenWrt user.notice multiwan: wan1 has failed and is currently offline.
Mar 17 12:02:24 OpenWrt user.notice multiwan: wan2 has failed and is currently offline.
A w LuCi oba wan są niby podniesione.

Natomiast Gargoyle startuje natychmiast, bez najmniejszego problemu, ale tylko na 1 modem sad

Wydaje mi się, że oba wan2 i wan3:

3g-wan2   Link encap:Point-to-Point Protocol
          inet addr:151.248.34.188  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:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:464 (464.0 B)  TX bytes:182 (182.0 B)

3g-wan3   Link encap:Point-to-Point Protocol
          inet addr:37.209.135.69  P-t-P:10.64.64.65  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1438 (1.4 KiB)  TX bytes:216 (216.0 B)

br-lan    Link encap:Ethernet  HWaddr F4:EC:38:F8:5D:B9
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:526 errors:0 dropped:0 overruns:0 frame:0
          TX packets:573 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:82404 (80.4 KiB)  TX bytes:215889 (210.8 KiB)

eth0      Link encap:Ethernet  HWaddr F4:EC:38:F8:5D:B9
          UP 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:5

eth1      Link encap:Ethernet  HWaddr F4:EC:38:F8:5D:BB
          UP 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

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:4201 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:285412 (278.7 KiB)  TX bytes:285412 (278.7 KiB)

wlan0     Link encap:Ethernet  HWaddr F4:EC:38:F8:5D:BA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:524 errors:0 dropped:0 overruns:0 frame:0
          TX packets:612 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:89728 (87.6 KiB)  TX bytes:232557 (227.1 KiB)

Czy mógłby mi ktoś coś podpowiedzieć, dlaczego multiwan twierdzi, że wan2 iwan3 mam offline ?
Bardzo proszę o pomoc.

Ładnie chodzi na Gargoyle w domyślnej konfiguracji, tzn tylko jeden modem - godzina pracy i ok 30 sek wznawianie.

Robiłem wg tego samego wątku http://openrouter.info/forum/viewtopic. … p;start=40
Niestety, doszedłem do tego etapu (modemy podniesione, ale multiwan ich nie widzi i nie przechodzą pakiety) i dalej mam ścianę - nie mam pomysłu co jest źle.

Może ten komunikat w logu coś mówi obeznanym z tematem: OpenWrt daemon.warn dnsmasq[1296]: no servers found in /tmp/resolv.conf.auto, will retry - ale ja nie wiem, o co chodzi.

Trzecia noc walki sad
Udało mi się podnieść połączenia na modemach (wan2 is up, wan3 is up), ale nie widzi ich multiwan:

Mar 17 01:04:08 OpenWrt daemon.notice netifd: Interface 'wan3' is now up
Mar 17 01:04:09 OpenWrt user.notice ifup: Enabling Router Solicitations on wan3 (3g-wan3)
Mar 17 01:04:09 OpenWrt user.info firewall: adding wan3 (3g-wan3) to zone wan
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: reading /tmp/resolv.conf.auto
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 193.41.112.14#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 193.41.112.18#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 8.8.4.4#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 8.8.8.8#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 193.41.112.14#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 193.41.112.18#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 8.8.4.4#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using nameserver 8.8.8.8#53
Mar 17 01:04:10 OpenWrt daemon.info dnsmasq[1296]: using local addresses only for domain lan
Mar 17 01:04:21 OpenWrt daemon.warn dnsmasq[1296]: no servers found in /tmp/resolv.conf.auto, will retry
Mar 17 01:05:28 OpenWrt user.notice multiwan: Reinitializing Multi-WAN Configuration.
Mar 17 01:05:35 OpenWrt user.notice multiwan: Succesfully Initialized on Sun, 17 Mar 2013 01:05:35 +0000.
Mar 17 01:05:36 OpenWrt user.notice multiwan: wan has failed and is currently offline.
Mar 17 01:05:36 OpenWrt user.notice multiwan: wan2 has failed and is currently offline.
Mar 17 01:05:37 OpenWrt user.notice multiwan: wan3 has failed and is currently offline.
Mar 17 01:13:12 OpenWrt daemon.info hostapd: wlan0: STA 00:22:43:19:4b:90 WPA: group key handshake completed (RSN)

Co może oznaczać "no servers found in /tmp/resolv.conf.auto" ?


Moje konfigi:
/etc/config/network
config interface 'wan2'
        option proto '3g'
        option device '/dev/ttyUSB0'
        option service 'umts_only'
        option apn 'darmowy'
        option 'maxwait' '30'
        option 'defaultroute' '0'
        option 'dns' '8.8.8.8 8.8.4.4'

config interface 'wan3'
        option proto '3g'
        option device '/dev/ttyUSB3'
        option service 'umts_only'
        option apn 'darmowy'
        option 'maxwait' '30'
        option 'defaultroute' '0'
        option 'dns' '8.8.8.8 8.8.4.4'

/etc/config/firewall

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

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

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

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'


/etc/config/multiwan
config multiwan 'config'
        option 'health_monitor' 'serial'
        option enabled '1'
        option default_route 'balancer'
        option 'debug' '0'

config 'interface' 'wan'
        option 'weight' '5'
        option 'health_interval' '10'
        option 'icmp_hosts' 'dns'
        option 'timeout' '3'
        option 'health_fail_retries' '3'
        option 'health_recovery_retries' '5'
        option 'failover_to' 'balancer'
        option 'dns' ''8.8.8.8 8.8.4.4''

config 'interface' 'wan2'
        option 'weight' '5'
        option 'health_interval' '10'
        option 'icmp_hosts' 'dns'
        option 'timeout' '3'
        option 'health_fail_retries' '3'
        option 'health_recovery_retries' '5'
        option 'failover_to' 'balancer'
        option 'dns' ''8.8.8.8 8.8.4.4''

config 'interface' 'wan3'
        option 'weight' '5'
        option 'health_interval' '10'
        option 'icmp_hosts' 'dns'
        option 'timeout' '3'
        option 'health_fail_retries' '3'
        option 'health_recovery_retries' '5'
        option 'failover_to' 'balancer'
        option 'dns' ''8.8.8.8 8.8.4.4''

config 'mwanfw'
        option 'wanrule' 'fastbalancer'

config mwanfw
        option 'wanrule' 'wan'

config mwanfw
        option 'wanrule' 'wan2'

config mwanfw
        option 'wanrule' 'wan3'

root@OpenWrt:~#

Poddaję się.
Nie wiem, co robię źle, ale nie mogę zestawić połączenia.
Spiszę więc krok po kroku:

Obraz openwrt-ar71xx-generic-tl-mr3220-v1-squashfs-sysupgrade.bin
opkg update
opkg install libusb kmod-usb-net kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-net-cdc-ether usb-modeswitch-data usb-modeswitch chat comgt nano

Nano instaluję, bo w vi jak wklejam treść, to ucieka mi wszystko w prawo - sumują się tabulatory.
Newbie jestem i nie wiem, jak temu zaradzić sad

usb_modeswitch -v 12d1 -p 1446 -c /etc/usb_modeswitch.d/12d1:1446

/etc/init.d/cron stop
echo "*/1 * * * * /bin/3gtester.sh" >> /etc/crontabs/root
/etc/init.d/cron enable
/etc/init.d/cron start

Potem:
uci set network.wan2=interface
uci set network.wan2.ifname=usb0
uci set network.wan2.proto=dhcp
uci set network.wan2.comm=/dev/ttyUSB2
uci set network.wan2.mode="AT^SYSCFG=2,2,3FFFFFFF,2,4"
uci set network.wan2.pincode=
uci set network.wan2.apn=darmowy
uci set network.wan2.username=
uci set network.wan2.password=
uci set network.wan2.macaddr=00:01:02:03:04:05
uci set network.wan2.auto=0
uci set network.wan2.defaultroute=0
uci set network.wan2.peerdns=0
uci set network.wan2.dns='8.8.8.8 8.8.4.4'
uci set network.wan3=interface
uci set network.wan3.ifname=usb1
uci set network.wan3.proto=dhcp
uci set network.wan3.comm=/dev/ttyUSB5
uci set network.wan3.mode="AT^SYSCFG=2,2,3FFFFFFF,2,4"
uci set network.wan3.pincode=
uci set network.wan3.apn=darmowy
uci set network.wan3.username=
uci set network.wan3.password=
uci set network.wan3.macaddr=00:01:02:03:04:05
uci set network.wan3.auto=0
uci set network.wan3.defaultroute=0
uci set network.wan3.peerdns=0
uci set network.wan3.dns='8.8.8.8 8.8.4.4'
uci commit network

uci add firewall zone
uci set firewall.@zone[-1]=zone
uci set firewall.@zone[-1].name=wan2
uci set firewall.@zone[-1].network=wan2
uci set firewall.@zone[-1].input=REJECT
uci set firewall.@zone[-1].output=ACCEPT
uci set firewall.@zone[-1].forward=REJECT
uci set firewall.@zone[-1].masq=1
uci set firewall.@zone[-1].mtu_fix=1
uci add firewall forwarding
uci set firewall.@forwarding[-1]=forwarding
uci set firewall.@forwarding[-1].src=lan
uci set firewall.@forwarding[-1].dest=wan2
uci add firewall zone
uci set firewall.@zone[-1]=zone
uci set firewall.@zone[-1].name=wan3
uci set firewall.@zone[-1].network=wan3
uci set firewall.@zone[-1].input=REJECT
uci set firewall.@zone[-1].output=ACCEPT
uci set firewall.@zone[-1].forward=REJECT
uci set firewall.@zone[-1].masq=1
uci set firewall.@zone[-1].mtu_fix=1
uci add firewall forwarding
uci set firewall.@forwarding[-1]=forwarding
uci set firewall.@forwarding[-1].src=lan
uci set firewall.@forwarding[-1].dest=wan3
uci commit firewall

Do /etc/rc.local dopisuję przed exit 0
sleep 5
/bin/3gtester.sh

Odpalam multiwan
uci set multiwan.config=multiwan
uci set multiwan.config.health_monitor=serial
uci set multiwan.config.default_route=balancer
uci set multiwan.config.debug=0
uci set multiwan.wan=interface
uci set multiwan.wan.health_fail_retries=3
uci set multiwan.wan.health_interval=10
uci set multiwan.wan.health_recovery_retries=5
uci set multiwan.wan.weight=10
uci set multiwan.wan.icmp_hosts=dns
uci set multiwan.wan.timeout=3
uci set multiwan.wan.failover_to=balancer
uci set multiwan.wan.dns=auto
uci set multiwan.wan2=interface
uci set multiwan.wan2.health_fail_retries=3
uci set multiwan.wan2.health_interval=10
uci set multiwan.wan2.health_recovery_retries=5
uci set multiwan.wan2.weight=10
uci set multiwan.wan2.icmp_hosts=dns
uci set multiwan.wan2.timeout=3
uci set multiwan.wan2.failover_to=balancer
uci set multiwan.wan2.dns='8.8.8.8 8.8.4.4'
uci set multiwan.wan3=interface
uci set multiwan.wan3.health_fail_retries=3
uci set multiwan.wan3.health_interval=10
uci set multiwan.wan3.health_recovery_retries=5
uci set multiwan.wan3.weight=10
uci set multiwan.wan3.icmp_hosts=dns
uci set multiwan.wan3.timeout=3
uci set multiwan.wan3.failover_to=balancer
uci set multiwan.wan3.dns='8.8.8.8 8.8.4.4'
uci delete multiwan.@mwanfw[-1]
uci delete multiwan.@mwanfw[-1]
uci delete multiwan.@mwanfw[-1]
uci add multiwan mwanfw
uci set multiwan.@mwanfw[-1]=mwanfw
uci set multiwan.@mwanfw[-1].wanrule=fastbalancer
uci add multiwan mwanfw
uci set multiwan.@mwanfw[-1]=mwanfw
uci set multiwan.@mwanfw[-1].wanrule=wan
uci add multiwan mwanfw
uci set multiwan.@mwanfw[-1]=mwanfw
uci set multiwan.@mwanfw[-1].wanrule=wan2
uci add multiwan mwanfw
uci set multiwan.@mwanfw[-1]=mwanfw
uci set multiwan.@mwanfw[-1].wanrule=wan3
uci commit multiwan
/etc/init.d/multiwan start
/etc/init.d/multiwan enable

Wklejam  przez nano /bin/3gtester.sh i /etc/gcom/ndisup.gcom ostatnie z wątku:
http://eko.one.pl/forum/viewtopic.php?id=3276&p=3  z 2013-01-25

Ustawiam jeszcze chmod 700 /bin/3gtester.sh

I po raz n-ty patrzę w logread, że niby ok, ale nie działa...

Mar 16 01:22:01 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Mar 16 01:22:01 OpenWrt user.notice 3gtester.sh: Checking for active connection wan3 (usb1) attempting to ping 8.8.8.8
Mar 16 01:24:01 OpenWrt user.notice 3gtester.sh: Checking for active connection wan2 (usb0) attempting to ping 8.8.8.8 8.8.4.4
Mar 16 01:24:01 OpenWrt user.notice 3gtester.sh: Restarting connection wan2 (usb0) using device /dev/ttyUSB3 and apn darmowy
Mar 16 01:24:01 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Mar 16 01:24:01 OpenWrt user.notice 3gtester.sh: Checking for active connection wan3 (usb1) attempting to ping 8.8.8.8 8.8.4.4
Mar 16 01:24:01 OpenWrt user.err 3gtester.sh: Device /dev/ttyUSB5 for wan3 not exist
Mar 16 01:24:02 OpenWrt user.notice gcom: ndisup:ttyUSB3 Establishing 3G modem connection in NDIS mode
Mar 16 01:24:02 OpenWrt user.notice gcom: ndisup:ttyUSB3 Script for comgt version 1.07 Rafal Drzymala 2012
Mar 16 01:24:02 OpenWrt user.notice gcom: ndisup:ttyUSB3 Try to communicate with modem
Mar 16 01:24:03 OpenWrt user.notice gcom: ndisup:ttyUSB3 Checking for password input request
Mar 16 01:24:03 OpenWrt user.notice gcom: ndisup:ttyUSB3 - state: MT without password input request
Mar 16 01:24:03 OpenWrt user.notice gcom: ndisup:ttyUSB3 Getting device information
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - modem: HUAWEI E173
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - firmware: 11.126.83.00.264
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - IMEI: 356345041529032
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 Getting received signal strength
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - signal strength: (9), -95 dBm, 29%
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - level: [##############3----5----5----6----7----8----9----$]
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 Checking modem for NDIS support
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - NDIS mode is supported by this modem
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 Getting system information
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - service state: Valid service
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - domain: PS+CS service
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - roaming: Roaming state
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - mode: WCDMA
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - SIM: Valid USIM card state
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 - sub mode: WCDMA
Mar 16 01:24:04 OpenWrt user.notice gcom: ndisup:ttyUSB3 Getting network registration status
Mar 16 01:24:05 OpenWrt user.notice gcom: ndisup:ttyUSB3 - status: Roaming network is registered
Mar 16 01:24:05 OpenWrt user.notice gcom: ndisup:ttyUSB3 - lac, ci:  C353, CADF
Mar 16 01:24:05 OpenWrt user.notice gcom: ndisup:ttyUSB3 Verify if the modem is connected to APN
Mar 16 01:24:05 OpenWrt user.notice gcom: ndisup:ttyUSB3 Modem is already connected
Mar 16 01:24:05 OpenWrt user.notice gcom: ndisup:ttyUSB3 Disconnecting from current APN
Mar 16 01:24:06 OpenWrt user.notice gcom: ndisup:ttyUSB3 Disconnected successfully
Mar 16 01:24:06 OpenWrt user.notice gcom: ndisup:ttyUSB3 Setting mode AT^SYSCFG=2,2,3FFFFFFF,2,4
Mar 16 01:24:06 OpenWrt user.notice gcom: ndisup:ttyUSB3 Mode set successfully
Mar 16 01:24:06 OpenWrt user.notice gcom: ndisup:ttyUSB3 Try to establish connection via APN darmowy
Mar 16 01:24:07 OpenWrt user.notice gcom: ndisup:ttyUSB3 Waiting for establish connection
Mar 16 01:24:08 OpenWrt user.notice gcom: ndisup:ttyUSB3 Still waiting 2 second(s)...
Mar 16 01:24:11 OpenWrt user.notice gcom: ndisup:ttyUSB3 Connection established
Mar 16 01:24:11 OpenWrt user.notice gcom: ndisup:ttyUSB3 Done.
Mar 16 01:25:21 OpenWrt daemon.info dnsmasq[3292]: reading /tmp/resolv.conf.auto
Mar 16 01:25:21 OpenWrt daemon.info dnsmasq[3292]: using nameserver 192.168.100.1#53
Mar 16 01:25:21 OpenWrt daemon.info dnsmasq[3292]: using local addresses only for domain lan
root@OpenWrt:~#

Niby coś zestawia, ale nic nie przechodzi sad

Prosze jeszcze o pomoc mimo późnej pory:
Nano mi nie chce zapisać /etc/gcom/ndisup.gcom - chyba nie ma katalogu /etc/gcom lub nie mam do niego praw, bo nie chce mi przejść /etc ?

ls /etc/ nie wyświetla w każdym razie gcom

Już wiem, brakowało comgt

Coś ruszyło smile

Przepisałem "ustawienia dla network"
Czy uci set network.wan3.dns='8.8.8.8 8.8.4.4' jest obowiązkowy ?
Jeżeli chcę zostawić domyślne DNS-y Aero2 mam pominąć te linie, czy wpisać uci set network.wan3.dns='' ?