root account can access the internet, the other account can only access google
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Okay, maybe one step at a time...let's go with repo's advice:
Do you know how to set this? If not, well, it's pretty simple:
- open a console
- issue "su -" (no excamation marks, the hyphen is part of the "spell")...
- enter the root password
- enter "gedit /etc/resolv.conf" and add the line "nameserver 126.96.36.199" (no exclamation marks)and save
- issue "exit" twice (one to get out of the root account, one to close the console)
Possible snag: resolv.conf may be somewhere else, in that case, try a sys-wide seek first...
I did this, and just add one line to the end of that file. And open the browser directly. but still the same.
if I use 188.8.131.52, I can't access to the internet. so I already changed my setting in the resolv.conf into the original setting, which is the DNS Server in our university. And then ping all this address and showed the above results.
should I change it back to 184.108.40.206, and tried to ping all this address again?
Okay, so, no, dont change the resolv back (just yet) - now, as things stand, you can ping 127.0.0.1, the gateway, but...can you ping anything outside? Let's leave google aside for a moment, try to ping yahoo instead. Just to mix the results...