Categotry Archives: Skill Level: Medium

0

Openvpn revisited: Howto install and configure openvpn

by

wayno vpn from outside

wayno vpn from outside

Virtual Private Networks. They are useful, but they can also seem daunting. As I have learned more about VPN’S from my first post, some 2 years ago, I thought we should re-vist and update.

1. What’s the first thing we do? Why install openvpn of course!

REMOTE (HOST) Configuration


sudo apt-get install openvpn

2. Now we need to generate our secret key. This is used to authenticate a remote user trying to gain access. We will use openvpn itself to generate the secret key. NOTE: Debian by default, does NOT provide a path to /usr/sbin

You can fully qualify it: /usr/sbin/openvpn

temporarily add it to the PATH variable: export PATH=$PATH:/sbin:/usr/sbin:/usr/sbin

Or just add:

export PATH=$PATH:/sbin:/usr/sbin:/usr/sbin

to .bashrc

If you add it to .bashrc, you will need to logout and back in again, so it will re-read the file.

Let’s generate that key! (The key below is named homer for the host, it can be anything)


openvpn --genkey --secret homer.key

Simple, huh?

3. Let’s move some files, and create the configuration file for openvpn.

first, let’s move our secret key file:


sudo cp homer.key /etc/openvpn/.

The period at the end, is significant. It says copy the file, right here.

4. Next is the configuration file. Using your favourite editor (nano in my case) create the
/etc/openvpn/openvpn.conf file as follows: Most of the explanations of the parameters come from here.


# Sample openvpn configuration file
# jjs June 6, 2012 V1.0
#
# annotated by Wayno April 26, 2014
#
# remote specifies the address of the server

local 192.168.1.101 5001
#local 192.168.1.101 1194

# dev tun specifies that we are using a tunnel device

dev tun

# ifconfig tells ip address for the interface

ifconfig 192.168.224.253 192.168.224.254

# and the secret key name (in /etc/openvpn)

secret homer.key

# use port 5001 (default) to connect to the vpn. This may require
# you to add this in your router.

port 5001
#port 1194

# if you want data compression

comp-lzo

# ping every 10 seconds, if no ping in 120 seconds, other side dead

keepalive 10 120

# ping timer starts after it receives a connection

ping-timer-rem

# don't recreate a virtual net interface TUN after automatic restart

persist-tun

# Don't read pre-shared static key file again after auto restart

persist-key

# user and group

user nobody
group nogroup

# after initialization, run in the background as a daemon

daemon

# append the /etc/openvpn/openvpn.log

log-append openvpn.log

5. Restart openvpn


sudo service openvpn restart

If you check /etc/openvpn/openvpn.log you will get something like this:

sudo cat openvpn.log
Tue Jun 24 20:00:39 2014 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Feb 4 2014
Tue Jun 24 20:00:39 2014 TUN/TAP device tun0 opened
Tue Jun 24 20:00:39 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jun 24 20:00:39 2014 /sbin/ip link set dev tun0 up mtu 1500
Tue Jun 24 20:00:39 2014 /sbin/ip addr add dev tun0 local 192.168.224.253 peer 192.168.224.253
Tue Jun 24 20:00:39 2014 GID set to nogroup
Tue Jun 24 20:00:39 2014 UID set to nobody
Tue Jun 24 20:00:39 2014 UDPv4 link local (bound): [AF_INET]192.168.1.101:5001
Tue Jun 24 20:00:39 2014 UDPv4 link remote: [undef]
Tue Jun 24 20:00:44 2014 Peer Connection Initiated with [AF_INET]192.168.1.103:5001
Tue Jun 24 20:00:45 2014 Initialization Sequence Completed

6. Let’s see if it works?


ping -c 5 192.168.224.253

PING 192.168.224.253 (192.168.224.253) 56(84) bytes of data.
64 bytes from 192.168.224.253: icmp_req=1 ttl=64 time=0.033 ms
64 bytes from 192.168.224.253: icmp_req=2 ttl=64 time=0.041 ms
64 bytes from 192.168.224.253: icmp_req=3 ttl=64 time=0.030 ms
64 bytes from 192.168.224.253: icmp_req=4 ttl=64 time=0.041 ms
64 bytes from 192.168.224.253: icmp_req=5 ttl=64 time=0.040 ms

