LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-30-2003, 05:42 AM   #1
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Rep: Reputation: 15
Searching Tool for LAN


Hello Everybody!

Does anyone use (or has ever used) some tool for searching for share files through a LAN. I searched the web and found only solutiions that need MySQL+PHP+Apache. I don't have all the time needed to install and configure all this stuff for a LAN search utility so if anybody is aware of a stand-alone utility, PLEASE let me know!
 
Old 12-30-2003, 01:04 PM   #2
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Rep: Reputation: 15
how about ftp and ls?

do you mean something that will search the network for a specific file? What protocol does your lan use?
 
Old 12-30-2003, 08:57 PM   #3
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
Well, I don't know what you mean about the protocol, but things go like that: My computer is connected to a Loca Area Network along with 30-40 other computers. Many of them share some files. My question is: Instead of browsing the LAN with xsmbrowser is there any tool to search for files, for example I want to find some
tar.gz files by just typing *.tar.gz as I do in my local disk?
I hope i made myself understood.
Thanx a lot anyway!
 
Old 12-31-2003, 09:25 AM   #4
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: CentOS 5
Posts: 381

Rep: Reputation: 30
Well, you mount them `mount -t smbfs`, as you are using windows SMB protocol. When you have mounted them you can use the linux find command.

Usage:

mount -t smbfs -o username=uname,password=foobar //computer/share /mount/point

find /mount/point -name '*.tar.gz' -print

HTH
 
Old 01-13-2004, 06:26 PM   #5
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Building on the advice of PNH73, you could write a script that will mount each network share in turn and look for the file given as a parameter, probably in single quotes in the script so it doesn't expand until the command is executed (for wild cards). From your original description, I don't know if these shares are always mounted to begin with or not.

Maybe the first part of the problem description should be whether you can use samba to produce a list of available network shares at any point of time?
 
Old 01-14-2004, 10:22 AM   #6
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
Well, thank you for your help, I will try to write a script... BTW I found smbc, it's very early version but it is interesting....

See you!
 
Old 01-23-2004, 06:06 AM   #7
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
I did it!

Well, I managed to write a simple script which finds and mounts all the shares (samba) from the Local Network. If someone thinks that it could be of help, I can send it to her/him...

Well after all I gues this is way I prefer Linux to everything else, when there is something you don't like it's up to you to make it better....


Viva Linux!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
LAN traffic monitoring tool?? kartheekpn Linux - Software 1 05-06-2005 05:39 AM
Lan messenger tool vossie Linux - Networking 3 11-26-2003 05:16 PM
URLSCAN tool MS = Linux tool ? OB1 Linux - Security 3 10-05-2002 12:58 AM
Simple LAN admin tool Ryan_Sutton Linux - Networking 2 06-02-2002 10:48 AM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration