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.
Frankly I don't know if the problem I have has been resolved somewhere in another thread, so sorry if this bothers someone. I'm totally new to linux.
I use Redhat 8.0 on a Sony PCG FX 501 laptop. I succesfully installed all the packages and then tried to connect the laptop to my own LAN.
The ethernet card is a realtek RTL 8139. I disabled the redhat firewall, and configured as follow the ethernet card eth0 (static):
Gateway (another comp directly connected to a winmodem) 192.168.59.79
It seems I'm very close to the solution but when trying to connect, after some time I got "unable to resolve xxx.google.xxx". All firewalls have been desactivated and if I'm able to ping 127.0.0.1 I'm unable to ping successfully the gateway 192.168.59.79
I am assuming that you are using another computer with a modem as a "gateway" to the internet... that is why you have that other pc address set up as your default gateway, right? if so MAKE SURE THAT IP FORWARDING IS ENABLED ON THAT BOX. VERY IMP.
did you assign DNS servers to the linux box? they would be responsible for resolving www.google.com to an ip address. and would explain that error message.
if yes, then try pinging them. if you cant ping them, youve got a connection problem on the other side of your modem (verify the gateway comp can reach the internet). if you can ping the dns servers, then run NSLOOKUP (a utility that lets you manually do name resolution.... ie you type in www.linuxquestions.org and the program responds with the numeric IP address).
The PC connected to the internet works fine along with another one with MS. Indeed the laptop also worked fine and was able to connect to the internet using the same config under an MS box. But it seems that the same manual config doesn't work with linux. Indeed I can't see if a DNS is set on the linux box. How to verify? A
Another way of helping me would be, if some have some time, to explain how YOU would proceed to connect a laptop on an existing an d working LAN (under MS though).
Anyway thanks for the help : I will help myself if I can
OK. Under redhat 8.0 "nslookup" doesn't show nothing. And "dig" says :
conn. timed out; no servers could be reached.
Also I can't figure how to set an ISP DNS since I will have to switch then to a DHCP config?
Yes the MS comp directly connected uses 192.....79 as a gateway. Well I agree it must be a DNS problem since the web browser first seems to run well (resolving host...) and then fails with this error message: www.xxx couldn't be found. Please check the name and try again. While using the IP address of the web site nothing works (connection refused).
Still walking and now singing "HASTA SIEMPRE" (kidding) :-)
Yes, I'm rebooting of course and used the correct DNS server. I agree it will work soon since...I can't accept the present situation (you readers know what I mean : trying and trying again until the problem is solved). I just don't wnat others to waste (too much!) time.
By the way I have here a Suse Pro 9.0 and plan of course to try it... :-;
are the correct modules for your ethernet card loaded?? do "lsmod" without quotes to see what modules are loaded. The module for your card should be "8139too", or maybe just "8139". If neither of these are loaded then do "modprobe 8139too(or 8139)" to load the module. If it says there is no such module, then you will have to recompile the kernel with it. Can you ping the interface itself?? Because if you can't then your problem is with the nic itself.
Originally posted by xbbd @Abe_the_Man
Yes the lsmod shows 8139too...And pinging 127.0.0.1 works fine
Sorry, what i meant by pinging the interface was to ping the ip of it. If you set it's ip to 192.168.0.101 then ping that address. Other than that, i've really got no idea and i'm really quite tired. I'll try and post some more help tommorow, but i'm beat and i can't hardly think straight. Keep at it, but try not to lose too much sleep!