0

what is the userid and password needed to install Linux Mint?

by

Talk about a show stopper. This is a dandy one.

I downloaded the latest Linux Mint 32 Bit (cinnamon)

Burned the DVD image, and rebooted my computer, so I could test the DVD before I mailed it off to a friend. Everything went swell, but then it asked me for a username. Huh? What Linux distribution requires a username to do a fresh install? Well Linux Mint does. What the (multiple expletives deleted. And more multiple expletives deleted!) So, I had to boot back into Linux, schlepp around, to find out the

username for a Linux Mint install is: mint

 

The password? Just return through it. Who knew?

This certainly did NOT make any point with me today. Hope this helps someone else.

This pretty much expresses how I feel:

Fanta Sea

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

0

How to install and configure openvpn (virtual private network) for Linux

by

Virtual Private Networks are a useful tool, to allow us to securely reach an isolated computer or network.

Yet, is requires more tweaking then one would imagine. So here’s a step by step guide on how I did it, with a LOT of help in understanding some of the key concepts, provided by my friend Joe, and protocol explanations from Darren of hak5.

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


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!


openvpn --genkey --secret vpn.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 vpn.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
#
# remote specifies the address of the server

remote 172.229.15.5

# 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 vpn.key

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

port 5001

# 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

# setup the route after ifconfig

route 192.168.111.0 255.255.255.0

# 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 Oct 2 01:22:07 2012 OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Feb 21 2012
Tue Oct 2 01:22:07 2012 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables
Tue Oct 2 01:22:07 2012 /usr/sbin/openvpn-vulnkey -q vpn.key
Tue Oct 2 01:22:07 2012 WARNING: file ‘vpn.key’ is group or others accessible
Tue Oct 2 01:22:07 2012 LZO compression initialized
Tue Oct 2 01:22:07 2012 TUN/TAP device tun0 opened
Tue Oct 2 01:22:07 2012 /sbin/ifconfig tun0 192.168.224.253 pointopoint 192.168.224.254 mtu 1500
Tue Oct 2 01:22:07 2012 GID set to nogroup
Tue Oct 2 01:22:07 2012 UID set to nobody
Tue Oct 2 01:22:07 2012 UDPv4 link local (bound): [undef]
Tue Oct 2 01:22:07 2012 UDPv4 link remote: [AF_INET]72.200.67.229:5001
Tue Oct 2 01:22:07 2012 OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Feb 21 2012
Tue Oct 2 01:22:07 2012 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables
Tue Oct 2 01:22:07 2012 /usr/sbin/openvpn-vulnkey -q vpn.key
Tue Oct 2 01:22:07 2012 WARNING: file ‘vpn.key’ is group or others accessible
Tue Oct 2 01:22:07 2012 LZO compression initialized
Tue Oct 2 01:22:07 2012 TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Tue Oct 2 01:22:07 2012 Exiting
Tue Oct 2 01:22:10 2012 read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Tue Oct 2 01:22:20 2012 read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Tue Oct 2 01:22:20 2012 read UDPv4 [EHOSTUNREACH]: No route to host (code=113)

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

0

How to: compile Pidgin Instant Messenger from source for Linux

by

Normally, compiling things from source code is pretty routine. I was having some problem with the old 2.7 version of the Pidgin Instant Messenger. People I deleted/removed kept resurrecting from the dead, like a vampire. (2.7 is what is in the repository for Debian Squeeze.)

1. So I grabbed the source code and started compiling. I learned that you need to install a package before starting the compile process.


sudo apt-get install intltool

intltool is an international translation tool

2. Before you get started, let’s remove all the old programmes.


sudo apt-get purge libpurple0

removing libpurple should remove all the pidgin libraries, and pidgin itself.

to check, you can do:


dpkg -l | grep -E '(libpurple)|(pidgin)'

dpkg -l lists all the installed packages
grep -E use extended regular expressions

That should just return a prompt. If it does NOT,
sudo apt-get remove whatever package it shows.

3. so we are ready to start. after you extract the source code, cd to the directory and configure. My configure line looked like this:


./configure --disable-screensaver --disable-gtkspell --disable-vv --disable-meanwhile --disable-avahi --disable-nm --disable-perl --disable-tcl

Let’s try to break this down.

–disable-screensaver – if you don’t need xscreensaver support, disable this.

–disable-gtkspell – if you do not use automatic spell correct, disable.

— disable-vv – if you do NOT need video/voice support disable.

–disable-meanwhile if you do not need meanwhile (sametime) disable. No idea what that is.

–disable-avahi if you do not need avahi support (looking for services like printers on localhost) disable

–disable-nm if you do not need network manager support (guess I did not) disable

–disable-perl — if you do not need perl support, disable.

–disable-tcl — if you do not need tool command language (tcl) support, disable.

Whew. That’s a boatload of things to disable! (It is why I made this entry)

4. Compiling will take some time. So go take a break, get a c.r.b. (cool refreshing beverage), etc.


make

5. When it is all done compiling:


sudo make install

Enjoy the goodness!

Pidgin V 2.10.6

1

Searches Fixed

by

There is something uber wrong with the orange theme that I had. Simple searches were failing. I dropped back to the original orangehash theme, and the searches are now working correctly.

I installed the latest update, but it caused the site to completely malfunction. I had to ftp in, delete the bad theme, and rename the old theme. NOT good.

No! We weren’t insane. Just the theme. Who knew?

Thanks for your patience.

Wayno

0

Fixing the libcanberra wrong ELF class message in Linux

by

The solution is very simple.

It’s just so buried, it is hard to find.

Reposted from the original article above.

I was getting:

Gtk-Message: Failed to load module “canberra-gtk-module”: /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64

Trying to run the new V4.0 of Skype in 64 bit Debian. The old trick of doing an LD_PRELOAD does NOT work.

My new skype script, includes the GTK_PATH export as mentioned above. Yes 4.0 skype WORKS! (should work for any 32 bit app, running in a 64 bit mode. Yes Skype 64 bit, USES the 32 bit libraries.)

New skype.sh script!


#!/bin/bash
#
# script preloads the 32 bit video for linux (v4l) libs needed by 64 bit skype
#
# Wayno Guerrini http://www.pkill-9.com v 2.0

# added the export for the gtk 32 bit library -- GU -6/22/2012
#
export GTK_PATH="/usr/lib32/gtk-2.0"

LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype

In my case, it made skype and the video work perfectly.

1 2 3 4 5 6 7 8 9 18 19