usb modem, no connection to internet
Hello everybody! :-)
First of all, I am a hungarien men, so i try to write my best english. If you something not understand (language) please tell me. Thank U.
I wanna try to connect with a HSPA+ Modem E3131 to the internet. But it didn't work. It is really hard, because i write this via smartphone. :-)
lsusb
Bus 001 Device 023: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
ls /dev/ttyUSB*
I see the entrys
lsmod | grep usbserial
usbserial 25021 11 option,usb__wwan
I create a data /etc/ppp/peers/umts
hide-password
noauth
connect "/usr/sbin/chat -V -f /etc/ppp/umts.chat"
debug
/dev/ttyUSB0
460800
defaultroute
noipdefault
noccp
nobsdcomp
local
user " "
password " "
usepeerdns
connect-delay 10000
persist
Also I create /etc/ppp/umts.chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
# Modeminit ' ' 'ATZ'
TIMEOUT 5
OK AT+CPIN?
'READY-AT+CPIN=[pin]-' ''
TIMEOUT 20
'OK' 'AT+CGDCONT=1, "IP", "internet'
'OK' 'ATDT=[*99#]'
CONNECT \d\c
A link to /etc/ppp/resolv.conf
After that also as root:
pppd call umts nodetach
Script /usr/sbin/chat -V -f /etc/ppp/umts.chat finished (pid 3861), status = 0x1
Connect script failed
I have really no idea. And try also to make it possible with kppp, but also not work for me.
Thank you very much for your help!
Kind regards
|