PDA

View Full Version : Linux Internet Problem



ObiWan
02-12-2004, 11:08 PM
I am running Red Hat Linux 9 and have an intel 536ep modem.

I have downloaded and installed the drivers OK then used KPPP to set up the net connection

When I connect themodem dials and appears to connect OK but i cannot access any web sites.

any help would be appreciated

LSA
02-12-2004, 11:10 PM
check your iptables to see that http isnt blocked

try some other protocols just to test it out and see if it is really connected

shn
02-12-2004, 11:12 PM
Originally posted by ObiWan@12 February 2004 - 17:08
I am running Red Hat Linux 9 and have an intel 536ep modem.

I have downloaded and installed the drivers OK then used KPPP to set up the net connection

When I connect themodem dials and appears to connect OK but i cannot access any web sites.

any help would be appreciated
What provider are you using to connect?

ObiWan
02-12-2004, 11:14 PM
check your iptables to see that http isnt blocked

how would i do that

PS i ran ifconfig and i have been given an IP address

4play
02-12-2004, 11:14 PM
im guessing you have to set the nameservers for your isp.

try pinging 216.239.39.99 which is google. if you get packets returned your connection is up

then try to ping google.com if this does not work its nameservers. ;)

there is an option in kppp somewhere to add your own. just look up 2 of you isps.

ObiWan
02-12-2004, 11:18 PM
i tried pinging google.com and it times out, ill try the IP address later

i'm with BT Openworld

LSA
02-12-2004, 11:18 PM
Originally posted by ObiWan@12 February 2004 - 17:14

check your iptables to see that http isnt blocked

how would i do that

PS i ran ifconfig and i have been given an IP address
i use a frontend for it because configuring a firewall from command line seems tedious and the frontend i use bundles a lot of commonly used protocols in so you just check or uncheck them

you can add your own too of couse

http://www.simonzone.com/software/guarddog/

there are many frontends to iptables, look around and see what you like

but try 4play's suggestion first, that sounds more sensible than http being blocked

4play
02-12-2004, 11:23 PM
i had the same problem when i first used my 56k modem and i used bt openworld as well. :lol:

try using a few of these (http://www.theregister.co.uk/content/archive/26340.html) dns servers.

ObiWan
02-12-2004, 11:27 PM
I'll try that and let you you know how i get on

:angry: DAMN it's a pain in the arse having to reboot into windows to get access to the net

shn
02-13-2004, 08:20 AM
Originally posted by ObiWan@12 February 2004 - 17:27
I'll try that and let you you know how i get on

:angry: DAMN it's a pain in the arse having to reboot into windows to get access to the net
Are you even initializing the modem at all. What I mean is, can you hear it trying to dial out? If not then you probably need a 56k generic modem driver so that your modem can initialize.

Theese chipsets are generally the most common for typical 56k conexant modems. Although it may not be as common where you live, in the U.S. a lot of computers that come with 56k modems use theese chipsets so see if yours is one.

http://www.linuxant.com/drivers/?PHPSESSID...b16a3b88d16d969 (http://www.linuxant.com/drivers/?PHPSESSID=f26a8842ab28e3f82b16a3b88d16d969)

If so then just install the driver for your distro and follow the instructions.

In any other instance I would say try modprobing /dev/modem or:

"modprobe /dev/ttyS0" from a terminal and without the quotes

/dev/modem is only a symbolic link from your original hardware modem device but a lot of times the kernels are not not compiled with that symbolic link, although your ppp configuration may say your modem is on that device. In reality it may be on:
/dev/ttyS0 is so then just link it symbolically yourself like this:

ln -sf /dev/ttyS0 /dev/modem

Then edit your /etc/ppp/?? config file in accordance with the info above, but if it says /dev/modem in the config files then probably leave it since you would have linked the actual serial device to /dev/modem anyway using the method above.

Hope that helped. :)

ObiWan
02-13-2004, 07:49 PM
i can access the website when i use the IP address but not the name.

i tried the DNS server fron the link but it did not help so i will try the ones on the bt openworld website.

it also seems to take longer to load the website than in windows.

ObiWan
02-13-2004, 10:03 PM
i couldn't find the DNS ips but i got any from the site but i got 2 from ipconfig in windows but they dont work either

4play
02-13-2004, 10:18 PM
try mine

194.72.9.34
194.74.65.68

they are for btinternet so close enough.

ObiWan
02-14-2004, 02:04 PM
i can now ping google.com but when i go to google.com it takes ages to load then after about 5 mins i am unable to ping it (both by name and ip)