101

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Nie. Modem bezpośrednio do rutera(TP-LINK) jest podłączony

102

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

adach
Przeczytaj dokładnie post numer 55 w tym wątku. Do nawiązania połączenia trzeba sobie stworzyć skrypt ponieważ Twój modem działa w trybie NDIS (Direct IP) - http://sierrawireless.custhelp.com/app/ … /a_id/641/. Nie wiem czy uda się nawiązać połączenie w trybie RAS przy pomocy pppd.

103

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

frutis co dokładniej mam wpisać? Wiem że Linux ma różne jądra

104

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

http://eko.one.pl/?p=openwrt-modemygsm# … ctipmodems

Tu jest opis. O ile z 306 to zadziała, bo nie miałem z nią kontaktu.

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

105

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

root@Gargoyle:~#    ifdown wan
    MODE="AT+CGDCONT=1,\"IP\",\"www.plusgsm.pl\"" gcom -d /dev/ttyUSB2 -s /etc/gcom/setmode.gcom
    MODE="AT$QCPDPP=1,1,\"internet\",\"internet\"" gcom -d /dev/ttyUSB2 -s /etc/gcom/setmode.gcom
    MODE="AT!SCACT=1,1" gcom -d /dev/ttyUSB3 -s /etc/gcom/setmode.gcom
    sleep 2
    ifup wan
    exit 0
root@Gargoyle:~#     PINCODE=1234 gcom -d /dev/ttyUSB2 -s /etc/gcom/setpin.gcom
SIM ready
PIN set successfully
root@Gargoyle:~#     MODE="AT+CGDCONT=1,\"IP\",\"www.plusgsm.pl\"" gcom -d /dev/

ttyUSB2 -s /etc/gcom/setmode.gcom
Trying to set mode
root@Gargoyle:~#     MODE="AT$QCPDPP=1,1,\"internet\",\"internet\"" gcom -d /dev

/ttyUSB2 -s /etc/gcom/setmode.gcom
Trying to set mode
Error setting WWAN mode!
root@Gargoyle:~#     MODE="AT!SCACT=1,1" gcom -d /dev/ttyUSB3 -s /etc/gcom/setmo

de.gcom
Trying to set mode
root@Gargoyle:~#     sleep 2
root@Gargoyle:~#     ifup wan
root@Gargoyle:~#     exit 0

106

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Ekhm. To było do umieszczenia w pliku, nie wykonania. Jak chcesz wykonać to z palca to wykonuj polecenia po jednym, nie całość na raz (bez tego sleep i exit oczywiście).

PS. Jaki to operator jest? Plus?

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

107

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

OK wklepałem to po linice.Pojawia się" Trying to set mode
Error setting WWAN mode!". Co mam zrobić? tj.jak w poście wcześniejszym

108

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

To znaczy że nie przyjmuje Ci polecenia do ustawienia usera i hasła. Możesz to polecenie wykonać w terminalu i sprawdzić o co się w ogóle buntuje.

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

109

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

To znaczy że nie przyjmuje Ci polecenia do ustawienia usera i hasła. Możesz to polecenie wykonać w terminalu i sprawdzić o co się w ogóle buntuje.

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

110

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Tzn. Ja cały czas wykonuje to w terminalu. Operator to iPlus. Brak PINU na karcie sim

111

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Zainstaluj picocom. uruchom przez

picocom -b 115200 /dev/ttyUSB2

wpisz AT, klepij enter, modem powinien odpowiedzieć OK. I teraz masz do wprowadzenia polecenia z tego linku: http://sierrawireless.custhelp.com/app/ … /a_id/641/ czyli

AT+CGDCONT=1,"IP","www.plusgsm.pl"
AT$QCPDPP=1,1,"internet","internet"
AT!SCACT=1,1

Ostatnie polecenie powinno nawiązać połączenie. Dla plusa możesz też ominąć usera/hasło robić samo:

AT+CGDCONT=1,"IP","internet"
AT!SCACT=1,1
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

