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 08-25-2005, 08:32 PM   #1
Smiles483
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora, Suse
Posts: 3

Rep: Reputation: 0
Tutorials/Guidance on setting up a Linux file Server (on a Windows network)


Hi all. I've been playing with Linux off and on for a couple years and have finally decided to make a serious effort at switching some of my computers to Linux.

The first task I've decided to undertake is to replace my Windows 2003 server with a Linux server. The primary purpose of this server will be as a file server for the other 4 computers in my home. Later on, I may use it as a staging server for some web development projects, but that is a ways down the road.


Before I get into the details of my question, here is a quick overview of my home network:
5 Computers: 4 running Windows XP and 1 running Fedora Core 4.
1 Linksys BEFSR81 Cable/DSL Router providing NAT Firewall and DHCP


So far, I've gotten Fedora Core installed and running and can browse the Internet from it.

Unfortunately, that is as far as I've gotten. So I'm looking for some guidance or pointers to documentation/tutorials that can help me get this setup.

Here are my specific problems:
1. Cannot determine what the IP address is of the Linux server
As I indicated above, I can browse the Internet from it. However the Linksys Router doesn't list it in the DHCP Clients table and Fedora doesn't appear to have the ifconfig tool installed (which a Google search identified as the Linux equivalent to Windows ipconfig).

2. Windows computers cannot see (or ping) the Linux box
This is more than likely due to #1 above. I do have Samba installed, but haven't done any configuration on it yet.

3. The Linux server cannot ping or otherwise communicate with the other computers on my network via their machine names (but can ping via their IP Address)
I do not have an internal DNS Server up on my network at the present time (I did have the Win2K3 box doing this for a while when I was playing with Active Directory).


So really, it seem like the first thing I need to do is make sure that the networking is fully functional on the Linux box before worrying about getting Samba setup. I just need a little push in the right direction.

Thanks,
Smiles.
 
Old 08-25-2005, 09:02 PM   #2
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
Re: Tutorials/Guidance on setting up a Linux file Server (on a Windows network)

Quote:
Originally posted by Smiles483
Hi all. I've been playing with Linux off and on for a couple years and have finally decided to make a serious effort at switching some of my computers to Linux.

The first task I've decided to undertake is to replace my Windows 2003 server with a Linux server. The primary purpose of this server will be as a file server for the other 4 computers in my home. Later on, I may use it as a staging server for some web development projects, but that is a ways down the road.


Before I get into the details of my question, here is a quick overview of my home network:
5 Computers: 4 running Windows XP and 1 running Fedora Core 4.
1 Linksys BEFSR81 Cable/DSL Router providing NAT Firewall and DHCP


So far, I've gotten Fedora Core installed and running and can browse the Internet from it.

Unfortunately, that is as far as I've gotten. So I'm looking for some guidance or pointers to documentation/tutorials that can help me get this setup.

Here are my specific problems:
1. Cannot determine what the IP address is of the Linux server
As I indicated above, I can browse the Internet from it. However the Linksys Router doesn't list it in the DHCP Clients table and Fedora doesn't appear to have the ifconfig tool installed (which a Google search identified as the Linux equivalent to Windows ipconfig).

2. Windows computers cannot see (or ping) the Linux box
This is more than likely due to #1 above. I do have Samba installed, but haven't done any configuration on it yet.

3. The Linux server cannot ping or otherwise communicate with the other computers on my network via their machine names (but can ping via their IP Address)
I do not have an internal DNS Server up on my network at the present time (I did have the Win2K3 box doing this for a while when I was playing with Active Directory).


So really, it seem like the first thing I need to do is make sure that the networking is fully functional on the Linux box before worrying about getting Samba setup. I just need a little push in the right direction.

Thanks,
Smiles.
1. For your FC box, run the command:

ifconfig -a

This will give you the network interface information, including your IP. However, unless you have to constantly add new machines to your network, I would recommend turning off the DHCP server at the router and simply assign your own ip addresses. This will simplify many things later on.

2. FC may install with a firewall turned on that is blocking ICMP (ping). This could be why you cannot ping it, and why the router doesn't 'see' it. If so, you don't need to turn the firewall (on FC machine) off necessarily. You can work on that later if you want to.

3. Your windows machines are advertising machine names using net-bios. Im not sure how Linux would handle that....

Anyway, setting up samba to be your file server is easy, just find some howtos. If you want to set it up as a Primary Domain Controller, then it get's tricky. I set up a samba server, with access to 4 windows machines very easily.

Cheers,
Danimal
 
Old 08-25-2005, 09:16 PM   #3
Smiles483
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora, Suse
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks danimalz,

I'll try turning off DHCP and assigning fixed IPs tomorrow.

I also just tried your suggestion of running ifconfig -a in a terminal window but got the message back "bash: ifconfig: command not found". I tried both as a normal user and root (just in case this was a permissions issue). I also did a "find ifconfig" which returned no matches.


Thanks again,
Smiles.
 
Old 08-25-2005, 10:49 PM   #4
Ike M.
Member
 
Registered: Aug 2005
Posts: 60

Rep: Reputation: 15
I wonder...

While you could set things up at your house in the way that was described, if you have already PURCHASED all of this software, I cannot help but help to wonder what is making you want to do this. I think that if you really look into the true capabilities of the software that you have already purchased, you will see that it is in fact, probably more capable than your new config is going to be, depending of course on what specifically you are going to be doing, how often, and how much of it, etc. I would definitely be interested in seeing the results of a side by side comparison
 
Old 08-26-2005, 05:27 AM   #5
Smiles483
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora, Suse
Posts: 3

Original Poster
Rep: Reputation: 0
Re: I wonder...

Quote:
Originally posted by Ike M.
While you could set things up at your house in the way that was described, if you have already PURCHASED all of this software, I cannot help but help to wonder what is making you want to do this. I think that if you really look into the true capabilities of the software that you have already purchased, you will see that it is in fact, probably more capable than your new config is going to be, depending of course on what specifically you are going to be doing, how often, and how much of it, etc. I would definitely be interested in seeing the results of a side by side comparison
I have purchased all of the MS Software through a MSDN Subscription (which has since expired).

My reasons for doing this have a lot to do with curiosity and increasing my knowledge of other platforms. Being a professional software developer, I'm more and more frequently seeing customers that are either considering Linux in some fashion or have already implemented it to some degree (though these folks are still vastly in the minority at the moment).

This is also something of a futile jesture opposing things like Product Activation, CD Key verification, and DRM. :-)


Thanks for your comments.

Smiles.
 
  


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
Need help in setting up linux file server pls terence8888 Linux - Newbie 3 08-14-2005 05:08 AM
Question on setting up a home network and a file server centered effect Linux - Networking 5 07-26-2005 07:38 AM
Setting up linux networking on windows server david.cormie Linux - Networking 8 07-22-2004 08:20 AM
Setting up Linux network with 20PCs and I server jbob75 Linux - Networking 5 05-13-2004 06:02 PM
Need guidance -- setting up DNS Server imsam Linux - Newbie 1 02-09-2004 12:20 AM

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

All times are GMT -5. The time now is 12:12 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
Open Source Consulting | Domain Registration