OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Sharing Mac's Internet Connection Via Bluetooth?, Works for palm, what about the Z?
post Sep 18 2005, 02:13 AM
Post #1

Group: Members
Posts: 292
Joined: 24-June 05
Member No.: 7,447

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?
Attached File(s)
Attached File  Bluetooth_Internet_Sharing_Scripts.zip ( 84.05K ) Number of downloads: 257
Go to the top of the page
+Quote Post
Start new topic
post Mar 4 2008, 06:51 PM
Post #2

Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306

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 --> netmask 0xfffffe00
on the z:
inet addr: P-t-P:

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 : &" 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....
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 27th May 2018 - 03:55 AM