I did everything like you wrote. I setup a DNS server (bind) with 169.254.1.68 pointing to wsockhost.mrouter
[ 23:36:27 :: root :: ~ ] hostx -v wsockhost.mrouter
Query about wsockhost.mrouter for record types A
Trying wsockhost.mrouter ...
Query done, 1 answer, authoritative status: no error
wsockhost.mrouter 86400 IN A 169.254.1.68
Authority information:
mrouter 86400 IN NS ns.mrouter
Additional information:
ns.mrouter 86400 IN A 169.254.1.69
and added 169.254.1.1 as a920 in /etc/hosts.
Everything seems to work. I can connect my Motorola via desktop suite to PC, but it disconnects after 90 seconds. It looks like it can't resolve wsockhost.mrouter addess but i don't get why. Right now i'm trying to connect via USB cable with ppp options like this:
[ 23:36:38 :: root :: ~ ] cat /etc/ppp/options
/dev/ttyACM0
460800
debug
crtscts
local
lock
noauth
passive
nomagic
proxyarp
ms-dns 169.254.1.68
169.254.1.68:169.254.1.1
After i run ppp /dev/ttyACM0 nodeatch i get:
[ 23:33:52 :: root :: ~ ] pppd /dev/ttyACM0 nodetach
using channel 40
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <magic 0xd4dadb0a> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfRej id=0x1 <magic 0xd4dadb0a>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <magic 0x1ec8442a> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfRej id=0x1 <magic 0x1ec8442a>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 169.254.1.68>]
rcvd [CCP ConfReq id=0x1 < 11 05 00 01 03>]
sent [CCP ConfRej id=0x1 < 11 05 00 01 03>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfNak id=0x1 <addr 169.254.1.1> <ms-dns1 169.254.1.68> <ms-dns3 169.254.1.68>]
rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfReq id=0x2]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 169.254.1.68>]
rcvd [CCP ConfReq id=0x2 <mppe -H -M -S -L -D +C>]
sent [CCP ConfRej id=0x2 <mppe -H -M -S -L -D +C>]
rcvd [LCP ProtRej id=0x3 80 fd 01 02 00 04]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 169.254.1.1> <ms-dns1 169.254.1.68> <ms-dns3 169.254.1.68>]
sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 169.254.1.1> <ms-dns1 169.254.1.68> <ms-dns3 169.254.1.68>]
Cannot determine ethernet address for proxy ARP
local IP address 169.254.1.68
remote IP address 169.254.1.1
Script /etc/ppp/ip-up started (pid 16337)
rcvd [CCP ConfReq id=0x4 <predictor 1>]
Script /etc/ppp/ip-up finished (pid 16337), status = 0x1
rcvd [CCP ConfReq id=0x4 <predictor 1>]
rcvd [CCP ConfReq id=0x4 <predictor 1>]
rcvd [CCP ConfReq id=0x4 <predictor 1>]
rcvd [CCP ConfReq id=0x4 <predictor 1>]
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
Connect time 1.5 minutes.
Sent 728 bytes, received 1032 bytes.
Script /etc/ppp/ip-down started (pid 16366)
sent [LCP TermAck id=0x3]
Script /etc/ppp/ip-down finished (pid 16366), status = 0x1
Connection terminated.
Modem hangup
I tried to ping a920 (169.254.1.1) but i can't do that. I can only ping 169.254.1.68. It looks like mobile still doesn't see my PC, but why?
I'm out of ideas. Same thing happends when i'm trying to connect via bluetooth. It shows connected to PC on phone and breaks it after 90 seconds.
I temporarily disabled my firewall (it blocks a lot of things by default) but still same problem.
Edit:
That's my ppp modules i have loaded:
[ 23:41:55 :: root :: ~ ] lsmod | grep ppp
ppp_deflate 4128 0
zlib_deflate 17112 1 ppp_deflate
ppp_async 8160 0
crc_ccitt 1216 1 ppp_async
ppp_generic 20884 3 ppp_deflate,bsd_comp,ppp_async
slhc 4576 1 ppp_generic