/etc/resolv.conf (not resolve.conf)- add the "nameserver xxx.xxx.xxx.xxx"
here/etc/nsswitch.conf- change the line that starts with "hosts" to include "dns" immediately
after "files""hosts files" to "hosts files dns"
/etc/defaultrouter- add the gateway IP here "xxx.xxx.xxx.xxx"
Restart inetd
Supposedly the following should work but it doesn't.
$ pkill -HUP inetd
I just kill inetd process and start it with
$ inetd -s
To check if it works. It will show how it routes to the yahoo's ip.
$ nslookup
> www.yahoo.com
.
.
.
> exit
$
Friday, May 23, 2008
Tuesday, May 20, 2008
Monday, May 5, 2008
Friday, May 2, 2008
Solaris 10 & 11 ftp setup
# chmod u+w /etc/inetd.conf
# vi /etc/inetd.conf
Uncomment tftp line.
# svcadm disable network/ftp
# svcadm enable network/ftp
For ftp timeouts
# vi /etc/ftpd/ftpaccess
Uncomment the following two lines and change the timeouts to something big.
timeout data 60000
timeout idle 30000
# svcadm restart network/ftp => this should work for the above ftp enabling as well.
This should do it!
# vi /etc/inetd.conf
Uncomment tftp line.
# svcadm disable network/ftp
# svcadm enable network/ftp
For ftp timeouts
# vi /etc/ftpd/ftpaccess
Uncomment the following two lines and change the timeouts to something big.
timeout data 60000
timeout idle 30000
# svcadm restart network/ftp => this should work for the above ftp enabling as well.
This should do it!
Subscribe to:
Posts (Atom)