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... |
how do you connect your machines??
crosslink or via a router? via router it should work if both have an ip. greets toasti |
Sorry,
I't just a ethernet network I want to connect to the net with. Maybe set up a firewall or gateway. Cheers |
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?
|
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. |
Quote:
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:
I learned on Linux and think just the opposite is true. I configure each PC with an IP and connect to it. |
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. |