LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices

Reply
 
Search this Thread
Old 09-21-2007, 08:15 AM   #1
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Rep: Reputation: 15
connect two pc's , dsl and ubuntu feisty


I have problems getting the two pc's to "respond" to each other

i'm not sure about the configuration , that's what i need help with

i have a crossover cable
using no router


i'm new to this , so pls excuse me , if my question isn't clear enough.


happy linux user

Last edited by firedancer; 09-21-2007 at 08:18 AM.
 
Old 09-21-2007, 09:57 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
You need to be a little bit clearer about what you mean by "respond to each other".

The cross over cable is correct if you are directly connecting them together. (Some of the newer hardware will tolerate either kind of cable.) You will need to manually give each computer its own IP address. (For example you could assign the DSL machine 192.168.0.2 and the Ubuntu machine 192.168.0.3.) But at this point, all you could do is have each machine "ping" the other. If you want to do anything more, you need to figure out what you want to do. Perhaps do file sharing using SAMBA? Or SSH from one computer to the other?
 
Old 09-24-2007, 07:38 AM   #3
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
okay, well i followed the steps , and had the pc 's ping each other ,

but i'm not sure if it was done correctly,
my configuration was a little bit different

Last edited by firedancer; 09-24-2007 at 08:12 AM.
 
Old 09-24-2007, 08:11 AM   #4
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
SSH is a good start , i'll do some reading about t later on ,

i can ping both pc's now ,setup is somewhat different, so pinging might make me see that there is a connection , but not setup correct

so any suggetions how to start using ssh is alrite

and another questions , how can i find out the vncviewer code/name of my dsl box
ubuntu's is easy to find

thnx 4 rply Blackhole54
 
Old 09-24-2007, 08:17 AM   #5
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
SSH , is good to start


pinging works (kind of) , no error message, maybe i'm wrong

i didn't give pc's static ip , but will do that

thanx

blackhole54
 
Old 09-24-2007, 03:23 PM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
A successful ping will look something like this:

Code:
$ ping 192.168.1.xx
PING 192.168.1.xx (192.168.1.xx) from 192.168.1.yy : 56(84) bytes of data.
64 bytes from 192.168.1.xx: icmp_seq=0 ttl=64 time=1.104 msec
64 bytes from 192.168.1.xx: icmp_seq=1 ttl=64 time=1.107 msec
64 bytes from 192.168.1.xx: icmp_seq=2 ttl=64 time=1.085 msec
(I obfuscated my addresses with "xx" and "yy"). This will keep going until you stop it with a Ctl-C.

I don't know how you could successfully ping unless both boxes had an IP address. I don't believe you have DHCP set up, so you would need to assign them manually. The only other possibility is zeroconf which I really don't know anything about.

Both Ubuntu and DSL have an SSH client installed. The box you want to SSH into must have sshd running. DSL has this installed and you can start it from the control panel. By default Ubuntu does not have it installed. If you wish to SSH into Ubuntu, you will have to install the openssh-server package.

As I understand it, these computers will not be connected to the Internet. If you ever do decide to connect them to the Internet, be very careful about exposing sshd to the Internet. There is a lot of activity of people trying to crack into computers via SSH. If you ever decide to do this, there are lots of articles on the Internet about securing SSH.
 
Old 09-25-2007, 09:07 AM   #7
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
yes setup is dhcp




thank you for the insight on using and securing ssh
 
  


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
My Ubuntu 7.04 new install won't connect to my DSL battlecry Linux - Networking 6 10-09-2007 05:03 PM
connect two pc's with nfs rosariowong Slackware 8 04-22-2005 06:00 PM
connect to pc's rosariowong Slackware 1 04-20-2005 02:05 PM
Can't connect to network with Win98/2k pc's m.landoni Linux - Networking 2 11-25-2003 11:16 AM
Connect 2 Linux PC's Daisey Grey Linux - Networking 2 10-17-2001 09:34 PM


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