Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.