Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set up via System Prefs first?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set up via System Prefs first?
Authored by: Jaharmi on Nov 09, '02 07:54:04AM

Have you set up Internet Sharing via System Prefs first? You can get around a lot of problems by just letting the system pref do its work. I have no idea where it installs its config files; I do know that starting the InternetSharing app from the command line works if you have set it up beforehand via System Prefs.

You should not need to assign any IP addresses to the interfaces you are configuring. InternetSharing handles this for you, and I don't know how to stop it from doing its automatic thing or customize what it does. Every attempt I've made makes duplicate interfaces that I see when I run ifconfig at the command line.

You will need at least two interfaces, and I'm sorry to tell you that there may not be a way to turn of DHCP. If you have Ethernet and AirPort, you can share your Ethernet-based Internet connection with AirPort users. (You could also share your Ethernet connection via Ethernet with other Ethernet-based computers -- there's a checkbox for that -- but I would say it's safer to have a second Ethernet card and share that instead.) You'll end up sharing any interfaces that don't host your primary Internet connection, in my experience.

I have been running this happily for weeks, since I struggled with my firewall/nat setup after upgrading to Jaguar. (I had previously customized my firewall in 10.1, and had to make some changes to get it to work in 10.2.)

If you are having problems, maybe it's because you haven't set up Internet Sharing via the GUI first ... ?



[ Reply to This | # ]
Set up via System Prefs first?
Authored by: Magnum on Nov 12, '02 04:56:33AM

Sorry for not putting it clearly. I connect to the Internet through a LAN
on my Cube and I share this connection over an Airport to my iBook. Internet
Sharing works fine when I start it from the Pref Pane and before Jaguar gNAT
did the trick. I've tried all kinds of different sharing settings - InternetSharing won't start from the command line.
It's frustrating to read about it, when I can't get it to work on any Mac I
tried.

/Magnum



[ Reply to This | # ]