LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2005, 02:17 PM   #1
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.

Last edited by whansard; 05-18-2005 at 05:41 PM.
 
Old 05-19-2005, 07:53 AM   #2
yanix
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
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)
 
Old 05-21-2005, 11:12 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Original Poster
Rep: Reputation: 65
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

second:
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 803 mountd
100005 1 tcp 806 mountd
100005 2 udp 803 mountd
100005 2 tcp 806 mountd
100005 3 udp 803 mountd
100005 3 tcp 806 mountd

machine i'm trying to share, which doesn't have access to the internet.
cat exports
/ 192.168.10.100(rw)

i've changed 100 things and keep getting
mount: RPC: Program not registered
 
Old 05-21-2005, 03:15 PM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network seems slow just on linux machine thinkweb Linux - Networking 2 03-09-2005 02:07 PM
Memtest on a headless machine? Moses Moore Linux - Hardware 1 12-17-2004 02:31 PM
linux machine does not connect to the network in windows network Bzuco Linux - Networking 2 07-19-2004 04:44 AM
linux machine on my windows network ??? wynter919 Fedora 2 12-29-2003 09:31 PM
Cannot see Linux machine from Network Neighborhood rwelch Linux - Networking 13 03-09-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration