Announcement

Collapse
No announcement yet.

<SOLVED>Can surf via firefox, but can't ping in terminal

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    <SOLVED>Can surf via firefox, but can't ping in terminal

    Ok this is strange, I can't ping to any web in terminal but I can surf by any web browser. I have proxy, so I set http_proxy and ftp_proxy in terminal. And still, can't ping. Does anyone know why it could like that?

    I need to solve this problem, because apt-get can't fetch updates (it said connection fail). Surely I must set proxy or something like that in terminal...
    P4 3.06 HT,RAM 512 MB, 80GB HD, Geforce 6200 LE, Kubuntu 8.04

    #2
    Re: Can surf via firefox, but can't ping in terminal

    Ow sorry....
    I am totally a noob. I just realize that we can't ping to a web.

    But if you experience can't connect in terminal, probably that's because of proxy.
    To set http and ftp proxy we can set the http_proxy and ftp_proxy value.

    export http_proxy="http://xx.xx.xx.xx:yyyy"
    export ftp_proxy="http://xx.xx.xx.xx:yyyy"

    where xx.xx.xx.xx is the proxy server and yyyy is port.
    P4 3.06 HT,RAM 512 MB, 80GB HD, Geforce 6200 LE, Kubuntu 8.04

    Comment

    Working...
    X