Temat: Re: OpenWrt - Modemy LTE
Witam uprzejmie,
Staram się odpalić Polkomtel LTE na modemie E398 z dwoma antenami ... i nie wychodzi mi (wziąłem do testów ... do 29.04)
Na windowsie działa OK.
Wgrałem do MR3420 najnowszy soft
Gdy podłączę sobie "stary" modem który mam z PLAYA to na karcie z PLUSa działa OK (oczywiscie bez LTE)
Natomiast gdy podłączę E398 nie łączy się poprawnie (a właściwie rozłącza) i nie wiem dlaczego.
Proszę o pomoc
Pozdrawiam
Norbert
---------
to z logread dostaję:
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: abort on (BUSY)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: abort on (NO CARRIER)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: abort on (ERROR)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: report (CONNECT)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: timeout set to 10 seconds
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: send (AT&F^M)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: expect (OK)
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: AT&F^M^M
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: OK
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: -- got it
Jan 1 01:25:13 Gargoyle local2.info chat[5888]: send (ATE1^M)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: expect (OK)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: ^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: ATE1^M^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: OK
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: -- got it
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: send (AT+CGDCONT=1,"IP","internet"^M)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: timeout set to 60 seconds
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: expect (OK)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: ^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: AT+CGDCONT=1,"IP","internet"^M^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: OK
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: -- got it
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: send (ATD*99***1#^M)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: expect (CONNECT)
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: ^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: ATD*99***1#^M^M
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: CONNECT
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: -- got it
Jan 1 01:25:14 Gargoyle local2.info chat[5888]: send ( ^M)
Jan 1 01:25:14 Gargoyle daemon.debug pppd[5812]: Script USE_APN=internet /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat finished (pid 5887), status = 0x0
Jan 1 01:25:14 Gargoyle daemon.info pppd[5812]: Serial connection established.
Jan 1 01:25:14 Gargoyle daemon.debug pppd[5812]: using channel 32
Jan 1 01:25:14 Gargoyle daemon.info pppd[5812]: Using interface 3g-wan
Jan 1 01:25:14 Gargoyle daemon.notice pppd[5812]: Connect: 3g-wan <--> /dev/ttyUSB0
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xafb60473>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: rcvd [LCP ConfReq id=0x2a <asyncmap 0x0> <auth chap MD5> <magic 0x3185baf> <pcomp> <accomp>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: No auth is possible
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: sent [LCP ConfRej id=0x2a <auth chap MD5> <pcomp> <accomp>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: rcvd [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0xafb60473>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: rcvd [LCP ConfReq id=0x2b <asyncmap 0x0> <magic 0x3185baf>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: sent [LCP ConfAck id=0x2b <asyncmap 0x0> <magic 0x3185baf>]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: sent [LCP EchoReq id=0x0 magic=0xafb60473]
Jan 1 01:25:15 Gargoyle daemon.debug pppd[5812]: sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jan 1 01:25:15 Gargoyle daemon.info pppd[5812]: Hangup (SIGHUP)
Jan 1 01:25:15 Gargoyle daemon.notice pppd[5812]: Modem hangup
Jan 1 01:25:15 Gargoyle daemon.notice pppd[5812]: Connection terminated.
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 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'dns' '192.168.1.1'
config 'interface' 'wan'
option 'device' '/dev/ttyUSB0'
option 'proto' '3g'
option 'service' 'umts'
option 'apn' 'internet'
option 'pincode' '7716'
option 'pppd_options' 'debug'
option 'auto' '1'
option 'mobile_isp' 'Polska - Plus LTE'
config 'switch' 'eth0'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '1'
option 'ports' '0 1 2 3 4'
root@Gargoyle:~$ cat /etc/chatscripts/3g.chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "AT&F"
OK "ATE1"
OK 'AT+CGDCONT=1,"IP","$USE_APN"'
SAY "Calling UMTS/GPRS"
TIMEOUT 60
OK "ATD*99***1#"
CONNECT ' '
~$ cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 2/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= 2.06
S: Manufacturer=Linux 2.6.32.27 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#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 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= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=option
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=03 Driver=option
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=09 Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=08 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