— 192.168.224.253 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.030/0.037/0.041/0.004 ms

==================

1. Now the CLIENT configuration /etc/openvpn/client.conf:


#
# openvpn CLIENT configuration
#
# V1.0 by Wayno April 26, 2014

# remote specifies the ip address of the remote (host) openvpn

remote 192.168.1.101

# dev tun specifies that we are using a tunnel device

dev tun

# ifconfig tells ip address for the interface
# NOTE that the ifconfig ip's are BACKWARD from the host

ifconfig 192.168.224.254 192.168.224.253

# The name of the secret key we generated (it could be anyname)

secret homer.key

# use port 5001 (note you may need to open this up in your router
# and make sure it points to the remote (host))

port 5001

# if you want data compression

comp-lzo

# ping every 10 seconds, if no ping in 60 seconds, other side dead

keepalive 10 60

# ping timer starts after it receives a connection

ping-timer-rem

# don't recreate a virtual net interface TUN after automatic restart

persist-tun

# Don't read pre-shared static key file again after auto restart

persist-key

#user and group

user nobody
group nogroup

# after initialization, run in the background as a daemon

daemon

log-append openvpn.log

2. Ensure you copy the secret key over to the /etc/openvpn on the client side. This assumes the key is already in your home folder


sudo cp ~/homer.key .

Note that the period (.) at the end IS significant.

3. And your output should look something like this:

sudo cat openvpn.log
Tue Jun 24 20:20:27 2014 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jun 18 2013
Tue Jun 24 20:20:27 2014 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables
Tue Jun 24 20:20:27 2014 LZO compression initialized
Tue Jun 24 20:20:27 2014 TUN/TAP device tun0 opened
Tue Jun 24 20:20:27 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jun 24 20:20:27 2014 /sbin/ifconfig tun0 192.168.224.254 pointopoint 192.168.224.253 mtu 1500
Tue Jun 24 20:20:27 2014 GID set to nogroup
Tue Jun 24 20:20:27 2014 UID set to nobody
Tue Jun 24 20:20:27 2014 UDPv4 link local (bound): [undef]
Tue Jun 24 20:20:27 2014 UDPv4 link remote: [AF_INET]192.168.1.101:5001
Tue Jun 24 20:20:27 2014 Peer Connection Initiated with [AF_INET]192.168.1.101:5001
Tue Jun 24 20:20:28 2014 Initialization Sequence Completed

3. ssh into the vpn

nwayno@Willy:~$ ssh 192.168.224.253
nwayno@192.168.224.253’s password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic x86_64)

* Documentation: https://help.ubuntu.com/

Last login: Tue Jun 24 20:40:04 2014 from 192.168.224.253
nwayno@Homer:~$

0

Ubuntu to go: Installing Linux onto a usb flash drive

by

Another lost article, originally from May 4, 2009

Putting Ubuntu on a flash drive, can seem a daunting task. But if you follow these steps, you’ will have a portable secure operating system.

Here’s what you”ll need:

A computer with:

USB Ports
256 meg of ram
cdrom
USB flash drive (at least 4 G)
32 bit Ubuntu 9.04 Install CD (desktop)
(download from here: Download Ubunutu)
A live (hot) internet connection

WARNING: CHOOSING THE WRONG DEVICE CAN RENDER YOUR HARD DRIVE UNBOOTABLE. IF YOU’RE NOT SURE, YOU MAY WANT TO REMOVE THE PLUGS FROM YOU HARD DRIVE BEFORE STARTING.

1. Boot off the install cd.

2. Choose Install Ubuntu and hit enter

3. When you come to the screen that says: “Prepare disk space” (step 4 of 7) on top,
choose “specify partitions manually (advanced)”

4. the usb drive (on my system) is called /dev/sdc

5. delete the partition on this drive, so you can start fresh.

