Operating System - HP-UX
1819866 Members
2525 Online
109607 Solutions
New Discussion юеВ

enable DNS , NFS ,TELNET services

 
SOLVED
Go to solution
DUMP
Occasional Contributor

enable DNS , NFS ,TELNET services

hi folks

Iam a novice ,I first ask you all sorry for asking such a silly questions, as u are an expert !!But I am new to HPUX... Can any one tell me "How to enable DNS,NFS, TELNETservices to a HPUX Box so that i can get an overall idea of networking ,and also i can control it from anywhere in my LAN.. Help me out..
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: enable DNS , NFS ,TELNET services

http://www.uwsg.iu.edu/usail/network/toc.html

maybe a useful place to start ie the DNS and internet services sections break most of what you need to know into easy chunks
Dipu S
New Member

Re: enable DNS , NFS ,TELNET services

Hi,

http://www.docs.hp.com/en/netcom.html#Internet%20Services

This is the standard reference for all details on HP Internet Services products.

Hope you will find this useful !!

Regs,
Dipu.
Nguyen Anh Tien
Honored Contributor
Solution

Re: enable DNS , NFS ,TELNET services

Hi DUMP
To enable Telnet:
1, un-comment below line in /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
2, issue inetd -c command
#inetd -c
To enable NFS server:
1, vi /etc/rc.config.d/netdaemons

export XNTPD=1

2, edit /etc/exports
/tmp/dir_temp root=hosta
/home -a
...and so on....
3, start
#/sbin/init.d/nfs.core start
#/sbin/init.d/nfs.server start
4. Export file system
#exportfs -a

4, exportfs
Enable NFS client!
1, set at boot time:
vi /etc/rc.config.d/netdaemons
NFS_CLIENT=1
NFS_SERVER=0
enable 02 service :
#/sbin/init.d/nfs.client start
#/sbin/init.d/nfs.core start
NOTE: 02 above services are started at level 02 by default!
2, vi /etc/fstab : add mount point and server
myhp:/home /home03 nfs rw 0 0
myhp:/usr/share/man /usr/share/man nfs ro 0 0
3, create mount point
cd /home03 /usr/share/man
4. mount manually if desire!
#mount myhp:/home /home03
I will tell you how to enable DNS later
HTH
tienna
HP is simple
Nguyen Anh Tien
Honored Contributor

Re: enable DNS , NFS ,TELNET services

Enable DNS require much time than other.
DNS SERVER CONFIGURATION
1, Create /etc/name.data directory
2, Create /etc/name.data/param file
#vi param
-d boota.com
-n 192.168.3
-z 192.168.3.10
-b /etc/named.boot
-s
3, create database
#hosts_to_name -f param
4, download db.cache from internet and put it into /etc/named.data
5. Modify
#vi /etc/rc.config.d/namesvrs
NAMED=1
6. start named service
#/sbin/init.d/named start
CLIENT CONFIGURATION
1, vi /etc/nsswitch.conf
hosts: dns files
2, vi /etc/resolv.conf
search your.domain.com
nameserver 10.0.76.1 ---IPofDNSserver
nameserver 10.0.76.2 ---IPofDNSSeconndserver
HP is simple