April 23, 2010

x3270 on CentOS 5.4

Filed under: CentOS — mariojump @ 2:03 pm
Tags: ,

x3270 can be installed on CentOS 5.4 with the following commands.

# yum update
# yum install x3270 x3270-text x3270-x11

April 8, 2010

Ubuntu Linux Diskless Boot with DRBL (Diskless Remote Boot in Linux)

Filed under: Linux,Ubuntu — mariojump @ 1:55 pm
Tags: , , , ,

DRBL Package makes it much easier to implement Linux diskless client environment than setting up TFTP, DHCP, NFS, NAT-router, netboot-enabled kernels, and so on individually.

For complete steps, refer to .

Here’s the step-by-step record of mine.
I used Xubuntu 9.10 as a host, however, other Ubuntu 9.10 (Karmic) should be very similar, unless identical.

DRBL is also available for other distributions such as Fedora, Debian, etc.
If you need to use proxy, set $http_proxy and $ftp_proxy.

$ export http_proxy=
$ export ftp_proxy=

$ sudo apt-get remove network-manager
$ sudo cp /etc/network/interfaces /etc/network/interfaces.backup

$ sudo vi /etc/network/interfaces

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
auto eth1
iface eth1 inet static

$ wget -q -O- | sudo apt-key add –

$ sudo vi /etc/apt/sources.list
## add following lines
deb karmic main restricted universe multiverse # (Or any Ubuntu mirror site near you)
deb drbl stable
## end

$ sudo apt-get update
$ apt-get install drbl

$ sudo /opt/drbl/sbin/drblsrv -i
## Selecting the default values worked.

$ sudo /opt/drbl/sbin/drblpush -i
## Selecting default values worked.
## When the server gets updated packages, the step above needs to be done again, according to the instruction.

Now, the server is ready for PXE-booting the clients.

April 3, 2010

Canon LBP3000 Printer on Ubuntu Linux 9.10 (Karmic Koala) and 10.04 (Lucid Lynx)

Filed under: Ubuntu — mariojump @ 10:18 pm
Tags: , , ,

This is my record when I installed Canon LaserShot LBP3000 Printer Driver on Ubuntu Linux 9.10 (Karmic Koala) 32bit.

[May 4, 2010] The following steps worked fine with Ubuntu 10.04 Lucid Lynx.

Download CAPT Printer Driver for Linux Version 2.00 from Canon.

Just follow the steps written in the installation manual by Canon.
I encountered one minor error. See below.

$ sudo apt-get update
$ sudo apt-get install cupsys

$ sudo dpkg -i cndrvcups-common_2.00-2_i386.deb
$ sudo dpkg -i cndrvcups-capt_2.00-2_i386.deb

$ sudo /etc/init.d/cupsys restart
sudo: /etc/init.d/cupsys: command not found

I got an error at the step above. So, executed the following line.

$ sudo /etc/init.d/cups restart
* Restarting Common Unix Printing System: cupsd [ OK ]

$ sudo /usr/sbin/lpadmin -p LBP3000 -m CNCUPSLBP3000CAPTJ.ppd -v ccp://localhost:59687 -E

Register LBP3000 in the ccpd configuration file.

$ sudo /usr/sbin/ccpdadmin -p LBP3000 -o /dev/usblp0
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787

Entry Num : Spooler : Backend : FIFO path : Device Path : Status
[0] : LBP3000 : ccp : //localhost:59687 : /dev/usblp0 : New!!

$ sudo /etc/init.d/ccpd start
Starting /usr/sbin/ccpd: .

Register ccpd as service.

$ sudo service ccpd restart
Shutting down /usr/sbin/ccpd: .
Starting /usr/sbin/ccpd: .

That’s all. Sharing the printer with Samba is fairly straightforward.
It’s as simple as:
1. Enable Samba Sharing. (If you enable one Samba Shared Folder with GUI, it will install Samba if you haven’t.)
2. Share the Printer on Samba – In the printer configuration menu, right click the printer and enable sharing.

Create a free website or blog at