Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: why when set static ip cannot ping?< Next Oldest | Next Newest >
yss Offline





Group: Members
Posts: 4
Joined: April 2005
Posted: April 20 2005,17:56 QUOTE

Why when static ip is set to the machine using ifconfig, cannot ping the other machine?  The network card that i am using are build in and confirm connected and able to ping before using DSL. Could anyone out there provide any guide why my machine cannot ping and solution?
Back to top
Profile PM 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: April 21 2005,11:50 QUOTE

That's not really enough information for someone to help you, but let me try anyways.

Quote
Why when static ip is set to the machine using ifconfig, cannot ping the other machine?
How did you set your static ip with ifconfig?  Did you do something similar to the following...

ifconfig -v eth0 192.168.1.100
route add default gw 192.168.1.1

Did you set your machines ip to an acceptable range that will match the rest of your network?  Does your netmask match the networks? Did you specify the correct gateway?  Can you ping google.com?  How about 216.239.39.99?  What about your own ip (not the loopback, the other one)?

Quote
The network card that i am using are build in and confirm connected and able to ping before using DSL.
Using what OS?  Was it Linux?  Was it Windows?  Does DSL even recognize the card?  Have you tried
Code Sample
dmesg | grep eth0
to see if the kernel barked about your ethernet on boot?

I need a little bit more information, but I would guess one of three things happened...
1.) You've incorrectly configured your ethernet card
2.) The driver your ethernet card requires isn't built into the kernel that comes with DSL
3.) your resolv.conf needs tweaking

I'd try dmesg first to see if the kernel barked at your ethernet card, then I'd make sure that all of the settings you've specified in ifconfig is correct and as a last ditch effort append
Code Sample
nameserver 4.2.2.1
nameserver 4.2.2.2

to /etc/resolv.conf

Hope this helps.


--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
1 replies since April 20 2005,17:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: why when set static ip cannot ping?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code