Temat: tl-mr3220 + modem e173u-2 + n2n

Czy jest możliwe żeby to działało bez extroota? I czy jest może gotowy obraz do wgrania?

2 (edytowany przez Rafciq 2013-02-09 14:16:41)

Odp: tl-mr3220 + modem e173u-2 + n2n

Witaj, jest możliwe, miałem dokładnie taką konfigurację. Oczywiście tylko konsola bez GUI, bo nic się nie zmieści.

Jeżeli możesz na chwilę podłączyć router do netu przez WAN to instalacja będzie wyglądać tak:
Instalujesz czysty obraz od Cezarego http://ecco.selfip.net/attitude_adjustment/ar71xx/, np. tak:

cd /tmp
wget http://ecco.selfip.net/attitude_adjustment/ar71xx/openwrt-ar71xx-generic-tl-mr3220-v1-squashfs-factory.bin
sysupgrade openwrt-ar71xx-generic-tl-mr3220-v1-squashfs-factory.bin

a potem po restarcie, instalujesz pakiety np. tak:

opkg update
opkg install libusb kmod-usb-net kmod-usb-serial kmod-usb-serial-option
opkg install kmod-usb-serial-wwan kmod-usb-net-cdc-ether usb-modeswitch-data usb-modeswitch 
opkg install chat comgt n2n

Potem wgraj pliku /bin/3gtester.sh i /etc/gcom/ndisup.gcom, znajdziesz w tym wątku http://eko.one.pl/forum/viewtopic.php?id=3276.
Następnie edycja network (np. vi /etc/config/network)

config interface 'wan2'
        option ifname 'wwan0'
        option proto 'dhcp'
        option comm '/dev/ttyUSB2'
        option apn 'darmowy'
        option mode 'AT^SYSCFG=14,2,2000000000000,1,1'
        option macaddr '00:01:02:03:04:05'
        option auto '0'
        option defaultroute '0'
        option peerdns '0'
        list dns '8.8.8.8'
        list dns '8.8.4.4'
        option rebootafter '900'

edycja firewall (np. vi /etc/config/firewall)

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

i edycja crontab (np. crontab -e)

*/1 * * * * /bin/3gtester.sh

nie zapomnij zrobić

chmod 700 /bin/3gtester.sh

i powinno śmigać.
Oczywiście to tylko przykładowe ustawienia, a konfigurację n2n zakładam że sam zrobisz.

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

3

Odp: tl-mr3220 + modem e173u-2 + n2n

niestety chyba moja wiedza na temat openwrt jest za mała aby uruchomić modem usb. Po zainstalowaniu wszystkiego zgodnie  z powyższą instrukcją połączenie po gsm nie działa, nawet dioda na modemie nie mruga. W jaki sposób mogę sprawdzić czy modem się prawidłowo zainstalował w openwrt?

4 (edytowany przez Rafciq 2013-02-10 12:47:29)

Odp: tl-mr3220 + modem e173u-2 + n2n

Witaj,
1. czy pakiety się zainstalowały bez błędów?
2. czy pliki 3gtester.sh i ndisup.gcom są na swoim miejscu?
3. czy modem nie mruga?
4. jaki operator GSM?
5. pokaż wynik cat /proc/bus/usb/devices
6. pokaż wynik ls /dev/ttyU*
7. czy przepisałeś ustawienia jw. czy dostosowałeś do swoich potrzeb?

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

5 (edytowany przez baggick 2013-02-10 12:58:59)

Odp: tl-mr3220 + modem e173u-2 + n2n

1.
root@OpenWrt:/# opkg install libusb kmod-usb-net kmod-usb-serial kmod-usb-serial
-option
Package libusb (0.1.12-3) installed in root is up to date.
Package kmod-usb-net (3.3.8-1) installed in root is up to date.
Package kmod-usb-serial (3.3.8-1) installed in root is up to date.
Package kmod-usb-serial-option (3.3.8-1) installed in root is up to date.
root@OpenWrt:/# opkg install kmod-usb-serial-wwan kmod-usb-net-cdc-ether usb-mod
eswitch-data usb-modeswitch
Package kmod-usb-serial-wwan (3.3.8-1) installed in root is up to date.
Package kmod-usb-net-cdc-ether (3.3.8-1) installed in root is up to date.
Package usb-modeswitch-data (20121109-1cj) installed in root is up to date.
Package usb-modeswitch (1.2.5-1cj) installed in root is up to date.
root@OpenWrt:/# opkg install chat comgt n2n
Package chat (2.4.5-8) installed in root is up to date.
Package comgt (0.32-21) installed in root is up to date.
Package n2n (3875-4) installed in root is up to date.

