Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
2 linux machine network, one headless.
I want to set up a second computer behind my main one that really has nothing but a power cable and the crossover network cable going to it. I want to use the second machine only from the first, and may occasionally run windows for a few minutes on the second machine. The second machine will be for cpu intensive tasks mostly, and i would like to control them from a console or X term. I may or may not wish to let the second machine access the internet through my dsl connection. The second machine will be off a lot of the time, and i will only turn it on when i need it. Maybe for making a half dozen divx movies in a row or that sort of thing.
I don't even know most of terms i would need to know to search for howto's. Please point me to a howto that is for what i want to do or close. Thanks.
Edit: I was just thinking of some more things that would be relevant. I'm using an old heavily modified redhat 6.2 on my main machine, with a stripped down kernel, so if i need any extra kernel modules built in for this, i would need to know.
Edit again: I think I've got what I need. I guess I'll see.
You should probably look for topics for setting up a linux box as a router.
If you set up a second network card on your first machine to your second,
you can control internet access to the second machine by making your first machine a router.
(Assuming your first machine allways can get to the internet)
enabling/disabling ip forwarding on the first machine can be done by
setting the file /proc/sys/net/ipv4/ip_forward to 0 (disable) or 1 (enable).
(Not sure if its the same for red hat, Im on debian)
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
I've absolutely exhausted myself over 3 days. the sshd crap and xforwarding only took a day. I've spent so many hours trying to get nfs up it's pathetic. I bet 20 hours. I just keep getting"mount: RPC: Program not registered". I've spent the past few hours trying to get coda up, but no go.
here's nfs. 1st machine
rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 1 tcp 32769 nlockmgr
100021 3 tcp 32769 nlockmgr
100005 1 udp 796 mountd
100005 1 tcp 799 mountd
100005 2 udp 796 mountd
100005 2 tcp 799 mountd
100005 3 udp 796 mountd
100005 3 tcp 799 mountd
Just a few hints. Work through this article step by step. It looks like you have rpc working fine. I got stuck at the same point and found that adding the netmask to the export address solved the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.