LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-19-2002, 01:28 AM   #1
Wanderer
LQ Newbie
 
Registered: Dec 2001
Location: Phoenix, AZ
Distribution: Debian Woody
Posts: 12

Rep: Reputation: 0
Question Home Server Assistance?


I'm waiting for the switch from cox residential to cox business and I have a couple of questions. First, I'm connecting a Linux box to the Internet and then connecting my Windows PC to it.

1) I know I have to have two network cards on the Linux box. Is a crossover cable sufficient?

2) I have WinGate. Would that work for accessing the Linux box? Or is there a better solution?

3) Is Samba on the Linux box necessary? I don't want to share files or the printer. I figure I can FTP the stuff over to the Linux box (at my last company it was the only way to do it on certain Unix servers).

4) Apache as a webserver is fine. What do the distros include regarding mail servers and FTP servers? I'm going to use Red Hat 7.3 -- is Qmail part of that?

Okay, more than a couple of questions...

TIA,
Richard
 
Old 07-19-2002, 07:38 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
1) If you will just have one machine connected to the linux box then a crossover cable should be enough.

2) Don't know what WinGate is. But you can either setup telnet or ssh (ssh would probably be better) to access your linux box. Putty is a good client which you can use for that.

3) Samba isn't necessary.

4) It depends for each distribution what they include. Usually they include several different ones so you still get to choose. In my opinion proftpd would be a good choice for a ftp server.
 
Old 07-19-2002, 08:43 AM   #3
Wanderer
LQ Newbie
 
Registered: Dec 2001
Location: Phoenix, AZ
Distribution: Debian Woody
Posts: 12

Original Poster
Rep: Reputation: 0
WinGate (http://wingate.deerfield.com) allows file access to other machines on a network. It's a Windows program.

Proftpd is the one I've heard of. Is it in the distro or do I have to install that separately?

I've considered a KVM in order to view the Linux box w/o having to use another keyboard and monitor (or switching cables all the time). Is there something like VNC for Linux, that would make it so I wouldn't need the KVM?

I've used Putty for Windows. Pretty easy. I'll have to take a look at that again.
 
Old 07-19-2002, 09:22 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The url gives a 404. But if you want to have direct fileaccess then you will need to install samba on the linux machine. But ftp file access might be enough for you.

VNC is also available for linux. It's a very nice solution and shouldn't be hard to get running at all.
If the linux machine is just going to be running as a server then you wouldn't need to run any gui though. And then having telnet or ssh access through putty would be more then enough.
 
Old 07-19-2002, 10:13 AM   #5
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37 33.327 E 126 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 30
Re: Home Server Assistance?

Quote:
Originally posted by Wanderer
I'm waiting for the switch from cox residential to cox business and I have a couple of questions. First, I'm connecting a Linux box to the Internet and then connecting my Windows PC to it.

1) I know I have to have two network cards on the Linux box. Is a crossover cable sufficient?

2) I have WinGate. Would that work for accessing the Linux box? Or is there a better solution?

3) Is Samba on the Linux box necessary? I don't want to share files or the printer. I figure I can FTP the stuff over to the Linux box (at my last company it was the only way to do it on certain Unix servers).

4) Apache as a webserver is fine. What do the distros include regarding mail servers and FTP servers? I'm going to use Red Hat 7.3 -- is Qmail part of that?

Okay, more than a couple of questions...

TIA,
Richard
Hi!

1. Yea, as another poster said, for only one other PC, crossover should be enough.

2. If you want your setup to look like fig 1, then wingate would not be neccesary

Code:
Fig 1

______________
|                       |                 ________                                ______
|  INTERNET       |-----ETH0= | LINUX  |=ETH1---(crossover)--|WIN| 
|_____________|                 |_______|                                |____|
If, on the other hand you want your setup to look like fig 2, then you'd need wingate, and you'dd have to set up linux to use DHCP.

Code:
___________
|                  |        _____________                         __________
|  INTERNET  |------| Win w/ wgate  |---(crossover)--|  LINUX     |
|__________|        |_____________|                       |_________|
If you want to use the setup in fig 1, then you won't need any additional software for windows, just set it up to get an IP from the the linux box via DHCP, or set a static IP and tell the win box to use linux as the default gateway.

You'dd also need to set up IPtables on the linux box.

3. If you don't want to share printers or anything, then samba would not be neccesary. FTP would do just fine for file transfers.

4. I don't know what software comes with RH.

Good Luck!!
RefriedBean

PS, I know my ASCII art sucks
 
Old 07-24-2002, 11:41 AM   #6
Wanderer
LQ Newbie
 
Registered: Dec 2001
Location: Phoenix, AZ
Distribution: Debian Woody
Posts: 12

Original Poster
Rep: Reputation: 0
Okay, I'm using the figure 1 setup. What do I need to tell Windows to access the Internet from the PC via Linux? Do I need to install the DSN server on the Linux box?
 
Old 07-24-2002, 11:42 AM   #7
Wanderer
LQ Newbie
 
Registered: Dec 2001
Location: Phoenix, AZ
Distribution: Debian Woody
Posts: 12

Original Poster
Rep: Reputation: 0
Oops...make that DNS
 
Old 07-24-2002, 01:01 PM   #8
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
You need to tell windows that the nix's internal ip is the default route and that's it.

You will also need to write iptables/ipchains rules to masquerade the internal network out to the internet.
 
Old 07-24-2002, 01:05 PM   #9
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
hi,


i dont know if this would apply to you but i use a linux distro taken from debain ( i think ) its called LEAF or some call it LRP ( i cannot remember what it stands for ) but its basic function is to act as a router and can do many more things for example a web server, a mail server, dns server, or i use one for processing SETI data

if you want a look at http://leaf.sourceforge.net

once you have every thing set up change your settings in windows to: gateway = ip address of the linux box and add the ip address in to the dns settings as well


hope this helps
antken
p.s. dont forget to click the add button when you type the ip address in for the gateway otherwise windoze will forget it!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
auto.home assistance ejkeebler Linux - General 1 11-21-2005 11:29 PM
auto.home assistance ejkeebler Linux - Networking 2 11-07-2005 06:09 PM
smb.conf assistance on read/write server jer2eydevil88 Linux - Newbie 9 09-28-2005 08:26 PM
making a webpage server and home network server on the same computer ferretmanus Linux - Networking 1 09-11-2003 11:45 AM
Need assistance on setting up a server wa03 Linux - Networking 1 09-04-2000 04:28 PM

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

All times are GMT -5. The time now is 03:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration