Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # one-file solution to having a bluetooth dialin server (ppp over rfcomm) on my n900
- # on your notebook:
- # # rfcomm bind /dev/rfcomm0 <phone bt address> 22
- # # pppd /dev/rfcomm0 noauth
- # # still have to manually configure DNS, fixing that is to be done
- user@Nokia-N900[~]$ grep '[^[:space:]]' /etc/event.d/btppp
- description "ppp dialin via bt"
- author "r00t"
- start on MOUNTS_OK
- stop on starting shutdown
- console none
- respawn
- script
- echo 1 > /proc/sys/net/ipv4/ip_forward
- /usr/sbin/iptables -t nat -I POSTROUTING -o gprs0 -j MASQUERADE
- /usr/bin/rfcomm watch rfcomm22 22 /usr/sbin/pppd {} noauth 10.10.10.1:10.10.10.2
- end script
Advertisement
Add Comment
Please, Sign In to add comment