Solved

Commands for network resource discovery?

Posted on 2002-07-08
7
269 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS ELB 5 95
How to enable sync between two yum repo? 1 41
I NEED A "BARE" LINUX ... 9 57
WordPress: Debugging from my Windows 10 Desktop 6 39
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 …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

830 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