LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 02-06-2003, 07:18 PM   #1
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Viewing list of avaliable windows shares


Im running redhat 8.0 (newbie) and have gotten samba working pretty well with the windows machines on my LAN. What id like to know is, is there a way to see what shares are avaliable on a windows machine from the linux box? A command like "net view" in windows. I will be using this primarily from my red hat 8.0 machine to xp pro machines, but would like to know how to use it on 9x platfroms also. Thanks for any insight.
 
Old 02-06-2003, 09:12 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
man smbclient

better yet, get a gui based network browser. search google.com/linux for xsmbrowser.
 
Old 02-06-2003, 11:09 PM   #3
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
xsmbrowser...perfect. thank you.
 
Old 02-07-2003, 03:13 AM   #4
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
--to see shares
smbclient -L computername -U username
--get a list of computers in network
nmblookup "*" -T
--- see all connections
smbstatus
---logon to some share
smbclient //computer/share -U Username
 
Old 02-07-2003, 10:28 PM   #5
dibakar
LQ Newbie
 
Registered: Feb 2003
Posts: 22

Rep: Reputation: 15
You can also try "Nautilus"...

Dibs
 
Old 02-07-2003, 11:20 PM   #6
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
Noerr..thanks alot, those commands are very helpful.

I will check out nautilus when i get a chance this weekend.

One more question, im looking to write a shell script file that when executed automatically mounts a few samba mount points. the problem i am having, is in order to mount redhat needs to be logged in as root. is there a way to change this permission so i can get the mounting automated, or am i going about this all wrong? any more help is rad! thanks!
 
  


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
Viewing Windows shares through Linux lin00b Linux - Networking 0 07-22-2004 03:13 AM
Viewing shares from windows XP eladla Linux - Networking 7 06-29-2004 05:16 PM
viewing windows shares linus Linux - Networking 5 01-14-2002 03:50 PM
Mounting samba shares as they become avaliable bobthebat Linux - General 0 11-08-2001 06:39 PM
Konqueror and viewing smb shares parapente Linux - General 0 09-09-2001 11:52 AM


All times are GMT -5. The time now is 05:08 AM.

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