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.
Ok, I pretty much a complete noob with linux. I decided to dual install it with my so i can learn it. I went with Fedora Core 4 x86_64 for my Athlon 64 using kernel version 2.6.11-1.1369_FC4
My first question. When i originally did the install, i selected to install everything, hoping to experiment with all of it. Now I am realizing that i don't want the server packages on there for now. I don't need them, as my windows OS hosts a simple server for the few extra tools I need, and the rest i have hosted elsewhere. So when i go in (using GNOME or KDE, as i don't know how using command line) to uninstall these packages, i get an error. The error says:
Packages Not Found
The following packages could not be found on your system.
Installation cannot continue until they are installed.
Then it lists a list of everything i just unchecked!
What do i do? How can i get these server packages uninstalled?
My second question. If i goto a webpage or any server by IP, everything is perfect and works wonderful, fast like it should be etc etc etc. But when I try to access anything by a domain, be it a webpage, chat, ANYTHING, there is literally a 5 to 10 second delay where all it says is "Looking up " + whatever the domain name is. How can i make it so that there isn't this delay. I know it is a linux setting, and not a network setting, because the internet works fine when I am in windows, along with the other two computers hooked up to the router.
Would removing the server packages resolve that, as "DNS Name Server" is one of those packages?
I've already tried fiddling with /etc/nsswitch.conf and /etc/host.conf and network properties. I've am beyond lost and frustrated at the time i've spent trying to figure it out.
for the package because u are new to this so i suggest do reinstallation again and chose custome install chose all software except server option eg, ftp/webserver and try it again
u got nothing to lose with this way , even u can gain more knowledge
for the internet thing pls look at /etc/resolv.conf
add one line for any ur provider dns server eg. like this
[root@ap4 ~]$ nano -w /etc/resolv.conf
add nameserver 192.168.0.1 and save with control+x and see the look
Ok, did the reinstall, successfully got the server stuff off the computer. Secondary question. If i reinstalled them later when I am ready for them, do u think i would have problems taking them back off again?
As for the internet issue. I'm not sure what i should be editing. My router IP is at 192.168.2.1 which connects to another router at 192.168.1.1 which then forwards to the internet. Here is the exact information in resolv.conf:
The DHCP server from the router supplies the same exact information except that it doesn't say localdomain, it says ph.cox.net.
What do i do from here. I was hoping that reinstalling would clear this up, but it doesn't. And i don't think changing it to ph.cox.net will solve the problem, because i had already done that before i did the reinstall.
Now there is nothing wrong with having multiple DNS servers, but I am not sure about having 3 nameservers, then search localdomain. Unfortunately, under DHCP, you don't have the ability to set static DNS info, AFAIK. Just as a test, I would set yourself to a static IP on your local subnet, with the resolv.conf rewritten to read
and see if that speeds up your resolution. You may also have a networking issue in having two 192.168 subnets. Computers on 192.168.2 can't directly communicate with 192.168.1, unless you do something funky with the subnet, like setting it to 255.255.251.0. If your 2nd router assigns 192.168.2 addresses, it knows how to reach 192.168.1, but devices behind it can't directly hit the local nameserver.
Well I got it working but not 100% to my satisfaction.
I brought up the Network Configuration window and brought up the properties for my eth0 connection. From there, I left "Automatically obtain IP Address settings with:" checked and left it set with DHCP. What I did differently here was UNCHECKED "Automatically obtain DNS information from provider." Leaving this unchecked, I learned made it so that it would not rewrite the resolv.conf file.
I then edited /etc/resolv.conf file to make it say this:
This made it so that it searches my ISP nameservers first then my local network. I did not include a search. Now my internet is instant, and my local network works as well. And I do not take the chance of setting my computer to an IP address that is already in use were I to use the Assign Static IP Address option.
The only disadvantage is if my ISP DNS addresses were to ever change, it would not be automatic, I would have to manually adjust. So that sucks. But, unless there is another way to go about doing this, this worked.
Thank you so much. I know i will probably have more questions as I go.
That is not a major loss, or even a problem. There are 2 possibilities if your ISP changes DNS IPs -
1) if they gave you a static address, they have to publicize those changes so you would know about it (less likely)
2) Your ISP gives your cable modem a dhcp address and dns info. If you can't connect, just log into the router and see what the new addresses are. (likely case)
Yes that isn't aiutomated, but if that is too much work for you, you could code up a script to login to the router, check the dns info, and change yours if it finds a difference.