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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-07-2005, 08:18 AM
|
#1
|
Member
Registered: Jun 2005
Posts: 53
Rep:
|
how to find my computer address?
Problem solved : How to find the name of your computer as it appears on the internet
Hi , I need to find my computer address, name ... so that i can ssh it from college..
What i am looking for is like ' pcname.eu.ac.uk ' for example
Thx ![
Last edited by mfrangos79; 11-09-2005 at 06:22 PM.
|
|
|
10-07-2005, 08:36 AM
|
#2
|
Senior Member
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082
Rep:
|
If you are going to ssh from college to home, the simplest thing would be to go to whatismyip.com on your home computer and then ssh to that address (edit: by "that address" I mean the one given when you go to whatismyip.com) from college. If your home box is behind a router, don't forget to point port 22 to your home box.
Last edited by esteeven; 10-07-2005 at 08:37 AM.
|
|
|
10-07-2005, 09:36 AM
|
#3
|
Member
Registered: Jun 2005
Posts: 53
Original Poster
Rep:
|
Thx for your answer...however... :
How do i point port 22? and what is that for ..does it have to be port 22?
(just a new in Linux -debian)
|
|
|
10-07-2005, 09:43 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
if you don't have a domain name, you will have to use the ip adress which is given by :
|
|
|
10-07-2005, 06:06 PM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
Quote:
Originally posted by mfrangos79
Thx for your answer...however... :
How do i point port 22? and what is that for ..does it have to be port 22?
(just a new in Linux -debian)
|
No, port 22 is just the usual port for ssh connections. Otherwise you have to configure your ssh-daemon to wait for incoming connections on other ports.
If you own a hardware router there are usually settings like "virtual server" or something like this, may be named other. To get your network secure a router in most cases rejects incoming connections on ports, unless you tell it to forward packages on these ports to a special computer in your network. That means you would have to forward port 22 on your router (if you have one ) to your computer with the sshd daemon or for example port 80 if you would like your home computer to act as a web server (with apache configured to use the standard port 80). Otherwise most routers would simply drop these packages, you could not connect from outside to your home computer.
|
|
|
11-01-2005, 08:55 PM
|
#6
|
Member
Registered: Jun 2005
Posts: 53
Original Poster
Rep:
|
how to find my network name .. SOLUTION
To find your computer name on the network so that you can ssh it from anywhere in the world .. do the following :
open a shell and type:
you will see somewhere at the begining something like
where x's are numbers
Then simply do the following in a shell :
and you can see the name of your computer on the network
|
|
|
11-01-2005, 10:10 PM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
|
You may want to have a look at www.dyndns.org if you want a free third-level domain name. They require you to update your domain name every 5 to 35 days (at your choice--but not less than 5, which might be a problem, depending on your DHCP lease length or other circumstances).
It works for me, so by induction hypothesis it'll work for you too
hth --Jonas
|
|
|
11-07-2005, 07:41 PM
|
#8
|
Member
Registered: Jun 2005
Posts: 53
Original Poster
Rep:
|
thx
|
|
|
11-08-2005, 02:24 AM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
|
OP: if you have a solution, I suggest you state so in the top of your first post, for two reasons:
(1) everyone who enters this thread can see your problem has been solved.
(2) everyone can see where to find a solution.
As a good example, have a look at http://www.linuxquestions.org/questi...hreadid=351315
--Jonas
|
|
|
11-09-2005, 06:20 PM
|
#10
|
Member
Registered: Jun 2005
Posts: 53
Original Poster
Rep:
|
ok done
|
|
|
All times are GMT -5. The time now is 11:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|