Hosts from LAN1 should be able to access hosts at LAN2 and vice-versa through GRE tunnel between R1 and R2. ISP doesn’t care what networks are behind R1 and R2 so the only way to establish connection between LAN1 and LAN2 is to use VPN, in this example we use GRE.
Archive for the 'howtos' Category
One of the easiest way to try Chromium browser in Ubuntu Linux (Google Chrome browser for Unix/Linux operating system is named as Chromium) is to use daily binary builds at https://launchpad.net/chromium-project. Today Ubuntu is the most popular Linux disributions for desktops so there are daily builds available for the following Ubuntu versions: hardy, intrepid, jaunty, karmic.
First let your Ubuntu know where it should find chromium-browser deb package:
vi /etc/apt/sources.list
add the following lines:
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
Replace jaunty with hardy, intrepid or karmic depending which version you run at your computer. If you feel this information is not sufficient for you, follow this link to get Ubuntu official information on this matter or follow Launchpad help.
The next step is to install Chromium browser:
sudo apt-get update
sudo apt-get install chromium-browser
or
sudo aptitude install chromium-browser
Once you press enter Ubuntu will download around 18 MB of data from launchpad’s server and will install Chromium with gnome menu entries and shortcuts. Now you can go to System menu –> Internet –> Chromium Web Browser in order to launch Google browser.

Ubuntu Chromium Google browser (Google Chrome Ubuntu)
As you might know there is still no official release of chromium/chrome available for Linux, so these daily builds from launchpad are for testing/observations purposes only. For example, there is no flash plugin available so you will be able to see html pages like this one and no swf/flash content. Anyway thanks to Google for great browser which has all chances to become “browser number one” for Linux or even for the rest of operating system such as Windows or Mac. Who knows?
You might also find this page using Google and the following keywords: Ubuntu Chrome, Google Chrome Ubuntu, Chrome for Ubuntu and others.
Imagine the following situation: you have to compile some Linux/Unix application or kernel module that requires kernel source present at your hard drive, say, in /usr/src/kernels/kernel-2.6.21-i386/ or elsewhere. But there is not enough disk space to copy these sources or install kernel-devel or linux-source packages (in Fedora/RedHat or Ubuntu/Debian distros respectively)… Sounds familiar? Believe me, sometimes it happens
As a solution you can mount the directory of some remote PC that contains needed kernel source. It can be done via several protocols like smb, ftp etc. In this article we will mount remote directory using ssh protocol that is one the most popular for remote and secure access to Linux boxes over the network.
Below are the steps which should be taken to get the ball rolling. We need two packages: sshfs and fuse-utils.
1. Install necessary packages:
a. Ubuntu/Debian:
sudo aptitude install fuse-utils sshfs
b. Fedora/Centos/RedHat:
yum install fuse-sshfs fuse fuse-libs
c. Other Linux: download and compile sshfs/fuse from sources
2. Check that kernel module fuse is loaded:
lsmod | grep fuse
There should be the line containing “fuse” in the output (of not try modprobe fuse).
3. Mount remote filesystem using something like this (two commands):
mkdir -p /mnt/sshfs/
sshfs remote-user@remote-machine:/some/directory /mnt/sshfs
where remote-user is the username allowed to login remote-machine via ssh protocol. It will ask you to type the password so just type it and press return
4. That’s it. Good luck!
Quick Introduction to iTunes
Apple iTunes is one of the most popular proprietary digital media players in the whole world. Using this no doubts outstanding application you can organize, play music/video files in very comfortable and user friendly way (it’s not an advertisement but real truth). Moreover iTunes is the only way to access Apple’s onilne music store and thus people often seeks the possibility to seamlessly access it after moving to Linux from Mac or Windows.
Well, unfortunately Apple doesn’t believe in magic so there is no native support of iTunes in Linux. At the same time none would deny that Wine does and guys from this project do their best to make things with iTunes in Linux better. In our example we use iTunes 7.3 which comes with Quick Time player 7.1.6, Apple iPhone support and of course iPods of any version, family and generation.
Install Apple iTunes 7.3 in Linux
1. Download iTunes 7.3 from apple.com or filehippo.com
2. Prepare Wine for itunes installation (if not installed do “apt-get install wine -y” or “yum install wine -y” in Ubuntu/Debian or Fedora/Redhat/Centos respectively):
$winecfg
wine: creating configuration directory ‘/home/artemn/.wine’…
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
wine: ‘/home/artemn/.wine’ created successfully.
Select your audio driver, it may be something like OSS or Alsa so use one u actually use
Set Hardware Acceleration to “Emulation” option. All other Wine settings are per your consideration e.g. Graphics tab.
3. Update richedit30 (Win32 Cabinet Self-Extractor):
cd ~/.wine/drive_c/windows/system32
mv richedit32.dll richedit32.bak
mv richedit20.dll richedit20.bak
wine richedit30.exe
Set richedit20.dll and richedit32.dll as native through winecfg.
4. $wine iTunesSetup.exe
It will open iTune’s installation program under wine so you just install itunes as usually you did it in Windows. If error happens just re-run installer. See screenshot below:
5. Now you can start itunes and go through first run setup (all related screenshots are here). Just don’t care about errors thrown into the console:
$ cd ~/.wine/drive_c/Program\ Files/iTunes
$ wine itunes.exe
6. That’s it! Now u can use iTunes in Linux as you did it before in other operatin system:


P.S. By the way there are numerous Linux really native alternatives for comfortable music/video organizing and iPod management. At the same time latter can’t be as native and seamless as it’s in iTunes because those playes use Apple’s proprietary file storage system.
But I definitely recommend banshee, amarok and… exaile
Well, as for now it is not a problem anymore to open Microsoft Office 2007 .docx documents in any Linux distribution coming with OpenOffice suit. It may be Ubuntu (Feisty, Gutsy, Interpid whatever), almost any version of Fedora/RedHat/Centos, *SUSE, Mandriva and of course Debian (as per my personal opinion it’s the best one).
What is .docx actually? It’s Microsoft’s file format representing word processor documents and named OpenXML (as an attempt to create open and free international standard). Today .docx is default format for Microsoft’s word processor Word.
There are myriads of online converters between OpenXML and OpenOffice formats including .docx, .xlsx, .odt and many etc but sometimes it’s much more better to just open received .docx file in Linux offline (if there is temporarily no Internet connection or for security/private reasons etc).
So, just download the following package to certain directory like /usr/src, here are the commands to do it:
1. cd /usr/src
2. sudo wget http://blog.mypapit.net/imej/odf_filter.tar.bz2
The next step is to unpack the contents of the archive (.tar.bz2 is definitely well compressed file) and copy 3 files to OpenOffice’s system directories:
3. sudo tar -xvjf odf_filter.tar.bz2
4. sudo cp OdfConverter /usr/lib/openoffice/program/
5. sudo cp MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/
6. sudo cp MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/
As you can see from picture below now it’s possible to natively open .docx files in openoffice under Linux. Of course such “native” support may imply some artefacts in opened files due to file formats incompatibility so it’s also a good option to ask your friends to convert .docs into .pdf before sending you

P.S. Thanks to guys from mypapit.
P.S. Here are several online converters .doc(x) <-> .odf <-> .pdf:
1. ZAMZAR (possibly the best converter), 2. http://docx-converter.com/.












Recent Ideas