Встраиваемая система на базе busybox-1.18.4, доступ в интернет через USB-модем Мегафон (Huawei E173).
ifconfig
Код: Выделить всё
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.225.14.10 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4196 (4.0 KiB) TX bytes:2576 (2.5 KiB)/etc/resolv.conf
Код: Выделить всё
nameserver 10.77.48.18
nameserver 10.77.48.2лог соединения
Код: Выделить всё
ATZ
OK
AT+CGDCONT=1,"IP","internet"
OK
ATD *99#
CONNECTScript /sbin/chat -s -S -V -t 60 -f /etc/ppp/chat/megafon finished (pid 0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xef90ca28>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x10617d9> <pcom]
sent [LCP ConfRej id=0x0 <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xef90ca28>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x10617d9>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x10617d9>]
sent [LCP EchoReq id=0x0 magic=0xef90ca28]
rcvd [LCP DiscReq id=0x2 magic=0x10617d9]
rcvd [CHAP Challenge id=0x1 <3a99284b62d563563c414eb49e269d7d>, name = "UMTS_CH]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
sent [CHAP Response id=0x1 <3cc31735d9f719d82883448b2268adfe>, name = "gdata"]
rcvd [LCP EchoRep id=0x0 magic=0x10617d9 ef 90 ca 28]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins ]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.1]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins ]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.1]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins ]
sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.1]
rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins ]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.1]
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x5 <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x6 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.1]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x6 <addr 10.225.14.10> <ms-dns1 10.77.48.18> <ms-dns2 10]
sent [IPCP ConfReq id=0x7 <addr 10.225.14.10> <ms-dns1 10.77.48.18> <ms-dns2 10]
rcvd [IPCP ConfAck id=0x7 <addr 10.225.14.10> <ms-dns1 10.77.48.18> <ms-dns2 10]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 10.225.14.10
remote IP address 10.64.64.64
primary DNS address 10.77.48.18
secondary DNS address 10.77.48.2nslookup google.ru
Код: Выделить всё
Server: 10.77.48.18
Address 1: 10.77.48.18
nslookup: can't resolve 'google.ru'/etc/nsswitch.conf
Код: Выделить всё
passwd: files
group: files
shadow: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: filesНу и с чего всё началось ping: bad address 'google.ru'
Что я забыл настроить для корректной работы с использованием DNS-серверов?
Спасибо.