JuiceBlog A TFC - Internet - Debian - Juice blog. Formerly named the most famous orange juice of the world, ever!
Posts with the tag Debian:

No sound after dist-upgrade from stretch to buster

Well, I finally decided to upgrade my Debian to the current stable version. Everything actually went extremely smoothly, even if I wasn’t all that optimistic in the progress.

Multiple monitors without EDID on Linux

I’ve been wanting to make this work for a long time, but the two times I tried to configure it I gave up because I just didn’t know what else to do. This time I sat down and didn’t get up until it worked. I worked on the xorg.conf several times before, so I know my way around it. It was still quite a puzzle for me to get working. If you want to know how to configure a display without EDID on Linux, click here. First I tried using the X way. Multiple Monitors with a Screen each, using one Device, put together in a ServerLayout.

Generating a PGP key for Retroshare

So, exactly a month ago I’ve been playing around with Retroshare. I liked the idea that you use your PGP key as an identifier, but soon hit a brick wall: my key had sub-keys. Specifically, a sub-key for encryption. I posted the issue to Retroshare’s Twitter and they shortly after confirmed my issue. I had no idea how to create a plain, no-subkey PGP key. But it’s so simple!

Installing BTSync properly on Debian

Download the appropriate version of BitTorrent Sync and open a terminal on your Download directory. The archives have various names, so I’ll just use a generic one. First, extract the executable. tar xf btsync.tar.gz Then, move it to the user binaries folder. sudo mv btsync /usr/bin Now, open up your scheduling configuration. crontab -e To the bottom of the file, add this: @reboot btsync --config ~/.config/btsync/btsync.json Exit the editor. Now, create the folder and the file. Choose a port and change it to something you like (the “listen” attribute under “webui”). You may also add “username” and “password” to this, although you don’t have to.

Configuring a QNIX QX2710 for Debian Jessie

I already got a lot of the necessary information from a post by Pat Regan that you should definitely read before starting to play around with your settings! At first I tried to configure my new QX2710 with my old monitor connected, but I figured I might aswell just do it remotely. So I connected to my computer from my laptop via SSH and played around with the xorg.conf. After applying the changes I’d restart lightdm (sudo service lightdm restart) until it worked. In the meantime my monitor showed me this: I ended up using HorizSync 89.52 - 160.0, VertRefresh 59.

Why the NVIDIA graphics driver should be available in repositories

It’s not that big of a deal, but would it really be that big of a problem to deliver a proper .deb package for the driver installation? I had to let the Nvidia installer disable my Nouveau driver, I had to manually stop LightDM and I also had to correct the /usr/bin/gcc link, since Nvidia apparently doesn’t care about my CC environment variable. sudo service lightdm stop sudo rm /usr/bin/gcc sudo ln -s /usr/bin/gcc-4.6 /usr/bin/gcc What’s up with that?

Installing Debian with Mate

Preparing your installation medium First you need to put your Debian image on a USB stick. You can do this by using the dd command; if is the input file, of is the output file. We are going to use the ISO as input and the USB device address as output. dd if=/home/orangensaft/Downloads/debian-wheezy-DI-rc1-amd64-netinst.iso of=/dev/sdb When it’s done you’ll see a new line, ready for input. At that point, you may restart your system and boot from USB. Installing Debian & initial setup I recommend keeping a second USB stick around to conveniently deliver missing firmware to the installer, although this is optional if they aren’t essential network or display drivers.

A few helpful mail tips

Most of these things never really bothered me on their own, but after some time it just starts to get annoying. Especially when all the mail you get is about how a file exists that you could easily and quickly delete, or how the configuration is just not right for another certain, convenient feature. How do I read mail? / Which client should I use? To read your mails, you could use the standard mail application. I suggest you try others, like mutt. It’s actually quite nice, if, like me, you just need a client to read local system mail. When it comes to more, you might want to check if your favourite E-Mail desktop application can read the system mail.

Upgrade ownCloud from manual install to repository

I started out with a manual installation on version 4.5.4. It was located in a /home/ folder rather than the /var/www/ directory, which gave me opportunity to think some more. So, let’s begin. Go to the folder your ownCloud installation is in and tar it, in case anything goes wrong. sudo tar -cjvf owncloud.tar.bz2 owncloud/ Since it’s now owned by root because of the sudo, make it yours now. sudo chown orangensaft:orangensaft owncloud.tar.bz2 Subscribe to the new ownCloud server repository. sudo vim /etc/apt/sources.list Add this line at the bottom: deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_6.0/ / Then add the key, update your repositories and install owncloud.

MySQL Dump: Access Denied

I needed an SQL dump of my Global GoldSrc Database to continue work locally. Un-/Fortunately, the server owner and sysadmin is very concerned about server security, so I was unable to just dump the database with this: mysqldump -p -u osaft osaft_gtfcdb4 > osaft_gtfcdb4-20130213.sql The server wouldn’t let me because of insufficient access. mysqldump: Got error: 1044: Access denied for user ‘osaft’@’localhost’ to database ‘osaft_gtfcdb4’ when using LOCK TABLES Fortunately, there’s a simple solution that should work like a charm: –single-transaction. mysqldump -p -u osaft osaft_gtfcdb4 --single-transaction > osaft_gtfcdb4-20130213.sql Then just bzip it (or not) and you’re done! tar -cvjf osaft_gtfcdb4-20130213.