Can't Navigate My LAN Or Ping
Nils Kassube
kassube at gmx.net
Thu Dec 4 07:33:08 UTC 2008
Leonard Chatagnier wrote:
> Using Intrepid 64 bit with Samba, kde4 file sharing setup, and static
> IP's. Intrepid set up DHCP by default and initially thought that may me
> the problem. Have since set up static IP on Intrepid but still no joy.
> Network Manager is still installed and I may need to remove it; but
> don't know.
I would uninstall network manager if you want to use static addressing.
OTOH I would always prefer DHCP, even if the DHCP server is set up to
always give the same address to individual interfaces.
> I can ping each machine(2) from itself but not to the
> other.
Are both machines on the same subnet? If you are using addresses in the
192.168.x.y address range, the default subnet mask of 255.255.255.0
limits the subnet to the y part of the addresses, i.e. the addresses may
only be different at the last number.
But how are your machines connected? Is there a direct cable between the
machines or is there a hub / switch / router between the machines?
> Both Nautilus and Dolphin worked in 8.04 but don't connect to
> server in 8.10. I have installed nfs on both systems and /etc/exports
> show the shared home folder(rw for each IP, hostname on my lan). When I
> run export sudo exportfs -a, I get output like
>
> exportfs: /etc/exports [1]: Neither 'subtree_check' or
> 'no_subtree_check' specified for export "ubuntu:/home/lchata". Assuming
> default behaviour ('no_subtree_check').
> NOTE: this default has changed since nfs-utils version 1.0.x
>
> for each IP and hostname in my lan.
This warning is not a real problem. Read "man exports" for the meaning of
the options but you should at least be able to mount the directory.
Anyway, first make the machines see each other, i.e. ping must work.
> 1. Do I even need samba and nfs to share files between machines and r/w
> to each home dir and tempdir in home which are both shared folders?
Depends on what you call "share files". If you want to mount directories,
I think NFS is what you want. Samba is only useful if you want to share
files with Windows machines.
Nils
More information about the ubuntu-users
mailing list