LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Simple Bluetooth Keyboard How-To

Posted 09-01-2017 at 09:37 AM by IsaacKuo
Updated 09-01-2017 at 09:42 AM by IsaacKuo
Tags bluetooth

Here's how I pair a Logitech K810 persistently, on Debian 9 Stretch (should work on most Linux distributions).

The important thing is to do the "trust" step AFTER the "connect" step. If you get the order wrong, your connection will not persist after a reboot!

I do the following as root:
Code:
bluetoothctl -a
remove 00:1F:20:91:C7:8C
scan on
pair 00:1F:20:91:C7:8C
<type passkey on bluetooth keyboard>
connect
...
Senior Member
Posted in Uncategorized
Views 6794 Comments 2 IsaacKuo is offline
Old

RAMBOOT with continuous rsync synchronization

Posted 07-20-2017 at 11:55 AM by IsaacKuo

RAMBOOT is an initrd hack that loads the entire OS partition in RAM, making it run like an extremely fast SSD, at the expense of perhaps 1.5+GB of RAM.

Previously I described RAMBOOT using a compressed OS tarball. This is good for boot time, but it takes time to create a new tarball. This new How-To takes a different approach - simply copying an entire directory tree using piped tar commands (cp won't work because of the limited initrd environment). This increases boot time, but allows...
Senior Member
Posted in Uncategorized
Views 4231 Comments 8 IsaacKuo is offline
Old

NFS-RAMBOOT - How-To for Debian 9 Stretch

Posted 06-30-2017 at 05:09 PM by IsaacKuo

NFS-RAMBOOT adapts my RAMBOOT hack to NFS root (PXE or not). On boot, it extracts an OS tarball from an nfs share into local RAM (recommended 3+GB of RAM). The result is like a very fast SSD.

Why do this? Compared to RAMBOOT, loading (and saving) the OS tarball over gigabit ethernet can be faster than a local hard drive or USB drive, if the file server has an SSD or a faster hard drive (compare 3.5" drives to 2.5" laptop drives, for example). Also, having the OS tarballs...
Senior Member
Posted in Uncategorized
Views 6115 Comments 3 IsaacKuo is offline
Old

tmpfs nfs swapfile - use one computer's RAM as SWAP for another computer

Posted 10-13-2016 at 10:51 AM by IsaacKuo
Updated 10-13-2016 at 02:11 PM by IsaacKuo

Previously, I described how to use one computer's RAM as an SSD (OS drive) for another computer. Here, I describe how to use one computer's RAM as SWAP for another computer. Bear in mind that even a RAM disk over gigabit ethernet isn't going to be as fast as a local SSD, but it's still faster and much more responsive than a local spinning hard drive.

This technique of using another computer's RAM as SWAP is a great way to augment RAMboot, as described here:

http://www.linuxquestions.org/questi...-jessie-37165/...
Senior Member
Posted in Uncategorized
Views 3828 Comments 0 IsaacKuo is offline
Old
Rating: 2 votes, 4.50 average.

Diskless PXE netboot How-To for Debian 8 Jessie

Posted 09-23-2016 at 03:15 PM by IsaacKuo
Updated 09-23-2016 at 03:53 PM by IsaacKuo

There are plenty of other diskless how-to sites out there, but I decided to post this one so it would fit in with my other similarly themed blog posts. Also, most other how-to's are a bit more complicated. This one is a simplistic setup for just one client workstation. You'd have to modify things in one way or another to handle multiple clients.

You can combine this How-To with my How-To for serving up tmpfs nfsroot on the server side. This could be useful if you want to make use...
Senior Member
Posted in Uncategorized
Views 17163 Comments 2 IsaacKuo is offline

  



All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
Advertisement
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
Open Source Consulting | Domain Registration