alci
04-12-2006, 03:17 PM
Hi,
I am trying to establish a ppp connection with a linux box using the usb cable.
Here is my pppd peer definition :
/dev/ttyACM0
noauth
debug
460800
crtscts
passive
lock
local
proxyarp
ipcp-accept-local
ipcp-accept-remote
ms-dns 169.254.1.65
169.254.1.65:169.254.1.66
I have a local dns cache that resolves wsockhost.mrouter to 169.254.1.65 :
$ dig wsockhost.mrouter
; <<>> DiG 9.3.2 <<>> wsockhost.mrouter
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1828
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;wsockhost.mrouter. IN A
;; ANSWER SECTION:
wsockhost.mrouter. 0 IN A 169.254.1.65
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 4 16:14:26 2006
;; MSG SIZE rcvd: 51
But the M600i keeps terminating the connection :
pppd 2.4.4 started by franck, uid 1000
Dec 4 14:55:18 feuille pppd[10440]: Using interface ppp0
Dec 4 14:55:18 feuille pppd[10440]: Connect: ppp0 <--> /dev/ttyACM0
Dec 4 14:55:21 feuille kernel: [17180615.308000] PPP BSD Compression module registered
Dec 4 14:55:21 feuille kernel: [17180615.368000] PPP Deflate Compression module registered
Dec 4 14:55:21 feuille pppd[10440]: local IP address 169.254.1.65
Dec 4 14:55:21 feuille pppd[10440]: remote IP address 169.254.1.66
Dec 4 14:55:21 feuille pppd[10440]: LCP terminated by peer
Dec 4 14:55:21 feuille pppd[10440]: Connect time 0.0 minutes.
Dec 4 14:55:21 feuille pppd[10440]: Sent 119 bytes, received 123 bytes.
Dec 4 14:55:24 feuille pppd[10440]: Connection terminated.
Dec 4 14:55:24 feuille pppd[10440]: Modem hangup
Dec 4 14:55:24 feuille pppd[10440]: Exit.
Any hint ?
Thanks,
Franck
PS : this config works with a P910i with bluetooth, and with usb cradle after adding a "mrouter are you there" chat.
I am trying to establish a ppp connection with a linux box using the usb cable.
Here is my pppd peer definition :
/dev/ttyACM0
noauth
debug
460800
crtscts
passive
lock
local
proxyarp
ipcp-accept-local
ipcp-accept-remote
ms-dns 169.254.1.65
169.254.1.65:169.254.1.66
I have a local dns cache that resolves wsockhost.mrouter to 169.254.1.65 :
$ dig wsockhost.mrouter
; <<>> DiG 9.3.2 <<>> wsockhost.mrouter
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1828
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;wsockhost.mrouter. IN A
;; ANSWER SECTION:
wsockhost.mrouter. 0 IN A 169.254.1.65
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 4 16:14:26 2006
;; MSG SIZE rcvd: 51
But the M600i keeps terminating the connection :
pppd 2.4.4 started by franck, uid 1000
Dec 4 14:55:18 feuille pppd[10440]: Using interface ppp0
Dec 4 14:55:18 feuille pppd[10440]: Connect: ppp0 <--> /dev/ttyACM0
Dec 4 14:55:21 feuille kernel: [17180615.308000] PPP BSD Compression module registered
Dec 4 14:55:21 feuille kernel: [17180615.368000] PPP Deflate Compression module registered
Dec 4 14:55:21 feuille pppd[10440]: local IP address 169.254.1.65
Dec 4 14:55:21 feuille pppd[10440]: remote IP address 169.254.1.66
Dec 4 14:55:21 feuille pppd[10440]: LCP terminated by peer
Dec 4 14:55:21 feuille pppd[10440]: Connect time 0.0 minutes.
Dec 4 14:55:21 feuille pppd[10440]: Sent 119 bytes, received 123 bytes.
Dec 4 14:55:24 feuille pppd[10440]: Connection terminated.
Dec 4 14:55:24 feuille pppd[10440]: Modem hangup
Dec 4 14:55:24 feuille pppd[10440]: Exit.
Any hint ?
Thanks,
Franck
PS : this config works with a P910i with bluetooth, and with usb cradle after adding a "mrouter are you there" chat.