6. It should show /dev/sdc
free space (size of drive — 8065 mb in my case — 8 G)

7. Select the “free space” for the usb drive by single clicking it (left mouse button)

8. Select “new partition” on the bottom of the screen.

We are going to create a 1 G fat32 partition for windows, and then the rest for linux.

Windows (will become /dev/sdc1)
New Partition should read: Primary
Size should be: 1024 meg
Beginning
Use as FAT32 file system
Mount Point: /dos

Select the remaining “free space” for the usb drive by single clicking it (left mouse button)

8. Select “new partition” on the bottom of the screen.

Linux (will become /dev/sdc2)
New partition should read: Primary
Size should be the remaining full size of the USB Drive (7039 meg)
Beginning
Use as ext2 file system (we want a “non-journaled” file system)
(USB flash drives do NOT have a fast transfer rate (4-5 meg tops), so we want a non-journaled file system)

Mount Point should be / (root directory)

The great thing is that windows will NOT see any of the Linux on the flash drive. However, Linux WILL see the windows partition. So you can easily exchange information between Windows and Linux.

to see the Windows Partition in Linux simply go into terminal mode (after the install of course) and type:

cd /dos (that was the mount point we created above)

So it should look like this before proceeding to the next step:

Devices Type Size
/dev/sdc1 fat32 1023
/dev/sdc2 ext2 7039

9. Hit forward and you will see “Who are you?” (screen 5 of 7) fill out as desired.

10. if you get the message “there are no users or operating system suitable for importing from” error – that’s normal – (step 6 of 7) just go forward.

11. When you arrive at step 7 of 7, this is the tricky part. “Ready to Install” We need to make the flash drive bootable.

There is an “advanced” tab at the bottom right of the screen. Click on that.

Click on “Install Boot Loader” and choose the correct DEVICE (not partition) device. In my case /dev/sdc

WARNING: CHOOSING THE WRONG DEVICE CAN RENDER YOUR HARD DRIVE UNBOOTABLE. IF YOU’RE NOT SURE, YOU MAY WANT TO REMOVE THE PLUGS FROM YOU HARD DRIVE BEFORE STARTING.

12. Click on install, and sit back. Like Alton Brown says: “Your patience WILL be rewarded!”

13. Boot up off your usb drive, and we are going to make a performance enhancement.

14. Open up a terminal window and type

cd /etc # go to the /etc directory

sudo cp fstab fstab.org # make a copy of the file structure table (always have a path back!)

sudo nano fstab

change “relatime” to “noatime”

from: http://en.wikipedia.org/wiki/Fstab

By default Linux records when files are last accessed, modified and created. This behaviour can be controlled with the noatime option, which will prevent this information from being recorded. The advantage might be a performance increase, especially when files are accessed and modified often.

control+o to write the file changes, then control+x to exit.
(hold down the control key, and hit the letter)

NOTE: if you screw up fstab, your system may NOT boot. DON’T panic!

boot into recovery mode, then choose “Drop to root shell prompt with out networking”

mount -o remount rw / # mount root as read/write access

cd /etc # change to /etc

rm fstab # removes the existing (hosed) fstab

cp fstab.org fstab # copy back the original fstab

15. Install updates and enjoy! You now have in your pocket, a secure, portable operating system.

if you do a df (display free) at terminal mode you will see that Linux
has used approximately 2.5 G (yes with “X” installed) and have about 4G free!

16. One caution. In order to avoid file corruption, I always “shutdown” when done using my ubuntu2go flash drive. Removing the flash drive before the system has shutdown, may result in file corruption.

3

How to install PC Study Bible V5.x using wine in Linux

by

Unfortunately this broke PC Study Bible

Linux Kernel 3.14 Breaks Wine for 16-bit Windows Applications using 64 bit kernel (Ubuntu 14.04 lts):

3.13.0-32-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

W O R K A R O U N D:

Upgrading to kernel:

3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

and Wine 1.7

When configuring wine (snippet from article below)

WINEARCH

