• Uncategorized

random things

  • Uncategorized
Home » Posts tagged "dev"

Tag: dev

IPSEC VPN gateway/NAT using Racoon and Setkey

Uncategorized debian, dev, ipsec, linux, vpn2013-01-30gheja 0 Comments

Keep an eye on mode… spdadd 10.0.2.0/24 10.0.1.0/24 any -P out ipsec esp/tunnel/172.16.0.2-172.16.0.1/require; spdadd 10.0.1.0/24 10.0.2.0/24 any -P in ipsec esp/tunnel/172.16.0.1-172.16.0.2/require; … use tunnel not transport. sigh…

How to sort lines in a file randomly on Linux?

Uncategorized debian, dev, linux2012-12-27gheja 0 Comments

sort –random-sort cat a.txt | sort –random-sort > b.txt How can I randomize the lines in a file using a standard tools on Redhat Linux on StackOverflow

Ubuntu boot options – copy Live CD into RAM

Uncategorized boot, casper, dev, linux, ubuntu2012-07-25gheja 0 Comments

Just a quick short post. Even shorter: use the toram boot parameter. I was looking for an option to copy the contents of the live CD into RAM during boot and was looking throught the source of the casper script (the one that mounts the stuffs to have a working root or /cdrom for Ubuntu),

Read More

Asus Eee 1101HA hangs

Uncategorized debian, dev, eee, linux, noapic2010-04-16gheja 1 Comment

I have just bought an Asus Eee 1101HA and (after compiling a custom kernel with the correct drivers) it is working almost perfectly. Sometimes the whole system just hung and after a keypress the hung had gone and it was OK for a while until the next hang… This had been happening in console and

Read More

ORA-19502, ORA-27072 during RMAN restore (Oracle)

Uncategorized database, dev, oracle2010-01-12gheja 3 Comments

I was trying to load database from an RMAN backup (duplicate database until …), and the restore process died after some time, and gave me the following error messages (I have tried it several times, with different backups, these repeated randomly): ORA-19502: write error on file “/path/to/datafile.dbf”, blockno 1669073 (blocksize=8192) ORA-27072: File I/O error Linux

Read More

Bootsplash patch for Linux kernel 2.6.32

Uncategorized bootsplash, dev, linux, patch2009-12-20gheja 4 Comments

Although the Bootsplash has been superseded by Splashy many of us liked Bootsplash. I was unable to find a patch for 2.6.32, so I made one from the patch for 2.6.30. http://dev.kakaopor.hu/stuffs/bootsplash-3.1.6a-2.6.32.diff

I have forgot the password of MySQL’s admin user – how to recover?

Uncategorized database, debian, dev, mysql2009-06-08gheja 0 Comments

If you have accidentaly locked out yourself, or just forgot your password for the admin (root) user of the MySQL, here is a quick-and-dirty solution. First you have to shut down the MySQL server, next you need to start it in safe mode with no priviliges table loaded, update the password to a new one,

Read More

early-ssh updated to v0.2 (for Debian as well:)

Uncategorized debian, dev, ssh2009-05-31gheja 3 Comments

I have updated the early-ssh to version 0.2. This includes just a few bugfixes and new features, including scp support. You can download the new version from http://dev.kakaopor.hu/early-ssh/

How to unlock crypto root partition in Debian Linux over SSH (and more)

Uncategorized debian, dev, ssh2009-04-13gheja 3 Comments

Early-ssh is a simple initramfs-tools hook script which provides an SSH server at boottime (in the initramfs) before the root filesystem gets mounted, so you will be able to do a numerous things, such as: unlocking crypto devices – even your root can be an encrypted filesystem assembling/altering mdadm RAID arrays checking the root filesystem

Read More

Minimal things needed for SSH login on Debian Linux

Uncategorized debian, dev, ssh2009-04-05gheja 1 Comment

I was unable to find a place where all these things are collected, so I have decided I will write it down here. So I am currently working on a little project where I need to have SSH access during the boot (on the initrd system). The following things are needed to create a working

Read More

  • 1
  • 2
  • Next Page »

Recent Posts

  • Repairing a broken mp4 video using untrunc – “moov atom not found”
  • systemd-tty-ask hangs
  • “failed to add gnttab to physmap” when starting a HVM guest in XEN with memory over 3200 MB
  • Repacking Debian .deb package using different compression
  • Installing Skype on 64-bit Ubuntu 12.04 LTS (Precise) / Debian Wheezy / Debian Jessie

Recent Comments

  • Mark dc on How to repair an SQLite database
  • Kimberly on How to repair an SQLite database
  • John Walker on How to repair an SQLite database
  • Jimmy McCrillis on How to repair an SQLite database
  • johnson Welch on How to repair an SQLite database

Archives

  • April 2022
  • February 2018
  • August 2015
  • July 2015
  • May 2015
  • December 2014
  • July 2013
  • February 2013
  • January 2013
  • December 2012
  • August 2012
  • July 2012
  • May 2012
  • December 2011
  • March 2011
  • November 2010
  • August 2010
  • April 2010
  • February 2010
  • January 2010
  • December 2009
  • October 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009

Categories

  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Simple East Blog Theme By NavThemes.com
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Necessary Always Enabled