View Single Post
Posts: 3 | Thanked: 0 times | Joined on Jun 2007
#53
Originally Posted by pcman View Post
Here is a summary of how I got it working.

Date: January 7, 2007
Subject: How to connect Nokia 770 internet tablet with Cingular Blackjack cell phone for internet sharing (Make sure you have a data plan with Cingular first)

1. Create the following 'bluetooth connection up' script (I called this 'btup') in the directory of your choosing, I used /home/user

Script was taken from the internettablettalk.com/forums - Thanks fanoush, phi, et al
#!/bin/sh
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
# real script follows
# enter your cell phone BT address below
BTADDR='xx:xx:xx:xx:xx:xx'
IP=192.168.0.170
GW=192.168.0.1
NS=192.168.0.1
IFACE=bnep0

#insmod just to be sure
insmod /mnt/initfs/lib/modules/current/bnep.ko
#start PAN Bluetooth connection
pand --connect $BTADDR

# wait for the interface created by pand
s=60
echo -n "Waiting $s secs for $IFACE"
while [ $s -gt 0 ] ; do
ifconfig $IFACE >/dev/null 2>&1 && break
s=$((s-1))
echo -n "."
sleep 1
done
echo
if ifconfig $IFACE >/dev/null 2>&1 ; then
# bring it up
echo "OK, bringing $IFACE up"
ifconfig $IFACE $IP up
route add default gw $GW
echo "nameserver $NS" >/tmp/resolv.conf.lo
else
echo "Error: $IFACE not available."
fi


2. Create the following 'bluetooth connection down' script (I called this 'btdn') in the directory of your choosing, I used /home/user

Script was taken from the internettablettalk.com/forums - Thanks fanoush, phi, et al

#!/bin/sh
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
# real script follows
echo -n '' >/tmp/resolv.conf.lo
pand -K
sleep 1
rmmod bnep


3. Run the following command as root on your Nokia 770.

gconftool -s -t string /system/osso/connectivity/IAP/DEFAULT/type DUMMY

This will create a DEFAULT connection for your internet connections on your Nokia 770.

4. Make sure you have deleted any reference to the Nokia 770 bluetooth pairing on the phone.

5. On the Nokia 770 go to Menu/Tools/Connection Manager/Menu/Internet Connection/Change Connection/'select DEFAULT'

6. On the phone and go to Internet Sharing, make sure 'PC Connection' is set to 'Bluetooth PAN' and select 'Connect'.

7. On the Nokia 770 run the 'btup' script as root in the directory you created the script. i.e. /home/user/./btup

8. The phone will now ask if you want to pair with the Nokia 770, select Yes and when prompted enter the password 1234 on the phone.

9. The Nokia 770 will now prompt for the password, enter 1234.

10. Check your internet connection to make sure it works.

11. Check your speed at http://www.dslreports.com/mspeed/

Good luck!
I just got my n770 from woot, and i'm just amazed by this device. I installed the OS2007 hacker edition, later to find out that no one has got BT PAN working on it (or has someone ?).

So, i reflashed my 770 to OS2006. I followed the instructions for setting up PAN, but the n770 just keeps on searching for a phone for 60 seconds and cannot find it. I have deleted all references to the n770, from the phone, that might have been created due to earlier attempts of pairing. I have also used numerous IP addresses, but still, it just can't connect.

Is there something else that I might have overlooked ?

Thanks in advance.