Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread Micheal Patterson

- Original Message - 
From: "Mark Jayson Alvarez" <[EMAIL PROTECTED]>
To: "albi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 03, 2004 7:46 PM
Subject: Re: How can I specify the ipaddress in smbfs entry in fstab?


--- albi <[EMAIL PROTECTED]> wrote:
hi,
>  mountpt
> //[EMAIL PROTECTED]/mp3s   /mp3
you can probably use e.g.
//[EMAIL PROTECTED]/mp3s  /mp3
It still doesn't work.
I remember mounting it manually using the command
mount_smbfs -I ipaddress  //[EMAIL PROTECTED]/mp3s /mtpoint
I don't think substituting ipaddress(eg, 10.1.1.1) for
"samba" in [EMAIL PROTECTED] will make any sense because I
still have to specify its IP address using the "-I"
option whenever I mount it manually.

in your /etc/fstab, but of course you can also add
your samba-server
in /etc/hosts
tried it also, but didn't work.
Anymore idea? thanks.

If you trust those with root access on your system, you can use the 
/etc/nsmb.conf file and configure that with the proper info for the 
remote server:

[HOST:USER:SHARE_NAME]
addr=HOST_IP
password=USER_password_on_remote_system
workgroup=domain/workgroup
... then edit your fstab to something like:
//[EMAIL PROTECTED]/SHARE   /mountpointsmbfs   rw,-N,-I=remote 
system ip   0  0

USER, HOST, SHARE are the same as in the nsmb.conf file, and I've found 
that these are often case sensitive. If the password is listed in 
nsmb.conf, then the -N in the fstab entry will use that password and not 
require you to enter it. Once done, a simple mount /mountpoint should 
get you on your way.

Hope it helps.
--
Micheal Patterson
TSG Network Administration
405-917-0600
Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread albi

>> you can probably use e.g.
>>
>> //[EMAIL PROTECTED]/mp3s  /mp3
>
> It still doesn't work.
> I remember mounting it manually using the command
>
> mount_smbfs -I ipaddress  //[EMAIL PROTECTED]/mp3s /mtpoint

afair i've put a line like that in /etc/rc.local and it works for me
(can't reach that machine now because it's off :)
and yes, it works after a reboot



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread Mark Jayson Alvarez

--- albi <[EMAIL PROTECTED]> wrote:

> hi,
> 
> >  mountpt
> > //[EMAIL PROTECTED]/mp3s   /mp3
> 
> you can probably use e.g.
> 
> //[EMAIL PROTECTED]/mp3s  /mp3

It still doesn't work.
I remember mounting it manually using the command

mount_smbfs -I ipaddress  //[EMAIL PROTECTED]/mp3s /mtpoint

I don't think substituting ipaddress(eg, 10.1.1.1) for
"samba" in [EMAIL PROTECTED] will make any sense because I
still have to specify its IP address using the "-I"
option whenever I mount it manually.


> in your /etc/fstab, but of course you can also add
> your samba-server
> in /etc/hosts

tried it also, but didn't work.

Anymore idea? thanks.



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread Radek Kozlowski
On Wed, Nov 03, 2004 at 05:05:47PM -0800, Mark Jayson Alvarez wrote:
> Good day!
>I wanted to mount our samba server whenever my
> computer boots so I added an entry in fstab like this
> 
> 
>  mountpt
> //[EMAIL PROTECTED]/mp3s   /mp3
> 
> 
> but I have no idea how will I specify the ip address
> of the server.
> 
> using the mount_smbfs, I can mount it by providing the
> "-I ipaddress" option.
> 
> Do you know how will I tell the fstab to add that
> information? I've been reading the fstab manpages and
> also the mount_smbfs but nothing helps. 

//[EMAIL PROTECTED]/mp3s/mp3smbfs   -I=192.168.1.1,noauto ...

-Radek
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread albi
hi,

>  mountpt
> //[EMAIL PROTECTED]/mp3s   /mp3

you can probably use e.g.

//[EMAIL PROTECTED]/mp3s  /mp3

in your /etc/fstab, but of course you can also add your samba-server
in /etc/hosts


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread Olivier Nicole
>I wanted to mount our samba server whenever my
> computer boots so I added an entry in fstab like this

OK that is not really answering your question, but... Given that the
samba server is a Unix machine, given that your client is a Unix
machine, maybe NFS would be more efficient than samba fro sharing the
disks...

Olivier
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I specify the ipaddress in smbfs entry in fstab?

2004-11-03 Thread Mark Jayson Alvarez
Good day!
   I wanted to mount our samba server whenever my
computer boots so I added an entry in fstab like this


 mountpt
//[EMAIL PROTECTED]/mp3s   /mp3


but I have no idea how will I specify the ip address
of the server.

using the mount_smbfs, I can mount it by providing the
"-I ipaddress" option.

Do you know how will I tell the fstab to add that
information? I've been reading the fstab manpages and
also the mount_smbfs but nothing helps. 

I've also edited /etc/nsmb.conf and added the some
entries according to instructions but it still won't
work. I mounted it manually by issuing:

$mount /mp3 

and I get this error:

smbfs: can't get server address: syserr = Operation
timed out

Is there any shell environment variable where I can
set this value?


Thanks a lot for your time!









__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"