1754919 Members
3088 Online
108827 Solutions
New Discussion юеВ

Need Help

 
Mridul Dutta
Advisor

Need Help

Hi friend,

I am new in HP-UX . So i m trying to restart my network. Can any body tell whats the command for that. I have already check my lan card working or not using

ifconfig lan0 up
its showing lan is clamied.

Next Question is where is the configuration file for DNS. IS it the same procedure as wiith Redhat linux .

Question No 3: How can i install pacakges like postfix to configure mail server in HP-UX


Regards

Mridul Dutta
4 REPLIES 4
kapra
Advisor

Re: Need Help

Hi Mridul,

I am on the same boat as urs, new to UNIX world... can't help you with question 1 & 2.

Question 3
==================
I think http://hpux.connect.org.uk/ is a nice place to get various depots for various softwares and install them using
swinstall -s \

- Sumeet.
Piergiacomo Perini
Trusted Contributor

Re: Need Help

Hi Mridul,

to restart network you can try

/sbin/init.d/net start

For dns, if you mean set dns on your server, i suggest to perform
set_parms

regards
baiju_3
Esteemed Contributor

Re: Need Help

Hi Mridul ,

System IP addresses are configured in

/etc/rc.config.d/netconf file .

/sbin/init.d/net start/stop can be used to start /stop the networking subsystem.


For configuring DNS cleint use
/etc/resolv.conf & /etc/nsswitch.conf file .

For setting up mail, we are updating /etc/mail/sendmail.cf and start/stop mail services using
/sbin/init.d/sendmail start/stop.

thx,
bl.


Good things Just Got better (Plz,not stolen from advertisement -:) )
Rick Garland
Honored Contributor

Re: Need Help

To help ensure that all is well with the netconf file and such, run the command 'set_parms'.

This will walk you through the steps of assigning IP address, hostname, gateway, netmask, etc...