Re: Ricochet on mac os x
Cliff Skolnick <[email protected]> Sun, 27 Apr 2003 21:46:08 -0700
| Newsgroups | gmane.network.wireless.bsd.general |
|---|---|
| Message-ID | <[email protected]> |
That's pretty close to what I use on mac os x (and should work on freebsd, but I've not tested the new bluetooth stuff in current just yet) to share my laptop wifi connection with my palm via bluetooth. No mgetty, just have pppd listen on the port. You'll have to change the /dev and might want to hack the NAT stuff. Cheers, Cliff #!/bin/sh # # bluetooth port ppp daemon script # [email protected] # latest version URL: http://www.toaster.net/wireless/bluetooth # # The following things will need to be configured on the palm device # # 1) Palm must be paired with computer # # 2) In preferences a connection must be created # * NAME : (name of host computer) # * Connect to: PC # * Via : Bluetooth # * Device : (name of paired device) # (The following settings are in the connection details) # * Speed : 57,600 bps # * Flow Ctl : Automatic # # 3) In preference a network must be created # * Service : BlueTooth (or something else if you prefer) # * User Name : (leave this blank) # * Password : (leave this as -Prompt-) # * Connection: (name of the host computer) # (The following settings are in the network details) # * Connection Type: PPP # * Idle timeout : Never # * Query DNS : (leave unchecked) # * Primary DNS : (network specific for now :( ) # * Secondry DNS : # * IP Address : (check automatic) # # # enable packet forwarding sysctl -w net.inet.ip.forwarding=1 ps ax >/tmp/proclist.$$ # fire up a ppp daemon if [ `egrep -c /usr/sbin/pppd /tmp/proclist.$$` = 0 ] then /usr/sbin/pppd /dev/cu.Bluetooth-PDA-Sync 57600 passive 192.168.250.1:192.168.250.2 noauth noaccomp nobsdcomp noccp nodeflate nopcomp novj novjccomp persist fi # start up network address translation if [ `egrep -c /usr/sbin/natd /tmp/proclist.$$` = 0 ] then /usr/sbin/natd -unregistered_only -use_sockets -same_ports -interface en1 fi # divert traffic to natd if [ `ipfw list | egrep -c divert` = 0 ] then /sbin/ipfw add 10 divert 8668 all from any to any via en1 fi rm -f /tmp/proclist.$$ exit 0 On Sunday, Apr 27, 2003, at 13:03 US/Pacific, mark burdett wrote: > Slightly offtopic, but it is a BSD variant. > Anyone know if it's possible to setup mgetty & pppd on Darwin/Mac OS X > to accept incoming Ricochet connections. So far I haven't had luck > getting mgetty to work (I can connect with minicom though). > Thanks...! > > --mark B. > > -- > *bsd wireless list, a bawug thing <http://www.bawug.org/> > [un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/ > -- "Today we may say aloud before an awe-struck world: 'We are still masters of our fate. We are still captain of our souls.'" - Winston Churchill -- *bsd wireless list, a bawug thing <http://www.bawug.org/> [un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/