Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Nov 2005 13:38:08 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        freeman <cr0t@bk.ru>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Windows 2003SE PDA LAN
Message-ID:  <43711AC0.9020604@savvis.net>
In-Reply-To: <E1EZazm-000OFj-00.cr0t-bk-ru@mx1.mail.ru>
References:  <E1EZazm-000OFj-00.cr0t-bk-ru@mx1.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
freeman wrote:
> Hi all!
> 
> I have some troubles in configuration topic.
> 
> I'm googling some docs about that and found some articles... But...
> 
> Ok.
> My Bluetooth USB dongle found correct after kldload ng_ubt, and I have a
> ubt0 device.
> Then:
> - /etc/rc.bluetooth start ubt0
> - configuring /etc/bluetooth/hcsecd.conf (basing man page)
> - hcsed
> - sdpd
> -  configuring /etc/ppp.conf (like in man page)
> - rfcomm_pppd -C 1 -s 1 rfcomm-server
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

do you mean "rfcomm_pppd -C 1 -s -l rfcomm-server" ?

> Ok.
> 
> Now on my PDA (iPAQ rx3715) I found on computer LAN PPP service. As I
> understand - in Palm OS we can connect to our host and there is no any
> questions about user and password. But when I try to connect to my computer
> - PDA show me the Login page (like on modem connection) and when I click OK
> it thinks some seconds and... There is no connection :(((

when it prompts for username/password just use blanks.

> Here is my ppp.log:
> Nov  8 01:06:20 freenout ppp[958]: Phase: Using interface: tun0
> Nov  8 01:06:20 freenout ppp[958]: Phase: deflink: Created in closed state
> Nov  8 01:06:20 freenout ppp[958]: Phase: PPP Started (direct mode).
> Nov  8 01:06:20 freenout ppp[958]: Phase: bundle: Establish
> Nov  8 01:06:20 freenout ppp[958]: Phase: deflink: closed -> opening
> Nov  8 01:06:20 freenout ppp[958]: Phase: deflink: Connected!
> Nov  8 01:06:20 freenout ppp[958]: Phase: deflink: opening -> carrier
> Nov  8 01:06:20 freenout ppp[958]: Phase: deflink: carrier -> lcp
> # at this point we have waiting some seconds and going down :(((
> Nov  8 01:06:30 freenout ppp[958]: Phase: deflink: read (0): Got zero bytes
> Nov  8 01:06:30 freenout ppp[958]: Phase: deflink: Disconnected!
> Nov  8 01:06:30 freenout ppp[958]: Phase: deflink: Connect time: 10 secs: 24
> octets in, 260 octets out
> Nov  8 01:06:30 freenout ppp[958]: Phase: deflink: 4 packets in, 4 packets
> out
> Nov  8 01:06:30 freenout ppp[958]: Phase:  total 28 bytes/sec, peak 29
> bytes/sec on Tue Nov  8 01:06:25 2005
> Nov  8 01:06:30 freenout ppp[958]: Phase: deflink: lcp -> closed
> Nov  8 01:06:30 freenout ppp[958]: Phase: bundle: Dead
> Nov  8 01:06:30 freenout ppp[958]: Phase: PPP Terminated (normal). 
> 
> Is there anybody can help me?

most likely your pda assumes it connects to microsoft-style ras server. 
if there is no option on your pda to change it to unix/ppp-style server 
then try the following

  default:
     set log Phase Chat LCP IPCP CCP tun command

  rfcomm-server:
     # fake ras server
     enable force-scripts
     set dial "CLIENT CLIENTSERVER"

     # default config from rfcomm_pppd(8) man page
     enable lqr
     accept lqr
     set timeout 0
     disable iface-alias
     set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
     # Do not use PPP authentication. Assume that
     # Bluetooth connection was authenticated already
     deny pap
     disable pap
     deny chap
     disable chap

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43711AC0.9020604>