David Blanco
Forum Replies Created
-
AuthorPosts
-
David Blanco
ParticipantHi Lonny,
Thank you for your help. I’ll contact the cellular provider.
BR,
David.David Blanco
ParticipantHi Lonny,
Thank you for your quick answer. You were right, I configured it as a GSM device and now it works fine.
My next issue to deal with is that I can not get access to the device remotely.I need to create an SSH connection to the modem from the ppp interface. I need a public IP establish that connection. Could you tell me how can I obtain that address? Is an static IP address strictly needed?
Thanks again,
David.Below I attached the result of some executed commands
# pppd call gsm &
# ping -c 1 http://www.google.com
# wget -q -O – http://checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’
# ifconfig# pppd call gsm &
[1] 1298
# GSM chat
Dialing…
Waiting for CONNECT…
Connected
Script /usr/sbin/chat -v -t 90 -f /etc/ppp/peers/gsm_chat finished (pid 1301), status = 0x0
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <–> /dev/modem_at0
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x96a24aa4> <pcomp> <accomp>]
Warning – secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4227644> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x96a24aa4> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xa4227644> <pcomp> <accomp>]
Warning – secret file /etc/ppp/pap-secrets has world and/or group access
sent [PAP AuthReq id=0x1 user=”mtcdp” password=<hidden>]
rcvd [PAP AuthAck id=0x1 “”]
PAP authentication succeeded
kernel does not support PPP filtering
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x5 <addr 10.53.95.255> <ms-dns1 212.166.132.117> <ms-dns2 212.73.32.67>]
sent [IPCP ConfReq id=0x6 <addr 10.53.95.255> <ms-dns1 212.166.132.117> <ms-dns2 212.73.32.67>]
rcvd [IPCP ConfReq id=0x2 <addr 10.53.95.255>]
sent [IPCP ConfAck id=0x2 <addr 10.53.95.255>]
rcvd [IPCP ConfAck id=0x6 <addr 10.53.95.255> <ms-dns1 212.166.132.117> <ms-dns2 212.73.32.67>]
local IP address 10.53.95.255
remote IP address 10.53.95.255
primary DNS address 212.166.132.117
secondary DNS address 212.73.32.67
Script /etc/ppp/ip-up started (pid 1314)
Script /etc/ppp/ip-up finished (pid 1314), status = 0x0# ping -c 1 http://www.google.com
PING http://www.google.com (173.194.41.209): 56 data bytes
64 bytes from 173.194.41.209: seq=0 ttl=54 time=78.798 ms— http://www.google.com ping statistics —
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 78.798/78.798/78.798 ms# wget -q -O – http://checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’
31.4.222.127# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:00:87:9D:8F
inet addr:10.0.3.235 Bcast:10.0.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37281 errors:0 dropped:0 overruns:0 frame:0
TX packets:5573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4205316 (4.0 MiB) TX bytes:1393960 (1.3 MiB)
Interrupt:21 Base address:0x4000lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2208 (2.1 KiB) TX bytes:2208 (2.1 KiB)ppp0 Link encap:Point-to-Point Protocol
inet addr:10.53.95.255 P-t-P:10.53.95.255 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1826 (1.7 KiB) TX bytes:1508 (1.4 KiB) -
AuthorPosts