2.
root@OpenWrt:/bin# ls
3gtester.sh  dd           gunzip       mknod        ping         sync
ash          df           gzip         mktemp       ping6        tar
busybox      dmesg        ipcalc.sh    mount        ps           touch
cat          echo         kill         mv           pwd          true
chgrp        egrep        ln           netmsg       rm           ubus
chmod        false        lock         netstat      rmdir        umount
chown        fgrep        login.sh     nice         sed          uname
cp           fsync        ls           opkg         sh           vi
date         grep         mkdir        pidof        sleep        zcat

root@OpenWrt:/etc/gcom# ls
getcardinfo.gcom  getcnum.gcom      getstrength.gcom  setmode.gcom
getcarrier.gcom   getimsi.gcom      ndisup.gcom       setpin.gcom


3.
Modem nie mruga.

4.
Orange free na kartę.

5.
root@OpenWrt:/etc/gcom# 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=  0, #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

6.
root@OpenWrt:/etc/gcom# ls /dev/ttyU*
ls: /dev/ttyU*: No such file or directory

7.
Edytowałem option mode 'AT^SYSCFG=14,2,2000000000000,1,1'  aby modem działał również w innych sieciach

option comm '/dev/ttyUSB2'  zmieniłem na USB0

Nic te zmiany nie pomogły.

6

Odp: tl-mr3220 + modem e173u-2 + n2n

5. pokaż wynik cat /proc/bus/usb/devices
6. pokaż wynik ls /dev/ttyU*
7. czy przepisałeś ustawienia jw. czy dostosowałeś do swoich potrzeb?
8. czy jak włączasz router to modem nie mruga?

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

7

Odp: tl-mr3220 + modem e173u-2 + n2n

8.
Tak jak włączam router modem nie mruga.

8

Odp: tl-mr3220 + modem e173u-2 + n2n

Obecnie instaluję to wszytko na mr3420 a nie na 3220 jak napisałem w temacie. Docelowo jednak chcę uruchomić zakładaną konfigurację zarówno na mr3220 jak i mr3420. Ma to znaczenie?

9 (edytowany przez Rafciq 2013-02-10 13:15:37)

Odp: tl-mr3220 + modem e173u-2 + n2n

A. Zmień MODE na 'AT^SYSCFG=2,2,3FFFFFFF,2,4'
B. Zmień APN na 'internet'
C. COMM powinno być '/dev/ttyUSB2'
D. Coś jest nie halo z modemem lub połączeniem USB w wynikach z punktów 5 i 6 nie widać modemu tak jak by nie był podłączony. Wydaj polecenie

echo 0 > /sys/devices/virtual/gpio/gpio6/value

następnie odczekaj kilka sekund i wydaj polecenie

echo 1 > /sys/devices/virtual/gpio/gpio6/value

napisz czy modem zareagował.

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

10

Odp: tl-mr3220 + modem e173u-2 + n2n

Będzie działać zarówno na 3420 jak i na 3220

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

11

Odp: tl-mr3220 + modem e173u-2 + n2n

modem nie zareagował na polecenia

echo 0 > /sys/devices/virtual/gpio/gpio6/value
i
echo 1 > /sys/devices/virtual/gpio/gpio6/value

Czy to oznacza, że nie działa port USB???

12

Odp: tl-mr3220 + modem e173u-2 + n2n

Jeżeli masz tylko to:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #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


To w ogóle modem jako urządzenie USB nie zostało wykryte.

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

13

Odp: tl-mr3220 + modem e173u-2 + n2n

Modem po włączeniu routera gdy dostanie zasilanie powinien zacząć mrugać, tym bardziej gdy ma aktywną kartę SIM i jest w zasięgu sieci.
Podłącz do USB pendrive i zobacz czy mruga. Jeżeli podłączasz modem poprzez przedłużacz USB to spróbuj bezpośrednio podłączyć. No i na końcu podłącz modem do PC i zobacz czy działa.

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

14

Odp: tl-mr3220 + modem e173u-2 + n2n

Rozkręciłem router i odrazu odpadła taka mała blaszka, która zabudowuje tył gniazda usb (pewnie kedyś modem został na siłę jakoś wepchnięty do portu). Po delikatnym "zreperowaniu" defektu modem zaczął mrugać.

Teraz muszę jakoś zestawić połączenie. Na razie cały czas mruga na niebiesko (czyli widzi jakąś sieć 3g) ale nie może zestawić połączenia.