If you have a 64-bit system, Wine will start an 64-bit 
environment by default. You can change this behavior using 
the WINEARCH  environment variable. Rename your ~/.wine 
directory and create a new Wine environment by running

WINEARCH=win32 winecfg

This will get you a 32-bit Wine environment. Not setting
WINEARCH will get you a 64-bit one. 

🙁

There are somethings that Linux does better then Windows. PC Study Bible, although a 32 bit Microsoft Windows application, can be successfully installed in Linux. However, there are some tricks to doing this.

These directions are overly simplified to allow novice Linux users, the best opportunity for success. As always I break it down step by step.

1. If you do not have wine installed, that is the very first step. Wine stands for: Wine is NOT an Emulator (which is recursive). What wine does, is allows you to run most windows applications (that do NOT require USB support) under Linux.

Let’s install wine!


sudo apt-get install wine

NOTE THAT I AM RUNNING THE 64 BIT FLAVOUR OF Linux (Debian) so that requires some extra steps (detailed below)

The fist cd you want to install is the New Reference Library CD.

I choose NOT to autorun anything. So it is necessary to navigate to the CD.

2. As mentioned in the winehq article: we will need to change settings in /etc/security/limits.conf

The # on the line is comment, and does NOT need to be coded.


cd /etc/security # go to the directory
sudo cp limits.conf limits.org # backup the current file
sudo nano limits.conf # edit the file

You want to add a line to the file:

user hard nofile 32000

Where user is your user name. Apparently PC Study Bible likes to open a gazillion files, this sets the upper limit to 32000 files.

ctrl + o to write, ctrl + x to end.

3. To mount the cd, (using system mount points): — mount requires root privileges —


sudo mount /dev/sr0 /mnt

You will get back:

mount: block device /dev/sr0 is write-protected, mounting read-only

which is absolutely NORMAL.

4. Now navigate to the directory:


cd /mnt

5. Install the programme with wine:


wine setup.exe

Pcstudy Bible Install

IF you are installing PC Study Bible in a 64 bit environment, YOU MUST tell it to use a 32 bit architecture (works fine with 64 bit Debian/Wheezy (V7)):

Linux Homer 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux


wine setup.exe winearch=32

the winearch=32 tells it to use a 32 bit environment. If you do NOT do this, the installshield WILL FAIL.

