- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Start and stop network service in HP-UX
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-27-2001 03:41 PM
тАО11-27-2001 03:41 PM
Start and stop network service in HP-UX
Is there a way to start and stop the network service without rebooting the system ?
Currently, there are 2 x 100BaseT and 1 x 10BaseT in the system. The default network connection is to the 10baseT card and I want to change to 100baseT card for better performance.
Thanks in advance,
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 03:50 PM
тАО11-27-2001 03:50 PM
Re: Start and stop network service in HP-UX
Yes. Do
/sbin/init.d/net stop
/sbin/init.d/net start
<
Is the 100BT card enabled and working ??
Do
#lanscan
#ioscan -nkfClan
(to confirm that you can see the card).
If you want to swap the IP address setting of
10bT card to the 100Bt, then you would need to shut off the network service (or do a
ifconfig lan? down )
edit /etc/rc.config.d/netconf and add the
entry for the 100BT card , while commenting out the 10BT card entries. Do the same for routing entries in the file. Then run the net start command.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 03:51 PM
тАО11-27-2001 03:51 PM
Re: Start and stop network service in HP-UX
#ifconfig lan0 unplumb
#ifconfig lan1 inet ip_address net_mask
#ifconfig lan1 up
then set the speed
#lanadmin -X 100FD 1 (100 Full Duplex)
(wait for 11 secs here)
#ping broadcast_address
Then edit /etc/rc.config.d/netconf file and change lan0 to lan1.
Also edit the corresponding btconf file in /etc/rc.config.d and hardcode the speed.
For ex., if it is a gsc card you would edit
/etc/rc.config.d/hpgsc100conf and place these two entries
HP_GSC100_INTERFACE_NAME[0]=lan1
HP_GSC100_SPEED[0]=100FD
So, then when the system comes backup, it will set the speed to 100FD.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 04:00 PM
тАО11-27-2001 04:00 PM
Re: Start and stop network service in HP-UX
Make sure that the switch you are connecting
to has been also set up as 100BT. If it is not
you will have problems. Do this before
attempting to do anything. I cannot stress
this point enough!
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 04:11 PM
тАО11-27-2001 04:11 PM
Re: Start and stop network service in HP-UX
To stop network services
/sbin/init.d/net stop
/sbin/init.d/net start
If you want to make some changes on the settings of
your NIC, then you would need to shut off the network service, or do an
ifconfig. edit /etc/rc.config.d/netconf file
entry for your NIC, and routing entries. Then execute 'net start' command.
You must also execute 'inetd -c' to reread your /etc/rc.config.d/netconf file and for the changes to take effect without restarting your server.
d_b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 04:11 PM
тАО11-27-2001 04:11 PM
Re: Start and stop network service in HP-UX
To stop network services
/sbin/init.d/net stop
/sbin/init.d/net start
If you want to make some changes on the settings of
your NIC, then you would need to shut off the network service, or do an
ifconfig. edit /etc/rc.config.d/netconf file
entry for your NIC, and routing entries. Then execute 'net start' command.
You must also execute 'inetd -c' to reread your /etc/rc.config.d/netconf file and for the changes to take effect without restarting your server.
d_b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:23 AM
тАО11-29-2001 07:23 AM
Re: Start and stop network service in HP-UX
Thanks for taking out your time in answering my question.
I managed to perform the /sbin/init.d/net [stop | start]. However, the methods suggested were failed to assign the IP from the 10baseT 100baseT n/w card.
All the n/w cards status are "claimed" in ioscan and "up" in lanscan.
In lanadmin menu of the 100baseT card, the "Operation Status (value) = down(2)" after I assigned the IP to the card, what does it mean ?
I tried to configure the switch (CISCO 5500) port with 100 as well as auto-negotiate but not successful, any pointers.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:40 AM
тАО11-29-2001 08:40 AM