15

Odp: tl-mr3220 + modem e173u-2 + n2n

To teraz polecenia z punktów 5 i 6

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

16

Odp: tl-mr3220 + modem e173u-2 + n2n

muszę na teraz kończyć zabawę. Może wieczorem jeszcze się pobawię i jutro napiszę o efektach.

Rafciq dzięki za pomoc!

17

Odp: tl-mr3220 + modem e173u-2 + n2n

niestety modem nie chce zestawić połączenia. Cały czas mruga i nic więcej.

Wynik polecenia  cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/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#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1436 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
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= 1 Cls=02(comm.) Sub=06 Prot=ff Driver=cdc_ether
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


wynik polecenia  ls /dev/ttyU*

/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2

18

Odp: tl-mr3220 + modem e173u-2 + n2n

A w ogóle z jakiego operatora korzystasz?  @Rafciq pokazał połączenie przez ndis. Normalnie przez ppp ma tu: http://eko.one.pl/?p=openwrt-3g

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

19

Odp: tl-mr3220 + modem e173u-2 + n2n

Korzystam Orange Free na kartę

20

Odp: tl-mr3220 + modem e173u-2 + n2n

Więc ustaw wg jednego z wyżej przestawionych sposobów albo zainstaluj sobie gargoyle to to sobie wyklikasz.

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

21 (edytowany przez Rafciq 2013-02-10 22:00:04)

Odp: tl-mr3220 + modem e173u-2 + n2n

Witaj,
czy zmieniłeś APN, MODE i COMM tak jak pisałem w poście nr.9?

Jeżeli tak to wykonaj polecenie:

/bin/3gtester.sh

a następnie

logread -f

.

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

22

Odp: tl-mr3220 + modem e173u-2 + n2n

root@OpenWrt:~# /bin/3gtester.sh
root@OpenWrt:~# comgt 01:03:12 -> -- Error Report --
comgt 01:03:12 -> ---->        ^
comgt 01:03:12 -> Error @7, line 1, That's human mumbo-jumbo to me. (5)


root@OpenWrt:~# logread -f

Jan  1 01:06:01 OpenWrt cron.info crond[1207]: crond: USER root pid 2126 cmd /bin/3gtester.sh
Jan  1 01:06:02 OpenWrt user.notice 3gtester.sh: Checking for active connection wan2 (wwan0) attempting to ping 8.8.8.8 8.8.4.4
Jan  1 01:06:06 OpenWrt user.notice 3gtester.sh: Restarting connection wan2 (wwan0) using device /dev/ttyUSB2 and apn internet
Jan  1 01:06:06 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Jan  1 01:06:06 OpenWrt daemon.notice netifd: Interface 'wan2' is now down

23 (edytowany przez Rafciq 2013-02-11 21:30:36)

Odp: tl-mr3220 + modem e173u-2 + n2n

Witaj, coś się Tobie nie udało podczas wklejania zawartości pliku ndisup.gcom.

Ale jesteś blisko:)

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub

24

Odp: tl-mr3220 + modem e173u-2 + n2n

