On a hunch, I set my IP up statically, adding the server as a wins server and forcing Netbios on. Suddenly the server shows up and my media player sees the server as well. I'm also using volkswagner's above config (adapted to my network) so I thought it was that, that solved my problem. When I set my IP settings back to DHCP, I couldn't see the server under net view anymore, nor would my media player.
I suspect now that the problem is with my DHCP server and how it hands out lease information pertaining to WINS. Does this make sense?
With static IP's, this is what ipconfig /all looks like, and this is how its working:
Code:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 6C-F0-49-5E-3E-ED
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.128(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Primary WINS Server . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Output of net view:
Code:
Server Name Remark
------------------------------------
\\Windows-PC
\\SERVER Samba 3.5.11
The command completed successfully.
Vs. DHCP settings and its not working:
Code:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 6C-F0-49-5E-3E-ED
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.128(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 06 December 2011 11:39:54 AM
Lease Expires . . . . . . . . . . : 06 December 2011 11:49:54 AM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Primary WINS Server . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
And then net view:
Code:
C:\Users\Demented>net view
There are no entries in the list.
Its clear that when using DHCP, net view can't obtain a list, but with static settings, everything works as expected.
Following is my DHCP configuration file:
Code:
use-host-decl-names on;
option netbios-name-servers 192.168.0.1;
ddns-update-style interim;
ignore client-updates;
ddns-rev-domainname "in-addr.arpa.";
option domain-name-servers 192.168.0.1;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
key DHCPUPD8 {
algorithm hmac-md5;
secret MASKED;
}
zone 0.168.192.in-addr.arpa. {
primary 127.0.0.1;
key MASKED;
}
# Local
subnet 192.168.0.0 netmask 255.255.0.0 {
option netbios-name-servers 192.168.0.1;
option broadcast-address 255.255.0.0;
authoritative;
ddns-updates on;
range 192.168.0.10 192.168.0.240;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
}
# Windows-PC
host weekwarrior {
hardware ethernet MASKED;
fixed-address 192.168.0.127;
}
Bookmarks