Здравствуйте , есть 4 устройства у которых нет выхода в интернет через сим-карту билайн, на сколько я понял не выдается ip при подключении к сети, далее подробнее про устройство и все настройки что я использую:
Wiren Board 6.9 (s/n AYVSBKLV), release wb-2207 (as stable) 4g :
root@wirenboard-AYVSBKLV:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wireless interfaces
allow-hotplug wlan0
#iface wlan0 inet dhcp
# wpa-ssid wifiessid
# wpa-psk wifipassword
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
pre-up wb-set-mac
hostname WirenBoard
allow-hotplug eth1
iface eth1 inet dhcp
pre-up wb-set-mac
hostname WirenBoard
## The gsm pptp interface
## vvv uncomment block to enable
#auto ppp0
#iface ppp0 inet ppp
## select provider: megafon, mts or beeline below
# provider megafon
source-directory /etc/network/interfaces.d
root@wirenboard-AYVSBKLV:~# cat /etc/network/interfaces.d/usb0
# 4G/LTE MODEM:
auto usb0
allow-hotplug usb0
iface usb0 inet dhcp
# for beeline:
apn internet.beeline.ru
# for megafon:
#apn internet
# for mts:
#apn internet.mts.ru
pre-up wb-gsm restart_if_broken
pre-up /usr/sbin/chat -s TIMEOUT 20 ABORT "ERROR" ECHO ON "" "AAAAAAAAAAAAAT" OK "AT+CPIN?" OK "AT+CMGF=1" OK "AT+DIALMODE=0" OK "AT+CGDCONT=1,\"IP\",\"${IF_APN:-internet}\"" OK "AT+CGCONTRDP" "OK" > /dev/ttyGSM < /dev/ttyGSM
pre-up sleep 10
root@wirenboard-AYVSBKLV:~# ifup usb0
[ 603.367705] usb 2-1.3: new high-speed USB device number 6 using ci_hdrc
[ 603.543351] usb 2-1.3: New USB device found, idVendor=1286, idProduct=812a, bcdDevice= 0.00
[ 603.551842] usb 2-1.3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 603.559242] usb 2-1.3: Product: WUKONG
[ 603.563006] usb 2-1.3: Manufacturer: MARVELL
[ 603.835262] usb 2-1.3: USB disconnect, device number 6
[ 610.527406] usb 2-1.3: new high-speed USB device number 7 using ci_hdrc
[ 610.680350] usb 2-1.3: config 1 has an invalid interface number: 5 but max is 4
[ 610.687846] usb 2-1.3: config 1 has no interface number 3
[ 610.694451] usb 2-1.3: New USB device found, idVendor=1e0e, idProduct=9011, bcdDevice= 1.00
[ 610.703006] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 610.710488] usb 2-1.3: Product: Mobile Composite Device Bus
[ 610.716106] usb 2-1.3: Manufacturer: Marvell
[ 610.720492] usb 2-1.3: SerialNumber: 200806006809080000
[ 610.754533] rndis_host 2-1.3:1.0 usb0: register 'rndis_host' at usb-ci_hdrc.1-1.3, RNDIS device, 06:5f:07:85:38:9c
[ 610.776201] option 2-1.3:1.2: GSM modem (1-port) converter detected
[ 610.784001] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 610.798768] option 2-1.3:1.4: GSM modem (1-port) converter detected
[ 610.806247] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 610.820797] option 2-1.3:1.5: GSM modem (1-port) converter detected
[ 610.830821] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB2
AAAAAAAAAAAAAT
OK
AT+CPIN?
+CPIN: READY
OK
AT+CMGF=1
OK
AT+DIALMODE=0
OK
AT+CGDCONT=1,"IP","internet.beeline.ru"
+CPIN: READY
OK
**AT+CGCONTRDP** // после этого ожидалось увидеть что мы получили ip
OK
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/usb0/06:5f:07:85:38:9c
Sending on LPF/usb0/06:5f:07:85:38:9c
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.100 on usb0 to 255.255.255.255 port 67
DHCPNAK from 192.168.0.1
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.0.100 on usb0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.0.100 from 192.168.0.1
DHCPACK of 192.168.0.100 from 192.168.0.1
bound to 192.168.0.100 -- renewal in 41470 seconds.
sudo: unable to resolve host wirenboard-AYVSBKLV: No such file or directory
root@wirenboard-AYVSBKLV:~#
Что в таком случае можно попробовать сделать? Что добавочно можно посмотреть?