- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need command to save config
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 04:42 AM
09-30-2009 04:42 AM
Need command to save config
ifconfig LAN0 205.86.18.4 netmask 255.255.255.0.
Then I was able to ping the server. I need to reboot the server to see if the address is saved.
9/29/09 - Rebooted server. IP config was not saved. Need someone with HPUX expertise to assist.
How do I save the config after assigning the IP address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 04:46 AM
09-30-2009 04:46 AM
Re: Need command to save config
You can use the set_parms script to set or change the ip-address of the system.
# set_parms ip_address
or
# set_parms initial
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 06:03 AM
09-30-2009 06:03 AM
Re: Need command to save config
You can put IP address details in "netconf" file, as below...
To check..
#more /etc/rc.config.d/netcof
To put IP address details..
#vi /etc/rc.config.d/netconf
thnx...farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 06:04 AM
09-30-2009 06:04 AM
Re: Need command to save config
To check..
#more /etc/rc.config.d/netconf
To put IP address details..
#vi /etc/rc.config.d/netconf
thnx...farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 12:44 PM
09-30-2009 12:44 PM
Re: Need command to save config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 09:46 PM
09-30-2009 09:46 PM
Re: Need command to save config
Other way to do that is to use SAM. (Just type sam when logged in as root). You would get a menu-based administration software. Here you can use TAB and arrows to browse the menu/make the necessary modification. (go to "Network Interface Cards", select the desired card -lan0/whatever, use SPACE to select- and then use the "Actions menu" - use TAB for this menu)
Best regards from Romania,
Horia Chirculescu
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2009 01:43 AM
10-01-2009 01:43 AM
Re: Need command to save config
when editing "netconf" file through vi editior, you will get lines as below, put the entry as per your requirement:-
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.56.0.8"
SUBNET_MASK[0]="255.255.255.0"
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="10.56.0.1"
ROUTE_COUNT[0]="1"
OR you can go through SAM also.
thnx...farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2009 02:36 AM
10-01-2009 02:36 AM
Re: Need command to save config
The easiest way to configure LAN is SAM.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2009 05:59 AM
10-01-2009 05:59 AM
Re: Need command to save config
This look helpful. I'll give it a try today.
What is SAM? And how do I access it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2009 07:48 AM
10-01-2009 07:48 AM
Re: Need command to save config
SAM ==> System Administration Manager
You can use in the shell this :
#ch_rc -a -p IP_ADDRESS[Y]=XXX.XXX.XXX.XXX -p SUBNET_MASK[Y]=XXX.XXX.XXX.XXX -p INTERFACE_NAME[Y]=lanX -p INTERFACE_STATE[Y]="up" -p BROADCAST_ADDRESS[Y]=XXX.XXX.XXX.XXX /etc/rc.config.d/netconf
Y is the interface number