Communications and Wireless
1753872 Members
7329 Online
108809 Solutions
New Discussion юеВ

Re: network

 
Nago
Advisor

network

I need help please.
After powering up my hp9000 first thing on monday morning, i would not be able to ping other computers on my network until i issue and . I would like the interface to come up automatically at server power up. Instead of manually bringing it up. Please how do i do that?....Nago
3 REPLIES 3
benoit Bruckert
Honored Contributor

Re: network

You should have post it in HP9000 Networking !
Anyway the answer is :
/etc/rc.config.d/sysconf

for example, change whatever you have in this file about lan0 to
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=
SUBNET_MASK[0]=
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

of course you can specify subnet,broadcast if different from default, but keep "" on the state line !

hope that help
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Nago
Advisor

Re: network

Thanks for the reposne.
Kindly confirm if i should leave the INTERFACE_STATE[0]="" as i have written above or i should give it a value such as 'up' or 'down'.
Darrell Allen
Honored Contributor

Re: network

Hi Nago,

If you are running HPUX then the file is /etc/rc.config.d/netconf.

Here's an example stanza:
INTERFACE_NAME[0]="lan1"
IP_ADDRESS[0]="xxx.xxx.xxx.xxx"
SUBNET_MASK[0]=""
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

You can leave the subnet_mask and broadcast_address as "" unless you want to set something other than the default. Likewise, interface_state defaults to "up" if you don't set it in netconf.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)