Mac Hookup to Linux Network

I have a linux computer running on a Cable Modem connection and I was wondering if it is possible to somehow hook up my Mac to the Linux so I don't have to get a separate account. In other words, I just want to use the Linux connection for both the Linux and my Mac. There is probably an easy way to do this, but I am not very experienced with computers.
wintomiumAsked:
Who is Participating?
 
alexbikConnect With a Mentor Commented:
Hi,

You need to put a second ethernet card in your linux box, and hook it up to your Mac.
I cannot tel you how you should configure your Mac, but make sure it talks IP and you
can ping it from your linuxbox. You should use 'reserved' IP numbers, like 192.168.0.x.
In order to make Linux detect your second ethernet card (I assume you have your cablemodem connected through an ethernet card as well), you shoul add the line
append = "ether=0,0,eth1 ether=0,0,eth2" to your /etc/lilo.conf.

If you got that part up and running, install IP masquerading on your linux box as described in ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/IP-Masquerade

In this way, you don't need extra software or anything. Just make the Mac use your Linux box as gateway and you should be ok.

Alex.
0
 
wintomiumAuthor Commented:
Edited text of question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.