- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Network issue
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
04-12-2006 09:50 PM
04-12-2006 09:50 PM
Network issue
Just wondered, when we are doing a:
"/sbin/init.d/net stop"
What is this command actually doing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 10:02 PM
04-12-2006 10:02 PM
Re: Network issue
please read the file /sbin/init.d/net and in the header:
# net: configure lan interface(s) at initialization time.
The files in /sbin/init.d are executed at startup/shutdown time. So the net start means the lan interface on the machine is configured. net stop would shut the lan card down.
Be very careful if you ever need to execute the /sbin/init.d commands while the machine is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 10:12 PM
04-12-2006 10:12 PM
Re: Network issue
if you have changed any thing in /etc/rc.config.d/netconf file, that will be effective.
e.g if you change your IP, GW or ROUTER.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 10:19 PM
04-12-2006 10:19 PM
Re: Network issue
Once you have edited the netconf file, you need to make your configuration active. After adding the LAN and routing configuration information into the netconf file, you can either reboot your system, execute the ifconfig, and route commands manually, or run /sbin/init.d/net srart/stop scripts.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 10:25 PM
04-12-2006 10:25 PM
Re: Network issue
Habib,
This is the scrip to configure the LAN interfaces while system startup and shutdown while system shutdown.
/sbin/init.d/net is linked to
/sbin/rc2.d/S340net -This link is executed while system startup.
and
/sbin/rc1.d/K660net -This is executed while system shutdown
-sysadm-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2006 08:12 PM
04-18-2006 08:12 PM
Re: Network issue
if your question has been aswered, can you please indify the most useful answer and close the thread.
Otherwise, please update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2006 02:20 PM
04-19-2006 02:20 PM
Re: Network issue
Just sharing my experience.
Do not stop network while you connect from telnet/ssh, ofcourse your session will disconnected.
I suggest you to login on console and restart network services from here.
Sometime we working far away from console, if you only need to start stop the services write command to stop/start in crontab. I have do this before and its work :D
Thx,
EKO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2006 11:53 PM
04-19-2006 11:53 PM
Re: Network issue
(viz. to be wary when executing /sbin/init.d/net while you are connected over the NICs the net script sets up)
I often successfully executed
/sbin/init.d/net start
to assign new IPs to lan devices
after having edited /etc/rc.config.d/netconf
to reflect the desired changes
even while I was connected via ssh over the affected NIC.
This however requires that you introduce no syntactic errors or inappropiate IP addresses and netmasks for the connected subnets.
But this is a bit of a gamble and the official way should be from the console in single user mode ;-)