LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Networking Newbie (https://www.linuxquestions.org/questions/linux-networking-3/networking-newbie-57430/)

Nice Guy Eddie 04-30-2003 02:33 AM

Networking Newbie
 
Hey Guys,
I'm running Slackware 9.0,
I'm a newbie to networking Linux. (Windoze is easy)
I would love to know how to network two linux machines together . (At the least to be able to ping the other PC).

If anybody can help me I'd be greatfull.
Thanks in advance...

Toasti 04-30-2003 02:41 AM

how do you connect your machines??
crosslink or via a router?

via router it should work if both have an ip.


greets
toasti

Nice Guy Eddie 04-30-2003 02:51 AM

Sorry,
I't just a ethernet network I want to connect to the net with.
Maybe set up a firewall or gateway.

Cheers

HerrSprengstoff 05-16-2003 12:20 PM

It's an ethernet network? Meaning connect them to a network which exists already? Meaning you have a router up and running? or do you mean you want to have one of them act as a firewall or gateway?

bentz 05-16-2003 01:25 PM

You are familiar with Windows networking. You already understand the physical connections between two computers that are networked. You are probably familiar with IP addressing.

Now, onto unfamiliar territory. Do you want to configure static addresses, or DHCP? The files you're after are probably located in /etc/sysconfig/network (TCP/IP Settings), /etc/sysconfig/ifcfg-eth0 (Per-interface TCP/IP Settings), and /etc/resolv.conf (DNS). I say probably because I'm not sure for Slack. Slack isn't ususally a beginner distro...

I hope this helps, even ever so slightly.

2damncommon 05-16-2003 08:50 PM

Quote:

I would love to know how to network two linux machines together .
The PCs are connected VIA 1 crossover cable, are both plugged into a hub, or are both connected to the internet.
With Slackware, use 'netconfig' to configure your Network cards to the type of connection you need, static or DHCP.
Add machine names to /etc/hosts (man hosts, if needed) to use machine names rather than IP.
You should be able to ping, ssh (if sshd is running), if they are connected correctly. NFS takes a little more work. Samba much more.
Quote:

Networking Newbie...I'm a newbie to networking Linux. (Windoze is easy)
LOL
I learned on Linux and think just the opposite is true.
I configure each PC with an IP and connect to it.

Nice Guy Eddie 05-17-2003 07:01 AM

Hey Guys,

Turns out it was a bloody faulty NIC.
Thanks anyway.:p
Appreciate it.


All times are GMT -5. The time now is 09:04 AM.