6. To unmount the cd: (note # is a comment and does not need to be coded)


cd ~ # back to the user home directory
sudo umount /dev/sr0

Repeat steps 3-6 for EACH cd/dvd you want to install.

7. To run PcStudy Bible, it will be necessary to create a shortcut with the following properties: (If a shortcut is NOT automagically added)

env WINEPREFIX=”/home/USERID/.wine” wine C:\\windows\\command\\start.exe /Unix /home/USERID/.wine/dosdevices/c:/windows/profiles/All\ Users/Desktop/PC\ Study\ Bible\ 5.lnk

where USERID is your userid.

The actual executable is located at:

cd ~/.wine/drive_c/Program Files/Biblesoft/PC Study Bible/Program
wine joshua.exe

The file launcher looks like this:

Command: env WINEPREFIX=”/home/USER/.wine” wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/USER/.wine/dosdevices/c:/users/Public/Desktop/PC\\ Study\\ Bible\\ 5.lnk

Working Directory: /home/USER/.wine/dosdevices/c:/Program Files/Biblesoft/PC Study Bible

Where USER is your login username.

8. Et voilà

pc_study_load

 

pcstudy_run

For me, PC Study Bible runs faster using wine in Linux, than using native Windows.

3

HDhomerun3 Product Review

by

hdhomerun3

With the arrival of the Digital Age, Silicon Dust has a niche market: For those people who want to free themselves from cable bills, Silicon Dust created a digital tuner which can easily be added to a computer network, allowing you to have your own Personal Video Recorder. One of it’s unique features is that it is a networked appliance, so any device on the network (with the proper software) can watch videos from virtually anywhere on the planet with highspeed internet connection. It is compatible with Windows, Mac, and Linux.

The product does come with an installation disc for the Windows operating system. I choose to use the free open source Mythtv for Linux. Mythtv installation can be frightening. I required assistance from my friend Mike M. in the Kansas City area.

The installation went with a few hiccups, but the real challenge was just ahead. Configuration. That is more art then science. It required more thaumaturging (magic wand waving) then I would have liked. The biggest issue was that when I did the channel scans, and then ran mythfilldatabase to update the logs. Nothing happened! It turns out that you need to add the xmltv id.(see highlighted red section — xmltv id is just and index into a database that contains the channel specific information. Zap2it is the easiest to use)

channel

After that, I was watching tv for the first time! YaY!

All good things crashed last week. The digital tuner quit working. It would NOT tune any hidef channels, either over-the-air, or cable, even though my HDTV received them fine, either way.

The true mettle of a company is revealed when there are repair issues. The problems did not surface until day 31 of a 30 day return period. I am under the manufacturer’s 1 year warranty period now. What I found out…has been challenging. There is NO telephone number to call for Tech Support. It is all done by email via Fog Creek. Silicon Dust does NOT do their own Tech Support. It is done by a 3rd party vendor. Support is very slow, arduous and painful. You can expect 1 reply / day. It could take weeks to solve a simple problem. The embedded diagnostic software, that phones home is operating system dependent: requiring the user to have Windows. For Linux users, this requirement is un-acceptable. If a product is advertised as Linux compatible, then the diagnostic software should be available native to Linux, NOT Windows.

The email Tech Support, lack of native diagnostic software, the Windows requirement, and product reliability/durability gives this product 1.9 out of 5 rating. (C-)

26

How to: Install Skype on 64 bit Debian Wheezy

by

It is NOT as easy as it would first seem. Some magic wand waving (oh yes — Hokey Pokey again!) is required.

Download Skype for Debian 7 (multi-arch)

NOTE: if you are using Ubuntu or Linux Mint, you will need to download the Ubuntu Multiarch version, instead.

Debian Skype

1. What is multi-arch? Multi-arch supports the 32 bit libraries needed to run Skype or even Boinc. So first we need to tell Wheezy (Debian 7 — 64 bit) that we need this support:

Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux


sudo dpkg --add-architecture i386

Normally, you would just get a prompt.

2. Now update the system:


sudo apt-get update

and it should find all the necessary components for the 32 bit support. Yup, Skype even on a 64 bit system, is a 32 bit application!

3. I found it necessary to run upgrade after doing the update, this differs from what other sites say.


sudo apt-get upgrade

4. Let’s install Skype!


sudo dpkg -i skype-debian_4.1.0.20-1_i386.deb

Or whatever version you download.

5. If you end up with um-met dependencies like I did, Don’t Panic!

Simply tell Linux to fix the dependencies:


sudo apt-get install -f

Repeat step 4 (above)

6. Q.E.D.

skype_4.1

11

Stabilizing an atheros ar9485 (ath9k) connection in Linux (Wheezy)

by

If you search the internet, one of the issues that seems to come up a lot, are connectivity issues with the atheros AR 9485 card.

I am configuring a new laptop, an HP Pavilion G6-2323DX for my Mom. I ran into many issues that caused me to have to do hokey pokey.

This is pure hokey pokey. But it does work.

The operating system I am using is Debian/Wheezy V 7 RC 1 (64 Bit)

If you do a uname -a I get back:

Linux AnnLin 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

Let’s just step by step check things.

1. let’s see if Linux see’s the card:


lspci | grep Wireless

You will get back a line like:

02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)

That means Linux sees it, but of course it is NOT configured.

2. Let’s see if the driver (ath9k) is loaded. We will use modprobe.


modprobe ath9k

if the device driver is loaded, it will just return a prompt. That’s a “good thing” as Martha would say.

3. Let’s look to make sure the wpa-supplicant programme is installed. The WPA supplicant provides wireless protected access (encryption) for our connection.


dpkg -l | grep supplicant

and you should get back:

ii wpasupplicant 1.0-3+b2
amd64 client support for WPA and WPA2 (IEEE 802.11i)

