LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-11-2002, 12:23 PM   #1
dalraidia
Member
 
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30

Rep: Reputation: 15
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
 
Old 12-11-2002, 02:55 PM   #2
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
-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.
 
Old 12-11-2002, 04:12 PM   #3
dalraidia
Member
 
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30

Original Poster
Rep: Reputation: 15
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??
 
Old 12-11-2002, 04:16 PM   #4
Torm3nt
LQ Newbie
 
Registered: Dec 2002
Posts: 27

Rep: Reputation: 15
yes

it's called ifconfig

gives you all information regarding the ethernet adapters.
 
Old 12-11-2002, 04:28 PM   #5
dalraidia
Member
 
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 12-11-2002, 05:17 PM   #6
dalraidia
Member
 
Registered: Dec 2002
Location: Tallahassee, Florida
Posts: 30

Original Poster
Rep: Reputation: 15
Never mind. Mea culpa. Not sure where I screwed up, but I have it now (that is, ifconfig works fine -- in /sbin).

Ciao,
John
 
Old 12-11-2002, 09:04 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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...
 
Old 12-16-2002, 09:51 PM   #8
Skilless
LQ Newbie
 
Registered: Dec 2002
Distribution: MDK 9.0
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Network Interface Information manikchopra Programming 2 08-17-2005 10:48 AM
How do get ALL information about my network hemmelig Linux - Newbie 2 12-08-2004 11:45 PM
some very basic information required sixth_sense Linux - Newbie 2 04-18-2004 12:39 AM
Basic information needed! PLUGS & WIRES safe & clean- How to? yuppi21 Linux - Hardware 3 11-18-2003 11:01 AM
Getting Network Interface Information yrraja Programming 5 11-10-2002 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration