Lasersköld

2013-10-15

#teknik

How to use a laptop with no screen

My laptop broke. So I thought of throwing it away before I realized the obvious in making a simple server from it. The most usable reason for me to turn it into a server was to be able to use the computational power to run synthesizers which my secondary computer could not manage. This is the two steps I made.

install ssh

Since I already had ubuntu installed from the beginning. The only thing I really needed to do to convert it to some kind of server was to install ssh:

sudo apt-get install openssh-server

Then to use the computer all I needed to do on the client side was

ssh (<ip to the computer) -X

(-X is to be able to run graphical applications as nautilus, gedit, or google-chrome [but to be honest, to run google chrome over forwarded x is a bit overkill])

wake on lan

It would be possible to keep the computer turned on all the time, but because my computer makes a lot of noise I rather turn it off sporadically. Since my laptop has its power button under the lid, I figured out that it would be most practical to be able to boot it from somewhere else. And that's how I came up with the wake up on lan. For my lenovo T61 the wake on lan feature was enabled by default. I got the network card name from my router (format 00:00:00:00:00 something) and then I use the awesome command powerwake when I need to start the computer. Works like magic

powerwake (mac-addr)

Andra inlägg från bloggen

2024

Använda cpp som ett skriptspråk (2024-12-03)

Mekaniskt tangentbord Lasersköld L1 del 1 (2024-11-14)

Alphasmart neo 2 font editor (2024-10-11)

Bloggen är äntligen fyttad (2024-09-24)

2022

Figurer i skuggan (2022-06-04)

2018

prestandatest pa morgonen c (2018-11-21)

2017

Framsteg och frustration (2017-08-31)

2015

fix audacity startup bug on ubuntu 1510 (2015-11-24)

git subtree (2015-06-21)

add native code to android studio (2015-06-21)

2014

Ingenting (2014-11-08)

Äldre inlägg...