You are not logged in.

#1 2011-08-01 03:04:30

shnooks
Member
Registered: 2011-08-01
Posts: 3

[SOLVED] OS X Internet Sharing to arch over ethernet

I previously had this working with arch's gateway set to the mac's ip and both subnet mask the same, but now OS X just shows the cable as unplugged.

Any recommendations on how to set my rc.conf?

Last edited by shnooks (2011-08-01 20:06:38)

Offline

#2 2011-08-01 05:37:31

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] OS X Internet Sharing to arch over ethernet

Do you have the newest rc.conf with broadcast= ? Some have had problems for a while without broadcast.

Offline

#3 2011-08-01 05:59:17

shnooks
Member
Registered: 2011-08-01
Posts: 3

Re: [SOLVED] OS X Internet Sharing to arch over ethernet

I do not have the newest rc.conf. I haven't run pacman in quite some time.

This is my setup:

Internet <--wifi--> OS X <--ethernet--> Arch

and Internet sharing to Ethernet from Wi-Fi is enabled in the sharing pane on OS X.

Mac's network configuration

Arch's configuration:

eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"

INTERFACES=(lo eth0)

gateway="default gw 192.168.0.1"

I've obviously set the linux box's gateway to the mac's IP and both have the same subnet mask.

And, the stupid cable is clearly plugged in!

Offline

#4 2011-08-01 08:01:56

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] OS X Internet Sharing to arch over ethernet

Well, seems an upgrade of rc.conf is due before you do any further fixing. The syntax and function of the Network section in rc.conf is radically changed.

Offline

#5 2011-08-01 20:06:05

shnooks
Member
Registered: 2011-08-01
Posts: 3

Re: [SOLVED] OS X Internet Sharing to arch over ethernet

I upgraded my system this morning, updated the syntax of my rc.conf to use DHCP and everything just works.

Thank you, swanson.

Offline

Board footer

Powered by FluxBB