[maemo-users] Trying to setup connection to the internet through dund on linux

From: Marius Gedminas marius at pov.lt
Date: Sun Apr 8 14:00:58 EEST 2007
On Sat, Apr 07, 2007 at 02:11:59PM +0200, michel.brabants at euphonynet.be wrote:
> Hello,
> I just bought a N800 and would like to get online using a dun-connection from
> my N800 to my linux-computer which acts as a dun-server. I would prefer pan
> (which I already had setup), but that isn't available yet seemingly.
> What works? The N800 can see my dun-server and connect. The dun-server than
> sets up an rfcomm1-device and connects the pppd-daemon to it. The pppd-daemon
> is setup like mentionned in
> http://maemo.org/maemowiki/HOWTO-BluetoothNetworking. I tried also other
> settings. After the pppd-daemon started and doesn't receive any messages from
> the N800 at all, the connection is terminated. I'm not really sure which side
> ends the connection (dund-side?). What is the N800 expecting from the
> pppd-server?
> Apr  7 13:34:22 natuur hcid[7166]: link_key_request (sba=00:09:DD:50:0F:C4,
> dba=00:19:4F:A4:C9:36)
> Apr  7 13:34:31 natuur dund[7266]: New connection from 00:19:4F:A4:C9:36
> Apr  7 13:34:31 natuur pppd[7268]: pppd 2.4.4 started by root, uid 0
> Apr  7 13:34:31 natuur pppd[7268]: using channel 2
> Apr  7 13:34:31 natuur pppd[7268]: Using interface ppp1
> Apr  7 13:34:31 natuur pppd[7268]: Connect: ppp1 <--> /dev/rfcomm1
> Apr  7 13:34:31 natuur pppd[7268]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x578ef2ee> <pcomp> <accomp>]
> Apr  7 13:34:34 natuur pppd[7268]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x578ef2ee> <pcomp> <accomp>]

This log is from your dialup server?  If so, you have pppd configured
wrong, as it tries to connect to your nokia rather than the other way
around.  I think.  ConfigReq packets are those sent by the dun client to
the dun server.

I had ppp over Bluetooth configured once for hotsyncing my Palm.  I had
a shell script /usr/local/sbin/pppd-for-dund that did

  exec /usr/sbin/pppd "$@" call dun

with /etc/ppp/peers/dun with


and I told dund in /etc/default/bluez-pan

  DUND_OPTIONS="--listen --persist --pppd /usr/local/sbin/pppd-for-dund"          

> Apr  7 13:34:35 natuur pppd[7268]: Hangup (SIGHUP)
> Apr  7 13:34:35 natuur pppd[7268]: Modem hangup
> Apr  7 13:34:35 natuur pppd[7268]: Connection terminated.
> Apr  7 13:34:35 natuur pppd[7268]: Exit.
> Thank you and greetings,
> Michel
> P.S.: This deserves more attention than in a P.S.-sectin, but I would like to
> say that I really enjoyed the N800 uptill now! I was impressed how easy it
> was link it to my phone for a connection to the internet using gprs. Simple
> and quick.

Simpler and quicker than any Linux distro I've seen.

Marius Gedminas
Gates' Law: Every 18 months, the speed of software halves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20070408/88b66b6d/attachment.pgp 
More information about the maemo-users mailing list