- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Chage IP address
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
тАО06-10-2003 04:55 AM
тАО06-10-2003 04:55 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 04:58 AM
тАО06-10-2003 04:58 AM
Re: Chage IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 05:47 AM
тАО06-10-2003 05:47 AM
Solutionyour 1st ethernet interface is eth0
1) run
ifconfig -a
in order to check if LINUX see your network card
2) if you see eth0 interface, just add
ONBOOT=yes
into your ifcfg-eth0 file
3) if you don't see "eth0" in "ifconfig -a" output, run "kudzu" in order to detect you NIX
Regards,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 07:54 AM
тАО06-10-2003 07:54 AM
Re: Chage IP address
you didn't set the interface options to be preserved on boot.
Can also run lspci to see your Ethernet adapter.Check also /etc/sysconfig/network has NETWORKING=yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:39 AM
тАО06-10-2003 11:39 AM
Re: Chage IP address
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 12:00 PM
тАО06-10-2003 12:00 PM
Re: Chage IP address
First you don't need to run ifconfig -a
to see all the interfaces, without the
parameters it's show all the active interfaces.
The 127.0.0.1 should always be present,
it's your loopback interface address (lo0).
If all your parameters of the interface are OK
("/etc/sysconfig/network-scripts/ifcfg-
you can start it manually by:
ifup
If you will see any errors you will understand if no check if you have connection.
You may have this problems if the configuration is OK : same IP on the net (linux automaticly check if IP in use)
or maybe you have problems with the cabel.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 12:31 PM
тАО06-10-2003 12:31 PM
Re: Chage IP address
ifconfig | more
My guess is based on results you see nothing with regards to eth0.
So try this.
ifconfig eth0
Take these straight out of your /etc/sysconfig/network-scripts/ifcfg-eth0 file.
That is if it makes sense.
Try the command. If eth0 comes up, there is something else in that directory messing with your NIC card.
Possible causes:
1) Syntax error in the config file. Take and modify the ifcfg-eth0 file from a working machine, perferably with the same NIC card and modify it.
2) The configuration makes no sense. An IP address impossible based on network mask is an example.
3) Conflict with another machine on the network. If your IP address is in use, possbily without your network admin's knowledge it won't come up on the Linux box. See network administration and/or try a different IP address
4) Linux never detected your NIC card. The hardware might not be supported, the card might not be firmly in the PCI bus, there may be a conflict with another plug and play card.
This is a start, post specific data for more help. I won't be back until the morning because I drove my kids from NYC to Chicago all night and am beat.
Later.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 10:07 PM
тАО06-10-2003 10:07 PM
Re: Chage IP address
Just becase to determinate if
1) Linux knows about eth0 but didn't up it
or
2) Linux doesn't know about this NIC
I suggest to run "ifconfig -a" - it will show eth0 in case 1) and will not show in case 2)
at least in RHL "ifconfig" shows all interfaces with status "UP", and "ifconfig -a" shows *all* interfaces
Regards,
Vitaly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 05:21 AM
тАО06-11-2003 05:21 AM
Re: Chage IP address
# ifconfig eth0 192.168.0.2 netmask 255.255.255.0