112

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Niestety
PING www.wp.pl (212.77.100.101): 56 data bytes
64 bytes from 212.77.100.101: seq=0 ttl=246 time=86.296 ms
64 bytes from 212.77.100.101: seq=1 ttl=246 time=78.814 ms
64 bytes from 212.77.100.101: seq=2 ttl=246 time=80.576 ms
64 bytes from 212.77.100.101: seq=3 ttl=246 time=90.320 ms
^C
--- www.wp.pl ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 78.814/84.001/90.320 ms
root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB2
-ash: picocom: not found
root@Gargoyle:~#
root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB2
-ash: picocom: not found
root@Gargoyle:~#
root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB1
-ash: picocom: not found
root@Gargoyle:~#
root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB3
-ash: picocom: not found
root@Gargoyle:~#
root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB5
-ash: picocom: not found
root@Gargoyle:~# AT
-ash: AT: not found
root@Gargoyle:~#

113

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Ręce opadają smile. -ash: picocom: not found oznacza że nie masz takie polecenia.  Zainstalowałeś go?

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

114

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Na stronie:http://eko.one.pl/?p=samsungnc10
"Należy zainstalować dowolny pakiet terminala (np. picocom)

    $ sudo aptitude install picocom"
Po wpisaniu tego pojawia się not found

115

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Przecież Ty to robisz na openwrt a nie na ubuntu. Tu masz opkg a tam aptitude. Co dystrybucja to coś innego jest.

Tu masz zrobić

opkg update
opkg install picocom
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

116

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

root@Gargoyle:~# picocom -b 115200 /dev/ttyUSB2
picocom v1.6

port is        : /dev/ttyUSB2
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        :
omap is        :
emap is        : crcrlf,delbs,

Terminal ready
AT+CGDCONT=1,"IP","www.plusgsm.pl"

OK
AT$QCPDPP=1,1,"internet","internet"

OK
AT!SCACT=1,1

ERROR
AT+CGDCONT=1,"IP","internet"

OK
AT!SCACT=1,1

ERROR

117

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Nie łączy się modem z siecią...

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

118 (edytowany przez adach 2010-12-16 19:07:58)

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Jeżeli poprosiłbym kogoś o kopię ustawień np. użytkownika Frutis -menu System>Backup to czy to rozsądne rozwiązanie?

119

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Pod warunkiem że ma taki sam modem.

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

120

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Niestety ale nie mam w tej chwili OpenWRT na routerze. Sierra 306 działa pod DD-WRT.

121 (edytowany przez adach 2010-12-17 10:35:05)

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Czy możesz podrzucić jakieś linki i instrukcję jak to zrobić z DD-WRT ?Czy modem współpracuje bez kombinacji itp.
Szukam w Internecie tej informacji ale nie mogę znaleźć

122

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

@adach: a zainstalowałeś w ogóle sterowniki do directip?

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

123

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

Zrobiłem failsafe. Oto są kolejne polecenia które wpisywałem dziś. Oczywiście ruter podłączyłem do innego rutera z dostępem do Internetu:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.12.17 14:09:37 =~=~=~=~=~=~=~=~=~=~=~=
login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2010-11-26 17:25:00 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.x, latest version. Always.) -------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
----------( by obsy, http://eko.one.pl/ )----------
root@Gargoyle:~# opkg install http://ecco.selfip.net/backfire/packages/kmod-sier

ra-directip_2.6.32.27+1.7.34-2_ar71xx.ipk
Downloading http://ecco.selfip.net/backfire/package … r71xx.ipk.
Installing kmod-sierra-directip (2.6.32.27+1.7.34-2) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-sierra-directip:
*     kernel (= 2.6.32.27-1) *
* opkg_install_cmd: Cannot install package kmod-sierra-directip.
root@Gargoyle:~# opkg install http://ecco.selfip.net/backfire/packages/kmod-sier

ra-directip_2.6.32.25+1.7.34-2_ar71xx.ipk
Downloading http://ecco.selfip.net/backfire/package … r71xx.ipk.
Installing kmod-sierra-directip (2.6.32.25+1.7.34-2) to root...
Installing kmod-usb-net (2.6.32.25-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
Configuring kmod-usb-net.
Configuring kmod-sierra-directip.
root@Gargoyle:~# pkg install kmod-usb-serial-sierrawireless
-ash: pkg: not found
root@Gargoyle:~# 
root@Gargoyle:~# pkg install kmod-usb-serial-sierrawirelessopkg install kmod-usb-serial-sierrawirelesspkg install kmod-usb-serial-sierrawireless
Installing kmod-usb-serial-sierrawireless (2.6.32.25-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
Collected errors:
* check_data_file_clashes: Package kmod-usb-serial-sierrawireless wants to install file /lib/modules/2.6.32.25/sierra.ko
    But that file is already provided by package  * kmod-sierra-directip
* opkg_install_cmd: Cannot install package kmod-usb-serial-sierrawireless.
root@Gargoyle:~#  ifdown wan
root@Gargoyle:~#     gcom -d /dev/ttyUSB2 -s /etc/gcom/setpin.gcom
SIM ready
PIN set successfully
root@Gargoyle:~#     MODE="AT+CGDCONT=1,\"IP\",\"www.plusgsm.pl\"" gcom -d /dev/

ttyUSB2 -s /etc/gcom/setmode.gcom
Trying to set mode
root@Gargoyle:~#     MODE="AT$QCPDPP=1,1,\"internet\",\"internet\"" gcom -d /dev

/ttyUSB -s /etc/gcom/setmode.gcom
Can't open device /dev/ttyUSB.
root@Gargoyle:~#     MODE="AT$QCPDPP=1,1,\"internet\",\"internet\"" gcom -d /dev

/ttyUSB2 -s /etc/gcom/setmode.gcom
Trying to set mode
Error setting WWAN mode!
root@Gargoyle:~#     MODE="AT!SCACT=1,1" gcom -d /dev/ttyUSB2 -s /etc/gcom/setmo

de.gcom
Trying to set mode
Error setting WWAN mode!
root@Gargoyle:~#     ifup wan
root@Gargoyle:~# udhcpc (v1.15.3) started
Sending discover...
Sending select for 192.168.4.3...
Lease of 192.168.4.3 obtained, lease time 3600
udhcpc: ifconfig eth0.2 192.168.4.3 netmask 255.255.255.0 broadcast 192.168.4.255
udhcpc: setting default routers: 192.168.4.1
udhcpc: setting dns servers: 192.168.4.1
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
ERROR: No valid dynamic DNS service configurations defined
(Did you specify correct configuration file path?)

root@Gargoyle:~# opkg install usb-modeswitch usb-modeswitch-data
Package usb-modeswitch (1.1.4-1) installed in root is up to date.
Package usb-modeswitch-data (20100826-1) installed in root is up to date.
root@Gargoyle:~# logread
Jan  1 01:01:23 Gargoyle cron.err crond[1966]: crond (busybox 1.15.3) started, log level 5
Jan  1 01:01:23 Gargoyle user.notice upnp: removing firewall rules
Jan  1 01:01:26 Gargoyle user.notice root: adding lan (br-lan) to firewall zone lan
Jan  1 01:01:28 Gargoyle cron.err crond[2640]: crond (busybox 1.15.3) started, log level 5
Jan  1 01:01:28 Gargoyle daemon.notice httpd_gargoyle[1137]: exiting due to signal 15
Jan  1 01:01:28 Gargoyle daemon.notice httpd_gargoyle[1867]: exiting due to signal 15
Jan  1 01:01:28 Gargoyle daemon.crit httpd_gargoyle[2658]: socket :: - Address family not supported by protocol
Jan  1 01:01:28 Gargoyle daemon.err httpd_gargoyle[2658]: unknown sockaddr family on listen socket - 0
Jan  1 01:01:28 Gargoyle daemon.warn httpd_gargoyle[2663]: started as root without requesting chroot(), warning only
Jan  1 01:01:28 Gargoyle daemon.notice httpd_gargoyle[2663]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan  1 01:03:59 Gargoyle cron.err crond[3017]: crond (busybox 1.15.3) started, log level 5
Jan  1 01:04:00 Gargoyle cron.err crond[3083]: crond (busybox 1.15.3) started, log level 5
Jan  1 01:04:00 Gargoyle user.notice upnp: removing firewall rules
Jan  1 01:04:01 Gargoyle daemon.info dnsmasq[1544]: exiting on receipt of SIGTERM
Jan  1 01:04:02 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Jan  1 01:04:02 Gargoyle user.info kernel: device eth0 left promiscuous mode
Jan  1 01:04:02 Gargoyle user.info kernel: device eth0.1 left promiscuous mode
Jan  1 01:04:02 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Jan  1 01:04:07 Gargoyle user.info kernel: device eth0.1 entered promiscuous mode
Jan  1 01:04:07 Gargoyle user.info kernel: device eth0 entered promiscuous mode
Jan  1 01:04:07 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Jan  1 01:04:13 Gargoyle cron.err crond[4384]: crond (busybox 1.15.3) started, log level 5
Jan  1 01:04:13 Gargoyle user.notice root: starting ntpclient
Dec 17 13:57:09 Gargoyle cron.err crond[4491]: crond (busybox 1.15.3) started, log level 5
Dec 17 13:57:10 Gargoyle user.notice root: adding lan (br-lan) to firewall zone lan
Dec 17 13:57:10 Gargoyle user.notice root: adding wan (eth0.2) to firewall zone wan
Dec 17 13:57:10 Gargoyle user.notice rdate: Synced with cudns.cit.cornell.edu
Dec 17 13:57:12 Gargoyle cron.err crond[5092]: crond (busybox 1.15.3) started, log level 5
Dec 17 13:57:13 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Dec 17 13:57:13 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Dec 17 13:57:16 Gargoyle daemon.info dnsmasq[5290]: started, version 2.55 cachesize 150
Dec 17 13:57:16 Gargoyle daemon.info dnsmasq[5290]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Dec 17 13:57:16 Gargoyle daemon.info dnsmasq[5290]: using local addresses only for domain lan
Dec 17 13:57:16 Gargoyle daemon.info dnsmasq[5290]: reading /tmp/resolv.conf.auto
Dec 17 13:57:16 Gargoyle user.notice root: stopping ntpclient
Dec 17 13:57:17 Gargoyle daemon.info dnsmasq[5290]: using nameserver 192.168.4.1#53
Dec 17 13:57:17 Gargoyle daemon.warn dnsmasq[5290]: ignoring nameserver 192.168.1.1 - local interface
Dec 17 13:57:17 Gargoyle daemon.info dnsmasq[5290]: using local addresses only for domain lan
Dec 17 13:57:17 Gargoyle daemon.info dnsmasq[5290]: read /etc/hosts - 2 addresses
Dec 17 13:57:19 Gargoyle user.notice root: starting ntpclient
Dec 17 13:57:20 Gargoyle cron.err crond[5660]: crond (busybox 1.15.3) started, log level 5
Dec 17 13:57:21 Gargoyle user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Dec 17 13:57:21 Gargoyle user.notice rdate: Synced with vega.cbk.poznan.pl
Dec 17 13:58:07 Gargoyle authpriv.info dropbear[5774]: Child connection from 192.168.1.204:50669
Dec 17 13:58:15 Gargoyle authpriv.notice dropbear[5774]: password auth succeeded for 'root' from 192.168.1.204:50669
Dec 17 14:00:01 Gargoyle cron.err crond[5660]: USER root pid 5781 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Dec 17 14:01:01 Gargoyle cron.err crond[5660]: USER root pid 5785 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Dec 17 14:01:48 Gargoyle daemon.err pppd[5860]: unrecognized option '/dev/ttyUSB2'
Dec 17 14:02:09 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 2
Dec 17 14:02:10 Gargoyle user.warn kernel: usb 1-1: config 1 has an invalid interface number: 9 but max is 0
Dec 17 14:02:10 Gargoyle user.warn kernel: usb 1-1: config 1 has no interface number 0
Dec 17 14:02:10 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Dec 17 14:02:10 Gargoyle user.warn kernel: usb-storage: probe of 1-1:1.9 failed with error -5
Dec 17 14:02:10 Gargoyle user.notice usb-modeswitch: 1-1:1.9: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_MMC_Storage Serial=SWOC22905731
Dec 17 14:02:10 Gargoyle user.notice usb-modeswitch: 1-1:1.9: Selecting /etc/usb_modeswitch.d/1199:0fff for mode switching
Dec 17 14:02:10 Gargoyle user.warn kernel: usb 1-1: usbfs: process 5893 (usb_modeswitch) did not claim interface 9 before use
Dec 17 14:02:10 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 2
Dec 17 14:02:11 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 3
Dec 17 14:02:11 Gargoyle user.warn kernel: usb 1-1: config 1 has an invalid interface number: 7 but max is 4
Dec 17 14:02:11 Gargoyle user.warn kernel: usb 1-1: config 1 has no interface number 2
Dec 17 14:02:11 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Dec 17 14:02:11 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:02:11 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:02:11 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:02:12 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:02:12 Gargoyle user.notice usb-modeswitch: 1-1:1.7: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:02:42 Gargoyle daemon.err pppd[6104]: unrecognized option '/dev/ttyUSB2'
Dec 17 14:02:56 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 3
Dec 17 14:03:02 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 4
Dec 17 14:03:02 Gargoyle user.warn kernel: usb 1-1: config 1 has an invalid interface number: 7 but max is 4
Dec 17 14:03:02 Gargoyle user.warn kernel: usb 1-1: config 1 has no interface number 2
Dec 17 14:03:02 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Dec 17 14:03:03 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:03:03 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:03:03 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:03:03 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:03:03 Gargoyle user.notice usb-modeswitch: 1-1:1.7: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:03:17 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 4
Dec 17 14:04:21 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 5
Dec 17 14:04:21 Gargoyle user.warn kernel: usb 1-1: config 1 has an invalid interface number: 9 but max is 0
Dec 17 14:04:21 Gargoyle user.warn kernel: usb 1-1: config 1 has no interface number 0
Dec 17 14:04:21 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Dec 17 14:04:21 Gargoyle user.warn kernel: usb-storage: probe of 1-1:1.9 failed with error -5
Dec 17 14:04:21 Gargoyle user.notice usb-modeswitch: 1-1:1.9: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_MMC_Storage Serial=SWOC22905731
Dec 17 14:04:21 Gargoyle user.notice usb-modeswitch: 1-1:1.9: Selecting /etc/usb_modeswitch.d/1199:0fff for mode switching
Dec 17 14:04:21 Gargoyle user.warn kernel: usb 1-1: usbfs: process 6369 (usb_modeswitch) did not claim interface 9 before use
Dec 17 14:04:21 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 5
Dec 17 14:04:22 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 6
Dec 17 14:04:22 Gargoyle user.warn kernel: usb 1-1: config 1 has an invalid interface number: 7 but max is 4
Dec 17 14:04:22 Gargoyle user.warn kernel: usb 1-1: config 1 has no interface number 2
Dec 17 14:04:22 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Dec 17 14:04:22 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:04:22 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:04:23 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:04:23 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:04:23 Gargoyle user.notice usb-modeswitch: 1-1:1.7: Manufacturer=Sierra_Wireless,_Incorporated Product=USB_306 Serial=359475020704889
Dec 17 14:04:53 Gargoyle daemon.err pppd[6580]: unrecognized option '/dev/ttyUSB2'
Dec 17 14:08:33 Gargoyle cron.err crond[6838]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:08:33 Gargoyle cron.err crond[6904]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:08:34 Gargoyle user.notice upnp: removing firewall rules
Dec 17 14:08:35 Gargoyle daemon.info dnsmasq[5290]: exiting on receipt of SIGTERM
Dec 17 14:08:35 Gargoyle user.notice root: stopping ntpclient
Dec 17 14:08:36 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Dec 17 14:08:36 Gargoyle user.info kernel: device eth0 left promiscuous mode
Dec 17 14:08:36 Gargoyle user.info kernel: device eth0.1 left promiscuous mode
Dec 17 14:08:36 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Dec 17 14:08:41 Gargoyle user.info kernel: device eth0.1 entered promiscuous mode
Dec 17 14:08:41 Gargoyle user.info kernel: device eth0 entered promiscuous mode
Dec 17 14:08:41 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Dec 17 14:08:44 Gargoyle user.info kernel: device wlan0 entered promiscuous mode
Dec 17 14:08:44 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Dec 17 14:08:46 Gargoyle user.info kernel: device wlan0 left promiscuous mode
Dec 17 14:08:46 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering disabled state
Dec 17 14:08:46 Gargoyle user.info kernel: device wlan0 entered promiscuous mode
Dec 17 14:08:46 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Dec 17 14:08:50 Gargoyle cron.err crond[8347]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:08:51 Gargoyle user.notice root: adding lan (br-lan) to firewall zone lan
Dec 17 14:08:51 Gargoyle user.notice root: adding wan (eth0.2) to firewall zone wan
Dec 17 14:08:53 Gargoyle cron.err crond[8846]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:08:53 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Dec 17 14:08:53 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: started, version 2.55 cachesize 150
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq-dhcp[8867]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: using local addresses only for domain lan
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: reading /tmp/resolv.conf.auto
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: using nameserver 192.168.4.1#53
Dec 17 14:08:56 Gargoyle daemon.warn dnsmasq[8867]: ignoring nameserver 192.168.1.1 - local interface
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: using local addresses only for domain lan
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq[8867]: read /etc/hosts - 2 addresses
Dec 17 14:08:56 Gargoyle daemon.info dnsmasq-dhcp[8867]: read /etc/ethers - 0 addresses
Dec 17 14:08:58 Gargoyle user.notice root: starting ntpclient
Dec 17 14:08:59 Gargoyle cron.err crond[8975]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:08:59 Gargoyle user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Dec 17 14:09:00 Gargoyle user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Dec 17 14:09:00 Gargoyle user.notice rdate: Synced with vega.cbk.poznan.pl
Dec 17 14:09:06 Gargoyle user.notice root: stopping ntpclient
Dec 17 14:09:06 Gargoyle user.notice root: stopping ntpclient
Dec 17 14:09:08 Gargoyle daemon.info dnsmasq-dhcp[8867]: DHCPREQUEST(br-lan) 192.168.1.204 00:18:f3:4f:6e:21
Dec 17 14:09:08 Gargoyle daemon.info dnsmasq-dhcp[8867]: DHCPACK(br-lan) 192.168.1.204 00:18:f3:4f:6e:21 DomowyR-PC
Dec 17 14:09:10 Gargoyle user.notice root: starting ntpclient
Dec 17 14:09:10 Gargoyle cron.err crond[9654]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:09:11 Gargoyle user.notice rdate: Synced with vega.cbk.poznan.pl
Dec 17 14:09:23 Gargoyle daemon.info hostapd: wlan0: STA 00:22:b0:0b:76:98 IEEE 802.11: authenticated
Dec 17 14:09:23 Gargoyle daemon.info hostapd: wlan0: STA 00:22:b0:0b:76:98 IEEE 802.11: associated (aid 1)
Dec 17 14:09:32 Gargoyle authpriv.info dropbear[9738]: Child connection from 192.168.1.204:50754
Dec 17 14:09:38 Gargoyle authpriv.notice dropbear[9738]: password auth succeeded for 'root' from 192.168.1.204:50754
Dec 17 14:10:03 Gargoyle user.info kernel: USB Serial support registered for Sierra USB modem
Dec 17 14:10:03 Gargoyle user.info kernel: sierra 1-1:1.0: Sierra USB modem converter detected
Dec 17 14:10:03 Gargoyle user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB0
Dec 17 14:10:03 Gargoyle user.info kernel: sierra 1-1:1.1: Sierra USB modem converter detected
Dec 17 14:10:03 Gargoyle user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB1
Dec 17 14:10:03 Gargoyle user.info kernel: sierra 1-1:1.3: Sierra USB modem converter detected
Dec 17 14:10:03 Gargoyle user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB2
Dec 17 14:10:03 Gargoyle user.info kernel: sierra 1-1:1.4: Sierra USB modem converter detected
Dec 17 14:10:03 Gargoyle user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB3
Dec 17 14:10:03 Gargoyle user.info kernel: usbcore: registered new interface driver sierra
Dec 17 14:10:03 Gargoyle user.info kernel: sierra: v.1.7.34:USB Driver for Sierra Wireless USB modems
Dec 17 14:10:03 Gargoyle user.info kernel: usb0: register 'sierra_net' at usb-ar71xx-ehci-1, Sierra Wireless USB-Ethernet Modem, 86:6e:b1:99:01:07
Dec 17 14:10:03 Gargoyle user.info kernel: usbcore: registered new interface driver sierra_net
Dec 17 14:11:01 Gargoyle cron.err crond[9654]: USER root pid 9815 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Dec 17 14:12:39 Gargoyle user.notice root: stopping ntpclient
Dec 17 14:12:42 Gargoyle user.notice root: starting ntpclient
Dec 17 14:12:43 Gargoyle cron.err crond[10183]: crond (busybox 1.15.3) started, log level 5
Dec 17 14:12:44 Gargoyle user.notice rdate: Failed to sync with ptbtime3.ptb.de
Dec 17 14:12:44 Gargoyle user.notice rdate: Failed to sync with ptbtime3.ptb.de
Dec 17 14:12:44 Gargoyle user.notice rdate: Failed to sync with ptbtime3.ptb.de
root@Gargoyle:~#
root@Gargoyle:~#     MODE="AT!SCACT=1,1" gcom -d /dev/ttyUSB2 -s /etc/gcom/setmo

de.gcom
Trying to set mode
Error setting WWAN mode!
root@Gargoyle:~#     opkg install kmod-usb-core kmod-usb2 kmod-usb-serial kmod-u

sb-serial-option usb-modeswitch usb-modeswitch-data
Package kmod-usb-core (2.6.32.25-1) installed in root is up to date.
Package kmod-usb2 (2.6.32.25-1) installed in root is up to date.
Package kmod-usb-serial (2.6.32.25-1) installed in root is up to date.
Package kmod-usb-serial-option (2.6.32.25-1) installed in root is up to date.
Package usb-modeswitch (1.1.4-1) installed in root is up to date.
Package usb-modeswitch-data (20100826-1) installed in root is up to date.
root@Gargoyle:~#     opkg install chat comgt
Package chat (2.4.4-11) installed in root is up to date.
Package comgt (0.32-5cj) installed in root is up to date.
root@Gargoyle:~#      uci del network.wan
root@Gargoyle:~#      uci set network.wan=interface
root@Gargoyle:~#      uci set network.wan.proto=3g
root@Gargoyle:~#      uci set network.wan.mode=umts
root@Gargoyle:~#      uci set network.wan.device=/dev/ttyUSB2
root@Gargoyle:~#      uci set network.wan.apn=internet
root@Gargoyle:~#      uci set network.wan.username='plusgsm'
root@Gargoyle:~#      uci set network.wan.password='plusgsm'
root@Gargoyle:~#      ifup wan
Trying to set mode
Timeout setting WWAN mode!
root@Gargoyle:~#    opkg update
Downloading http://downloads.openwrt.org/backfire/1 … ckages.gz.
Inflating http://downloads.openwrt.org/backfire/1 … ckages.gz.
Updated list of available packages in /var/opkg-lists/packages.
root@Gargoyle:~#      opkg install kmod-usb-core kmod-usb2 kmod-usb-serial kmod-

usb-serial-option usb-modeswitch usb-modeswitch-data
Package kmod-usb-core (2.6.32.25-1) installed in root is up to date.
Package kmod-usb2 (2.6.32.25-1) installed in root is up to date.
Package kmod-usb-serial (2.6.32.25-1) installed in root is up to date.
Package kmod-usb-serial-option (2.6.32.25-1) installed in root is up to date.
Package usb-modeswitch (1.1.4-1) installed in root is up to date.
Package usb-modeswitch-data (20100826-1) installed in root is up to date.
root@Gargoyle:~# opkg install kmod-ppp ppp chat comgt
Package kmod-ppp (2.6.32.25-1) installed in root is up to date.
Package ppp (2.4.4-11) installed in root is up to date.
Package chat (2.4.4-11) installed in root is up to date.
Package comgt (0.32-5cj) installed in root is up to date.
root@Gargoyle:~# ifup HSDPA
interface not found.
/sbin/uci: Invalid argument
/sbin/uci: Invalid argument
Interface type  not supported.
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=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.25 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
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= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1199 ProdID=68a3 Rev= 0.06
S:  Manufacturer=Sierra Wireless, Incorporated
S:  Product=USB 306
S:  SerialNumber=359475020704889
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
E:  Ad=81(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=ff Prot=ff Driver=sierra
E:  Ad=82(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= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=84(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= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra_net
E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
root@Gargoyle:~#

124

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

adach napisał/a:

Czy możesz podrzucić jakieś linki i instrukcję jak to zrobić z DD-WRT ?

Musisz najpierw wrzucić oryginalne oprogramowanie a później wgrać to: http://dd-wrt.com/routerdb/de/download/ … t.bin/3643

adach napisał/a:

Czy modem współpracuje bez kombinacji itp.
Szukam w Internecie tej informacji ale nie mogę znaleźć

Tak, wystarczy skonfigurować podstawowe parametry przez www. Modem ten działa tam w trybie RAS i jest obsługiwany przez moduł usbserial.

125

Odp: TL-WR1043ND czy TL-MR3420 do modemu 3G Sierra 885?

@adach: jeżeli masz directip to port wan masz ustawić jako siec na urządzeniu usb0. Miałeś to wyraźnie napisane. A ty ustawiasz wan na normalny port szeregowy /dev/ttyUSB0.

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