Problem A:
Just gives:
But samba doesn't start. At least I can't see it as a running process.
Neither can I find it with smbclient -L 192.168.0.101. I get the error message
Both when running the command from the server, and from my laptop.
So for some reason samba does not start. I think it's strange I get no error message.
"Problem B:"
I can however start samba with smbd -F However, I can still not use smbclient -L from the server using its IP-adress.
Then I tried
So.. is there something wrong with my host setup maybe, or is this the way it should be?
Seeing as this is a local, private server, I have no real domain. I have just set my /etc/hosts file up like this
osserver is the hostname of the machine. Is this incorrect? I am not really a guru with *nix network setup. (underestimate de lux ) and a quite fresh freebsd user.
As I can now access the shares from my and other computers at home, this is not a big problem, but just in case I would like things to be properly set up. This is not a big problem.
Smb.conf file, in case it has anything to do with problem A: pastebin link
Code:
[root@osserver ~]# /usr/local/etc/rc.d/samba start
Code:
Removing stale Samba tdb files: ...... done
Code:
[root@osserver /usr/home/gert]# ps -ax | grep smb
81395 p0 S+ 0:00.00 grep smb
[root@osserver /usr/home/gert]# ps -ax | grep sam
81397 p0 S+ 0:00.00 grep sam
Neither can I find it with smbclient -L 192.168.0.101. I get the error message
Code:
[gert@osserver /]$ smbclient -L 192.1680.101
Connection to 192.1680.101 failed (Error NT_STATUS_BAD_NETWORK_NAME)
Both when running the command from the server, and from my laptop.
So for some reason samba does not start. I think it's strange I get no error message.
"Problem B:"
I can however start samba with smbd -F However, I can still not use smbclient -L from the server using its IP-adress.
Code:
[gert@osserver /]$ smbclient -L 192.1680.101
Connection to 192.1680.101 failed (Error NT_STATUS_BAD_NETWORK_NAME)
Then I tried
Code:
[gert@osserver /]$ smbclient -L localhost
Enter gert's password:
Domain=[OSSERVER] OS=[Unix] Server=[Samba 3.3.7]
Sharename Type Comment
--------- ---- -------
filer Disk filer pa hjemmeserver
IPC$ IPC IPC Service (Samba Server)
gert Disk Home Directories
localhost is an IPv6 address -- no workgroup available
So.. is there something wrong with my host setup maybe, or is this the way it should be?
Seeing as this is a local, private server, I have no real domain. I have just set my /etc/hosts file up like this
Code:
#
::1 osserver localhost osserver.my.domain localhost.my.domain
127.0.0.1 osserver localhost osserver.my.domain localhost.my.domain
As I can now access the shares from my and other computers at home, this is not a big problem, but just in case I would like things to be properly set up. This is not a big problem.
Smb.conf file, in case it has anything to do with problem A: pastebin link