Help - Search - Members - Calendar
Full Version: NAS on FreeBSD
The Planet Forums > Operating Systems > BSD
thoroughfare
Hi,

I'm trying to setup NAS on my new FreeBSD box. I've compiled the following into the kernel:

CODE
    options  NETSMB      #SMB/CIFS requester

    options  NETSMBCRYPTO  #encrypted password support for SMB

    options  LIBMCHAIN  #mbuf management library

    options  LIBICONV

    options  SMBFS


and then I'm using:

CODE
# smbutil login //username@xxx.xxx.xxx.xxx/username


...but all I get is:

CODE
smbutil: can't get server address: syserr = Operation not permitted


...and when I disable PF:

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


Any ideas? icon_biggrin.gif
Thanks!
Matt icon_cool.gif
klaude
Can you ping the smb server? What version of FreeBSD are you running?
thoroughfare
Hi Kevin,

I can ping it ok (1-2ms ping time) and I'm using FreeBSD 5.3 icon_smile.gif

Thanks,
Matt
facecake
you shouldnt need to recombile the kernel for smbfs support in freebsd 5.x

try using
mount_smbfs
thoroughfare
Hi Facecake,

CODE
[root@xxxx mnt]mount_smbfs //70.85.xxx.xxx/username /mnt/nas

mount_smbfs: can't get server address: syserr = Operation not permitted

[root@xxxxx mnt]pfctl -d

No ALTQ support in kernel

ALTQ related functions disabled

pf disabled

[root@xxxxx mnt]mount_smbfs //70.85.xxx.xxx/username /mnt/nas

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

[root@xxxx mnt]pfctl -e

No ALTQ support in kernel

ALTQ related functions disabled

pf enabled

[root@xxxx mnt]


icon_sad.gif
Thanks,
Matt
facecake
i don't have disksync my self but the way i mount shares on my 5.3 boxes at home is



# mount_smbfs //user@10.0.0.2/share /exports/share


hth
UberDuper
Are you trying to make your FreeBSD box be a cifs server or client?
SMBFS is for mounting a cifs share from another server.

Your OP makes it sound like you want your fbsd box to be a cifs *server*

UD.
panyasri
mount_smbfs -I 70.85.xxx.xxx //70.85.xxx.xxx/username
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.