Solved

Commands for network resource discovery?

Posted on 2002-07-08
7
268 Views
Last Modified: 2013-12-15
I was wondering how one would find network resources in Linux.  Both graphically and command-line.  For instance, is there a way to know about other Linux machines that might exist on the same subnet?  I think I would be able to figure out how to mount the file systems once I find them, but I don't really know how network resource discovery works in Linux.

Thanks for the help,
0
Comment
Question by:wgilster
  • 3
  • 2
  • 2
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7140223
there is no general way, but numerous other ways to do it.
If you're not experianced to networks, I highly recommend that you ask other users using Linux on the subnet to tell you their hostname.
Then it's very simple:
   mount other-hostname:/name-of-share /mountpoint

This is also possible graphically, but depends on the used WindowManager and Desktop, each has its own solution for it.
0
 
LVL 1

Author Comment

by:wgilster
ID: 7140625
So are you saying that resource discovery can only be accomplished graphically?  Isn't there some kind of broadcast command?  Graphically, I'm using KDE on RHL V7.1.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7141398
even the RPC protocoll (which is used by NFS) can handle broadcast, I'm nit aware of any standard functionality with broadcast. But there exist 3'rd party products which do it.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 15

Accepted Solution

by:
samri earned 50 total points
ID: 7143821
Take a look at Cheops (http://www.marko.net/cheops/).  I think in combination with Nmap http://www.insecure.org/nmap/) it could be a good tool to start up with.

cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 7143850
wgilster,

forgot to include this;

Some of the features : http://www.marko.net/cheops/features.html

I hope it would be a good tool to start with.
0
 
LVL 1

Author Comment

by:wgilster
ID: 7143922
nmap looks great!  It has both graphical and command line.  Just what I was looking for!
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7143981
about your mount question, I found a broadcast solution:

rpcinfo -b 100005 3|sort -u|awk '{print "showmount -e "$2}'|sh

# probably you need to replace 3 by 2 or 1, or use all three variants
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question