Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browsing Windows Network From Linux Possible?

Status
Not open for further replies.

gwinn7

Programmer
Feb 10, 2001
1,004
US
Okay, can someone explain how to browse Windows computers and their shares from a LINUX box?

Looking through some Linux/Samba materials lends information about how to browse Linux shares from a Windows desktop, but not the other way around. How can I do this, if at all?

Thanks in advance,
Gary
gwinn7
 
Hi,

Depends what you mean by browsing - for exploring known shares the other way is to mount the share into the linux file system like you would a CD or whatever.

$ mount -t smbfs -o user=joeuser,passwd=winloser //ntserver/share1 /mnt/ntserver

(where /mnt/ntserver is an example of a pre-existing empty directory on linux that serves as the mount point)

After that you can use all the normal linux stuff to navigate around the share.

Hope this helps

 
hi,
just reading your post ifincham, and was wondering for the actual user name and password, is that the windows password for the computer your trying to browse?
and i assume ntserver is computer name?
 
Hi,

Yes - thats the windows userid/password. If it allows guest access you may get away with leaving out those options or you can use 'guest' as the userid.

ntserver is indeed the 'netbiosname' of the windows box (first part of a unc path) - the example is roughly equivalent to the DOS :

c:\> net use x: \\ntserver\share1
c:\> dir x:

Regards

 
Some of the posts seem to assume that I already know what the name of the computer is. What I am looking for is a way to browse the computers within the workgroup. In Windows, all I have to do is double-click network neighborhood and there is a list of machines. I will also try Bubak's suggestion.

Thanks for all the feedback thus far!

Gary
gwinn7
 
Hi gwinn7,

you can use the programm 'linneighborhood'.
It is nearly the same as the network neighborhood in windows.
You can download it from

/egr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top