We’re good!

4. Now let’s modify /etc/network/interfaces


cd /etc/network # go to network interfaces
sudo cp interfaces interfaces.org # make a backup copy
sudo nano interfaces

You will get back something like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#define the network interface for the wireless lan card
iface wlan0 inet dhcp
wpa-ssid MyHome
wpa-psk MyPass

wpa-ssid is the name of the wireless network you are trying to connect to. wpa-psk is the password for that network. Yup plain text!

The iface line defines wlan0 so it has access to the internet, and gets it’s ip address dynamically (dhcp).

The card interface is STILL not up!

5. Bring up the interface!


sudo ifdown wlan0; sudo ifup wlan0;

you will get output that looks like:

ifdown: interface wlan0 not configured
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/20:16:d8:e5:32:b4
Sending on LPF/wlan0/20:16:d8:e5:32:b4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.1
DHCPACK from 192.168.1.1
bound to 192.168.1.4 — renewal in 37985 seconds.

6. AND NOW THE HOKEY POKEY PART 1!

Install wicd (Wireless Interface Connection Daemon)


sudo apt-get install wicd

once that is installed, REMOVE the gnome network mangler!


sudo apt-get purge network-manager-gnome

7. HOKEY POKEY PART 2!

Reboot the machine. After re-booting bring up the interface.


sudo ifdown wlan0; sudo ifup wlan0;

It should look like this:

Wicd

8. HOKEY POKEY PART 3!

now go back to /etc/network/interfaces and remove (or comment out with a # in front the wpa-ssid, and wpa-pskid for the wlan card. so just: iface wlan0 inet dhcp and whatever else was there — just not the wpa information.


cd /etc/network # go to network interfaces
sudo nano interfaces

9. Restart the network:


sudo /etc/init.d/networking restart

you will get back something like this:

[….] Running /etc/init.d/networking restart is deprecated because it may not[warnnable some interfaces … (warning).
[….] Reconfiguring network interfaces…Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/20:16:d8:e5:32:b4
Sending on LPF/wlan0/20:16:d8:e5:32:b4
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67

this basically makes sure we don’t have any errors in /etc/network/interfaces

10. HOKEY POKEY PART 4

Reboot once again, and this time the interface should come up automatically. Screensaver engagement should not knock the connection offline.

And that’s what it’s all about!

I have to thank 3 people for all their help. Joe, Loni and Frances.

Wayno

5

Bodhi Linux Review: The Good, the bad, and the really bad

by

I am looking for a replacement for Ubuntu 10.04. It reaches end-of-life, in April, 2013. I just could not get used to the Unity Desktop Environment, simply because there is no guide on how to use it. (HINT!)

The Good

A friend suggested Bodhi Linux, which is Ubuntu 12.04 based, with the enlightenment window manager.. Enlightenment is small, compact, and very fast.

Windows 98 Floppy

The installation of 2.1 Bodhi was quick and somewhat painless. But I will admit the grub_divmod64_full grub boot error had me in a tailspin. I had to drop back to Windows 98 Floppy to fix the problem. (fdisk /mbr) After nuking the master boot record, I tried a second time, all was well.

bodhi desktop

The Bad

Creating a desktop icon, is NOT straightforward. For example, if you are used to using the gnome-terminal, it is called “Terminology” in Enlightenment.

If you try to create a symlink to this in the Desktop folder, that won’t work! Instead, you have to copy the .desktop to your home Desktop folder. So:


cp /usr/share/applications/terminology.desktop ~/Desktop

Thanks to conspiritech and deepspeed on the #bodhilinux irc.freenode.net for solving that mystery, and the file manager mystery (below.)

Trying to put an Enlightenment File Manager (EFM) desktop icon, proved impossible. They suggested using Thunar or Pcmanfm

And the above code snippet (substituting Thunar.desktop or pcmanfm.desktop) works!

When I tried to install boinc, things got ugly quick!

Here is what I did, and the explanation below:

w@H:~$ ssh w@p
w@p's password: 
Welcome to Bodhi Linux 2.0.0

 * Documentation:  https://wiki.bodhilinux.com/
Last login: Sat Jan 26 08:02:16 2013 from 192.168.1.101
w@P:~$ sudo apt-get install boinc
[sudo] password for w: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 boinc : Depends: boinc-client (>= 7.0.27+dfsg-5ubuntu0.12.04.1) but it is 
not going to be installed
         Depends: boinc-manager (>= 7.0.27+dfsg-5ubuntu0.12.04.1) but it is
 not going to be installed
 libc6-dev : Depends: linux-libc-dev but it is not going to be installed
 nvidia-173 : Depends: linux-libc-dev but it is not going to be installed
              Recommends: nvidia-settings but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
 solution).
w@P:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-appindicator3-0.1 9menu gir1.2-json-1.0 gstreamer0.10-x pkg-config
  gir1.2-javascriptcoregtk-3.0 ratpoison libiec61883-0 gir1.2-timezonemap-1.0
  gir1.2-gstreamer-0.10 gir1.2-soup-2.4 libraw1394-11
  gstreamer0.10-plugins-good gir1.2-webkit-3.0 libtag1-vanilla libavc1394-0
  libtimezonemap1 libshout3 libdv4 gir1.2-xkl-1.0 screen-resolution-extra
  libtag1c2a libxklavier16 python-xkit
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-libc-dev
The following NEW packages will be installed:
  linux-libc-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 948 kB of archives.
After this operation, 3,177 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://packages.bodhilinux.com/bodhi/ 
precise/stable linux-libc-dev i386 3.5.0-11.11
  404  Not Found
Failed to fetch http://packages.bodhilinux.com/bodhi/pool/stable
/l/linux/linux-libc-dev_3.5.0-11.11_i386.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
w@P:~$ 

The Really Bad

I tried to install boinc, as shown above. But it complained that the libc6-dev was actually a later version than it needed. I tried to “fix” the broken packages, but I got a 404 error. The needed file, was NOT found in the Bodhi 2.1 repository. FAIL.

While I could probably get around this, by adding the correct Ubuntu repository, this is NOT something a n00b (novice/new) user would know how to fix. The combination of the repository failure, and the methodology of adding desktop icons, gives bodhi Linux a grade of: D-. Not ready for primetime.

Another review, called it a square peg in a round hole.

When I tried to install the nvidia-173 legacy mode drivers for my graphics card, it completely broke Bodhi, so much that it would not boot. Went into recovery mode, purged the nvidia driver, and then rebooted back into Bodhi.

Kubuntu is starting to look pretty good.

Wayno

1

What Windows program to use to erase a hard drive before donating the computer?

by

This was a question I posed to my friend Matt. He suggested:

the best is dban

Darick’s Boot and Nuke

You burn dban to a cd and boot the computer with it. This eliminates EVERYTHING from the hard drive, including the operating system.

If you are more comfortable running a program from Windows itself i recommend eraser.

Both are free. I’m always glad to help a friend.


\m/

0

How to: change/add a group cover picture for a facebook group

by

Oh brother. This is not hard, but there are NO directions anywhere.

1. Go to the front page of your group.

2. Upload a photo to the group.

cacti picture

cacti picture

 

3. And now tricky part #1! (There’s more then one tricky part? Of course! This would not be Facebook, with just one tricky part now, would it?) Once the picture is uploaded, click on it, to enlarge it. Hover OVER the picture with your mouse to reveal a hidden menu, and select make cover.

Facebook Group Cover Photo Trick 1

Facebook Group Cover Photo Trick 1

Save the changes. Are we done yet? Heck no! But wait! There’s more! (really)

4. Tricky part #2! Go back to the front page of your group, and hover over the picture or group member pictures (top right), and then click on change group photo:

Change the cover photo for Facebook Group (before)

Change the cover photo for Facebook Group (before)

 

save the changes.

5. And the finished product:

New Facebook Group Photo

New Facebook Group Photo

 

enjoy/share the goodness!

Wayno

1 2 3 4 5 6