I hold my hand up - I'll tell you why,
I have been using my FreeBSD 10 box running Samba and FTP services for months with no problem. I was thinking of swapping over to a NAS box for power saving measures but ever since putting a NAS box on the network the Samba server has done a disappearing act and doesn't show up when browsing the "workgroup".
The NAS and the FreeBSD box do have separate IP addresses and names.
I had the FreeBSD box set for a static IP manually entered in rc.conf but found that didn't match the one reserved on the router but as the FreeBSD box wasn't using DHCP I guessed that didn't matter.
Now when I have set[]up the LAN card for "DHCP" in rc.conf it's now getting the correct IP by checking
I tried changing the IP from 127.0.0.1 in /etc/resolv.conf to match the router's internal IP with no luck and I understand if the LAN card is set to "DHCP" (which I did last night before going to bed) in rc.conf the defaultrouter option doesn't need to be entered.
Where should I be looking to fix the resolution issue? The FreeBSD box is on a home workgroup NOT a domain and is pingable by IP from workgroup computers as well as SMB shares can be mounted with smb:\\x.x.x.x.
I'm hoping the IP issue when resolved will encourage it to broadcast itself on the workgroup as it was before.
I have been using my FreeBSD 10 box running Samba and FTP services for months with no problem. I was thinking of swapping over to a NAS box for power saving measures but ever since putting a NAS box on the network the Samba server has done a disappearing act and doesn't show up when browsing the "workgroup".
The NAS and the FreeBSD box do have separate IP addresses and names.
I had the FreeBSD box set for a static IP manually entered in rc.conf but found that didn't match the one reserved on the router but as the FreeBSD box wasn't using DHCP I guessed that didn't matter.
Now when I have set[]up the LAN card for "DHCP" in rc.conf it's now getting the correct IP by checking
ifconfig
but something odd is happening. I am able to ping
IP addresses but hosts like www.bbc.co.uk or update.freebsd.org can't be resolved.I tried changing the IP from 127.0.0.1 in /etc/resolv.conf to match the router's internal IP with no luck and I understand if the LAN card is set to "DHCP" (which I did last night before going to bed) in rc.conf the defaultrouter option doesn't need to be entered.
Where should I be looking to fix the resolution issue? The FreeBSD box is on a home workgroup NOT a domain and is pingable by IP from workgroup computers as well as SMB shares can be mounted with smb:\\x.x.x.x.
I'm hoping the IP issue when resolved will encourage it to broadcast itself on the workgroup as it was before.