I tried to configure client side ssl certificate in debian squeeze using firefox and chrome (iceweasel as well). It was painful, did not work out.
Finally I tried Opera, voila.... it worked. Viva Opera!!!
However somehow I got problem when downloading Opera Browser from it front page, thankfully "tar.gz" keyword pointed me to opera repository :D.
29 Maret 2014
Problems with browser client side ssl certificate in Linux
17 September 2013
setting group in linux for printer administration
Finally I need to learn this matter when I encounter the problem of
giving right to ordinary user to touch the printing system administration, namely lpadmin.
So here are important commands:
Shows available groups:
Shows groups where a username belong to:
Adds a user into a certain (secondary) group:
Here is the complete commands with username latihan:
Shows available groups:
$ groups
Shows groups where a username belong to:
$ id username
Adds a user into a certain (secondary) group:
$ usermod -a -G group userwarning: DO NOT forget the -a option. Putting only -G will delete other previously defined groups of the user, and overridden only with the new one. About the primary group check this link about the problem of primary group in debian.
Here is the complete commands with username latihan:
$ id latihan uid=1001(latihan) gid=1001(latihan) groups=1001(latihan) $ sudo usermod -a -G lpadmin latihan $ id latihan uid=1001(latihan) gid=1001(latihan) groups=1001(latihan),107(lpadmin)Now user latihan can run lprm to delete print spools.
26 Agustus 2013
laptop processor fan error solved
Followed up the first failed attempt to disassembling my laptop, finally I could fix the fan error. My friend actually did it :D, just by spraying high pressure lubricant into the fan motor. I also renewed the thermal paste that was totally dried.
At a slight sight my friend was able to determine the problem. He turned the fan, but it didn't spin continuously, only 1 rotation and stop. After the lubricant was sprayed, it spin longer up to several rotation. Incredible skill. Good bye noise!
error in primary group changing of debian
There is terrible problem with primary group changing in debian. When I unleashed this code
sudo usermod -g primgroup userthe shell doesn't respond. It looks like that it hangs. But when I tried on other shell, it says that it change nothing (so apparently the first command [the hang one worked]). Still it is a mistery! Furthermore when I tried to create a file, and check it using
ls -lit still gave me the old primary group. Amazingly after I restart my computer, tadaaa, everything set up as expected. So? I don't know
03 Mei 2013
linux sound error in CF-T8
It is common that linux(particularly debian) on panasonic toughbook series have sound problems; either no sound from the internal speaker, internal speaker stays on despite the headphone is plugged, no sound at all or any combination of them.
A simple solution is given in agentoss.wordpress.com. Just comment out everything in /etc/modprobe.d/alsa-base.conf. Then put this configuration there:
A simple solution is given in agentoss.wordpress.com. Just comment out everything in /etc/modprobe.d/alsa-base.conf. Then put this configuration there:
options snd-hda-intel model=thinkpad
13 Maret 2013
linux kernel kompilation
again? yeah sadly!
voila, it's done, just reboot!
- 0. Source Preparation
If you just downloaded the latest kernel, just go to no. 1. In case you already have previous kernel source, you should download just the patch, instead of downloading the whole new kernel. How to apply patch? its in the kernel Documentation/applying-patches.txt
summary:
in version 3 kernel, linux patch from 3.x.y is relative to 3.x
but the patch of 3.x1 is relative to 3.x0
illustration:
linux-3.8.2/ is created from linux-3.7.9, so you have to go back to 3.7
from 3.7.9 apply reverse patch you get 3.7
apply patch (forward) from 3.7 to 3.8
apply patch (forward) from 3.8 to 3.8.2
voila!
note: What if my kerne source is 3.0.1? just go back to 3.0 then repeatedly patch forward 3.1, 3.2, ..., until 3.8, then apply 3.8 to 3.8.2
in short:
$ cd kernel-source-directory
for reverse patch (-R option)
$ patch -R -p1 < ../patch-x.y.z
for (forward) patch
$ patch -p1 < ../patch-x.y.z
Now you can configure your kernel.
small note on .config file, keep it back up, every time runs make menuconfig. - 1. In Debian
If you want to be cool even though in debian, go to no. 2.
Debian has a very nice tool to compile kernel.
http://www.debian.org/releases/stable/i386/ch08s06.html.en
$ make menuconfig
$ make-kpkg clean
$ fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
you might want the header as well
$ fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_header
ok you've got a deb package, just run dpkg -i on it.
nice and easy but it takes time for compilation somehow, because it doesn't compile incrementally, clean up everything every time make-kpkg runs. If you want the incremental compilation check the traditional way, no. 2. - 2. Traditional
http://kernelnewbies.org/FAQ/KernelCompilation
in short:
compile everything
$ make
install modules, it will create the kernel directory /lib/modules/x.y.z and fill it with the kernel modules. Basically this is the kernel modules that you marked as [M] on kernel config.
# make modules_install
install the kernel into /boot, yep the kernel is just one file vmlinuz.x.y.z. It will not touch your /lib/modules directory.
# make install
not mandatory but preferable to create the initrd image, option -c for creating new, and -k for kernel version
# update-initramfs -c -k x.y.z
update your boot menu, I only know for _debian_
run this anywhere, then copy the grub.cfg into /boot/grub/
# grub-mkconfig -o grub.cfg
voila, it's done, just reboot!
05 Maret 2013
Langganan:
Postingan (Atom)