Linux - Newbie This 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! |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-11-2002, 12:23 PM
|
#1
|
|
Member
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30
Rep:
|
Basic network information
I have a home LAN consisting of three computers. One of them runs Windows XP. The other two previously ran Windows98. I have installed Linux 8.0 (workstation) on the two Windows98 systems, so now I have two Linux 8.0 systems and one XP system. When I ran all Windows, I could share files. I asked a question previously about how to do this with Linux and was told to run Samba.
Well and good. I read the Samba docs, and now I need to find out some very basic stuff about my network (Windows just did it all automatically, so to speak). How do I set hostnames? How do I find the IP numbers for the ethernet cards? I realize this is all very basic, but I don't know how to do it. (A newbie I am).
Thanks,
john
|
|
|
|
12-11-2002, 02:55 PM
|
#2
|
|
Member
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142
Rep:
|
-1-
To find your ip in windows, type (in a command prompt) ipconfig. (you an try winipcfg but i'm unsure it will work on XP).
Note: your IP should be something like 192.168.0.X
-2-
For host name, you have two possibilities: DNS or host file.
Since you only have 3 computers, I would go with the host file. It is simpler. Simply edit the /etc/host file (in linux) and had an entry for each computer.
In windows you have the equivalent file. It is in \windows\host if memory serves correctly.
Hope this helps.
|
|
|
|
12-11-2002, 04:12 PM
|
#3
|
|
Member
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30
Original Poster
Rep:
|
The "ipconfig" to see the IP number works on Windows, sure enough. But it does not work on Linux (command not found). Is there an equivalent for Linux??
|
|
|
|
12-11-2002, 04:16 PM
|
#4
|
|
LQ Newbie
Registered: Dec 2002
Posts: 27
Rep:
|
yes
it's called ifconfig
gives you all information regarding the ethernet adapters.
|
|
|
|
12-11-2002, 04:28 PM
|
#5
|
|
Member
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30
Original Poster
Rep:
|
Okay....tried it....says "command not found." Did a "man ifconfig" and of course it exists -- there is a man page for it. So I will try playing with find (my own private torment) but if anyone has a suggestion I would appreciate it.
Yr. Obt. Svt.
John
|
|
|
|
12-11-2002, 05:17 PM
|
#6
|
|
Member
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30
Original Poster
Rep:
|
Never mind. Mea culpa. Not sure where I screwed up, but I have it now (that is, ifconfig works fine -- in /sbin).
Ciao,
John
|
|
|
|
12-11-2002, 09:04 PM
|
#7
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
Not sure if you figured this out, but it wasn't working because /sbin isn't in a regular users path (the directories bash looks for commands). type "echo $PATH" to see...
|
|
|
|
12-16-2002, 09:51 PM
|
#8
|
|
LQ Newbie
Registered: Dec 2002
Distribution: MDK 9.0
Posts: 8
Rep:
|
depending on how you setup your linux installation, there are some commands that only root or su (super-user) are allowed to use.
I'm in Tallahassee as well, glad to see some more interest here! Welcome.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:20 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|