- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to change network config from command line?
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
05-31-2002 09:17 AM
05-31-2002 09:17 AM
I thought I could edit /etc/sysconfig/network-scripts/eth0, then restart the network service, but it didn't work.
Are there additional files that need to be edited? Is there some command that would help with this task? (I do not have use of a GUI tool)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 10:15 AM
05-31-2002 10:15 AM
Re: How to change network config from command line?
What are you trying to do by changing the dailup's ip address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 10:18 AM
05-31-2002 10:18 AM
Re: How to change network config from command line?
This task has nothing to do with an isp connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 11:21 AM
05-31-2002 11:21 AM
Solutionifconfig eth0 you_ipaddress or ifconfig eth0 netmask eth0 your_ip
/etc/rc.d/init.d/network restart
if you prefer menu driven tried "netconf". Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 11:41 AM
05-31-2002 11:41 AM
Re: How to change network config from command line?
/etc/sysconfig/network-scripts/ifcfg-eth0
Don't know if your
/etc/sysconfig/network-scripts/eth0
was a typo or not.
Then from the network-scripts directory type:
ifdown eth0
followed by
ifup eth0
and that should do it.