Wednesday, July 20, 2011

RDP flavor of the month

packages in: remmina, lubuntu-restricted-extras

So I had to go on my knees and accept the fact that I still need RDP. And some Flash.
As a consequence, a little fatter Lubuntu becomes.

sudo apt-get install remmina
sudo apt-get install lubuntu-restricted-extras

Tuesday, July 19, 2011

Virtualbox 4.0.12 in Lubuntu

Summary:
1. Modified a system file
2. Download, register a public key
3. Download virtualbox package for Ubuntu 11.04 (Natty)

Installing Virtualbox 4.0.12 on Lubuntu 11.04 (Natty)

1. Modified the sources.list file
sudo nano /etc/apt/sources.list
insert the following line
deb http://download.virtualbox.org/virtualbox/debian natty contrib
and save the modifications.
2. Download and register the Oracle public key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
3. Run these:
sudo apt-get update
sudo apt-get install virtualbox-4.0
4. Download and install the Virtualbox extension pack
5. Add user login to the vboxusers group (under System Tools > Users and Groups)

Configuring PLDT MyDSL modem to work with D-Link DAP-1360 Access Point

This is still in a work-in-progress.

Possible leads:
1. wordpress blog

Sunday, July 17, 2011

Lubuntu getting steadier

Finally, a working Lubuntu 11.04

Some information:
1. 20 seconds from cold boot to user login prompt
2. 160mb memory used (with Chromium browser open)
3. Linux kernel 2.6.38-10-generic (i686)

Testing Lubuntu 11.04 (Natty Narwhal), part 4.

package in: pysdm

1. Booted my USB pmagic, and reduced the partition to 20gb. For future clonezilla backups.

2. Having a pesky prompt in Lubuntu, asking for my keyring password everytime I connect to the wifi.
Should I do this?

rm -rf ~/.gnome2/keyrings/

I wonder if this is a bug as posted in the forums.

[fix] go to Edit Connections, and edited the wireless connection to be available to all users. When I rebooted, wifi immediately connecting, and the system no longer asked for the keyring password.

3. Using Disk Utility, created the freed space of my drive as a 2nd EXT4 partition. Then as with my previous post, installed the pysdm package to automount the partition during boot-up.

Testing Lubuntu 11.04 (Natty Narwhal), part 3.

Packages out: ace-of-penguins, mtpaint, simple-scan, sylpheed, osmo
Packages in: xfce4-screenshooter, phatch

Removing some packages to trim down the Lubuntu installation further.

1. ace-of-penguins, which scares you to think that once you remove that the lubuntu-desktop package will also be removed. But not to worry, as this is only a metapackage and the lubuntu desktop will remain ok. All games will be uninstalled.

2. other packages:
mtpaint
simple-scan
sylpheed (email client), which also removes slypheed-i18n and sylpheed-plugins
osmo


Installing a screenshot capture utility, as Lubuntu doesn't have this out-of-the-box.
1. xfce4-screenshooter - has far less dependencies than ksnapshot or shutter packages

And phatch, a photo batch processor which can resize multiple images in one go, among other things.
2. phatch

Testing Lubuntu 11.04 (Natty Narwhal), part 2.

Packages in: g2ipmsg, libxp6, openmotif_2.3.3-2_i386, icaclient_11.100_i386.patched.deb

1. Install IPMSG, package name: g2ipmsg. Good thing it's in the Synaptic already.

2. Citrix Receiver now.
Resource link in Citrix: http://support.citrix.com/article/CTX125285

sudo dpkg -i openmotif_2.3.3-2_i386.deb

yields:
Selecting previously deselected package openmotif.
(Reading database ... 84668 files and directories currently installed.)
Unpacking openmotif (from openmotif_2.3.3-2_i386.deb) ...
dpkg: dependency problems prevent configuration of openmotif:
openmotif depends on libxp6; however:
Package libxp6 is not installed.
dpkg: error processing openmotif (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
openmotif


so...
sudo apt-get install libxp6

then repeat the openmotif package installation, which succeeds this time.

Next, install the Citrix ICA client.
sudo dpkg -i icaclient_11.100_i386.patched.deb

Accept the EULA question (YES), and the installation proceeds.

Citrix Receiver is found under the Internet sub-menu.

Testing Lubuntu 11.04 (Natty Narwhal)

Package in: b43-fwcutter

Another possible Citrix thin client candidate.

Having a bad CD day, made a boot USB instead for the Lubuntu 11.04 ISO, using my other laptop's Ubuntu startup disk creator.

Fast boot-up: under 22 seconds - time between turning on the laptop and the user id prompt.
Faster screen display: under 3 seconds - time between hitting the enter key after entering the password, and the LXDE desktop is displayed.

Looks promising.

Just can't get my wifi to work.

Issuing the terminal command:
sudo lshw -C network

yielded the following output:
*-network UNCLAIMED
description: Network controller
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:d4100000-d4103fff


So how to get the proprietary Broadcom BCM4311 to work?

Many ways to get the driver, I suppose. Another way to do it is:
sudo lspci -vvnn | grep 14e4

which shows this output:
03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:0465]
04:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)


