On Tuesday, Sep 9, 2003, at 11:27 US/Pacific, David Chin wrote:
This is just a guess -- I don't have an answer, but I'm curious to see if it works...
Have you tried using the "Internet Sharing" feature? It works well with
all the other interface types (ethernet, wifi, firewire), that I expect
it might do the job, too.
Cheers, --Dave
In message <[EMAIL PROTECTED]>, Curtis Vaughan w
rites:Here's what I'm trying to do. I have a Zaurus that I connect to my iBook through the USB port. When under Debian I issue the following series of commands (which I have as a script) in order to permit the Zaurus to access the Internet.
#!/bin/sh ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up route add -host 192.168.129.201 usb0 iptables -t nat -F iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 10.0.1.15 echo 1 > /proc/sys/net/ipv4/ip_forward
Well, I discovered under OSX there are no iptables, but there is ipfw. So, I've tried to rewrite this script, but unfortunately I'm not 'getting it.' Can anybody help?
Just for a laugh, here's my best guess so far:
#!/bin/sh
route add -host 192.168.129.201 en1
/sbin/ipfw add 101 allow ip from 192.168.129.201 to 192.168.129.201 via
en0
BTW, en0 is my LAN port, and en1 is the usb port.
Curtis
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
