LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2005, 03:24 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Samba again


Hi,

I am using Fedora Core 1 and connect to a network dominated by windows users

I've used Samba to share my drive in the network

To access the files of other users i do

[root@localhost root]$ smbclient \\\\<i.p./name of particular host>

I then get the description of the drives of the host and then to access any shared drive

i do

[root@localhost root] mount -t smbfs //<i.p. of host>/<shared drive> /mnt/share

It works fine and i am able to access the files

But it is kind of cumbersome coz i have to remember the i.p. of every host i want

to get the files from. Also there are many hosts i don't know the i.p. of

Isn't there any command (there ought to be except that i don't know yet)

that i type and be able to view/browse through the entire network

or any utility that might help me in doing so.

Thanx
 
Old 02-18-2005, 04:15 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well I don't know how to do what you want exactly but you can also use names to connect to other PCs. For example I connect to ////BENEDEN instead of 192.168.1.100 If the network has a common name it could be easier than using the IP addresses.

There's a networking forum over here where you'll probably get more answers though. So I'll ask if a mod will move the thread
 
Old 02-18-2005, 06:29 AM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Well what i actually want is to be able to view who all in my network/workgroup

and be able to know their i.p's so that i can mount and access their respective

drives without having to remember their i.p's

Well Thanx neways.

I'll try and post this question in the networking forum
 
Old 02-18-2005, 06:43 AM   #4
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
hi
somewhere is smbfstab (/etc/smb/.)

over there you have the mounts. and the mountig takes place in boot time

I used to get ten boxes with shares, in a folder with subfolders for each share. and worked fine

I got problems only when a box was shut down, I had to dismount it , so i could go on
 
Old 02-18-2005, 07:39 AM   #5
addison014
LQ Newbie
 
Registered: Feb 2005
Distribution: SuSE 9.2 64bit
Posts: 8

Rep: Reputation: 0
check out LinNeighborhood. its a nifty gui app that lists network computers by their hostnames if it can find them (which is pretty much all the time). its real easy to mount/unmount their drives too. it comes standard on knoppix-std 0.1b. but you can download the latest version at http://www.bnro.de/~schmidjo/

hope that helps
 
Old 02-20-2005, 06:11 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yes, you certainly can and there is a command.

Quoting straight out of a book from Oreilly on SAMBA:
Quote:
The Samba distribution also comes with a small set of Unix command-line tools:


findsmb

A program that searches the local network for computers that respond to SMB protocol and prints information on them.

make_smbcodepage

A program used when working with Samba's internationalization features for telling Samba how to convert between upper- and lowercase in different character sets.

make_unicodemap

Another internationalization program used with Samba for compiling Unicode map files that Samba uses to translate DOS codepages or Unix character sets into 16-bit unicode.

net

A new program distributed with Samba 3.0 that can be used to perform remote administration of servers.

nmblookup

A program that provides NBT name lookups to find a computer's IP address when given its machine name.

pdbedit

A new program distributed with Samba 3.0 that is helpful for managing user accounts held in SAM databases.

rpcclient

A program that can be used to run MS-RPC functions on Windows clients.

smbcacls

A program that is used to set or show ACLs on Windows NT filesystems.

smbclient

An ftp-like Unix client that can be used to connect to SMB shares and operate on them. The smbclient command is discussed in detail in Chapter 5.

smbcontrol

A simple administrative utility that sends messages to nmbd or smbd.

smbgroupedit

A command that can be used to define mappings between Windows NT groups and Unix groups. It is new in Samba 3.0.

smbmnt

A helper utility used along with smbmount.

smbmount

A program that mounts an smbfs filesystem, allowing remote SMB shares to be mounted in the filesystem of the Samba host.

smbpasswd

A program that allows an administrator to change the passwords used by Samba.

smbsh

A tool that functions like a command shell to allow access to a remote SMB filesystem and allow Unix utilities to operate on it. This command is covered in Chapter 5.

smbspool

A print-spooling program used to send files to remote printers that are shared on the SMB network.

smbstatus

A program that reports the current network connections to the shares on a Samba server.

smbtar

A program similar to the Unix tar command, for backing up data in SMB shares.

smbumount

A program that works along with smbmount to unmount smbfs filesystems.

testparm

A simple program for checking the Samba configuration file.

testprns

A program that tests whether printers on the Samba host are recognized by the smbd daemon.

wbinfo

A utility used to query the winbindd daemon.
And I'll move this to the networking forum as it will definitely pertain more there.

Cool
 
Old 02-20-2005, 07:26 AM   #7
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Thanx,

It was of great help.
 
Old 02-20-2005, 07:29 AM   #8
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
I also found one more way.

In the nautilus location bar if i type smb:/// it gives me

all the workgroups and computers in my local network

Thanx.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration