26

(11 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Najpierw problem.
Podłączyłem pendrive'a pod usb, zrobiłem partycję, sformatowałem.

opkg update
opkg install fdisk e2fsprogs
fdisk /dev/sda
mkfs.ext3 /dev/sda1

Instalacja pakietów na zewnętrznym nośniku

echo "dest usb /mnt/sda1" >> /etc/opkg.conf

Zainstalowałem rsget

opkg -d usb install screen
opkg -d usb install perlbase-autoloader perlbase-base perlbase-bytes perlbase-config perlbase-cwd perlbase-digest
opkg -d usb install perlbase-dynaloader perlbase-errno perlbase-essential perlbase-fcntl perlbase-file perlbase-io perlbase-mime
opkg -d usb install perlbase-posix perlbase-selectsaver perlbase-socket perlbase-symbol perlbase-tie perlbase-time perlbase-xsloader
opkg -d usb install perl-www-curl perl-uri
mkdir /root/rsget
cd /tmp
wget http://rsget.pl/download/latest -O latest
bzcat latest  | tar xf -
mv rsget*/* /root/rsget
rm latest 
rm -r rsget*
mkdir -p /root/.rsget.pl
cp /root/rsget/README.config /root/.rsget.pl/config

Następnie

ln -s /mnt/sda1/lib/* /lib
mkdir -p /usr/lib
ln -s /mnt/sda1/usr/lib/* /usr/lib
ln -s /mnt/sda1/bin/* /bin
mkdir -p /usr/bin
ln -s /mnt/sda1/usr/bin/* /usr/bin
ln -s /mnt/sda1/etc/* /etc

Rsget bez problemu uruchamia się (działa, ściąga) przez

cd /root/rsget/
./rsget.pl

Problem: rsget nie uruchami się w screenie

cd /root/rsget/
screen -dmS rsget ./rsget.pl
-ash: screen: not found

I jeszcze pytanie: czy ktoś z odpowiednią wiedzą skompilowałby tesseract'a (rozpoznawanie tekstu z obrazków)? Poniżej być może pomocne info znalezione w sieci:
https://forum.openwrt.org/viewtopic.php?pid=107416
https://forum.openwrt.org/viewtopic.php?id=23977
Pytam ponieważ na tomato podobno działa i rozpoznaje obrazki z megaupload
http://openlinksys.info/forum/viewthrea … rowstart=0

Pozdrawiam

Oczywiście jest tak jak piszesz kol. @Cezary.
Po ustawieniu na USB3 i rozłączeniu modemu wyświetlają się wszystkie informacje i można też wysyłać sms'y.

Proszę

root@OpenWrt:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB3
root@OpenWrt:~# uci commit 3ginfo
root@OpenWrt:~# ifdown 3g
root@OpenWrt:~# 3ginfo-test

+CSQ: 6,99
+COPS: 0,2,"26003",2
^SYSINFO: 2,3,0,5,1
+CREG: 2,1,B79E,0C09737F
DEVICE:Sierra Wireless, Inc. C885
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB3
picocom v1.4

port is        : /dev/ttyUSB3
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready
at!gstatus?
!GSTATUS:
Current Time:  9513             Temperature: 47
Bootup Time:   1                Mode:        ONLINE
System mode:   WCDMA            PS state:    Attached
WCDMA band:    IMT2000          GSM band:    DCS1800
WCDMA channel: 10589            GSM channel: 796
GMM (PS) state:REGISTERED       NORMAL SERVICE
MM (CS) state: IDLE             NORMAL SERVICE

WCDMA L1 State:L1M_PCH_SLEEP    RRC State:   DISCONNECTED
RX level (dBm):-94


OK

Thanks for using picocom
root@OpenWrt:~# ifup 3g

Chyba coś nie tak robię, ponieważ nie pojawia mi się at!gstatus? na ekranie podczas wpisywania

picocom -b 115200 /dev/ttyUSB4
picocom v1.4

port is        : /dev/ttyUSB4
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

OK

chwilkę myśli nad 3ginfo-test

root@OpenWrt:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB4
root@OpenWrt:~# uci commit 3ginfo
root@OpenWrt:~# 3ginfo-test

+CSQ: 7,99
DEVICE:
root@OpenWrt:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB5
root@OpenWrt:~# uci commit 3ginfo
root@OpenWrt:~# 3ginfo-test

+CSQ: 7,99
DEVICE:
root@OpenWrt:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB6
root@OpenWrt:~# uci commit 3ginfo
root@OpenWrt:~# 3ginfo-test

+CSQ: 7,99
DEVICE:

Po wpisaniu picocom -b 115200 /dev/ttyUSB4 mam

root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB4
picocom v1.4

port is        : /dev/ttyUSB4
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

wpisuję at lub ate1 i mam

picocom -b 115200 /dev/ttyUSB4
picocom v1.4

port is        : /dev/ttyUSB4
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

OK

Chodziło mi o to, że na ekranie nie pojawia się AT podczas wpisywania

dla USB0-USB2
nic nie daje wpisywanie AT

root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB0
picocom v1.4

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

Thanks for using picocom
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB1
picocom v1.4

port is        : /dev/ttyUSB1
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

Thanks for using picocom
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB2
picocom v1.4

port is        : /dev/ttyUSB2
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

Thanks for using picocom

dla USB4-USB 6
po wpisaniu AT i naciśnięciu Enter pojawia się OK
Nie wiem czy tak ma być, ale AT nie pojawia się na ekranie

root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB4
picocom v1.4

port is        : /dev/ttyUSB4
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

OK

Thanks for using picocom
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB5
picocom v1.4

port is        : /dev/ttyUSB5
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

OK

Thanks for using picocom
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB6
picocom v1.4

port is        : /dev/ttyUSB6
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

OK

Thanks for using picocom
root@OpenWrt:~#

Czy sprawdzenie portu na którym działa diagnostyka ma polegać na

uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB1
uci commit 3ginfo

i sprawdzaniu czy w przeglądarce http://192.168.1.1:81/ pojawi się Operator, Tryb pracy oraz Siła sygnału?
Bo jeżeli tak to sprawdziłem od USB0 do USB9.
Dla USB8 i USB9 pojawia się informacja

Urządzenie /dev/ttyUSB9 nie istnieje!

Tylko dla USB3 wyświetla się

Status:Połączony 
Operator:-- 
Tryb pracy:-- 
Siła sygnału:0%

dla pozostałych wyświetla się

The CGI script took too long to produce a response

Jak w takim razie ustawić/znaleźć port na którym działa diagnostyka?

Jak uzyskać

Cezary napisał/a:

output z at!gstatus?

Zrobiłem tak

opkg install http://eko.one.pl/openwrt/3ginfo_1-15cj_all.ipk
/etc/init.d/3ginfo enable
/etc/init.d/3ginfo start
opkg update
opkg install gnokii bluez-libs libpcsclite
uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB3
uci commit 3ginfo

i po wpisaniu w przeglądarce http://192.168.1.1:81/ pojawia się

Status:Połączony 
Operator:-- 
Tryb pracy:-- 
Siła sygnału:0%

próbowałem jeszcze

gcom -d /dev/ttyUSB3 reg
Waiting for Registrationcomgt 22:55:53 -> -- Error Report --
comgt 22:55:53 -> ---->                      ^
comgt 22:55:53 -> Error @155, line 8, Could not write to COM device. (1)

ale jak widać pojawił się błąd

Jeszcze jedna kwestia:
czy można teraz spróbować uruchomić Projekt "3ginfo" oraz wysyłanie wiadomości SMS?

Czy po uruchomieniu Projekt "3ginfo" będzie to dodatkowa zakładka w Luci?

Jeszcze raz dziękuję za pomoc w uruchomieniu modemu.

Wielki dzięki @Cezary oraz @pepino
Działa smile

/dev/ttyUSB0 zmieniłem na /dev/ttyUSB3 edytorem.

Jeszcze jedno pytanie:
Czy po każdym restarcie będę musiał wpisywać

ifup 3g

Czy można jakoś to "zautomatyzować" aby od razu po włączeniu routera uzyskać połączenie?

Cezary napisał/a:

/dev/ttyUSB0 to jest u Ciebie?

Nie wiem. Jak to sprawdzić?

pepino napisał/a:

Z tego co widzę na sieci, to raczej powinien zmienić na ttyUSB4

Jak to zmienić?

Po ifup 3g nic się nie dzieje
Poniżej logread

Oct 13 18:32:01 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Oct 13 18:32:02 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Oct 13 18:32:03 OpenWrt user.notice kernel: SCSI subsystem initialized
Oct 13 18:32:03 OpenWrt user.info sysinit: 0.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:03 OpenWrt user.info sysinit: 1.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info sysinit: 2.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info sysinit: 3.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info kernel: usbcore: registered new interface driver usbfs
Oct 13 18:32:04 OpenWrt user.info kernel: usbcore: registered new interface driver hub
Oct 13 18:32:05 OpenWrt user.info kernel: usbcore: registered new device driver usb
Oct 13 18:32:05 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Oct 13 18:32:05 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 13 18:32:06 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'ath9k_rate_control'
Oct 13 18:32:06 OpenWrt user.info kernel: phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
Oct 13 18:32:07 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Oct 13 18:32:08 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 13 18:32:08 OpenWrt user.info kernel: NET: Registered protocol family 24
Oct 13 18:32:08 OpenWrt user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
Oct 13 18:32:08 OpenWrt user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 13 18:32:08 OpenWrt user.info kernel: hub 1-0:1.0: USB hub found
Oct 13 18:32:08 OpenWrt user.info kernel: hub 1-0:1.0: 1 port detected
Oct 13 18:32:09 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Oct 13 18:32:09 OpenWrt user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Oct 13 18:32:09 OpenWrt user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Oct 13 18:32:09 OpenWrt user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Oct 13 18:32:09 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_2.6.32.16_ehci_hcd Product=Atheros_AR91xx_built-in_EHCI_controller Serial=ar71xx-ehci
Oct 13 18:32:09 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial
Oct 13 18:32:09 OpenWrt user.info kernel: USB Serial support registered for generic
Oct 13 18:32:09 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial_generic
Oct 13 18:32:09 OpenWrt user.info kernel: usbserial: USB Serial Driver core
Oct 13 18:32:10 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Oct 13 18:32:10 OpenWrt user.info kernel: USB Mass Storage support registered.
Oct 13 18:32:10 OpenWrt user.info kernel: USB Serial support registered for GSM modem (1-port)
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver option
Oct 13 18:32:10 OpenWrt user.info kernel: option: v0.7.2:USB Driver for GSM modems
Oct 13 18:32:10 OpenWrt user.info kernel: USB Serial support registered for Sierra USB modem
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver sierra
Oct 13 18:32:10 OpenWrt user.info kernel: sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
Oct 13 18:32:10 OpenWrt user.info kernel: fuse init (API version 7.13)
Oct 13 18:32:10 OpenWrt user.info sysinit: WARNING: /lib/functions/fsck not found
Oct 13 18:32:10 OpenWrt user.info sysinit: 'radio0' is disabled
Oct 13 18:32:11 OpenWrt user.info sysinit: 'radio0' is disabled
Oct 13 18:32:11 OpenWrt user.info sysinit: Loading defaults
Oct 13 18:32:12 OpenWrt user.info sysinit: Loading synflood protection
Oct 13 18:32:12 OpenWrt user.info sysinit: Adding custom chains
Oct 13 18:32:12 OpenWrt user.info sysinit: Loading zones
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading forwarding
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading redirects
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading rules
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading includes
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading zone defaults
Oct 13 18:32:13 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Oct 13 18:32:14 OpenWrt authpriv.info dropbear[997]: Running in background
Oct 13 18:32:14 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 13 18:32:14 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1033]: started, version 2.55 cachesize 150
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1033]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1033]: using local addresses only for domain lan
Oct 13 18:32:18 OpenWrt daemon.warn dnsmasq[1033]: no servers found in /tmp/resolv.conf.auto, will retry
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1033]: read /etc/hosts - 1 addresses
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq-dhcp[1033]: read /etc/ethers - 0 addresses
Oct 13 18:32:20 OpenWrt user.info sysinit: setting up led WLAN
Oct 13 18:32:20 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 13 18:33:30 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPREQUEST(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a
Oct 13 18:33:30 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPACK(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a LAPTOK
Oct 13 18:33:34 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPREQUEST(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a
Oct 13 18:33:34 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPACK(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a LAPTOK
Oct 13 18:33:50 OpenWrt user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 2
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Oct 13 18:33:51 OpenWrt user.warn kernel: usb-storage: probe of 1-1:1.0 failed with error -5
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: USB disconnect, address 2
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 3
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.0: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB0
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.1: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB1
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.2: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB2
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.3: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB3
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.4: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB4
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.5: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB5
Oct 13 18:33:51 OpenWrt user.info kernel: sierra 1-1:1.6: Sierra USB modem converter detected
Oct 13 18:33:51 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB6
Oct 13 18:33:51 OpenWrt user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 13 18:33:51 OpenWrt user.debug kernel: usb-storage: device found at 3
Oct 13 18:33:51 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Oct 13 18:33:51 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:52 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:52 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:52 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:52 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:52 OpenWrt user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:53 OpenWrt user.notice usb-modeswitch: 1-1:1.5: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:53 OpenWrt user.notice usb-modeswitch: 1-1:1.6: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:53 OpenWrt user.notice usb-modeswitch: 1-1:1.7: Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:33:56 OpenWrt user.notice kernel: scsi 1:0:0:0: Direct-Access     SWI      SD Card          2.31 PQ: 0 ANSI: 2
Oct 13 18:33:56 OpenWrt user.debug kernel: usb-storage: device scan complete
Oct 13 18:33:56 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Oct 13 18:34:33 OpenWrt authpriv.info dropbear[1279]: Child connection from 192.168.1.100:3482
Oct 13 18:34:44 OpenWrt authpriv.notice dropbear[1279]: password auth succeeded for 'root' from 192.168.1.100:3482
Oct 13 18:35:33 OpenWrt daemon.notice pppd[1330]: pppd 2.4.4 started by root, uid 0
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: abort on (BUSY)
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: abort on (NO CARRIER)
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: abort on (ERROR)
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: report (CONNECT)
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: timeout set to 10 seconds
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: send (AT&F^M)
Oct 13 18:35:34 OpenWrt local2.info chat[1335]: expect (OK)
Oct 13 18:35:39 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPINFORM(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a
Oct 13 18:35:39 OpenWrt daemon.info dnsmasq-dhcp[1033]: DHCPACK(br-lan) 192.168.1.100 00:12:f0:a1:a9:1a LAPTOK
Oct 13 18:35:44 OpenWrt local2.info chat[1335]: alarm
Oct 13 18:35:44 OpenWrt local2.info chat[1335]: Failed
Oct 13 18:35:44 OpenWrt daemon.err pppd[1330]: Connect script failed
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: abort on (BUSY)
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: abort on (NO CARRIER)
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: abort on (ERROR)
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: report (CONNECT)
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: timeout set to 10 seconds
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: send (AT&F^M)
Oct 13 18:36:16 OpenWrt local2.info chat[1337]: expect (OK)

No dobra, Koledzy pomóżcie.

Wgrałem openwrt.
Przez puttyssh zrobiłem:
opkg update
opkg install kmod-usb-serial-sierrawireless

Po podłączeniu wygląda na to, że modem jest wykrywany, znajduje sieć, tylko nie chce się połączyć.
Poniżej logread

Oct 13 18:32:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Oct 13 18:32:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 

31:2.
Oct 13 18:32:00 OpenWrt user.info kernel: Freeing unused kernel memory: 152k freed
Oct 13 18:32:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Oct 13 18:32:00 OpenWrt user.info kernel: gpio-buttons driver version 0.1.2
Oct 13 18:32:00 OpenWrt user.info kernel: input: gpio-buttons as 

/devices/platform/gpio-buttons/input/input0
Oct 13 18:32:01 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x1a000000
Oct 13 18:32:01 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Oct 13 18:32:01 OpenWrt user.info kernel: Compat-wireless backport release: 

compat-wireless--2010-09-02-9-gf63dbfd
Oct 13 18:32:01 OpenWrt user.info kernel: Backport based on wireless-2.6.git 

v2.6.36-rc4-47529-g4697e4e
Oct 13 18:32:01 OpenWrt user.info kernel: device eth0.1 entered promiscuous mode
Oct 13 18:32:01 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Oct 13 18:32:01 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Oct 13 18:32:02 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Oct 13 18:32:03 OpenWrt user.notice kernel: SCSI subsystem initialized
Oct 13 18:32:04 OpenWrt user.info sysinit: 0.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info sysinit: 1.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info sysinit: 2.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info sysinit: 3.openwrt.pool.ntp.org: Unknown host
Oct 13 18:32:04 OpenWrt user.info kernel: usbcore: registered new interface driver usbfs
Oct 13 18:32:04 OpenWrt user.info kernel: usbcore: registered new interface driver hub
Oct 13 18:32:05 OpenWrt user.info kernel: usbcore: registered new device driver usb
Oct 13 18:32:05 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Oct 13 18:32:05 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, 

max_eirp)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 

mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 

mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 

mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 

mBm)
Oct 13 18:32:05 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 

mBm)
Oct 13 18:32:06 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'ath9k_rate_control'
Oct 13 18:32:06 OpenWrt user.info kernel: phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 

mem=0xb80c0000, irq=2
Oct 13 18:32:07 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Oct 13 18:32:08 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 13 18:32:08 OpenWrt user.info kernel: NET: Registered protocol family 24
Oct 13 18:32:08 OpenWrt user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI 

controller
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned 

bus number 1
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
Oct 13 18:32:08 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
Oct 13 18:32:08 OpenWrt user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 13 18:32:08 OpenWrt user.info kernel: hub 1-0:1.0: USB hub found
Oct 13 18:32:08 OpenWrt user.info kernel: hub 1-0:1.0: 1 port detected
Oct 13 18:32:09 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Oct 13 18:32:09 OpenWrt user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. 

Please use
Oct 13 18:32:09 OpenWrt user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack 

module option or
Oct 13 18:32:09 OpenWrt user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Oct 13 18:32:09 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_2.6.32.16_ehci_hcd 

Product=Atheros_AR91xx_built-in_EHCI_controller Serial=ar71xx-ehci
Oct 13 18:32:09 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial
Oct 13 18:32:09 OpenWrt user.info kernel: USB Serial support registered for generic
Oct 13 18:32:09 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial_generic
Oct 13 18:32:09 OpenWrt user.info kernel: usbserial: USB Serial Driver core
Oct 13 18:32:10 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Oct 13 18:32:10 OpenWrt user.info kernel: USB Mass Storage support registered.
Oct 13 18:32:10 OpenWrt user.info kernel: USB Serial support registered for GSM modem (1-port)
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver option
Oct 13 18:32:10 OpenWrt user.info kernel: option: v0.7.2:USB Driver for GSM modems
Oct 13 18:32:10 OpenWrt user.info kernel: USB Serial support registered for Sierra USB modem
Oct 13 18:32:10 OpenWrt user.info kernel: usbcore: registered new interface driver sierra
Oct 13 18:32:10 OpenWrt user.info kernel: sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
Oct 13 18:32:10 OpenWrt user.info kernel: fuse init (API version 7.13)
Oct 13 18:32:10 OpenWrt user.info sysinit: WARNING: /lib/functions/fsck not found
Oct 13 18:32:10 OpenWrt user.info sysinit: 'radio0' is disabled
Oct 13 18:32:11 OpenWrt user.info sysinit: 'radio0' is disabled
Oct 13 18:32:11 OpenWrt user.info sysinit: Loading defaults
Oct 13 18:32:12 OpenWrt user.info sysinit: Loading synflood protection
Oct 13 18:32:12 OpenWrt user.info sysinit: Adding custom chains
Oct 13 18:32:12 OpenWrt user.info sysinit: Loading zones
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading forwarding
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading redirects
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading rules
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading includes
Oct 13 18:32:13 OpenWrt user.info sysinit: Loading zone defaults
Oct 13 18:32:13 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Oct 13 18:32:14 OpenWrt authpriv.info dropbear[999]: Running in background
Oct 13 18:32:14 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard 

upstream RFC1918 responses!
Oct 13 18:32:14 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1032]: started, version 2.55 cachesize 150
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1032]: compile time options: IPv6 GNU-getopt no-DBus 

no-I18N DHCP TFTP
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq-dhcp[1032]: DHCP, IP range 192.168.1.100 -- 

192.168.1.250, lease time 12h
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1032]: using local addresses only for domain lan
Oct 13 18:32:18 OpenWrt daemon.warn dnsmasq[1032]: no servers found in /tmp/resolv.conf.auto, will 

retry
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq[1032]: read /etc/hosts - 1 addresses
Oct 13 18:32:18 OpenWrt daemon.info dnsmasq-dhcp[1032]: read /etc/ethers - 0 addresses
Oct 13 18:32:19 OpenWrt daemon.info dnsmasq-dhcp[1032]: DHCPREQUEST(br-lan) 192.168.1.100 

00:12:f0:a1:a9:1a
Oct 13 18:32:19 OpenWrt daemon.info dnsmasq-dhcp[1032]: DHCPACK(br-lan) 192.168.1.100 

00:12:f0:a1:a9:1a LAPTOK
Oct 13 18:32:20 OpenWrt user.info sysinit: setting up led WLAN
Oct 13 18:32:20 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 13 18:35:07 OpenWrt user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and 

address 2
Oct 13 18:35:07 OpenWrt user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Oct 13 18:35:07 OpenWrt user.warn kernel: usb-storage: probe of 1-1:1.0 failed with error -5
Oct 13 18:35:07 OpenWrt user.info kernel: usb 1-1: USB disconnect, address 2
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and 

address 3
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.0: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB0
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.1: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB1
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.2: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB2
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.3: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB3
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.4: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB4
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.5: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB5
Oct 13 18:35:08 OpenWrt user.info kernel: sierra 1-1:1.6: Sierra USB modem converter detected
Oct 13 18:35:08 OpenWrt user.info kernel: usb 1-1: Sierra USB modem converter now attached to ttyUSB6
Oct 13 18:35:08 OpenWrt user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 13 18:35:08 OpenWrt user.debug kernel: usb-storage: device found at 3
Oct 13 18:35:08 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Oct 13 18:35:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:08 OpenWrt user.notice usb-modeswitch: 1-1:1.0: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:09 OpenWrt user.notice usb-modeswitch: 1-1:1.1: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:09 OpenWrt user.notice usb-modeswitch: 1-1:1.2: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:09 OpenWrt user.notice usb-modeswitch: 1-1:1.3: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:09 OpenWrt user.notice usb-modeswitch: 1-1:1.4: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:09 OpenWrt user.notice usb-modeswitch: 1-1:1.5: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:10 OpenWrt user.notice usb-modeswitch: 1-1:1.6: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:10 OpenWrt user.notice usb-modeswitch: 1-1:1.7: 

Manufacturer=Sierra_Wireless,_Incorporated Product=HSPA_Modem Serial=1234567890ABCDEF
Oct 13 18:35:13 OpenWrt user.notice kernel: scsi 1:0:0:0: Direct-Access     SWI      SD Card          

2.31 PQ: 0 ANSI: 2
Oct 13 18:35:13 OpenWrt user.debug kernel: usb-storage: device scan complete
Oct 13 18:35:13 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Oct 13 18:36:15 OpenWrt authpriv.info dropbear[1278]: Child connection from 192.168.1.100:2821
Oct 13 18:36:20 OpenWrt authpriv.notice dropbear[1278]: password auth succeeded for 'root' from 

192.168.1.100:2821
Oct 13 18:37:20 OpenWrt authpriv.info dropbear[1278]: exit after auth (root): Exited normally
Oct 13 18:37:30 OpenWrt authpriv.info dropbear[1287]: Child connection from 192.168.1.100:2822
Oct 13 18:37:35 OpenWrt authpriv.notice dropbear[1287]: password auth succeeded for 'root' from 

192.168.1.100:2822

oraz /etc/config/network

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

config 'interface' 'lan'
        option 'ifname' 'eth0.1'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'

config 'interface' 'wan'
        option 'ifname' 'eth0.2'
        option 'proto' 'dhcp'
        option 'defaultroute' '0'
        option 'peerdns' '0'
        option 'dns' '194.204.159.001'

config 'interface' '3g'
        option 'device' '/dev/ttyUSB0'
        option 'apn' 'internet'
        option 'service' 'umts'
        option 'proto' '3g'
        option 'auto' '1'
        option 'username' 'internet'
        option 'password' 'internet'
        option 'pincode' ''

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

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

config 'switch_vlan'
        option 'device' 'rtl8366rb'
        option 'vlan' '2'
        option 'ports' '0 5t'

Rozpoczynam więc "walkę"
Operator to Orange ( lub czasami Play), Pinu brak.

Udało mi się "wypożyczyć" do testów TL-WR1043ND.

Proszę Kolegów o instrukcję co dalej.
Czy wgrywać plik openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin.zip ze strony http://ecco.selfip.net/tl-wr1043nd-luci/ czy może coś innego.
Proszę również o wskazówki co zrobić później.

Z góry serdecznie dziękuję.

Dzięki za odpowiedź.
Czyli chyba bezpieczniej będzie kupić TL-MR3420 (możliwość uruchomienia modemu 3G na fabrycznym firmware) bo chyba nie można dać 100% pewności, że Sierra 885 ruszy na TL-WR1043ND.

Jeszcze dwa pytania odnośnie TL-MR3420:
1. Bez żadnego problemu można przechodzić między oryginalnym firmware i openwrt w obie strony?
2.Do TL-MR3420 zmieści się openwrt z GUI?

Witam Forumowiczów,
Który router będzie bezproblemowo współpracował z modem Sierra Wireless 885?
Czy dla któregoś routera są już "gotowce" openwrt z GUI, które od razu będą współpracować z Sierrą 885?

W przypadku TL-MR3420 jest zawsze możliwość uruchomienia modemu 3G na fabrycznym firmware, której to chyba nie ma w przypadku TL-WR1043ND.

Pozdrawiam