Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Finding Network shares with samba

Finding Network shares with samba
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2003
Status: Offline
Reply With Quote
Jan 3, 2004, 09:31 PM
 
hi! im pretty new to macs (just got my ibook 2 weeks ago) and have a couple of questions regarding networking. Ive learned that using browse from the finder tends to crash it or do other crazy stuff when looking for windows shares. I also cant unmount shares when i enter them that way, so ive been using the connect to server method which is much more stable.

My problem is finding shares on a network when i dont know the smb addresses of the computers. I could use browse, but that locks up the finder and i think it only sees shares that are in the same workgroup as my comp.

So my question is, how or what commands do you use in the terminal to find the ip addresses of all the computers in a network?

i know nmblookup -m WORKGROUP but that only shows the comps in the workgroup your a member of. findsmb also only finds comps in your workgroup. i either need a command that finds what the name of the workgroup the comps are on or what their ip is!

thanks in advance!
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status: Offline
Reply With Quote
Jan 4, 2004, 09:10 AM
 
I love smb threads. I thought about posting this myself, but the interessert seems rather dead

Well, this is what I did, and this works great here for finding workstations.

smbtree -NSb

Then I also added this to my .tcshrc (I'm on 10.3, but don't like Bash).

alias smb 'smbtree -NSb'

Then I only need to type 'smb' in the Terminal, and everything is revealed. Atleast I have had great success with this.
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:46 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2