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]


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]


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 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 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 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]