Thread: DUN to freebsd
View Single Post
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#1
Is there anybody who succeed to connect n800 to freebsd through bluetooth DUN.
I've tried the following:

I. on the freebsd 7.0 stable host:
#kldload ng_ubt
#ng_ubt_load="YES"
---plug the dongle

/etc/rc.bluetooth start ubt0
in /etc/bluetooth/hcsecd.conf I have
device {
bdaddr 00:80:n800addr;
name "Toli";
key nokey;
pin "333";
}

At this stage I managed to make a pair link between freebsd box and n800.
At the next stage I will use user land ppp daemon to make a DUN.

in /etc/ppp/ppp.conf I have:
default:
set timeout 0
set lqrperiod 10
set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0
enable lqr
accept lqr
accept dns
# Do not use PPP authentication. Assume that
# Bluetooth connection was authenticated already
disable pap
deny pap
disable chap
deny chap


I start the deamon with:
rfcomm_pppd -s -d -C 7 -l default

II. after that I used previously created pair link and try to connect from n800 but I never succeed. Every time I get "Connection failed to phone blabla(ubt0). Try again?

Do you have any idea what could be wrong?

Thanks in advance
__________________
while (FALSE == FALSE) fork();

Last edited by linman; 2008-03-04 at 22:32.