Ubuntu wifi links to resolve the issue:
1. Ubuntu forum thread
2. Ubuntu Wifi doc

An hour later...

Finally got my WIFI to work, using the 2nd link above as reference, and discovering that my firmware runs on the b43 steps, and NOT the STA at all.

I did NOT activate this: System Tools > Additional Drivers > Broadcom STA wireless driver

This did it for me instead:
sudo apt-get install b43-fwcutter firmware-b43-installer

Sunday, July 10, 2011

Ubuntu out, Debian in

Today marks the day I switched to Debian (Squeeze). After 2 years of Ubuntu (last version I used: Lucid).

Restored a Clonezilla image of Debian6, making it much faster than a bare-metal installation.

Some early steps and observations:
1. Fonts are finer in Ubuntu on my laptop's lcd.
2. Memory utilization much lower in Debian (124mb with IceWeasel open)
3. I had to install proprietary wifi drivers. Basically followed the steps from the wiki debian, but instead of the aptitude commands, I used the Synaptic Package Manager.
4. Reinstalled Virtualbox. Downloaded the i386 debian squeeze deb package from their website, and followed instructions.
5. Along the way, had to make myself belong to the sudoers. Unlike Ubuntu, the user doesn't have this privilege by default.

6. PokerTH 8.3 in Debian 6! Just simply place:
deb http://ftp.de.debian.org/debian wheezy main
in my /etc/apt/sources.list, sudo apt-get update, then Synaptic, and I'm good to go.

Addendum: No pysdm package in Debian to automount a partition I just created. So I have to go a bit low level - fstab it.

1. Create the partition, format it to an ext2 80gb partition, and mount it using the Disk Utility app. Take note of the mount point. Mine was: /media/Data

2. Go into a terminal shell and get some information needed for fstab editing.
sudo sh
and execute:
fdisk -l
to get the new partition's specific dev assignment. Mine was: /dev/sda3
Make sure I have the correct mount point:
ls -lsa /media/Data
and it gave me the output I expected:
total 28
4 drwx------ 4 roy roy 4096 Jul 10 16:06 .
4 drwxr-xr-x 5 root root 4096 Jul 10 16:04 ..
16 drwx------ 2 root root 16384 Jul 10 16:03 lost+found
4 drwx------ 4 roy roy 4096 Jul 10 16:06 .Trash-1001



3. Now go proceed to edit fstab. I added this line:
/dev/sda3 /media/Data ext2 defaults,errors=remount-ro 0 1

Sunday, July 3, 2011

Installing a third-party package in Ubuntu 10.04, or how to install the latest version of PokerTH

Getting the latest package from other people are sometimes better than the versions in the Ubuntu repositories.

Simple 3-step procedure, this one is:

Tell Ubuntu where to find the PPA (personal package archive):
sudo add-apt-repository ppa:pkg-games/ppa

Refresh the repositories:
sudo apt-get update

Install the package:
sudo apt-get install pokerth

Updated: These steps also work for Lubuntu 11.04.

Saturday, July 2, 2011

Resizing partitions, auto-mount, and granting access to the new partition

INSTALLING THE STORAGE DEVICE MANAGER
1. In Ubuntu, install the Storage Device Manager
sudo apt-get install pysdm

I'll use this to make life easier configuring to automount the new partition during boot time, instead of the fstab thingy.

CREATING THE NEW PARTITION
1. Download Parted Magic and burn it to CD or USB.
For my purposes, I installed parted magic in a USB using the Universal USB Installer in www.pendrivelinux.com.
2. Boot the computer from the USB.
3. Proceed to resize the partition.
4. Create the new partition from the reclaimed unused space. I made an ext2 partition.
5. Log off parted magic, shutdown computer, and start up Ubuntu.

FINAL TOUCHES
1. Start up System - Administration - Storage Device Manager
2. Select the new partition, and click on the Assistant button.
3. Put a check on The file system is mounted at boot time.
Note also the mount point name of your new partition. You will need it for the last step below.
4. Restart Ubuntu.
5. In a terminal window,
sudo chown lavezarez:lavezarez /media/mydata
where you replace lavezarez with your own user name, and mydata with the mount point name of your new partition.