LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-04-2005, 01:17 AM   #1
tetpt
LQ Newbie
 
Registered: Nov 2004
Location: Minnesota
Distribution: Debian, Fedora, Red Hat
Posts: 9

Rep: Reputation: 0
IP address


I have a RH 9.0 box set up and I would like to be able to SSH into with a Putty window on another PC. I haven't installed the SSH server software yet, but I tried to Telnet into it using the hostname and was refused. I also can't seem to be able to find out what the IP address is of the RH box. I don't remember configuring one when I installed the OS. I have a DSL connection and I'm pretty sure I've got a private NATted IP address on it, but I can't tell what it is...I know it must have something because I'm connecting to the Internet. Can anyone point me in the right direction--ie where I can find the config files? I'm trying hard to use the CLI and I would like to use it instead of the GUI.
 
Old 03-04-2005, 01:19 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Try ifconfig -a in your console window, it should tell u ip information of internet devices.
 
Old 03-04-2005, 01:35 AM   #3
tetpt
LQ Newbie
 
Registered: Nov 2004
Location: Minnesota
Distribution: Debian, Fedora, Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up Awesome!!!

That's EXACTLY the command I was looking for! That was it. I just SSH'd into my Linux box using the IP address. Question: why wasn't I able to get in using the hostname? Also, I son't remember installing SSH, but I just got in on port 22...wierd! Bau also WAY COOL. Thanks!!!!!!!!!!!!!!!!!
 
Old 03-04-2005, 01:38 AM   #4
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
if u want to connect using the hostname, u need to have a DNS Server configured to interpret the IP Address
 
Old 03-04-2005, 01:56 AM   #5
tetpt
LQ Newbie
 
Registered: Nov 2004
Location: Minnesota
Distribution: Debian, Fedora, Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Lightbulb But of course...

Yeah...I should have known that....laughing at myself...
 
  


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
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
problem to print source address and destination address jooboo Programming 2 11-26-2003 03:24 PM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 08:54 AM

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

All times are GMT -5. The time now is 06:03 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