Click to See Complete Forum and Search --> : Computers can't talk!


Rickead2000
06-08-2003, 11:40 AM
Hi,

I have two linux boxes now, and I am trying to network them. I have set them up with static IPs, and they appear to be able to ping each other fine. However, it would seem that is the limit to their abilities.

I am trying to share the internet connection between the two machines.

ifconfig eth0 on this machine, the one with internet access gives me:-

eth0 Link encap:Ethernet HWaddr 00:04:E2:3D:D9:8C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:110 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:16 dropped:0 overruns:0 carrier:32
collisions:0 txqueuelen:100
RX bytes:10037 (9.8 Kb) TX bytes:6030 (5.8 Kb)
Interrupt:9 Base address:0x2000


And on the other machine, which cant access the internet, gives me

eth0 Link encap:Ethernet HWaddr 00:40:D0:20:A3:51
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6210 (6.0 Kb) TX bytes:22391 (21.8 Kb)
Interrupt:10 Base address:0xe000.


I have put the internet nameservers from this machine into /etc/resolv.conf on the other machine, but still does not work.

Incidentally, I tried to use DHCP before, but the other machine just couldn't get an IP, nomatter what I tried. The firewall on both machines is off.

Something I noticed was on this machine, when I try to connect to an NFS Share, I get...


[root@localhost root]# mount -t nfs 192.168.0.2:/root /mnt/NFS-Shared
mount: RPC: Program not registered
[root@localhost root]#


Please help!

viperlin
06-08-2003, 12:05 PM
first: computers can talk (http://www.cstr.ed.ac.uk/projects/festival/)

second: i think you need to set up traffic routing on the computer that is sharing it's net connection.

third: try installing the program "RPC" for the NFS mounting, it seems to want it, whatever it is

ven0m
06-08-2003, 12:17 PM
Something I noticed was on this machine, when I try to connect to an NFS Share, I get...
[root@localhost root]# mount -t nfs 192.168.0.2:/root /mnt/NFS-Shared
mount: RPC: Program not registered
This should help youhttp://www.ibiblio.org/pub/Linux/docs/HOWTO/NFS-HOWTO
if not.
Can you give more detail on how you setup your NFS server.
i.e.
your /etc/exports
where or not you have portmap and NFS loaded
where or not you have a firewall
also your distro