Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am unable to ping google or my personal server. I suspect this is also why I have issues connecting to my server using smb. Here is the output:

[~]$ ping http://google.com   
ping: cannot resolve http://google.com: Unknown host 

I'm not really even sure where to start with this - any help is appreciated.

screenshot here: http://kyleouellette.com/smb-issues/screenshot.png

share|improve this question
    
please post the output from pinging your smb server also. –  BigHomie Feb 2 '13 at 22:24
    
Are you on the same LAN as the smb server? –  cpast Feb 2 '13 at 22:51
    
cpast no it's a vps –  slowBear Feb 2 '13 at 22:52
    
Did SMB used to work, or did it never work? Does it work on other computers? –  cpast Feb 2 '13 at 22:56
    
cpast yea it works when I'm at work so I think maybe it has something to do with either this machine or my network here :/ –  slowBear Feb 2 '13 at 22:58

1 Answer 1

up vote 1 down vote accepted

Don't put the http:// in there. Just do ping google.com.

The http:// just identifies a protocol: essentially, how your computer should talk to the one at google.com. Specifically, it says "I want to see a website" (pretty much). But ping just needs to know what computer to try to talk to in the first place. That's the google.com bit - it gets translated into an IP address, and ping sends packets to that IP.

share|improve this answer
    
Thanks cpast - looks like that solved the ping issue. I'm able to ping both my server as well as google now. Any idea why I wouldn't be able to connect via smb to my personal server? –  slowBear Feb 2 '13 at 22:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.