You'll be in for a surprise if you happen to own a Xerox DocuPrint 210 Laser Printer, if you intend to use Ubuntu (doesn't matter what version) or even any other types of distros. Be sure the choose Generic PCL 6/PCL XL Printer Foomatic/hpijs-pcl5e or Generic PCL 6/PCL XL Printer Foomatic/hpijs-lj5gray.
I've just finished swearing because I was wasting papers as fast as I would be dispensing toilet papers.
Tuesday, December 1, 2009
Saturday, November 14, 2009
Configuring package repository /extras for Open Solaris
Fire up your browser and point it to http://pkg.sun.com
Login if you have a Sun Online public account, if you don't have any, create one.
Once you have logged in follow the instructions stated at the same page as you would download the two certificates required to add the /extra repository.
If you're using root, just perform the following instead
# mkdir /var/pkg/ssl
# mv OpenSolaris_extras.key.pem /var/pkg/ssl
# mv OpenSolaris_extras.certificate.pem /var/pkg/ssl
# pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem \
-c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
-O https://pkg.sun.com/opensolaris/extra/ extra
Run the following to list the packages available on the extra repository
# pkg list -a 'pkg://extra/*'
Or just fire up the package manager on your taskbar, and choose Extra at the top right corner.
Login if you have a Sun Online public account, if you don't have any, create one.
Once you have logged in follow the instructions stated at the same page as you would download the two certificates required to add the /extra repository.
If you're using root, just perform the following instead
# mkdir /var/pkg/ssl
# mv OpenSolaris_extras.key.pem /var/pkg/ssl
# mv OpenSolaris_extras.certificate.pem /var/pkg/ssl
# pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem \
-c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
-O https://pkg.sun.com/opensolaris/extra/ extra
Run the following to list the packages available on the extra repository
# pkg list -a 'pkg://extra/*'
Or just fire up the package manager on your taskbar, and choose Extra at the top right corner.
Tuesday, November 3, 2009
Booting Solaris 10 into single-user mode
Yeah I know, what's with the recent influx of techie stuffs. I have written/typed too many of those important techie notes of which I have the utmost tendency to loose even after a mere 5 minutes after the note was written/typed.
To boot Solaris 10 into single user mode (maintenance mode)
perform
reboot -- -m milestone=none
As compared to Solaris8/9 (on SPARC) where instead of executing the above, you'd run
init 0 (reboot to OBP)
boot -s
or boot into cdrom and single user mode.
boot cdrom -s
All this SMF framework on Solaris 10 is nothing quite like your usual conventional init level and scripts.
To boot Solaris 10 into single user mode (maintenance mode)
perform
reboot -- -m milestone=none
As compared to Solaris8/9 (on SPARC) where instead of executing the above, you'd run
init 0 (reboot to OBP)
boot -s
or boot into cdrom and single user mode.
boot cdrom -s
All this SMF framework on Solaris 10 is nothing quite like your usual conventional init level and scripts.
lessfs
open source alternative to dedup
tried installing it on Centos 5.3, will not work do to kernel version (lower version)
required kernel version is 2.6.26 (I believe)
Prerequisites
FUSE (http://fuse.sourceforge.net/)
Tokyo Cabinet (http://1978th.net/tokyocabinet/)
lessfs (http://www.lessfs.com/wordpress/)
Steps
Fuse
Download from http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.0/fuse-2.8.0.tar.gz/download
tar xvfz fuse2.8.0.tar.gz
cd fuse2.8.0
./configure
make && make install
Tokyo Cabinet
Download from http://1978th.net/tokyocabinet/tokyocabinet-1.4.36.tar.gz
tar xvfz tokyocabinet-1.4.36.ta.gz
cd tokyocabinet-1.4.36
./configure
make && make install
lessfs
Download from http://sourceforge.net/projects/lessfs/files/lessfs/lessfs-0.8.0/lessfs-0.8.0.tar.gz/download
tar xvfz lessfs-0.8.0.tar.gz
cd lessfs-0.8.0
set env variables
export PKG_CONFIG=/usr/local/lib/pkgconfig
export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
./configure --enable-off64 (to enable the database limit to >2GB)
make && make install
again like mentioned in the 2nd line above, don't have any centos or rhel with kernel 2.6.26, so to be continued....
tried installing it on Centos 5.3, will not work do to kernel version (lower version)
required kernel version is 2.6.26 (I believe)
Prerequisites
FUSE (http://fuse.sourceforge.net/)
Tokyo Cabinet (http://1978th.net/tokyocabinet/)
lessfs (http://www.lessfs.com/wordpress/)
Steps
Fuse
Download from http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.0/fuse-2.8.0.tar.gz/download
tar xvfz fuse2.8.0.tar.gz
cd fuse2.8.0
./configure
make && make install
Tokyo Cabinet
Download from http://1978th.net/tokyocabinet/tokyocabinet-1.4.36.tar.gz
tar xvfz tokyocabinet-1.4.36.ta.gz
cd tokyocabinet-1.4.36
./configure
make && make install
lessfs
Download from http://sourceforge.net/projects/lessfs/files/lessfs/lessfs-0.8.0/lessfs-0.8.0.tar.gz/download
tar xvfz lessfs-0.8.0.tar.gz
cd lessfs-0.8.0
set env variables
export PKG_CONFIG=/usr/local/lib/pkgconfig
export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
./configure --enable-off64 (to enable the database limit to >2GB)
make && make install
again like mentioned in the 2nd line above, don't have any centos or rhel with kernel 2.6.26, so to be continued....
Solaris 10 on Compaq Evo Desktop
Apparently doesn't recognize/unable to detect Intel Pro/100 VM NIC
Run prtconf -pv
# prtconf -pv (will give a long output)
compatible: 'pci8086,103b.e11.12.81' + 'pci8086,103b.e11.12' + 'pcie11,12' + 'pci8086,103b.81' + 'pci8086,103b' + 'pciclass,020000' + 'pciclass,0200'
model: 'Ethernet controller'
power-consumption: 00000001.00000001
fast-back-to-back:
devsel-speed: 00000001
interrupts: 00000001
max-latency: 00000038
min-grant: 00000008
subsystem-vendor-id: 00000e11
subsystem-id: 00000012
unit-address: '8'
class-code: 00020000
revision-id: 00000081
vendor-id: 00008086
device-id: 0000103b
name: 'pcie11,12'
Locate Ethernet controller (as show in the output snippet pasted above)
Go to http://pci-ids.ucw.cz/read/PC/
Use the vendor-id and devicei-id to locate the correct device name
103b - 82801DB PRO/100 VM (LOM) Ethernet Controller
run
# grep 82801DB /boot/solaris/devicedb/master
pci8086,1039 pci8086,1039 net pci iprb.bef "Intel 82801DB Ethernet 82562ET/EZ PHY"
pci8086,103d pci8086,103d net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"
edit /etc/driver_aliases
add the following accordingly (into /etc/driver_aliases of course silly0
iprb "pci8086,103b"
load the driver
# modload /kernel/drv/iprb
# ifconfig iprb0 plumb
# ifconfig iprb0 x.x.x.212 netmask 255.255.255.0 up
# route add default x.x.x.1
Permanently configure IP address for iprb0
Create a new text file /etc/hostname.iprb0
x.x.x.212
Create another new text file /etc/defaultroute
x.x.x.1
Edit if doesn't exist, create /etc/resolv.conf
nameserver x.x.x.20
nameserver x.x.x.13
Edit /etc/hosts accordingly to make it look something like this (sample output only, please amend accordingly, yes silly)
::1 localhost loghost
127.0.0.1 localhost loghost
x.x.x.212 europa europa.jupiter.space
Make sure the following exist or amended accordingly (if need be) /etc/nsswitch.conf
hosts: files dns
do a reconfigure reboot
# reboot -- -r
Run prtconf -pv
# prtconf -pv (will give a long output)
compatible: 'pci8086,103b.e11.12.81' + 'pci8086,103b.e11.12' + 'pcie11,12' + 'pci8086,103b.81' + 'pci8086,103b' + 'pciclass,020000' + 'pciclass,0200'
model: 'Ethernet controller'
power-consumption: 00000001.00000001
fast-back-to-back:
devsel-speed: 00000001
interrupts: 00000001
max-latency: 00000038
min-grant: 00000008
subsystem-vendor-id: 00000e11
subsystem-id: 00000012
unit-address: '8'
class-code: 00020000
revision-id: 00000081
vendor-id: 00008086
device-id: 0000103b
name: 'pcie11,12'
Locate Ethernet controller (as show in the output snippet pasted above)
Go to http://pci-ids.ucw.cz/read/PC/
Use the vendor-id and devicei-id to locate the correct device name
103b - 82801DB PRO/100 VM (LOM) Ethernet Controller
run
# grep 82801DB /boot/solaris/devicedb/master
pci8086,1039 pci8086,1039 net pci iprb.bef "Intel 82801DB Ethernet 82562ET/EZ PHY"
pci8086,103d pci8086,103d net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"
edit /etc/driver_aliases
add the following accordingly (into /etc/driver_aliases of course silly0
iprb "pci8086,103b"
load the driver
# modload /kernel/drv/iprb
# ifconfig iprb0 plumb
# ifconfig iprb0 x.x.x.212 netmask 255.255.255.0 up
# route add default x.x.x.1
Permanently configure IP address for iprb0
Create a new text file /etc/hostname.iprb0
x.x.x.212
Create another new text file /etc/defaultroute
x.x.x.1
Edit if doesn't exist, create /etc/resolv.conf
nameserver x.x.x.20
nameserver x.x.x.13
Edit /etc/hosts accordingly to make it look something like this (sample output only, please amend accordingly, yes silly)
::1 localhost loghost
127.0.0.1 localhost loghost
x.x.x.212 europa europa.jupiter.space
Make sure the following exist or amended accordingly (if need be) /etc/nsswitch.conf
hosts: files dns
do a reconfigure reboot
# reboot -- -r
Thursday, October 29, 2009
Hands to hit,
Hands to hurt,
Hands to break
Without even touching.
Eyes to see,
Eyes to stare,
Eyes to weep
Over the missing.
Rage to crush,
Rage to condemn,
Rage to burn,
Without even seeing.
Loss to empty,
Loss to consume,
Loss to despair,
Whilst never knowing.
Grief to denial,
Denial to anger,
Anger to acceptance,
But never forgetting.
Hands to hurt,
Hands to break
Without even touching.
Eyes to see,
Eyes to stare,
Eyes to weep
Over the missing.
Rage to crush,
Rage to condemn,
Rage to burn,
Without even seeing.
Loss to empty,
Loss to consume,
Loss to despair,
Whilst never knowing.
Grief to denial,
Denial to anger,
Anger to acceptance,
But never forgetting.
Tuesday, April 21, 2009
One road to freedom
Tell me which road are you travelling which road are you travelling on
Tell me who will you turn to when the light has gone
I hear somebody calling to me with so many roads to travel
There's just one can set you free
There's just one road
One road to freedom
Just one
In my life I have been blessed
In my life I have been cursed
I have lived the best of times
I have suffered the worst
Do you know which road you're travelling
Do you know where you want to be
With so many roads to travel
There's just one can set you free
There's just one road, one road to freedom
-Harper, Ben
Wednesday, February 4, 2009
Installing OpenSSH on Solaris 8
I know, I know, what's Solaris 8 and why not Solaris 10. I've been tasked to familiarize myself with the internal workings of Sun's Solaris operating system.
OpenSSH is an open source version of the SSH or the Secured SHell System. Since I'm going to take the easiest way to install OpenSSH on the Ultra 10 which I have just acquired. I would have to resort to using the binary packages made available on sunfreeware.
The following are the list of steps which I have taken to install OpenSSH (openssh-5.1p1) made available on sunfreeware., before I even began preparing for the installation, it has been mentioned that OpenSSH has the following dependencies:
OpenSSH is an open source version of the SSH or the Secured SHell System. Since I'm going to take the easiest way to install OpenSSH on the Ultra 10 which I have just acquired. I would have to resort to using the binary packages made available on sunfreeware.
The following are the list of steps which I have taken to install OpenSSH (openssh-5.1p1) made available on sunfreeware., before I even began preparing for the installation, it has been mentioned that OpenSSH has the following dependencies:
- zlib-1.2.3
- libgcc-3.4.6 or gcc-3.4.6
- libiconv-1.11
- libintl-3.4.0
- openssl-0.9.8j
Subscribe to:
Posts (Atom)