LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2004, 09:13 PM   #1
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Rep: Reputation: 15
Unhappy 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
 
Old 01-30-2004, 06:44 PM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 01-31-2004, 10:52 PM   #3
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
Already tried that. Dynamic or static doesn't work.
 
Old 01-31-2004, 11:05 PM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Could you post your ISP config file and your resolv.conf? Also, which app are you using to connect? wvdial, pon?
 
Old 02-02-2004, 09:14 PM   #5
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 02-02-2004, 09:32 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 02-02-2004, 09:54 PM   #7
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
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.
 
Old 02-02-2004, 10:04 PM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Try usepeerdns instead of nopeerdns.
 
Old 02-03-2004, 04:27 AM   #9
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
Just out of interest. What exactly does it actually mean? In simple terms.
 
Old 02-03-2004, 07:39 AM   #10
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.

Last edited by adz; 02-03-2004 at 07:41 AM.
 
Old 02-03-2004, 05:26 PM   #11
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
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.
 
Old 02-03-2004, 08:14 PM   #12
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 02-05-2004, 04:58 PM   #13
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
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.
 
Old 02-05-2004, 07:49 PM   #14
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 02-07-2004, 04:06 AM   #15
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Original Poster
Rep: Reputation: 15
No pon and no man pages to it. I will see if I can download it from somewhere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to browse ALL webpages jr88 Slackware 6 10-27-2005 01:06 PM
Unable to browse the internet daliernest Linux - Newbie 2 08-12-2004 05:50 PM
Intenet Configuration - Unable to browse ro_1010 Linux - Networking 6 03-08-2004 02:10 AM
Unable to Browse Sites tanmay_79 Linux - Networking 1 09-05-2002 03:08 AM
unable to browse the internet with smoothwall jude Linux - Security 3 05-07-2002 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration