[ale] Browsing MS Network
SAngell at nan.net
SAngell at nan.net
Fri Aug 10 07:46:28 EDT 2001
I am not sure if you have gotten the answer you wanted and I appologize for
giving you a little bad info yesterday. The command string I gave you was for
the smbclient command. The other method which may serve you better. Is the
smbmount command. I did a little research and found some documentation that I
had printed out the last time I set up a Samba box. This is a lot better info
than what I gave you yesterday. Hope this accomplishes exactly what I think you
were searching for.
The syntax is as follows:
smbmount //<SERVERNAME>/<SHARENAME>" -c 'mount /<MOUNTPOINT> -U
<USERNAME%PASSWORD>
Where MOUNTPOINT is a dir you create on you linux box. In the past I would
create a folder with the same name as my NT domain and then create sub folders
to reflect the different servers. This way it does in some way resemble browsing
the network with MS.
If you want these to mount automatically each time you boot your server, then
you will need to go into /sbin, and make a link to the smbmount command and
call it mount.smbfs, you will be able to use the standard mount command to mount
a NetBIOS share and again if you want to you can add smbmount points in the
/etc/fstab file.
You will have to perform the following actions:
# ln -s /path/to/smbmount /sbin/mount.smbfs
This will thus create a link called mount.smbfs to the smbmount program. Now you
can edit the /etc/fstab file and add an entry for each resource. The line looks
like this :
//server/sharename
 /directory smbfs  noauto,username=myname,password=xyz 0 0
If you want the share to be mounted at startup, remove the word "noauto," from
the above line. Then, if the share is not automatically mounted at startup, by
typing mount /directory, where "directory" is the folder you created for a
particular resource, the resource mount it immediately.
\_\_\_\_\_\_\_\_\_/_/_/_/_/_/_/_/_/
\_ Steve Angell, MCSE, CCNA _/
\_ MIS Operations Manager _/
\_ TSYS Total Debt Management _/
\_ Phone 770-409-5570 _/
\_ Fax 770-416-1752 _/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
|--------+------------------------>
| | "Arafat" |
| | <abmtek at yahoo.|
| | com> |
| | |
| | 08/09/01 08:11|
| | PM |
| | |
|--------+------------------------>
>--------------------------------------------------------|
| |
| To: SAngell |
| cc: |
| Subject: RE: [ale] Browsing MS Network |
>--------------------------------------------------------|
Thank you.
-----Original Message-----
From: SAngell at nan.net [mailto:SAngell at nan.net]
To: ale at ale.org
Sent: Thursday, August 09, 2001 2:55 PM
To: Arafat
Cc: ale at ale.org
Subject: Re: [ale] Browsing MS Network
The smbmount command syntax is as follows:
smbmount //servername/sharename -I <ip address of server> -U
<username%password>
leave out the <> of course.
If you have the server listed in your host file or can be found by DNS then
you
can omit the -I switch.
There is also smbclient which I have used but do not remember the syntax off
the
top of my head.
Hope this helps.
\_\_\_\_\_\_\_\_\_/_/_/_/_/_/_/_/_/
\_ Steve Angell, MCSE, CCNA _/
\_ MIS Operations Manager _/
\_ TSYS Total Debt Management _/
\_ Phone 770-409-5570 _/
\_ Fax 770-416-1752 _/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
|--------+------------------------>
| | "Arafat" |
| | <abmtek at yahoo.|
| | com> |
| | |
| | 08/09/01 02:27|
| | PM |
| | |
|--------+------------------------>
>--------------------------------------------------------|
| |
| To: ale at ale.org |
| cc: (bcc: Steve Angell/tdm) |
| Subject: [ale] Browsing MS Network |
>--------------------------------------------------------|
I know this is probably a very basic qn, but I'm lost. How can I browse an
MS network? Basically, I have a win2k and a win98 box at work. I have a
debian laptop. I need to access files shared out on the win boxes from my
laptop.
Thanks.
-Arafat
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
body.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the Ale
mailing list