HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Problem in connecting internet from console (http://www.howtoforge.com/forums/showthread.php?t=6957)

faiqmahmoodch 19th September 2006 14:59

Problem in connecting internet from console
 
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, <waltje@uwalt.nl.mugnet.org
#
#

# End of hosts.allow."


waiting for ur response.

falko 20th September 2006 17:30

Please try this in /etc/resolv.conf:

Code:

nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60



All times are GMT +2. The time now is 00:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.