LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cant connect to the internet (https://www.linuxquestions.org/questions/linux-newbie-8/cant-connect-to-the-internet-232556/)

Witiigo 09-19-2004 12:40 PM

cant connect to the internet
 
i have mandrakelinux 10, and have tried suse and got the same problem.

my broadband connection uses a static ip address. i have windows xp and mandrake installed currently. the windows xp connection works fine with all the settings from my isp. i go to set up mandrakes connection in hardrake and set all the setttings the same as windows. i can ping my box, myself, and anyone in town, i just cant access web sites. ive messed with it for awhile now and narrowed it down to the gateway IP address. when i use my ISP's gateway ip i get nothing. when i used the gateway IP that is an example, i can connect but VERY VERY slowly...like 2 minutes to load google. any help would be appreciated

scuzzman 09-19-2004 12:57 PM

make sure that /etc/resolv.conf contains the ip address(es) of your ISP's DNS
try to access 64.179.4.149 via a web browser - see if it loads any faster

Witiigo 09-19-2004 01:05 PM

all my resolv.conf file contains is my 2 dns numbers, which are correct. is that all that should be there?

scuzzman 09-19-2004 01:07 PM

That's all that should be there.
What happens when you put 64.179.4.149 into a web browser? Does it pull up the page any quicker?
Are you using a router? Do you have iptables installed/running?

Witiigo 09-19-2004 01:13 PM

i dont use a router. what are iptables. and lemme reboot so i can try that adress

scuzzman 09-19-2004 01:19 PM

iptables is a built-in firewall
type this at a terminal as root

# service iptables stop

Witiigo 09-19-2004 01:25 PM

ok i tried typing the address, didnt work. how do i run that command as root?

scuzzman 09-19-2004 01:57 PM

Go to a command prompt (in KDE go to "K" -> System -> Terminals -> Konsole) and type
$ su -

Here you will get a password prompt, where you type your root password.
Then issue that command.

Witiigo 09-19-2004 02:06 PM

nothing

Witiigo 09-19-2004 02:08 PM

i cant even load a web site with my isp default gateway, 65.241.28.1. but when i use the example gateway address, 208.251.86.1, it works, but super slow

Witiigo 09-19-2004 02:14 PM

i gtg to work so ill be back in like 10 hours lol


All times are GMT -5. The time now is 10:44 PM.