root@OpenWrt:~# /bin/3gtester.sh
root@OpenWrt:~# logread -f
Jan  1 01:04:01 OpenWrt cron.info crond[1208]: crond: USER root pid 2004 cmd /bin/3gtester.sh
Jan  1 01:04:02 OpenWrt user.notice 3gtester.sh: Checking for active connection wan2 (wwan0) attempting to ping 8.8.8.8 8.8.4.4
Jan  1 01:04:06 OpenWrt user.notice 3gtester.sh: Restarting connection wan2 (wwan0) using device /dev/ttyUSB2 and apn internet
Jan  1 01:04:06 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Jan  1 01:04:06 OpenWrt daemon.notice netifd: Interface 'wan2' is now down
Jan  1 01:04:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Establishing 3G modem connection in NDIS mode
Jan  1 01:04:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Script for comgt version 1.07 Rafal Drzymala 2012
Jan  1 01:04:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Try to communicate with modem
Jan  1 01:04:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking for password input request
Jan  1 01:04:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 - state: MT without password input request
Jan  1 01:04:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting device information
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - modem: HUAWEI E173
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - firmware: 11.126.16.05.264
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - IMEI: 869878005800296
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting received signal strength
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - signal strength: (5), -103 dBm, 16%
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - level: [########-2----3----5----5----6----7----8----9----$]
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking modem for NDIS support
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - NDIS mode is supported by this modem
Jan  1 01:04:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting system information
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - service state: Valid service
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - domain: Only CS service
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - roaming: Non roaming state
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - mode: WCDMA
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - SIM: Valid USIM card state
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - sub mode: WCDMA
Jan  1 01:04:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 Done!
Jan  1 01:05:01 OpenWrt cron.info crond[1208]: crond: USER root pid 2066 cmd /bin/3gtester.sh
Jan  1 01:05:02 OpenWrt user.notice 3gtester.sh: Checking for active connection wan2 (wwan0) attempting to ping 8.8.8.8 8.8.4.4
Jan  1 01:05:06 OpenWrt user.notice 3gtester.sh: Restarting connection wan2 (wwan0) using device /dev/ttyUSB2 and apn internet
Jan  1 01:05:06 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Jan  1 01:05:06 OpenWrt daemon.notice netifd: Interface 'wan2' is now down
Jan  1 01:05:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Establishing 3G modem connection in NDIS mode
Jan  1 01:05:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Script for comgt version 1.07 Rafal Drzymala 2012
Jan  1 01:05:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Try to communicate with modem
Jan  1 01:05:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking for password input request
Jan  1 01:05:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 - state: MT without password input request
Jan  1 01:05:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting device information
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - modem: HUAWEI E173
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - firmware: 11.126.16.05.264
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - IMEI: 869878005800296
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting received signal strength
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - signal strength: (4), -105 dBm, 12%
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - level: [######---2----3----5----5----6----7----8----9----$]
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking modem for NDIS support
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - NDIS mode is supported by this modem
Jan  1 01:05:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting system information
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - service state: Valid service
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - domain: Only CS service
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - roaming: Non roaming state
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - mode: WCDMA
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - SIM: Valid USIM card state
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - sub mode: WCDMA
Jan  1 01:05:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 Done!
Jan  1 01:05:54 OpenWrt daemon.info dnsmasq-dhcp[1270]: DHCPINFORM(br-lan) 192.168.1.246 74:f0:6d:96:3b:72
Jan  1 01:05:54 OpenWrt daemon.info dnsmasq-dhcp[1270]: DHCPACK(br-lan) 192.168.1.246 74:f0:6d:96:3b:72 kachna-Komputer
Jan  1 01:06:01 OpenWrt cron.info crond[1208]: crond: USER root pid 2130 cmd /bin/3gtester.sh
Jan  1 01:06:02 OpenWrt user.notice 3gtester.sh: Checking for active connection wan2 (wwan0) attempting to ping 8.8.8.8 8.8.4.4
Jan  1 01:06:06 OpenWrt user.notice 3gtester.sh: Restarting connection wan2 (wwan0) using device /dev/ttyUSB2 and apn internet
Jan  1 01:06:06 OpenWrt user.notice 3gtester.sh: Using additional modem command AT^SYSCFG=2,2,3FFFFFFF,2,4
Jan  1 01:06:06 OpenWrt daemon.notice netifd: Interface 'wan2' is now down
Jan  1 01:06:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Establishing 3G modem connection in NDIS mode
Jan  1 01:06:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Script for comgt version 1.07 Rafal Drzymala 2012
Jan  1 01:06:06 OpenWrt user.notice gcom: ndisup:ttyUSB2 Try to communicate with modem
Jan  1 01:06:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking for password input request
Jan  1 01:06:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 - state: MT without password input request
Jan  1 01:06:07 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting device information
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - modem: HUAWEI E173
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - firmware: 11.126.16.05.264
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - IMEI: 869878005800296
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting received signal strength
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - signal strength: (5), -103 dBm, 16%
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - level: [########-2----3----5----5----6----7----8----9----$]
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Checking modem for NDIS support
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 - NDIS mode is supported by this modem
Jan  1 01:06:08 OpenWrt user.notice gcom: ndisup:ttyUSB2 Getting system information
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - service state: Valid service
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - domain: Only CS service
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - roaming: Non roaming state
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - mode: WCDMA
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - SIM: Valid USIM card state
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 - sub mode: WCDMA
Jan  1 01:06:09 OpenWrt user.notice gcom: ndisup:ttyUSB2 Done!

25 (edytowany przez Rafciq 2013-02-11 22:42:38)

Odp: tl-mr3220 + modem e173u-2 + n2n

Coś poziom sygnału jest słaby 12%-16%!
Czy SIM-a masz bez PIN-u? (nie było pytania:)

install.sh - Aktualizacja systemu, sysinfo.sh - Info.o systemie, openvpn-auth.sh - Login dla OpenVPN
Tu moje skrypty na GitHub