LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2001, 09:04 AM   #1
Prospector
LQ Newbie
 
Registered: Jan 2001
Location: NH
Posts: 6

Rep: Reputation: 0

I have just installed Linux for the first time here on a machine at work. Please have patience with me!

My first problem is this: I can telnet out to other UNIX nodes here but the other nodes cannot see my new linux machine.

How do I determine what my IP address is from the command line?
 
Old 01-26-2001, 09:12 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
You would use the command ifconfig.
 
Old 01-26-2001, 09:19 AM   #3
Prospector
LQ Newbie
 
Registered: Jan 2001
Location: NH
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, that worked.... to an extent.

I can now telnet into the Linux box using the IP address but it's not accepting my usual login which works locally:

login: root
password: *****

For some reason it's telling me the login is incorrect. Am I not allowed to become root in a telnet session or something?

Thanks for such quick help!! Let me know how I contribute to this site... I have web design experience but I'm new to Linux.

Marcus
 
Old 01-26-2001, 11:46 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
By default you cannot telnet into a box as root (this is a very bad thing to do anyway). You can login as a regular user and then su to root. If at all possible you should drop telnet and use ssh.
 
Old 01-26-2001, 01:58 PM   #5
Prospector
LQ Newbie
 
Registered: Jan 2001
Location: NH
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Jeremy.... that made sense so I said to myself, "time to learn how to add a user". Went out and found a doc on that and now I can successfully telnet into the Linux box from elsewhere on the network...

Yay!

Now that I can add user I'd love to give it a name.... that's not so easy to find. Right now I have to specify the IP address in order to telnet...
 
Old 01-31-2001, 08:03 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
When you say that you want to give "it" a name what is it? The machine..the user..???
 
Old 02-01-2001, 07:13 AM   #7
Prospector
LQ Newbie
 
Registered: Jan 2001
Location: NH
Posts: 6

Original Poster
Rep: Reputation: 0
I meant the hostname but I figured it out.... just type

hostname [desired hostname]

... couldn't be easier.

I've since loaded RedHat 7.0 on a similar machine and must say I am very impressed. I never got the GUI working under 5.2 so I'm thinking I might just upgrade it so both my boxes are ReHat 7.0...

Thanks a lot Jeremy....
 
Old 02-01-2001, 09:54 AM   #8
Prospector
LQ Newbie
 
Registered: Jan 2001
Location: NH
Posts: 6

Original Poster
Rep: Reputation: 0
ifconfig

I'm trying to use ifconfig to display my IP addrss on a RedHat 7.0 system and it's returning this:

bash: ifconfig: command not found

Why was it working before and not now? How do I get it working again, or find my IP address some other way?
 
Old 02-01-2001, 06:45 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
sbin is probably not in your path. Try typing "/sbin/ifconfig".
 
  


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
iso issues, icewm issues +_+ Linux - Newbie 2 08-23-2005 10:50 AM
X11 TTF Issues; OOo Font Issues Kenji Miyamoto Slackware 2 05-27-2005 06:30 PM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM
CD-ROM issues, or IDE issues? GAVollink Linux - Hardware 0 10-16-2003 03:04 PM
Sound issues + Mouse wheel issues matt3333 Slackware 2 10-12-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 AM.

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