Re: Cannot see Ubuntu server on Network (Windows)
Sigh. Still not working. I cannot understand. I have two identical servers, namely HP 40L Microservers. They each have 4x 2GB Seagate Baracuda drives booting from a 8 GB Kingston flashdrive. I think the only difference is the MAC address of the network card and of course serial numbers.
The installation on the first server went without any problems. Using the same installation process on this server just didn't work. I have had issues since day one. This server is possessed by a demon, and I am turning to a priest to come and drive it from it ...
Re: Cannot see Ubuntu server on Network (Windows)
Have you tried resetting the router, or clearing out the dns tables from the router?
If you ping that hostname from each server, what ip does it resolve to?
Re: Cannot see Ubuntu server on Network (Windows)
From your smb.conf:
Quote:
name resolve order = lmhosts host wins bcast
lmhosts doesn't exist by default in Ubuntu, host isn't set up for samba /smb by default, and wins refers to a WINS server which I would guess does not exist on your network. That leaves bcast ( in Windows it's called broadcast ) and it's the only one that is fuctional by default.
Rearrange the parameter in smb.conf so that it looks like this:
Quote:
name resolve order = bcast host lmhosts wins
And restart samba:
Code:
sudo service smbd restart
sudo service nmbd restart
Wait a few minutes for things to settle down after a samba restart and try it again. Broadcast will take care of all your ip address - netbios name conversions without resorting to more complicated lan side dns configurations.
If you are still having issues post the output of the following command:
BTW: Is this for real?
Quote:
[Storage]
force user = root
writeable = yes
public = yes
path = /Storage
Re: Cannot see Ubuntu server on Network (Windows)
Quote:
Originally Posted by
Morbius1
From your smb.conf:
BTW: Is this for real?
Hmm ... yeah. Is that wrong / risky. The server is not on the net and only visible on my home network.
I restarted and waiting for it to "settle".
Thanks
Re: Cannot see Ubuntu server on Network (Windows)
Result of smbtree
Code:
WORKGROUP
\\VIDEO-SERV-PC
\\SOUND
\\SOUND\Printer PDF-XChange for ABBYY PDF Transformer 2.0
\\SOUND\C$ Default share
\\SOUND\ADMIN$ Remote Admin
\\SOUND\Printer2 Microsoft XPS Document Writer
\\SOUND\Printer5 Creates Adobe PDF
\\SOUND\Printer4 HP CLJ 3600
\\SOUND\Games
\\SOUND\SharedDocs
\\SOUND\print$ Printer Drivers
\\SOUND\IPC$ Remote IPC
\\SOUND\E$ Default share
\\SERVER
\\SERVER\HP A3 HP Deskjet 9800 Series
\\SERVER\C$ Default share
\\SERVER\ADMIN$ Remote Admin
\\SERVER\E
\\SERVER\Menco Docs
\\SERVER\R$ Default share
\\SERVER\MENCO (E)
\\SERVER\print$ Printer Drivers
\\SERVER\IPC$ Remote IPC
\\SERVER\E$ Default share
\\MORNE-PC
\\MENCO-NAS1 MENCO-NAS1 server (Samba, Ubuntu)
\\MENCO-NAS1\IPC$ IPC Service (MENCO-NAS1 server (Samba, Ubuntu))
\\MENCO-NAS1\MENCO_Backup1
\\MENCO-NAS1\print$ Printer Drivers
\\JOHAN-PC
\\JEANETTE-PC
\\FREENAS FreeNAS Server
\\FREENAS\IPC$ IPC Service (FreeNAS Server)
\\FREENAS\FreeNAS_1 Movies
\\MUSIC-PC
Re: Cannot see Ubuntu server on Network (Windows)
Did you run smbtree from "movie-nas"?
I don't see "backup-nas" which you say you do not have a problem connecting to by name or "movie-nas" which you say is the problem machine.
Are you sure that "movie-nas" is the correct name of the machine? If you run the following command does it come up with that name:
Code:
testparm -sv | grep "netbios name"
And do you have a firewall running on that machine. If so, disable it and try smbtree again.
Re: Cannot see Ubuntu server on Network (Windows)
Sorry. Backup-NAS is now called MENCO-NAS1, as I plan installing a second server for backup purposes.
The movie-NAS is the correct name. It was run from the problem PC. It does not want to show.
Re: Cannot see Ubuntu server on Network (Windows)
Code:
> testparm.samba3 | grep "netbios name"
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Storage]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
> testparm.samba3 | grep "movie-NAS"
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Storage]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
I have no firewall on this server specifically. I make use of a broadband router (with some crap firewall) connected to a separate PC running a dedicated firewall in some sort of bridge mode which is connected to the Server PC.
Re: Cannot see Ubuntu server on Network (Windows)
What is the output of the following command please:
Code:
testparm -sv | grep "netbios name"
And this one:
Code:
sudo nmap -sS -sU -T4 192.168.0.100
Change 192.168.0.100 to the ip address of movie-nas.
Re: Cannot see Ubuntu server on Network (Windows)
Code:
> testparm -sv | grep "netbios name"
bash: testparm: command not found
> testparm -sv | grep movie-NAS
bash: testparm: command not found
Code:
> sudo nmap -sS -sU -T4 192.168.0.211
Starting Nmap 5.21 ( http://nmap.org ) at 2012-10-11 16:39 SAST
Nmap scan report for 192.168.0.211
Host is up (0.0018s latency).
Not shown: 1994 closed ports
PORT STATE SERVICE
22/tcp open ssh
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3389/tcp open ms-term-serv
10000/tcp open snet-sensor-mgmt
10000/udp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.36 seconds