LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2003, 10:59 PM   #1
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Rep: Reputation: 15
Connect RH7.3 to MacOSX via Ethernet


I have recently purchased a 1U server and installed RH7.3 on it. I plan to colocate it and run Ensim's WebAppliance for my website development/hosting work.

While I have it at home doing the configuring, I'd like to be able to connect it to my MacOSX which has a dialup PPP connection established with Earthlink, and then get to the internet in GNOME through the Mac ethernet connection.

How is this done?
 
Old 09-19-2003, 11:39 PM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
On your RH box you should connect the PPP connection and do traffic forwarding from there, then connect to you RH box to the internet and then connect to the RH box with the OSX box.

In other words you should use the RH server as a gateway.
 
Old 09-20-2003, 12:06 AM   #3
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
The RH box (1U server) doesn't have a modem to make the PPP connection, that's why I was trying to make the OSX box the gateway.

I've seen all the information about doing it the RH as a gateway, but not the otherway around..I'm a system admin newbie so if there is a tutorial on setting up OSX as the gateway I'd like to know.
 
Old 09-20-2003, 12:31 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Well I'm sorry I've never done this. Hint: if you are running some sort of firwall you may use it to do traffic Masq and forwarding to your RH machine. Good Luck.
 
Old 09-20-2003, 01:12 AM   #5
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
Well maybe this will help us walk the process through OSX to be a NAT server?
http://www.afp548.com/Articles/system/natserver.html
or this one that talks about sharing the single DSL line between two OSXs?
http://www.omnigroup.com/mailman/arc...ch/011213.html

Last edited by Boss Hoss; 09-20-2003 at 01:16 AM.
 
Old 09-20-2003, 01:21 AM   #6
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
WOW! Great read. Looks like it will work. I'm going to keep using my OSX box as a client. Good luck!
 
Old 09-20-2003, 02:38 AM   #7
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
Well the articles assume you have EN0 connected to the internet...notice both articles are doing NAT over a 2nd NIC card as the first one is either connected to the LAN or to a DSL modem.

So now the question is, if your OSX box is using PPP through a dialup..how do you pass the connection to EN0? I have a 2nd OSX box for the wife and I can ping the local IPs of each OSX box. I just have no internet to share over ethernet with a modem connection. ? How do I do this? Is there a way to change the interface from EN0 to the modem ?

Here's a link I'll check out further when I get some sleep-I think it has the answer:
Quote:
ref: http://plug.linux.org.au/~steve/macosx.html

Ensure External Network Interface: is "Modem (ppp0)" and Internal Network Interface: is "Ethernet Card 1 (en0)"
Also when my RH box starts up, it says FAIL on the EN0 load ? Under GNOME I see the device I just can't ACTIVATE it using any of the settings.

Last edited by Boss Hoss; 09-20-2003 at 02:45 AM.
 
Old 09-20-2003, 11:17 AM   #8
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
Ok this little OSX APP did the trick! It basically does what the tutorials above say to do but gets the internal and external cards correct. I have my two OSX boxes sharing a single modem connection.

http://www.sustworks.com/site/prod_gnat_overview.html

Now on to why my RH7.3 box says "SIS 900 device" not detected during boot and why it won't activate under GNOME?
 
Old 09-21-2003, 05:38 PM   #9
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
Ok..seems I'm talking to myself..I have the SIS900 driver working from 2.4.22 kernel files where I believe they backported the SIS drivers to address the SiS962 problems. I can PING the OSX box static IP and the OSX IP for the router..but I'm not able to use a browser and pull up anything from the outside world. I'm using the IP address for earthlink's name server just as I did on the 2nd OSX box I have.

So I know the OSX box is acting as a router for another OSX box..what am I missing now for the RH7.3 box to connect through the OSX router IP?
 
Old 09-21-2003, 06:32 PM   #10
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
I'm listening Thanks for the link. Did you edit you ifcfg files for card?
 
Old 09-21-2003, 07:11 PM   #11
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
explain further please..
 
Old 09-21-2003, 07:18 PM   #12
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Look in /etc/sysconfig/network or /etc/sysconfig/

Here you should find different files that are your configuration files for you network hardware. Mostl likely it will be called ifcfg-eth0

You must edit this file to assine an IP address to your ethernet card. Restart the network and try to ping that IP from your OSx box.
 
Old 09-21-2003, 08:57 PM   #13
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
I'm using GNOME Network Setting which I believe set those files correctly. Well I've gotten it to work..I took the sis900.x files and put them into the 2.4.18 source files and recompiled the kernel...sorta.

When I go to boot up in the new kernel (whether it be my 2.4.18custom or 2.4.22) I see the eth0 passed, however the boot up doesn't complete-another topic for me I guess. When I reboot back into the safe 2.4.18 which I got from RH7.3 CDs, the eth0 still passes. And this post is being written from that RH machine. However if I reboot again I lose the eth0 then. I'm going to copy the sis900.o file that worked in my 2.4.18custom and see if it stays in 2.4.18 kernel for now.

Once I figure out the compilation problems I feel I have the drivers resolved...and thus with the help of the OSX IPNetShare App (which is drawn from the other tutorial) I have my RH7.3 connected to my OSX.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using MacOSX to connect to Linux swingkat420 Linux - Newbie 5 02-10-2005 05:18 PM
RH7.2 and On-board Ethernet Card Skywalker Linux - Software 13 11-15-2004 05:28 AM
Ethernet locks box at ifup! (Kernel 2.4.X, RH7.2) zaphraud Linux - Hardware 28 04-19-2004 08:19 AM
How to connect RH7.2 system with Internet Through Proxy? syed Linux - General 0 10-18-2002 09:36 PM
RH7.1 - can't connect to Internet jb1140 Linux - Software 1 09-03-2001 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration