Problem in connecting internet from console

Discussion in 'Installation/Configuration' started by faiqmahmoodch, Sep 19, 2006.

  1. faiqmahmoodch

    faiqmahmoodch New Member

    aoa!
    when i ping to 192.168.0.1 which is the DNS it responds perfectly but when i ping to any other host for e.g ping www.google.com it says unknown host. My ip is 192.168.0.104 on a LAN what solution can anyone advise. The Konqueror i.e the Browser runs perfectly when i configure its proxy accordingly.The /etc/resolv.conf shows

    "search workgroup
    nameserver 192.168.0.1"

    when i run iptables -L it shows

    "Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination"

    i have used static ip setting in the netconfig and the DHCP is not supported on the server.how can we run internet using the console with static ip settings? The /etc/host.conf shows

    "order hosts, bind
    multi off"

    and the /etc/hosts.allow shows

    "#
    # hosts.allow This file describes the names of the hosts which are
    # allowed to use the local INET services, as decided by
    # the '/usr/sbin/tcpd' server.
    #
    # Version: @(#)/etc/hosts.allow 1.00 05/28/93
    #
    # Author: Fred N. van Kempen, <[email protected]
    #
    #

    # End of hosts.allow."


    waiting for ur response.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please try this in /etc/resolv.conf:

    Code:
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60
     

Share This Page