I have configure one of my VL5.9 STD as a samba server. Before this it is using DHCP for the network connection. But now I have change to using static IP. What is the method to manual key in the WINS setting for it? Below is my rc.inet1 script.....
#!/bin/sh
# This file is supposed to be created by vnetadd
# and modified by vnetset.
# You can modify it by hand, but be careful ;-)
#
# GNU GPL (c) Eko M. Budi, 2004
# (c) Vector Linux, 2004
#
###########################################################
## The settings
DEVICE='eth0'
DHCP='no'
IPADDR='10.0.9.240'
NETMASK='255.255.255.0'
GATEWAY='10.0.9.1'
PROBE='no'
###########################################################
## The script
## You may make customized script here
## If not, source the standard network
. /etc/rc.d/functions-network "$@"
EDIT: Strangely now I can access my VL samba server without the WINS setting. Does that mean I no need WINS for hostname resolve?
PS: My company still using WINS for hostname resolve.....
this is my /etc/nsswitch.cong
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#
# passwd: files nis
# shadow: files nis
# group: files nis
passwd: compat winbind
group: compat winbind
hosts: files dns wins winbind
networks: files
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files