Что я делаю не так?
провайдер МТС “тариф умное устройство”
у меня модель WB6 с 3G и wifi
Настроил файл /etc/ppp/peers/mts
> /dev/ttyACM0
>
> 115200
>
> #disable hardware flow control
> nocrtscts
>
> # Assumes that your IP address is allocated dynamically by the ISP.
> noipdefault
> # Try to get the name server addresses from the ISP.
> usepeerdns
> # Use this connection as the default route.
> defaultroute
>
> # Makes pppd "dial again" when the connection is lost.
> persist
>
> # Do not ask the remote to authenticate.
> noauth
>
>
>
> persist
> # no limit on failed connections
> maxfail 0
> lcp-echo-interval 10
> lcp-echo-failure 3
> holdoff 10
>
> init "/usr/bin/wb-gsm restart_if_broken"
>
> user mts
> connect "/usr/sbin/chat -v -f /etc/chatscripts/mts"
Настроил файл /etc/network/interfaces
> ...
> auto ppp0
> iface ppp0 inet ppp
> provider mts
> pre-up wb-gsm restart_if_broken
> pre-up sleep 10
Выполняю команду ifup ppp0 и тишина модем просто мигает
не понятно что это за файл /etc/ppp/peers# nano provider
в нем я изменил на всякий случай
#/dev/modem - т.к. этого у меня нет вообще в /dev
/dev/ttyACM0
# example configuration for a dialup connection authenticated with PAP or CHAP
#
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd(8) for information on all the options.
# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
user "myusername@realm"
# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
# Serial device to which the modem is connected.
#/dev/modem
/dev/ttyACM0
# Speed of the serial line.
115200
# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute
# Makes pppd "dial again" when the connection is lost.
persist
# Do not ask the remote to authenticate.
noauth
может есть какая то проблема в этом файле /etc/chatscripts/mts?
ABORT "BUSY"
ABORT "NO ANSWER"
ABORT "NO CARRIER"
ABORT "ERROR"
TIMEOUT 5
"" ATZ
OK AT+CGDCONT=1,"IP","internet.mts.ru"
OK ATD*99***1#
CONNECT
например предпоследняя строка от другого модема команда ?
Добрый день, Anteks_Dom!
Скажите пока, пожалуйста, сим-карта работает с lhrubvb устройствами, вы можете выйти в интерне через нее с телефона, например?
Можно предположить, как не совсем экзотический вариант, — блокировка модема по IMEI провайдером.
Can not access SIM card: либо контакта нет, либо надо попробовать модем включить/выключить.
СИМ-карту в слот micro SIM 1 (поправьте вставьте сим)
Включите модем командой wb-gsm restart_if_broken
Если ваш контроллер укомплектован 3G-модемом, в файле /etc/ppp/peers/ваш_провайдер_сотовой_связи (в примере — МТС) замените устройство /dev/ttyGSM на /dev/ttyACM0
В файле /etc/networks/interfaces_(поправьте /etc/network/interfaces)_ закомментируйте раздел, связанный с ppp0` и добавьте следующие строки:
Я завалился на 2 пункте
СИМ-карту в слот micro SIM 1
и вставил сим в слот 2
Извините, за невнимательность.
Но вопрос остался, модем после загрузки не запускается автоматом и не мигает
я выполняю wb-gsm on, а затем ifup ppp0.
Где опять я ошибся ?