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!
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
-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.
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??
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.