- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- can't ping my IP
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
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
тАО04-19-2005 08:06 PM
тАО04-19-2005 08:06 PM
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.70.0.1
I use ifconfig to check that , only the bwlow was shown , is it the network card still not setup or not started ? I can only ping 127.0.0.1 . thx a lot
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20944033 errors:0 dropped:0 overruns:0 frame:0
TX packets:20944033 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1075938067 (1026.0 Mb) TX bytes:1075938067 (1026.0 Mb)
The below is the error , please advise what is wrong ? thx in advance.
#ifdown eth0
siocgifflags:no such device
#ping 192.70.0.1
connect:network is unreachable
p.s. I sure the network card is work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 08:34 PM
тАО04-19-2005 08:34 PM
SolutionIf it doesn't, then the interface isn't configured right. If it says 'inet addr:192.70.0.1', then you're a bit happier.
What sort of system is this? Do you have an entry in '/etc/modules.conf' referencing 'eth0'?
For the moment, it doesn't appear as if the appropraite driver is configured. That needs to be done first.
'kudzu' is your friend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 08:56 PM
тАО04-19-2005 08:56 PM
Re: can't ping my IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 09:01 PM
тАО04-19-2005 09:01 PM
Re: can't ping my IP
To see if the device is configured, view '/etc/sysconfig/hwconf' and see if there are any 'NETWORK' devices listed.
If there are, remove the section, and then re-run kudzu and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 09:15 PM
тАО04-19-2005 09:15 PM
Re: can't ping my IP
If you know the hardware manufacture of your NIC ,get the driver from it's internet site or you can always replace the NIC with an older one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 10:10 AM
тАО04-20-2005 10:10 AM
Re: can't ping my IP
maybe the NIC card is not eth0
You seem sure it is working. How sure? check the connect lights?
If it has no lights then think about checking the cabling and the switch.
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
тАО04-26-2005 12:43 AM
тАО04-26-2005 12:43 AM
Re: can't ping my IP
Follow these steps to find out whether your NIC card is supported(not fool proof method).
run 'lspci -v '
this will give list of devices found, see whether Ethernet controller is listed on this, if not then ur network card is not detected by OS at all (check bios, reseat card etc).
if it lists Ethernet controller but could not able to give detail of the manufacturer of the card with revision details then it is likely that there is no driver support available for ur card, try with another card which is known to be supported.
if it is listed and vendor name, revision details are given then check /etc/sysconfig/hwconf file, it should list the card name and driver name in NETWORK section. if it is listed then add the driver name to /etc/modprobe.conf file. eg: if hwconf file gives driver name as eepro100 then add the following line to /etc/modprobe.conf
alias eth0 eepro100
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 02:23 AM
тАО04-26-2005 02:23 AM
Re: can't ping my IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 07:16 PM
тАО04-27-2005 07:16 PM
Re: can't ping my IP
What does your boot.log and messages file say? Try dmesg to check your NIC connectivity.
Cheers,
Renarios