Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 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.
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113
Rep:
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.
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.
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.
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.