Answer the question
In order to leave comments, you need to log in
FreeBSD + ZTE m100 + /etc/ppp/ppp.conf = FAIL?
There are: 3G modem ZTE M100, SIM card Kyivstar, Frya 9.0 and the desire to set up the Internet via ppp. The modem is connected, it works, I sent SMS with AT commands, but I can not connect to the network. Actually, here's what we have.
I wrote in the config as follows:
ks:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaU0.1
set speed 460800
enable force-scripts
set phone "*99***1#"
set authname
set authkey ""
disable pap
disable chap
disable ipv6
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT OK-AT-OK \
AT+ZOPRT=1 OK \
AT+ZSTART OK \
AT+CPBS=\\\"SM\\\" OK \
AT+CPMS=\\\"SM\\\",\\\"SM\\\",\\\"\\\" OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"www.kyivstar.net\\\" OK \
\\dATDT\\T TIMEOUT 40 CONNECT"
set login
enable dns
resolv rewrite
# set ifaddr 0.0.0.0/0 0.0.0.0/0 0.0.0.0/0 0.0.0.0/0
# set vj slotcomp off
# set crtscts on
add default HISADDR
$ sudo ppp -ddial ks<br/>
Working in ddial mode<br/>
Using interface: tun0
$ ifconfig tun0<br/>
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500<br/>
options=80000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL><br/>
Opened by PID 1945<br/>
<br/>
$ sudo dhclient tun0<br/>
tun2: not found<br/>
exiting.<br/>
<br/>
$ tail -n 3 /var/log/messages<br/>
Apr 19 17:38:56 FreeBSD dhclient[1957]: exiting.<br/>
Apr 19 17:38:58 FreeBSD ppp[1945]: tun0: Warning: Chat script failed<br/>
Apr 19 17:39:09 FreeBSD ppp[1782]: tun0: Warning: Chat script failed<br/>
<br/>
$ sudo cat /dev/cuaU0.1<br/>
ATDT*99***1#<br/>
NO CARRIER<br/>
Где я ошибся?
Answer the question
In order to leave comments, you need to log in
P=try to replace the dial-in number with *99#, if it doesn't help, try to include the initialization string ATQ0V1E1S0=0&C1&D2+FCLASS=0 in the dial-up sequence
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question