Help - Search - Members - Calendar
Full Version: Sharing Mac's Internet Connection Via Bluetooth?
OESF Forums > General Forums > Desktop Operating Systems Issues > Mac Issues
icruise
I have some applescripts that will allow me to share my Mac's internet connection via bluetooth (basically rerouting the Airport or Ethernet connection so that it can also be used with a bluetooth device). This works fine with my Palm. I set up a bluetooth connection as detailed on this page and it works fine. (I have attached the scripts to this post because the web site that originally created them is apparently no longer around).

What I want to know is, how can I connect to my Mac using my Zaurus to surf the Internet via Bluetooth in the same way? I've gotten part of the way. Using the instructions from the OESF Bluetooth How-To I was able to set up a connection to the Mac, but I'm not sure what to put in the file under /etc/ppp/peers. Does anyone know what the format for this file needs to be? After some playing with the addresses at the bottom of the file, I can make an apparently successful connection to the Mac, but when I try to use the Internet, it doesn't seem to be able to use the DNS server, and so can't actually access anything. I also can't ping anything on the network, including the Mac, so I'm not sure if I'm even connecting properly. Any ideas?
icruise
Well, it turns out that all I had to do was use the sample Linux script from etc/ppp/peers/ and delete the IP addresses from the bottom.
bam
well been mulling this over for a bit, got a ppp connection going,
on the mac:
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 10.189.66.36 --> 10.0.1.201 netmask 0xfffffe00
on the z:
ppp0
inet addr: 10.0.0.201 P-t-P:10.189.66.36

yet can't ping google, any idea's will be much appreciated.

this is the script for the mac:
do shell script "sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &" with administrator privileges
do shell script "sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=1"
do shell script "sudo ifconfig ppp0 up"


and I am using the BT-GMRS script in /etc/ppp/peers/


Almost there I think....

dhns
QUOTE(bam @ Mar 5 2008, 03:51 AM) *
well been mulling this over for a bit, got a ppp connection going,
on the mac:
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 10.189.66.36 --> 10.0.1.201 netmask 0xfffffe00
on the z:
ppp0
inet addr: 10.0.0.201 P-t-P:10.189.66.36

yet can't ping google, any idea's will be much appreciated.

this is the script for the mac:
do shell script "sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.0.1.201 &" with administrator privileges
do shell script "sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=1"
do shell script "sudo ifconfig ppp0 up"


and I am using the BT-GMRS script in /etc/ppp/peers/


Almost there I think....

It is almost the same as http://wiki.openmoko.org/wiki/MacOS_X#Maki...th_Access_Point - which is also "almost there" but does not really work...

-- hns
bam
lol, this must be similiar to almost beating your head against the wall, but still feeling the pain......perhaps another distro will help...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.