OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Sharing Mac's Internet Connection Via Bluetooth?, Works for palm, what about the Z?
icruise
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: 231
 
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
bam
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 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....

Go to the top of the page
 
+Quote Post
dhns
post Mar 4 2008, 11:36 PM
Post #3





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



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
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: 19th December 2014 - 12:46 AM