background preloader

Linux Stuff

Facebook Twitter

Unix and everything - How to use X11 Forwarding for su/sudo. Rsync examples - backing up using rsync command explained. Rsync is a great tool for backing up and restoring files.

rsync examples - backing up using rsync command explained

Linux tips - Przemoc's network. Page extracted from (now defunct) Przemoc's wiki: Apparently it's still useful for some of you. :-) Return to Przemoc's network.

linux tips - Przemoc's network

Problems NetBeans 6 - empty window in installer Turn of Compiz/Beryl and restart installer. Debian/Ubuntu and VirtualBox with host interface networking and bridging Have you followed instructions and now you have network problems with host (but not with guest)? # << start of lacking part auto eth0 iface eth0 inet manual up ifconfig $IFACE 0.0.0.0 up down ifconfig $IFACE down # >> end of lacking part auto br0 iface br0 inet dhcp bridge_ports eth0 Without lacking part eth0 interface conflicts with br0, because they have the same address.

UPDATE: Above information is suitable only for VirtualBox < 2.1 Tasks GRUB reinstallation. Redsocks - transparent socks redirector. This tool allows you to redirect any TCP connection to SOCKS or HTTPS proxy using your firewall, so redirection is system-wide.

redsocks - transparent socks redirector

Why is that useful? I can suggest following reasons: you use tor and don't want any TCP connection to leak you use DVB ISP and this ISP provides internet connectivity with some special daemon that may be also called "Internet accelerator" and this accelerator acts as proxy. Globax is example of such an accelerator. 20 Linux System Monitoring Tools Every SysAdmin Should Know. Need to monitor Linux server performance?

20 Linux System Monitoring Tools Every SysAdmin Should Know

Try these built-in commands and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as: Use your laptop as a wifi router.

Last week, I was snowboarding with my family in Scheffau, Austria. In the appartment, there was one single cat-5 cable, while 5 of us wanted to use the internet. So I figured out how to build a ad-hoc wifi network with my laptop in order to share the network connection. My configuration On my laptop, I'm running Fedora 13 with dnsmasq installed. All other software is pretty standard. Step 1: Enable routing. SSH from school network (Page 1) / Networking, Server, and Protection. Google Maps. ArchMap/List. Patching in ABS. There have been quite a few questions about creating and/or applying patches to packages when using ABS.

Patching in ABS

This document outlines the steps and options required to do these tasks. Also has some useful information on patching files. Creating patches If you are attempting to use a patch that you got from elsewhere (ie: you downloaded a patch to the Linux kernel), you can skip to the next section. However, if you need to edit source code, make files, configuration files, etc, you will need to be able to create a patch. Note: If you need only to change one or two lines in a file (ie: a Makefile), you may be better off investigating the properties of sed instead. Creating a patch for a package involves creating two copies of the package, editing the new copy, and creating a unified diff between the two files. Add the download source of the file to the source array of the PKGBUILD you are creating.

Applying patches. Guild Wars on Wine. Guild Wars has been given Wine's "platinum" application status, indicating the highest level of compatibility.

Guild Wars on Wine

Given the correct settings and hardware, it should work as well on Linux as it does on Windows. CrossOver is commercial version of Wine with official support of Guild Wars on Linux and MacOS using Intel processors. Cedega, a DirectX optimized commercial wine fork, supports Guild Wars. For more information about Guild Wars on Cedega you can visit their wiki. [edit] Installation steps [edit] Get Wine First, we'll need to download and install Wine on your system, if it isn't already there. It is recommended you use the latest stable Wine (or well tested development) release, which should be included in the package archive of your distribution. [edit] Configure Graphics driver Check if the system uses your Video Card's 3d acceleration driver.

Note taking in lectures. (Page 4) / GNU/Linux Discussion. ZankerH wrote: Most of my uni courses are math-related, and I've yet to see any piece of software that's more efficient for writing down math (incl. fractions, integrations, roots, sub/super/over/underscript, symbols and greek letters) than pen and paper.

Note taking in lectures. (Page 4) / GNU/Linux Discussion

Mathematica comes close, but has extortionist pricing, still isn't quite as fast as just using paper, and has a habit of still not understanding some math functions when entered in traditional notation (notable: summation, limited integration), which forces you to write it down in Mathematica code, which takes even more time and takes your mind off the actual math, forcing you to focus on coding.Sorry for the derail, but does anyone know a piece of software that allows you to input math in traditional notation about as fast as the pen-and-paper approach?

LaTeX compatibility would be a definite plus. (inb4 someone claims to take math notes in LaTeX, on a terminal text editor, in real time)EDIT: wow, I wasn't even in before that. Creating custom keyboard layouts for X11 using XKB. License This article is double-licensed under the Creative Commons Attribution-ShareAlike License and the GNU Free Documentation License.

Creating custom keyboard layouts for X11 using XKB

Code samples are in the public domain. Contact the author if you are interested in other forms of licensing. User Mapping. When you install the security support for the first time, you have to define the mapping of Windows accounts to Linux logins for every user who owns files which should be visible from both Windows and Linux. usermap is a basic utility to help you in doing that, it is available for both systems with a few differences.

User Mapping

Windows version The Windows version of usermap is available as a zip compressed file. You first have to unzip the file into some directory and you only need the file usermap.exe. This is generally done by double-clicking the icon associated to file tools.zip and selecting the said file for extraction. The source file is available in the same archive and advanced-ntfs-3g.md5 file on the download page can be used to check its authenticity.