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.
The easiest way for someone new with Linux is to use Linuxconf. There you will find the settings configuration to put in your DNS, IP and other info for your connection. Don't know your info, call your ISP or if you have Windows you can get the info there, from winipcfg, ipconfig or whatever.....
If your cable modem ISP is setting you up with a DHCP address, all you have to do is su - root and run "setup" in the menu option "network" tell it to use DHCP, then run /etc/rc.d/init.d/network restart. You should be able to get out now.
Here is some more info.
My cable provider (cox @home) uses DHCP. When I run netconfig, I set it to DHCP and click OK to go to the next screen, but it pops up a message and quickly goes back to the first screen. The message reads "Sending ??????? for IP information...". I don't know what the second word is, but I know is 7 characters long. Just about anything I do in Linuxconf pops up "Invalid line 1 in /etc/resolv.conf". resolv.conf contains one line and one word: "search". What should my resolv.conf look like?
Also, you should be able to get all of your resolve info from your network configuration properties in windows when connected to your ISP from your windows box. You will also need a "search" entry with a domain defined in /etc/resolv.conf. I'm using the search domain as is on my linux box because I use AT&T @home and I assume your using @home also. You'd think it would be just "home.com" or some such, but it is actually "yourlocale.state.home.com", mine is in Olympia, Washington (olmpi1.wa.home.com, that's just my domain. You'll need to know this for DNS resolution)
Traceback (innermost last):
File "/usr/lib/rhs/netcfg/netcfg.py", line 24, in ?
from rhtkinter import *
File "/usr/lib/rhs/python/rhtkinter.py", line 52, in ?
e = Entry()
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1354, in __init__
Widget.__init__(self, master, 'entry', cnf, kw)
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1078, in __init__
BaseWidget._setup(self, master, cnf)
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1055, in _setup
_default_root = Tk()
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 886, in __init__
self.tk = _tkinter.create(screenName, baseName, className)
TclError: no display name and no $DISPLAY environment variable
The $DISPLAY environment variable doesn't exist, what should it look like?
Also, when I shut down I get:
shutting down interface eth0 down: error fetching interface information: device not found
In my Windows box, everything is either set to 'auto' or 'disabled'. When I go to Network properties and get properties on TCP/IP -> D-Link ...... , DNS is disabled, Gateway is left blank, WINS config is disabled, and IP address is obtained automatically.
Originally posted by justin19fl In my Windows box, everything is either set to 'auto' or 'disabled'. When I go to Network properties and get properties on TCP/IP -> D-Link ...... , DNS is disabled, Gateway is left blank, WINS config is disabled, and IP address is obtained automatically.
if your using DHCP yes, it will show up with nothing cause Windows automatically gets that info once on the net, if you have 95/98 type winipcfg in the start/run box.... that should get the info when your on the net in windows, dns, gateway...etc...
if your using NT, type in the DOS prompt ipconfig /all and then you should get the info from there.
Ok, I've printed all of the info that I can get from 'WinIPcfg', and now I'm running around in 'linuxconf' plugging numbers. The only problem is it keeps wanting numbers that I don't have, and I have too many numbers that it don't want.