LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems surfing the web.... Help ! (https://www.linuxquestions.org/questions/linux-software-2/problems-surfing-the-web-help-2470/)

froycard 05-12-2001 06:47 PM

I installed and set up a PCtel Modem for Internet access (after spending a great while finding the way to set up the damn thing). Then I test the modem and it works well.

Here is the problem: I set up an ISP account and I succeeded in connecting to that ISP, and could login. But when I try to navigate to any URL, I canīt. I mean, my browser cannot find any URL.

Questions:
1. I need to have the ISPīs dns addresses?
2. I have to do something else in order to finish configuration Linux so that I can navigate?
3. If so, what information should I have in order to connect and surf the web?

Thanks for any help or hints !

rshaw 05-12-2001 09:55 PM

what dialer program are using to connect to the isp?

crabboy 05-12-2001 10:08 PM

Can you ping machines on the internet by IP address? If so your dns is most likely not properly configured.
You need to put the IP address of your ISP's dns servers in the /etc/resolv.conf file in this format:

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

where xxx is the ip of the dns servers.

Gary

froycard 05-13-2001 09:33 AM

RSHAW:

I use Kppp to connect to my ISP, and I can see that I am able to connect to my ISP successfully.

CRABBOY:

It is mandatory to have both DNS addresses (for the primary and secondary)? Is there any other program that can do automatically for me?

Thanks folks !

homer 05-13-2001 11:09 AM

just a thought, as i was curious about the configurations of my ipchains, and was tinkering with them , I was able to connect also, but couldn't surf. with a little research and some more tinkering with them all workes well now.
so, have you checked this. There are several front-ends to set them up for you. if interested http://www.freshmeat.net has them.

froycard 05-13-2001 01:13 PM

Ok, Homer...

Maybe, I am too newbie to undersand your advice, lemme get it straigth: all I want to do is to surf the web as anybody is able to do it, or as I can do under Windows ME. In Linux, I am able to connect to my ISP as I do under Windows ME, but unlike, under Linux, I cannot navigate, all I know I cat get thru authentication process (username and password), but afterwards, I cannot either navigate or ping any URL addresses. Maybe, the utility for Internet connection is not so smart as Windowsīs, thatīs why my question is, I need to specify both DNS addresses?

Thanks again, folks !

rshaw 05-13-2001 05:39 PM

you only need one but if they gave you more you can put them in /etc/resolv.conf or /etc/ppp/resolve.conf(depending on the distro). or you can check the automatic dns box and let it accept the one assigned by the isp.

that's odd, usually once the info is entered in kppp it configures itself and off you go onto the web.

check the settings in kppp

you want pap ,dynamic ip, default gateway, assign default route to this gateway, and either auto dns or manual with the dns numbers entered.

if thats all correct then you may want to reinstall a few network related packages on the chance that your distro didn't get them configured properly the first time (ppp,inetd,dhcp, etc.)

notlinus 05-13-2001 07:28 PM

One moment - there are 2 things neglected here. First, does your ISP use DHCP for automatic configuration? If so, you need to set up for that rather than specify everything manually.
Second, I assume that you had this set up properly using a winbox. If so, copy all the settings (IP address, subnet mask, gateway, DNS (primary mandatory, secondary optional)) and make the same settings on the Linux box.
/js

froycard 05-13-2001 08:11 PM

Hi Folks !

Let me tell you what: I finally succeeded in surfing the web, damn, but that was hard... why? I will tell you why:

1. I have one of those cheap modem, called WinModem, and maybe you know how hard it is to configurate one of this modem... and thanks to the effort of many, there are some drivers out there, but some works and others not... I finally grabbed one that works with my shit modem (I have a M574lmr motherboard from pcchips). I can help anyone to set it up, so just post a question and I will try my best !)

2. Afterwards, I try to put that damn modem to test and find out if it really works... I then run into many obstacles under GNOME. I tried to configurate an Internet Connection thru RH PPP diales (Red Hat 6.1), but it crashed... oh well, I installed KDE and I used a Kppp, it went well. And when I set up a new Internet account, I could see it really works. I mean, a WINMODEM under Linux !

3. Then, I tried to surf and enjoy being in the ethereal world, but what I found was nothing, I was connected to my ISP but I couldn't surf... what's heck?

4. Finally, after a couple of week, I figured the thing out, I did need a DNS address... Geezzz... Well, in order to find out my ISP's DNS address, I had to use the utility under MS Windows: winipcfg. After putting down the address, I rebooted and introduced these addresses in the kppp Internet configuration.

VOILA!!!!!!!!

Here I am, posting this... WOW !

What's next?

I will try to upgrade the kernel version and XFree86 version as well... another advanture...

Thanks everybody !

I will continue checking this site for any interesting posts!

lonetree 01-31-2004 10:35 PM

cannot surf with kppp dialer if network card is installed
 
Hi,
after reading all the postings, i have decided to take this courage to ask you experts for help.

I am very new to linux, have tried using RH9, Fedora and finally suSE 9. Currently, I'm using suSE 9 in this context and have recently encounter some problem with kppp. I have a dsl connection using a ethernet connection, I managed to get it work and surf the web without any problems. However, I have a WinModem that is installed in the same linux box and I have to use this dial-up modem to dial into a private network. The service provider required me to authenticate via a post terminal windows (which i have no problem doing this in MS windows), tried using KInternet dialer but there isn't any post terminal window, read from some forum that kppp can do the job. So I tried using kppp, true enough, the post terminal window came up after I dialed in. Here comes the problem, I am able to connect to the provider but I can't get the webpage load up, the browser said, can't resolve the address. I open up xterminal and tried to ping some addresses but to no avail. Then I tried using kppp to configure my internet ISP's account and tried dialing up again, same thing happened, can get connected but can't surf.

After some searching and analysis, I decided to disable the network card. Yeah! Everything are fine. I can connect to the provider and get my things done. But, now it comes the second problem, my linux box has been isolated from the network since I have disabled the network card.

Does anyone has this problem and has already solved the problem? Anyone out there can help me with some suggestion?

Thanks in advanced.

Regards,

lonetree
:confused:

crabboy 01-31-2004 10:53 PM

Welcome to LQ lonetree. It's best to start a new thread if you have a new question. It it likely your thread will get more exposure if the reply count is lower.

It's been a while since I've done anyting with dialup, but it appears that when you connect no route is setup to the dialup interface.

After dialup you may have to execute something like:
Code:

route add -net 10.136.0.0 netmask 255.255.0.0 ppp0
Of course the IP address will change depending on the network you are connecting to. And the interface may change as well. When connected, run ifconfig and see what the dialup interface is.

If you want it to be the default route, ie all packets that are not bound for your local network go here, then it's something like this:
Code:

route add default gw x.x.x.x metric 1
where x.x.x.x is the ip address of the gateway. Your ISP should provide this.

lonetree 01-31-2004 11:11 PM

Hi crabboy, thatnks so much for your reply, it's really fast and kind of you to reply in such a short time.

Regards,
lonetree

tjewkes67 02-16-2004 12:36 PM

the only dialer program that has worked for me is wvdial. try giving that one a shot. setting it up is a snap. it should auto-detect your modem. btw Froycard, how is Venezuela? i haven't been there for ten years. is it still safe to visit?

lonetree 02-17-2004 04:40 AM

Does it come with a post terminal?
 
Thanks for the reply, where can I get the dialer and does it come with a post terminal function?

Regards

Lonetree

tjewkes67 02-17-2004 08:27 AM

I've used Debian Woody, RH9 and Slack 9, and they have all come standard with the install.
If SUSE didn't include it, check out these links.
http://freshmeat.net/projects/wvdial/
http://open.nit.ca/wiki/?page=WvDial
www.linuxlookup.com/html/guides/ppp-wvdial.html
Definately read the HOW-To at Linuxlookup.
Good luck!


All times are GMT -5. The time now is 06:11 AM.