LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-28-2006, 07:01 AM   #1
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
newbie question about remote acess


guys i want to acess my pc from windows client..i use mandriva 2005.
i connect to internet through dsl line ...
i need to know my ip addrese?
should i know it every time i log to the net , to use it in remote acess?

i don't know exactly how i will acess , using ssh or telnet watever?i just want to know teh procedor for someone like me to log to linux machine (dynamic ip)from windows xp?
 
Old 04-28-2006, 07:11 AM   #2
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
Quote:
Originally Posted by deepinlife
guys i want to acess my pc from windows client..i use mandriva 2005.
i connect to internet through dsl line ...
i need to know my ip addrese?
should i know it every time i log to the net , to use it in remote acess?

i don't know exactly how i will acess , using ssh or telnet watever?i just want to know teh procedor for someone like me to log to linux machine (dynamic ip)from windows xp?
hi there deepinlife,


first off, welcome to LQ.org :P

Ok so you're on Mandriva 2005 and you want to connect to that system through another system that has Windows on it.

Yes you will need to know your IP address in order for you to connect to your mandriva system through windows (putty/winscp)

I think you will have to remember it or write it down somewhere. I don't think Windows has something like /etc/hosts like Linux does, so yep, remember or write it down

For security reasons you should use ssh for your connections and you can still look at vnc, x11vnc and a few other things to get the graphical part up if you like to actually see X window...otherwise SSH will do just fine


So basically you will need to learn how to start/run services. You will need to run the sshd (which is the daemon for SSH that allows you to have someone connect to your system via SSH). All other things are just extra as long as you want/need them.
 
Old 04-28-2006, 07:27 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,803

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
What is your hardware configuration? modem or modem/router?
If directly connected you can look at the output of the command
ifconfig ppp0

If using a router you can get your IP address from the router itself or a site like whatsmyip.com. However using a free dynamic DNS site like www.noip.com will you to have a URL that will always resolve to your IP address. A client runs on the server that will update the dynamic DNS service so you do not actually need to know when your dynamic IP address channges.

telnet is not recommended because it isn't secure.
 
Old 04-28-2006, 09:58 AM   #4
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
thx so much for the warm reciving..
it is so nice to post in this forum..

yes i have mandriva and i want to connect to it from windows xp..

i don't have modem. i have a network card , connecting to switch .the switch connects to net through adsl cable..

i have gone to the site whatismyip.com and saw my ip..
then i wrote in the shel
telnet <my ip> -l user
then it asked for password , but when i gave it the password it said it was refused?

i made the user "net" with password "123456" but he refused that..
is he reading the users from certain file?

i also downloaded putty..
but to use it should i make my own pc act as server or just make daemon listen to incoming messages?
 
Old 04-28-2006, 10:01 AM   #5
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Rep: Reputation: 15
dyndns is another dynamic dns service that is pretty easy to configure.

I suggest running ssh and freenx (the open-source project behind (NoMachine). You run the NX server on your linux host then get the full desktop environment remotely over the Internet via a NX client installed on your windows PC.
 
Old 04-29-2006, 10:11 AM   #6
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
i know now that i have to make my pc server to listen to incoming calls..
i have made that and edited teh file which make the telnetd ok...
i have : telnet localhost
and it worked fine..
i sucssfully telneted some sites..
but still now i can't telnet myself?!

i get my ip and i telnet it but it always fail?
telnet <my ip> fail?

what is my ip?is it really the ip of my pc or it is the ip of the switch, i connect to net through?
 
Old 04-29-2006, 10:40 AM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
retiredsoldier, XP does have a hosts file somewhere in the windows directory tree and it acts exactly the same as the linux version. Here's what it looks like:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
 
Old 04-29-2006, 04:02 PM   #8
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
ah ok billymayday,


thanks for the info as I did not know that ( I suppose I could have googled for it or at least try to find some information on that issue but why would i spend time learning windows stuff if I don't even use it :P)
 
Old 04-29-2006, 05:14 PM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Found it pretty much by chance when I was playing with a home network. Thought I'd do a search of windows disk to see if hosts existed.

So burried away, that I still found it simpler to set up Bind on the server rather than search for some tucked away file everytime I changed something on the network.

Sorry if a bit off post
 
  


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
*newbie* ftp question involving remote access MooMooMilk Linux - Networking 4 11-19-2005 10:44 PM
Newbie to Fedora Remote Desktop JamboUK Linux - Newbie 3 04-11-2005 05:19 PM
Question abought acess rights pektop Linux - Security 2 11-02-2004 09:30 AM
newbie Extreme - setting up mysql and php on remote server little girl Linux - Software 3 01-19-2004 12:23 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration