Solved

Commands for network resource discovery?

Posted on 2002-07-08
7
267 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS CLI issues with Tags 3 66
php ssh2_scp_send 1 49
AD LDAP LDS 3 48
linux(debian) mouse poor performance 4 18
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now