LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-06-2004, 01:10 PM   #1
gbiel
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
How can I know my domain in the network ?


I am a very beginner in Linux. I have installed fedora Core 1 and I would like to
know what is my domain to be able to connect my machine throuth telnet.

Thanks
 
Old 03-06-2004, 09:39 PM   #2
lnxconvrt
Member
 
Registered: Mar 2002
Location: Houston
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113

Rep: Reputation: 18
Details, please

First, use ssh, not telnet, which passes passwords in plain text.

Anyway, how can anyone answer your question without any details? Where is the machine and how is it connected to the internet? Or you talking about dns domain or thinking of something like a Windows domain?

Generally, ssh to a machine can be done with ip address or dns name.

BTW, if you're thinking of connecting via a Windows box there is a free ssh client for Windows called Putty, so that you don't have to resort to telnet.
 
Old 03-08-2004, 08:59 AM   #3
gbiel
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Steve,

I will use ssh instead of telnet. Anyway, I am in a dynamic DNS and dynamic IP network with all other computers running Windows and I just want to have access to my machine from the other computers (that run Windows) via ssh or whatever.

As I said I am a very beginner in Linux and also in subjects related to network, and I do not know how to identify my computer in the network to be able to use ssh. I tried to rename my machine editing the /etc/hosts as:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
127.0.0.1 mcslinux.okstate mcslinux

but it is not working. When I try to run telnet mcslinux.okstate.edu from Windows nothing happen.

Thanks
 
Old 03-08-2004, 09:12 AM   #4
paintcheck200
Member
 
Registered: Sep 2003
Location: Michigan
Distribution: Gentoo, Knoppix
Posts: 69

Rep: Reputation: 15
wether or not you can use a hostname depends on several factors. You can either have someone that manages DNS for your network to add an entry for you box, or you might have a hostname assigned to you automatically.

you can run ifconfig eth0 (assuming your network card is eth0) and get your ip address. Then just use that to connect. If you have contact withthe network admin, try to get an IP specifically set for your box (so IP doesn't change often ) and maybe even get a host name entry in the DNS server.
 
Old 03-08-2004, 10:53 PM   #5
lnxconvrt
Member
 
Registered: Mar 2002
Location: Houston
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113

Rep: Reputation: 18
paintcheck 200 covered it pretty well...

I have a similar setup at work and have my workstation email me its ip in case it changes, but let's save that for later if you want to know how.

One thing about ifconfig: if not running as root in the terminal window you'll probably have to use the full path. Mostly likely it's /sbin/ifconfig.

Try "locate ifconfig" if you can't find it, or do an "su -" first.

Also, I'd change the /etc/hosts entry back. The 127... is the loopback address for localhost. It is not networkable.

Try this: From the Fedora menu--probably the hat--in the lower left corner, go to System Settings, then Network. Enter the root password when prompted. On the devices tab, look for a device called "eth0", highlight it and click the "edit" button. Click the button for "Automatically obtain ip address settings with" and make sure that the drop down box is on DHCP. Click ok. Back at the initial tab you may have to do a "file, save".

That should set you up for DHCP to get a network address automatically just like the Windows boxes.

You can change this later if you get a fixed ip like paintcheck mentions.
 
Old 03-09-2004, 06:44 AM   #6
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
check out www.dyndns.org

They proved domain naming solutions for non static ip's.

Been using em for a year now, brilliant !!!!!

Ade

Did i mention it was free??? Heh
 
  


Reply



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
Domain Name in Network Setup adds2one Slackware - Installation 2 11-24-2005 04:45 PM
How do I change my Network Domain Name after install zwyrbla Linux - Newbie 1 08-22-2004 12:08 AM
Domain bound to network ? phoeniXflame Linux - Networking 0 06-13-2003 06:29 PM
Network Newbie (Setting Up Domain) JCScoobyRS Linux - Networking 6 03-31-2003 12:14 PM
first post: network/domain settings mekon Linux - Newbie 1 01-20-2003 09:46 AM

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

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