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.
127.0.0.1 ALWAYS points to yourself. Used on any computer, 127.0.0.1 will be the address of its own network card. It's hardwired in. If by internal IP, you mean your IP on the LAN, then it's given by the line inet "addr:192.168.0.4". Hope that helps
From your other thread, it's clear that something is borked pretty good on your system. But, it's probably a good idea to try to address all of it in one thread, since whatever it is is probably causing it all.
Kernel IP routing table
Destination Gateway Genmask Flags Metric ef Use Iface
Host bridge: VIA technologies, Inc. VT82C598 [Apollo MVp3] (rev 04)
PCI bridge VIA technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
ISA bridge: VIA technologies, Inc. VT82C596 ISA [Mobile South] (rev 06)
IDE interface: VIA technologies, INC. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE )rev 06)
USB Controller: VIA Technologies, INC. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
Bridge: VIA Technologies, Inc. VT82C596 Power Management
Ethernet controller: Accton Technology Corporation SMC2-1211tx (rev 10)
Communication controller: PCTel Inc HSP Micromodem 56 (rev 01)
VGA compatible controller: ATI technologies Inc 3d rage IIC AGP (rev 7a)
dmesg | grep eth output:
eth0:Realtek RTL8139 at 0xea00, 00:e0:29:33:db:80, IRQ 11
eth0: Identified 8139 chip type RTL-8139A
I am the administrator of the system. I'm sitting right beside it.
I don't know what a chroot sandbox is. Care to explain?
Thanks a lot for all the help. It's a lot to go through
Well, for some reason eth0 is down and of course as a result you have no route. Have you tried rebooting the machine to see if that gets it back in order? Unless you are manually shutting down eth0 for some reason, it should work. Run "ifconfig eth0 up" and give us the output from that. Also, give us the output from "cat /etc/network/interfaces".
How is your network set up ? DHCP, static IP ?
As your dmesg output shows an ethernet module your card should be correctly set up. Just check the output of "lsmod" looking for a 8139too module or similar.
Configuring the NIC with a static IP
/sbin/ifconfig eth0 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0
the broadcast address is not strictly necessary as it it guessed automatically by ifconfig.
Configuring the NIC with a dynamic IP
/sbin/dhcpcd -d -t 30
I don't know what distribution you're going to set up, so may be the path of your commands could be different (/usr/sbin or /usr/local/sbin ).
I strongly suggest you set up your NIC by the tool provided by your distro the get permanent settings.