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'm trying to network my PS2 (running Linux, of course), but it ain't workin'. I don't have a default gateway and something tells me I need one. None of my books really say what it is or if I really need one.
a default gateway is the machine through which all your network traffic goes through to the other networks
what is your network setup. do you have a static ip or dhcp. if you get the ip by dhcp then it will automatically take care of it. if you did setup a static ip then you need to specify the default gateway.
if you are connecting through other machine then the first machine in the line will be the default gateway for the second machine.
machine 2 machine 3
now you see machine 1 will be the default gateway for machine 2 and 3. if machine 2 and 3 get their ip by dhcp from machine 1then it will automatically set the default gw. but if you are giving static ips to the 2 and 3 machines then you need to specify the default gateway.
put this line in '/etc/sysconfig/network-scripts/ifcfg-eth0'
If it has internet access then it obviously has all the routes set. If you want internet access through another linux box you will need to enable ip forwarding and masquerading. If the other box is windows you will need to have ICS installed.
No, it's not connected to the Internet. It can't even ping anything. I thought it was a problem with the default gateway, but I'm beginning to see it isn't the default gateway and something else is wrong. I have no idea what it could be now.
I believe the scource of your confusion is that you assume I know what I'm doing. I had a network problem where I couldn't ping anything. I knew that all the network information was correct, except I didn't have anything as the default gateway. I didn't know what a default gateway was and thought I might need one. I see now that I don't. A default gateway is kind of like your proxy server, right?
Strangely enough, everything works normally now. I don't know what was wrong, and I don't know what fixed it, but at least it works.
Thank you all for enlightening me about default gateways.
But, if you sill think it's important, here is the readout of ifconfig: