GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LAN Administration - Reset
Operating System - HP-UX
1846310
Members
3724
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-02-2001 06:07 AM
07-02-2001 06:07 AM
LAN Administration - Reset
I have a problem, sometimes I have to reset the lan interface using lanadmin as root, but I want to do a script and run it as another user that do not have the same rights as root. Once more problem is the lanadmin command is a interactive command and there is not a option like lanadmin -r to reset the lan interface and self-test, so I?m lost... if someone has a advice I would like it. Bye
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 06:13 AM
07-02-2001 06:13 AM
Re: LAN Administration - Reset
Hi there.
lanadmin can be run in menu mode or in immediate mode. Pls check the manpages.
Your commd should look like this :
lanadmin PPA 3 -a reset or so.
I do not exactly know how.
Rgds
Alexander MN. Ermes
lanadmin can be run in menu mode or in immediate mode. Pls check the manpages.
Your commd should look like this :
lanadmin PPA 3 -a reset or so.
I do not exactly know how.
Rgds
Alexander MN. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 06:14 AM
07-02-2001 06:14 AM
Re: LAN Administration - Reset
I would do something like this:
#!/usr/bin/sh
lanadmin << EOF
lan
reset
quit
EOF
#!/usr/bin/sh
lanadmin << EOF
lan
reset
quit
EOF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 06:19 AM
07-02-2001 06:19 AM
Re: LAN Administration - Reset
Hi
I think that you can't reset lan interface
without being root, but you can use sudo to do
that : http://www.courtesan.com/sudo/ . With
sudo you can get root rigths for some commands.
Think that Patrick gave you the way to use
interactive mode in a script... But for some
commands (display for example) you need to
insert some "return" like if you were in
interactive mode.
HTH
Herv?
I think that you can't reset lan interface
without being root, but you can use sudo to do
that : http://www.courtesan.com/sudo/ . With
sudo you can get root rigths for some commands.
Think that Patrick gave you the way to use
interactive mode in a script... But for some
commands (display for example) you need to
insert some "return" like if you were in
interactive mode.
HTH
Herv?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP