This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Connecting Two KDE Neon Computers via Ethernet Cable

Tags: None
(comma "," separated)
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
Hi people,

I just want to connect two KDE Neon computers via an ethernet cable. They recognise each other, but won't connect. Is there a simple way to do this so that I can transfer files from one computer to another?

Thanks,

M.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
P\'tit Nico
Registered Member
Posts
6
Karma
0
OS
Hi,

When you put the ethernet cable do you have Internet with ?
Do you have an IP address ?
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
P\'tit Nico wrote:Hi,

When you put the ethernet cable do you have Internet with ?
Do you have an IP address ?


I use a wireless modem for my Internet. I tried disconnecting the wifi then connecting the two computers via wired ethernet. They see each other, attempt to connect, but fail to do so. They should connect via DHCP, no?

Both computers attempt to set network addresses, then they report that the IP configuration is unavailable and the wired network gets deactivated. They both keep cycling through this.

Do I have to go through the following process?

https://www.tecmint.com/install-dhcp-se ... tu-debian/

Seems too fiddly. I might just copy to an external drive then copy over to the other computer...


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
P\'tit Nico
Registered Member
Posts
6
Karma
0
OS
Neon don't run a DHCP server on a fresh install, and you will lost a lot of time to install and configure it (it can be very complex).

You can just do something more simple. ^-^
First, with internet just install openssh on both PC with :
Code: Select all
sudo apt install openssh-server

Then, put the cable ethernet between the two PC, disable WiFi.
Go inside the network manager and choose an manual static IP address like (it's just an example) :

First PC :
Ip address : 192.168.0.1
Netmask : 255.255.255.0
Gateway : leave blank
DNS : leave blank

Second PC :
Ip address : 192.168.0.2
Netmask : 255.255.255.0
Gateway : leave blank
DNS : leave blank

Then open "Konsole" on the PC1 and type :
Code: Select all
ping 192.168.0.2

If it works type :
Code: Select all
ssh mercurial@192.168.0.2

Accept the key and type your password.
If it's OK it means the 2 PCs can talk together throw ssh. So close Konsole and be prepared to transfer your files. :P

The last step is to use Dolphin to transfer your files with :
Dolphin > Split view
And in the address bar of the right type :
Code: Select all
sftp://mercurial@192.168.0.2

Type your password and now you can drag'n drop your file.
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
Thanks mate, that was very helpful and I managed to get it going.

A few things to note for anyone else trying this out. The following worked for me and resolved various issues I was having:

1) You enter the above values in IPv4 and make sure it's set to manual. Don't select "IPv4 is required for this connection." Once you've entered all of this, the network should activate.
2) ssh username@192.168.0.2. This is the destination username of the computer.
3) Close the terminal running ssh to get wifi back.
4) Internet won't work while this is running (not that I could see).

Cheers,

M.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
P\'tit Nico
Registered Member
Posts
6
Karma
0
OS
mercurial wrote:Thanks mate, that was very helpful and I managed to get it going.


Cool ! ;)
Thanks for your feedback.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]