VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Configure WINS setting in VL5.9 STD  (Read 975 times)

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Configure WINS setting in VL5.9 STD
« on: April 16, 2009, 03:32:21 am »

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.....

Quote
#!/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

Quote
#
# /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

« Last Edit: April 16, 2009, 04:05:33 am by hata_ph »
Logged