Trying to setup connection to the internet through dund on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

after some time, I tried again to create a dun-server on my linux-box. I tried 
different config-files, ..., but it appears that the N800 is breaking the 
connection I think. I have no idea what the N800 is expecting. Connecting to 
a provider is eas with the N800, but I haven't found a solution yet that 
makes the N800 connect to a linux-box through dun without logging on on the 
N800. To repeat my question ... which parameters should I set for pppd, ... 
so that I can create a dun-connection to my linux-box with the N800? Does 
anyone have an idea?

Thank you and greetings,

Michel

Op Sunday 8 April 2007, schreef Marius Gedminas:
> 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
>
>   debug
>   57600
>   noipdefault
>   10.42.42.100:10.42.42.101
>   ms-dns 10.42.42.100
>   proxyarp
>   ktune
>
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20070510/9443c228/attachment.pgp 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux