> > After my 2010.1 computer automatically upgraded itself to 2010.2 I can
> > not longer mount my 2007.0 machine using /net/machinename/home/...
> > I've looked at the /etc/autofs/... config files on the 2010.2 machine,
> > and all looks fine. Nothing changed on the 2007.0 machine. The 2010.2
> > machine can still ping and SSH to the 2007.0 machine.
> > Where should I look to try and be able to mount network drives using
> > 2010.2 machine?
> First things first can your 2010.1 machine see the service being offered by
> the 2007 machine?
> [sudo] password for sidknee:
> Starting Nmap 5.21 ( http://nmap.org ) at 2010-12-26 11:30 GMT
> Nmap scan report for server (192.168.2.50)
> Host is up (0.0032s latency).
> rDNS record for 192.168.2.50: server.sidshouse.net
> Not shown: 988 closed ports
> PORT STATE SERVICE
> 21/tcp open ftp
> 22/tcp open ssh
> 25/tcp open smtp
> 80/tcp open http
> 110/tcp open pop3
> 111/tcp open rpcbind
> 143/tcp open imap
> 443/tcp open https
> 993/tcp open imaps
> 995/tcp open pop3s
> 2049/tcp open nfs
> 10000/tcp open snet-sensor-mgmt
> Nmap done: 1 IP address (1 host up) scanned in 0.26 seconds
Starting Nmap 5.21 ( http://nmap.org ) at 2010-12-27 10:50 PST
Nmap scan report for santa (192.168.1.3)
Host is up (0.013s latency).
rDNS record for 192.168.1.3: santa.cosgrove.com
Not shown: 992 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
139/tcp open netbios-ssn
631/tcp open ipp
2049/tcp open nfs
4000/tcp open remoteanything
4002/tcp open mlchat-proxy
MAC Address: 00:A0:CC:59:82:5E (Lite-on Communications)
Nmap done: 1 IP address (1 host up) scanned in 1.55 seconds
> explicitly try and mount the 'share'?
sudo mount -t nfs -o rw santa:/home /net/santa/home
tries to grab the external (wild internet) interface IP of santa
and mount that. But, I block NFS to the wild with shorewall and
with my DSL modem.
This:
sudo mount -t nfs -o rw 192.168.1.3:/home /net/santa/home
works just fine. That means that NFS is working. Autofs
might be working, but it's based on name lookup and that seems
suspicious to me.
My /etc/hosts entries for santa are thus:
192.168.1.3 santa.cosgrove.com santa
75.75.195.30 Xsanta.cosgrove.com
Ping works correctly:
PING santa.cosgrove.com (192.168.1.3) 56(84) bytes of data.
64 bytes from santa.cosgrove.com (192.168.1.3): icmp_seq=1 ttl=64 \
time=0.790 ms
64 bytes from santa.cosgrove.com (192.168.1.3): icmp_seq=2 ttl=64 \
time=0.777 ms
But, autofs is tries to do a DNS lookup of santa and comes up
with the external IP address. This DID NOT happen like this
until the auto update from 2010.1 to 2010.2. I searched the web
a bit for things like "/etc/hosts ignored". Someone there wrote
that /etc/nsswitch.conf needs to have "files" before DNS things
on the "hosts:" line. My file wasn't like that. The file had an
August 2010 date on it, so I didn't think that it would be part
of 2010.2. Even so, I tried swapping the putting "files" before
the DNS stuff, which had no effect.
I'm stuck again.
I hope it's OK, netequette-wise, for me to move this discussion to
comp.os.linux.networking. This message is crossposted there with
followups set.
Thanks!
--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.