We help IT Professionals succeed at work.

*?*CONNECT/LINK WIN98SE TO SUSE 7.3 ProfEd*?*

mhotto
mhotto asked
on
I havea  WIN98SE PC sitting 1ft from a SUSE 7.3. LINUX WRKSTATION at my Desk.  Can I plug 1ea 3ft RJ45 Ethernet Cable into the respective NIC Cards and LINK/CONNECT/ATTACH  the 2 machines?

Purpose:

Locally Develope & Test WEBSITE on PC, load/publish  INDEX.HTML FILE to a TEST APACHE WEB SERVER on SUSE WRKSTN.  

FACTS:

1st, I know ea NIC CARD has to be configured and SAMBA Service enabled on the SUSE WRKSTN.
2nd, I only have a 9600 BAUD DIAL UP Connection on the SUSE WRKSTN.  My primary requirements is to  connect both Computers and does not entail INTERNET SERVICE thru an ISP.

QUESTIONS:

1 - Will a straight thru ethernet cable work or do I need a Ethernet Cross-Connect cable? If so where do I get it?
2 - Specifically, what IP addresses,  do I use and what procedures/files in  LINUX do I use to accomplish this.

All specific information and any general guidance will be gratefully aprreciated

Thank You

Comment
Watch Question

Top Expert 2005

Commented:
A straight-through cable won't work. You'll have to get a cross-over cable. Most any good PC shop should have or can make you one.

You'll want to use IP's taken from one of the RFC1918 address spaces, like 10.0.0.0 or 192.168.0.0. For example, you could use 10.0.0.1 & 10.0.0.2 (netmask 255.255.255.0) for the two machines.

Author

Commented:
Okay, so far so good. But additional clarification required?

The Windows Box currently has a 56K Modem Connection to the local ISP, DHCP enabled.

Will I need to manually change the IP address on the WINDOWS Box ea time I want to connect to the ISP?  Or is there a way to use multiple IP address on the Windows Box?  So that I can use the ISP DIALUP connection concurrently?  

Purpose:

To connect to the ISP to browse INTERNET developement documentation, ie not to share the Connection between the WINDOWS Box & the LINUX Box.

Thanks

Mike

Top Expert 2005

Commented:
Windows is pretty simple minded about networking. I'm not sure if you'll be able to access the Linux box, or vice versa, when dialed up to your ISP, but you shouldn't have to change anything in the windows network configuration to be able to connect to your ISP.

Author

Commented:
I agree with your statement

"but you shouldn't have to change anything in the windows  network configuration to be able to connect to your ISP."

However, refering to earlier solution

"You'll want to use IP's taken from one of the RFC1918 address spaces, like 10.0.0.0 or 192.168.0.0.  For example, you could use 10.0.0.1 & 10.0.0.2 (netmask 255.255.255.0) for the two machines."

I am sure I can set the IP address on the LINUX side by editing a file or using an IPCONFIG Tool or a similiar methodology/process.  Do I put both of the suggested IP address on the LINUX side?

If so,  where/how is the WINDOWS IP address(assigned), say  "10.0.0.1" setup/recognized on the WINDOWS side?

Mike

 
Top Expert 2005

Commented:
Sorry for the confusion over the IP's.

You need to configure the Linux box to have one of the IP's, say 10.0.0.1/255.255.255.0, and the PC to have the other, say 10.0.0.0.2/255.255.255.0. I'm not familiar with what the system admin tools are on SuSE, so I can't tell you exactly how to configure it. On the windows box you can right click on Network Neighborhood and select properties. While in there you'll want to set a Workgroup name for Samba and when you configure Samba on the Linux box you'll need to use the same workgroup name.

To be able to refer to each machine by a hostname instead of an IP you'll need to create a host record on each machine for the other's hostname. On Linux that definition will go into /etc/hosts and the contents might look something like:

127.0.0.1      localhost.localdomain localhost
10.0.0.1       linux.localdomain linux
10.0.0.2       windows.localdomain windows

On the PC you can do a similar thing with it's host file. I don't have a win98 box handy to look at and don't overly trust my memory of where the file is, but search for hosts.sam in the c:\windows. Rename the file to be hosts and make it look like:

10.0.0.1       linux.localdomain linux
10.0.0.2       windows.localdomain windows

Author

Commented:
The Points are yours.  However, I'd like to keep the ?, open for the next wk or so in case I have some specific questions with the exact process you mentioned above.  

However, if you would like me to close the ? now and formally award you the points. Fine By Me.

Thanks

Mike
Top Expert 2005
Commented:
Lets keep it open until everything is actually configured and working.

Author

Commented:
J
Sorry, I left this open so long.  I got sidetracked on a myriad of other tasks/project and other Boss Stuff.  I didn't check/haven't been back to EE, till this wk.  Your answers did work and I appreciate your help.

Mike

Author

Commented:
Thanks - See previos comment

Explore More ContentExplore courses, solutions, and other research materials related to this topic.