LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to browse internet (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-browse-internet-140177/)

windoze killa 01-29-2004 08:13 PM

Unable to browse internet
 
The dreaded internet connection problem rears its ugly head again. I have searched and read heaps but to no avail. I am running MDK9 and trying to connect to the internet via a 33.6K Banksia (Dynalink) external modem. Connecting isn't a problem but browsing is. I seem to have DNS errors but I have put the DNS server ips into resolv.conf manually and also let them be found dynamically. Still I can't browse.

Is the a bunch of files I can delete or delete the contents of that can allow for my system to automatically reconfigure? For example, DNS entries, gateways, or anything else that may be causing problems.

A few more details would probably help too, so here goes. I used to connect to the internet via a WIN XP machine which was running NAT32. Fantastic program but I have recently started to have problems with it. So now I want to reverse the situation and connect using my linux box and use it as a gateway for my XP box.

One further thing to note and I have no idea if this maybe a problem or not. My ISP has told me that the DNS server IPs are as follows:
203.194.27.57
203.194.56.150

BUT, when I connect using either the XP or the linux box the IP for the DNS come back as 203.220.32.107 every time and every day.

Please help. I am having withdrawl symptoms here.

Jason

adz 01-30-2004 05:44 PM

There's an option you can pass to pppd that will make it dyamically get assigned DNS servers. It's something like "dynamic" or "dynamicdns" or some variant. A man pppd will yield results. Then just put it in your ISP setup file.

windoze killa 01-31-2004 09:52 PM

Already tried that. Dynamic or static doesn't work.

adz 01-31-2004 10:05 PM

Could you post your ISP config file and your resolv.conf? Also, which app are you using to connect? wvdial, pon?

windoze killa 02-02-2004 08:14 PM

Not sure what the ISP config file is. I use kppp to connect and I assume it must create a file with the settings in.

I can't post my resolv.conf as I am at work. But from memory it is as follows

name dodo.com.au
nameserver 203.194.27.57
nameserver 203.194.56.150


Currently I am back to connecting throught the XP box and for some reason I have to go into MDK setup and disable ICS. But everytime I reboot it is running again.

I would really like to get linux as the server here and it is getting frustrating.

Thanks in advance

adz 02-02-2004 08:32 PM

kppp I believe is just a front end for wvdial. I only ever used pon. All I ever did was used pppconfig to set it up. If you don't have it then just edit your /etc/ppp/peers/provider file. It may be in a different place so do a man pon. Then put something like this into the file:

Code:

# This optionfile was generated by pppconfig 2.1.1.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS0
115200
defaultroute
noipdefault
user "username"
remotename provider
ipparam provider

usepeerdns

Hope that helps.

windoze killa 02-02-2004 08:54 PM

That looks very similar to the etc/ppp/options file. Mine is similar to the following:

lock
noauth
noipdefault
nopeerdns

I think that is pretty close. There is no ISP info in it at all. I will check tonight to see what it says for sure.

adz 02-02-2004 09:04 PM

Try usepeerdns instead of nopeerdns.

windoze killa 02-03-2004 03:27 AM

Just out of interest. What exactly does it actually mean? In simple terms.

adz 02-03-2004 06:39 AM

Type in man pppd to get all the options and their descriptions. The description of "usepeerdns" is:

Code:

      usepeerdns
              Ask the peer for up to 2 DNS server  addresses.  The  addresses
              supplied  by  the peer (if any) are passed to the /etc/ppp/ip-up
              script in the environment variables DNS1 and DNS2, and the envi-
              ronment variable USEPEERDNS will be set to 1.  In addition, pppd
              will create an /etc/ppp/resolv.conf file containing one  or  two
              nameserver lines with the address(es) supplied by the peer.


windoze killa 02-03-2004 04:26 PM

Thank you for that and please don't take this the wrong way but I read the man page for it. Thats why i asked for a simple explaination.

When it says "Ask the peer for up to 2 DNS....." what is the peer?? My understanding of a peer is something at the same level. If it is refering to the ISPs server then that is not at the same level in the network scheme. This is why I think I am having some trouble, pointing at the wrong PC for info.

Just wish man pages were writen like dummies guides.

adz 02-03-2004 07:14 PM

The peer is the ISP's computer/server. It's called a peer because all nodes on a network are peers. I think it's because both do their own processing and therefore neither can be the master nor the slave.

windoze killa 02-05-2004 03:58 PM

Thank you. Thats sort of what I thought. Just confusing how computer english is different to reall english.

Still can't connect though. Will try again on the weekend.

Is there a way other than reinstalling to make sure I delete all configs and start from scratch? just for the networking and internet.

adz 02-05-2004 06:49 PM

See if you can try it with pon. Type it into a terminal and see if you actually have it installed. If so you may be able to just rip off my config file.

windoze killa 02-07-2004 03:06 AM

No pon and no man pages to it. I will see if I can download it from somewhere.


All times are GMT -5. The time now is 04:16 AM.