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.
I have two machines; one is a Windows PC, and the other is a Linux netbook. I use them both at home, and they're each wired to a hub which is connected to a cable-modem. Handily, my provider gives me a separate external IP address for each device, and each had a distinct IPv4 address.
I recently had my cable-modem replaced for a newer one, since the old one was getting a bit dodgy.
However, after the modem had been replaced, I realized that while my PC was continuing to get an IPv4 address (the same one as before), the Linux netbook was being assigned an IPv6 address.
This is a pain for a couple of reasons, but suffice to say that I'd really like it have an IPv4 address.
I thought that disabling IPv6 on the Linux box would sort it out, and that it would automatically find itself an IPv4 address after rebooting, but no matter how I disable IPv6 (I've done it a couple of different ways, following various tutorials), I can't seem to get the machine to pick up an IPv4 address, even though it previously did. (although disabling IPv6 does, indeed, prevent it from being assigned an IPv6 address, so that bit works).
Has anyone any ideas on how I can go about resolving this?
Many thanks in advance.
Last edited by cheddarcheese; 07-06-2012 at 12:11 PM.
I tried the other bits you (Kustom42) said, but it made no difference. I wondered if I was somehow misreading the ifconfig output, but it definitely gives me an "inet6 addr" line, with an IPv6 address, and when I booted without the network cable then there was no inet6 addr line.
So, I think it definitely is assigning an IPv6 address, but - oddly - even though it does assign an address, I still can't get any network activity at all anyway. I tried a few pings to various addresses and all I get back is "Connect: Network is unreachable"
If I ping 127.0.0.1 then I get "From 127.0.0.1 icmp_seq=x Destination Host Prohibited" messages.
As I mentioned earlier, everything was working perfectly until my cable-modem got switched to a new one, and nothing else has changed.
Any suggestions, comments, etc, much appreciated. Thanks!