Results 1 to 1 of 1
Hi,
Untill recently, I was able to make use of my pc's internet connection on my mobile phone over blutooth using the following lines in /etc/rc.d/rc.local:
hcid
sdpd
iptables -t ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-02-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 1
internet over bluetooth
Hi,
Untill recently, I was able to make use of my pc's internet connection on my mobile phone over blutooth using the following lines in /etc/rc.d/rc.local:
hcid
sdpd
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
rfcomm bind /dev/rfcomm0 ##:##:##:##:##:## ## (my phones ID)
dund --listen call dun
The following in /etc/ppp/peers/dun:
460800
debug
192.168.1:192.168.2
ms-dns 62.69.62.6
lock
crtscts
noauth
And also having blueZ setup appropriately.
I've made some changes recently to the overall setup (hard/software) and now when I try to access the internet on my phone, I lose the connection on both my phone and the pc after about 20 seconds. Trying to ping google.com returns an error (unknown host) and the connection only returns on the pc when I stop using the phone. The internet connection is fine when used on the pc only.
Can anyone suggest what I should start looking at so that I may resolve this?.


Reply With Quote
