Sharing internet connection to linux

I am trying to share my iBook's internet from the AirPort card to my debian computer through the ethernet. When I plug a regular ethernet cable between the two computers I get no internet.

What I am trying now is to take our second Linksys WRT54G router and plug it in downstairs and hook it up to my Debian box. Then plug in my iBook to it as if the iBook is a router.

Will that work? What am I doing wrong?

I love Mac OS X (10.4.5)

Posted on Mar 20, 2007 11:57 AM

Reply
6 replies

Mar 20, 2007 12:16 PM in response to Acorn22

I don't think there's anyway Internet Sharing will work with a Router involved.

Does your iBook or Debian machine require a Crossover Ethernet cable perchance? Did you get connection to the iBook when you had the cable there?

The secret is to have the Debian machine use the iBooks's IP as Router/Gateway, then let the book hand out an IP to the Debian.

Sometimes turning on Personal Web Sharing helps, sometimes turning off the Firewall helps, and sometimes you might have to wait 50 minutes for stuff to show up! 😟

Mar 20, 2007 12:34 PM in response to Acorn22

I am trying to share my iBook's internet from the
AirPort card to my debian computer through the
ethernet. When I plug a regular ethernet cable
between the two computers I get no internet.


You turned on the sharing internet from ethernet to airport in the sharing prefs pane, right? As far as the ethernet connection goes, you need to make sure both interfaces are active. On both machines, ifconfig en0 should return a status of active.

The iBook will have a good ip adress, and the debian should have something in that network and same subnet mask. If all that is good and it still isn't working some more diagnoses will be needed.

What I am trying now is to take our second Linksys
WRT54G router and plug it in downstairs and hook it
up to my Debian box. Then plug in my iBook to it as
if the iBook is a router.


You lost me here. You've got two routers and you want the iBook to act as a third???

Mar 20, 2007 1:56 PM in response to Acorn22

Ok. I made a crossover cable and I am getting the same results (so far) From Debian I type 192.168.1.123 and I get my iBook apache page. And viseversa.

I have the iBook set to "share internet connection from: Airport" and "To Computers" is the ethernet and firewire. Firewall is off. On Debian eth0 is up and set to DHCP. I also tried static and the gateway as ..1.123. (iBook eth ip)

To help clear things up, I was atempting to use a second router/hub as a crossover cable replacement. But I don't need it anymore.

I use Mac OS X (10.4.5)

Mar 20, 2007 2:21 PM in response to Acorn22

EDIT: I tried every which way with iBook to iBook and I can't get internet working either. I used straight cable (mac to mac) and crossover (mac to mac). They could see each other. In both configureations I tried changing the gateway to the apple with internet. (I disabled the airport on one iBook) I hooked them both up to a wired network together and they could see each other. With them both on one wlan I had the one without airport turned on looking to the one with airport turned on as the gateway. etc... I don't know what else to try.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sharing internet connection to linux

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.