LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up network using two linux desktop pc and broadband modem cum router (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-network-using-two-linux-desktop-pc-and-broadband-modem-cum-router-899799/)

s_c_sahoo 08-27-2011 09:43 AM

Setting up network using two linux desktop pc and broadband modem cum router
 
I am Subash new to the interesting world of linux. I would like to setup a small network (LAN) of two computers 1st one running ubuntu 10.04 and other debian leny with xfce using nokia siemens modem cum router. Guidance, link to webpages describing the procedure shall be of imence help.

Subash

frankbell 08-27-2011 08:49 PM

I did this quite a while ago. I googled around and most of the links I found seemed to be much too complex what your goal.

This one isn't too bad.

http://www.northernjourney.com/opens...s/newb013.html

The way most persons do this is to use Samba, because it's pretty straightforward and also allows Windows connectivity.

The most helpful Samba reference I've found is Samba by Example.

http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Here's a summary:
  1. Create the directories you want to share. They should be in a regular user's home directory. For security reasons, do not share the home directory itself.
  2. Configure the directories to be shared. You can do this in Nautilus in the directory properties dialog.
  3. Configure Samba to start at boot, if it's not already so configured.
  4. Configure the sharing in the /etc/samba.conf file by editing it with a text editor (this must be done as with root privileges).
  5. Reload Samba so that it reads the new configuration, then test.
  6. Repeat until it works.

markush 08-28-2011 02:17 AM

Hello s_c_sahoo, welcome to LQ,

@frankbell: why Samba when the OP has only Linux-computers in his network?

@s_c_sahoo, I think you should take a look at nfs (nework-file-system) which is used when you want to share data between Unix/Linux-computers. If you want to use other network-services with the linux-computers, you should explain what you want to do in your network.

Here some links: http://www.linuxquestions.org/linux/...Small_Home_LAN http://www.linuxquestions.org/linux/...rking/Easy_NFS http://michaelminn.com/linux/home_network/ and here a home-network with more services: http://www.brennan.id.au/

Markus

jdkaye 08-28-2011 02:24 AM

Hi Subash,
I have that same setup at home with 2 linux Wheezy boxes. It really depends on what you want to do. File sharing? sftp will do the job and the "fish" protocol allows you to do this on a file manager. You can share a printer easily with cups. You can log on to the other computer with ssh, and so on. The more specific you are about the tasks the more we can help you. As Markus said above, Samba is only useful if you have Windows boxes to network to.
ciao,
jdk

s_c_sahoo 08-28-2011 09:11 AM

I sincerely thanks every one who posted reply to my post. I am really overwhelmed with the speed and the zeal with you are all coming forward to help a novice/ newcomer. Once again thanks to every one. I shall be posting the details very shortly.

frankbell 08-28-2011 09:10 PM

Quote:

Originally Posted by markush (Post 4455270)
@frankbell: why Samba when the OP has only Linux-computers in his network?

I think I mentioned, so as to allow Windows connectivity. I was thinking that there might be a visitor or family member who turns up with a Windows box.


All times are GMT -5. The time now is 02:22 PM.