LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having problems setting up home network on p.c. Linux (https://www.linuxquestions.org/questions/linux-newbie-8/having-problems-setting-up-home-network-on-p-c-linux-897163/)

b4dave 08-13-2011 04:56 PM

Having problems setting up home network on p.c. Linux
 
I am a new user to Linux. I am trying to set up a home network with a windows machine and a Linux system. The distribution I am using is PC Linux. Will anyone please point me in the right direction. Thanks.:scratch:

ButterflyMelissa 08-13-2011 05:25 PM

1 Attachment(s)
Hi,

Okay, as far as the windows box goes...you're on your own, sorry. On the Linux side, there I can (maybe) help.

First of, how much do you know about networking? A "host" is a PC linked to an other one. I'd suggest you catalog wht needs to be linked. Draw it out. See the attachment. It does not need to adhere to conventions, as long as you know where what box is on the LAN.

Give every box an IP address. Stick to conventions. Some examples: 192.168.1.1/255.255.255.0 is prefered for the modem/router, a Linux box could have 192.168.1.5/255.255.255.0.

On Linux, you'd set this as follows

Quote:

/sbin/ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255
More tutorials are available on YoLinux, for example

I'd advise to give static IP addresses. If needed. If possible, your router has a DHCP server, that would make life easier.

In short, you need network cables and a switch, hook everything up as drawn out. If you'd assign IP addresses, note these on the sheet.

And...enjoy, networking is great stuff to learn!

Thor

yancek 08-13-2011 06:39 PM

PCLinuxOS has a simple GUI to use. Click the "Configure Your Computer" icon in your taskbar (panel), enter your password, click on Network Sharing. At the top you will see "Configure Windows Shares". It's simple from there, just follow the instructions on screen.

If you are having problems, you will need to be specific as to what exactly they are, what steps you have taken, what works, what fails.

frankbell 08-13-2011 06:49 PM

Here's a good article oriented to a home network using Windows XP and Fedora.

Even though some of the menu formats and wording my have changed in Windows, the basic procedure still applies.

http://www.reallylinux.com/docs/basicnetworking.shtml

This is the Samba resource I found most useful when I networked my Windows machines with my Linux machines:

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


All times are GMT -5. The time now is 08:20 PM.