Am Freitag, den 05.11.2004, 12:27 +0000 schrieb Matthew Kay:
> > The wsockhost.mrouter will be closed after 90 secounds if you didn't
> > have named running or it cant resolve the IP-Address.
> 
> That sounds sensible. I definitely have named running, so it must be the
> latter. Sometimes, in the Multisync syncml log, I also get 'Could not
> open server port' even though I am not running iptables. Could you point
> to how I can solve this proble/problems?
> 
> > $TTL 86400
> > @               IN      SOA     ns.mrouter. root.mrouter. (
> >                                 200410293  ; serial:date + serial#
> >                                 28800      ; refresh, seconds
> >                                 14400      ; retry, seconds
> >                                 3600000    ; expire, seconds
> >                                 86400      ; minimum, seconds
> >                                 )
> > I think, but I dont know it exactly that your serialnumber entry is
> > missing.
> 
> Two questions about this, if you've got time. Firstly, what does the
> second line do exactly? I notice that we have different ones.
> Secondly, how do you compose the serial number? Is that just the current
> date, and if so, do you have to change it every time? And where does the
> '3' at the end come from? My phone shows its serial number in
> Applications->Edit->System Information as CXC162022 R3C006. What part of
> this information do I need?
Ok your question was answered.
To make it a little easier I send you the changes I have made:

/etc/bluetooth/rfcomm.conf

rfcomm1 {
        # Automatically bind the device at startup
        bind yes;
                                                                                
        # Bluetooth address of the device
        device 00:0E:07:C9:CA:F2;
                                                                                
        # RFCOMM channel for the connection
        channel 1;
                                                                                
        # Description of the connection
        comment "P900";
}

/etc/named.conf
added

zone "mrouter" IN {
  type master;
  notify no;
  file "mrouter";
};

/va/lib/named/mrouter

$TTL 86400
@               IN      SOA     ns.mrouter. root.mrouter. (
                                200410293  ; serial:date + serial#
                                28800      ; refresh, seconds
                                14400      ; retry, seconds
                                3600000    ; expire, seconds
                                86400      ; minimum, seconds
                                )
;
                        NS      xxx.xxx.xxx.xxx         ; Inet Address
of name server
;
ns                      A      xxx.xxx.xxx.xxx          ;IP Address from
your Linux machine
wsockhost         A       xxx.xxx.xxx.xxx         ;IP Address from your
Linux machine


/etc/ppp/peers/p900-incoming

noauth
crtscts
lock
proxyarp
passive
ipcp-accept-local
ipcp-accept-remote
ms-dns "IP-Address from your linux machine"
"IP-Address from your linux machine:"IP-Address the phone should become"

Script to make the connection

#!/bin/bash -e
                                                                                
sdptool add --channel=3 SP
cat /dev/rfcomm1

At my system /dev/rfcomm has only

crw-------  1 root root 216, 1 2004-10-29 10:42 /dev/rfcomm1

so I have to make it 666.

The script has 4755 and the owner is root



This works here.

I hope it helps.
Give a feedback please.

The only thing I didn't is how I can /dev/rfcomm1 get 666 as it was
build.

-- 
Mit freundlichen Grüßen

Jürgen Meurer




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Multisync-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-users

Reply via email to