internet over bluetooth
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:
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:
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?.