![]() |
2007-06-02
, 21:09
|
Posts: 428 |
Thanked: 54 times |
Joined on Mar 2006
@ Washington DC
|
#52
|
I've been fiddling with this some more tonight. I have a T-Mobile Dash and an N800.
It is almost working, except for DNS, which for some reason, works only in Xterm.
I can do nslookups in Xterm all day long, and get valid addresses back.
Opera and the email client however can't connect to anything.
I've tried everything I can think of. I have "nameserver 192.168.0.1" in /etc/resolv.conf as well as /tmp/resolv.conf.lo and /tmp/resolv.conf.bnep0
And, as I mentioned, it works fine in the Xterm, using 127.0.0.1 as the server.
Oddly, Opera can't even connect by IP. If I enter http://64.233.167.99/, I should get Google, but it just spins at "Connecting..."
Meanwhile, I can flip over to Xterm and "nslookup google.com" and get three addresses.
Any ideas? This is the closest I've ever gotten to having this work.
![]() |
2007-07-01
, 00:59
|
Posts: 3 |
Thanked: 0 times |
Joined on Jun 2007
|
#53
|
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!
![]() |
2007-07-09
, 16:28
|
Posts: 6 |
Thanked: 0 times |
Joined on Jul 2007
@ Philly!
|
#54
|
![]() |
2007-07-18
, 06:35
|
Posts: 6 |
Thanked: 0 times |
Joined on Jul 2007
@ Philly!
|
#55
|
![]() |
2007-07-24
, 02:00
|
Posts: 25 |
Thanked: 0 times |
Joined on Jan 2007
@ Houston
|
#56
|
![]() |
2007-07-24
, 04:23
|
Posts: 1 |
Thanked: 0 times |
Joined on Jul 2007
|
#57
|
![]() |
2007-07-24
, 10:24
|
Posts: 25 |
Thanked: 0 times |
Joined on Jan 2007
@ Houston
|
#58
|
![]() |
2007-07-25
, 00:34
|
Posts: 25 |
Thanked: 0 times |
Joined on Jan 2007
@ Houston
|
#59
|
![]() |
2007-07-28
, 01:04
|
Posts: 3 |
Thanked: 0 times |
Joined on Jul 2007
|
#60
|
looks like some typo with the IF statements or something therein