Compiling new kernel on Slackware 12.2 August 8, 2011
Posted by tikpad in slackware.add a comment
Source : http://samzplace.wordpress.com/2009/05/14/compiling-new-kernel-on-slackware-12-2/
I have visited http://www.kernel.org to check the latest version of the Linux kernel. At this writing, version 2.6.29.3 was the latest. So I have downloaded it from here. I wanted to install and test the new features of this kernel. Here are the steps I made to compile and use it.
1. Acquire root privilege
sudo su
2. Download the kernel sources
fetch http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.3.tar.bz2
3. copy the sources to /usr/src
cp ./linux-2.6.29.3.tar.bz2 /usr/src
4. extract the sources
cd /usr/src/; tar xvjf linux-2.6.29.3.tar.bz2
5. go inside the new linux kernel source directory
cd ./linux-2.6.29.3
6. Clean the directory
make clean
7. Make the configuration file or have an old one loaded
make menuconfig
8. If you want to load your old kernel’s config file, scroll at the buttom of the screen and choose Load an alternative Configuration File
and type the location of your old configuration file
/boot/config-huge-2.6.27.7
9. When the config is loaded, check other kernel settings you might want to change, and enable or disable a module by selecting it from the list. The configuration file you have just loaded works since it was the one included in your distro, so if you want new features then scroll and select it from the list.
10. After selecting the features you wanted to compile or added as a module, go to the exit at the buttom of the page, then click ok to exit the menuconfig.
11. Make the kernel
make
12. Install the kernel
make install
12. Make the kernel image
make bzImage
13. Make and install the modules
make modules && make modules_install
14. copy the new image to /boot
cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.29.3-CUSTOM
and your config to /boot
cp .config /boot/config-2.6.29.3-CUSTOM
15. Create an initial ramdisk. (change the ext3 to whatever file system you use and the device file in which your root partition resides. In my case, my / is on device /dev/sda5)
mkinitrd -c -k vmlinuz-2.6.29.3-CUSTOM -m jbd:ext3 -f ext3 -r /dev/sda5
16. After the mkinitrd command, it will generate /boot/initrd.gz. If you want, you can change your initrd.gz name.
mv /boot/initrd.gz /boot/initd-2.6.29.3-CUSTOM.gz
17. Edit your /etc/lilo.conf and add new entries at the buttom. Don’t remove the old settings so you would have a fallback.
Add these lines. Change the root value to the device for your / partition. You can also change the label.
image = /boot/vmlinuz-2.6.29.3-CUSTOM
initrd = /boot/initrd-2.6.29.3-CUSTOM.gz
root = /dev/sda5
label = Linux-2.6.29.3
read-only
18. After saving your lilo.conf, install it.
lilo
19. Restart your computer
reboot
Then on the bootsplash screen, select your new kernel and If you’re lucky, it will work!
1st VoIP install/setup August 8, 2011
Posted by tikpad in networking.add a comment
http://malacube.wordpress.com/category/voip-trixboxasterisk/
December 29, 2009
My company works with a company, Axia, to resell in house PBX’s. The OS on these PBX’s is Trixbox which is an advanced implementation of Asterisk. Axia adds their own features into Trixbox. They have a really awesome switchboard program called Qview that you use from your computer to see who is on a call, transfer calls, instant message, and much more all from a mouse click.
Anywho, a week ago I had my first experience actually setting up my first VoIP system and rolling it out. The setup was rather simple. The most tedious part is inputting everyones extentions in creating a layout of how the call flow will go when a person call the number. It makes it easier to use Visio to do this with.
Steps…
1. get clients needs on IVR’s, directorys, voicemails, etc. (where do calls go to basically)
2. build your call flow. You need to start with extensions first and work your way backwards. (from bottom up, cause you need to know where the calls are coming from)
3. You then build your call groups and IVR’s. Menu options. Call groups are groups of extensions that will be rang when an options will be chosen from a menu (ivr).
4. Configure any DID’s – these are direct inbound calls
5. Record your IVR messages (welcome messages, vm message/instructions, etc.) In trixbox, you can do this directly from a phone on the network or create a .wav and upload it.
6. Configure your trunks…ZAP or SIP normally. if its hosted, it will more than likely be SIP but if you have a PRI, you should have a Digium card installed.
7. Setup the phones and configure. We use Cisco 7940′s and Polycom IP330′s and IP550′s. You can specify TFTP server directly on the phone or leave everything Option 66 and configure Boot File on the DHCP server. Its your choice. Once you configured the phone, it will find the PBX and it will automatically pull its config file.
8. Now, when it comes to programming the phone its extension, from what I have been told, Axia created a feature so that you dial the extension that phone is going to be and if that extension is available, the PBX will auto configure the phone for you with that extension. Which is sooo easy! The phone reboots and you are done.
Now do your testing. Make test calls within the network. If you have PRI and its hooked up. You can call the T1 company and have the circuit brought up for testing to see if you can make outbound calls. Once that is good, you can then have the clients phone number ported over to the T1 from their existing phone service. Once that is finished, you should be able to make inbound calls to the client.
Now, my first experience was great. Instead of the cutover being real easy, it was a pain. Come to find out, we configured the PRI on the PBX with the wrong number of channels on the PRI. PRI’s usually come with 23 B channels and one D channel (24 total at 64kbit a piece = about 1.544 ). Well this was a special PRI where the client only bought 15 channels. We got that fixed. Then come to find out, I couldnt make long distance calls. After being on the phone for 2 hours with Axia tech help and Cinci Bell T1 support, the client had a Access Code dial plan. Meaning, in order to make a long distance call, you had to input an access code, that way, they kept track of who was calling long distance and so forth. Well that had to come off and it did. After all that, it worked great!
ALLAHU AKBAR February 10, 2011
Posted by tikpad in indonesia, Islam.add a comment
ALLAHU AKBAR
oleh Simbah Kakung/Gus Mus
(KH Mustofa Bisri, Rembang)Allahu Akbar!
Pekik kalian menghalilintar
Membuat makhluk-makhluk kecil tergetar
Allahu Akbar! Allah Maha Besar!
Urat-urat leher kalian membesar meneriakkan Allahu Akbar
Dan dengan semangat jihad nafsu kebencian kalian membakar apa saja yang kalian anggap mungkar
Allahu Akbar, Allah Maha Besar!
Seandainya 5 milyar manusia penghuni bumi sebesar debu ini sesat semua atau saleh semua,
tak sedikit pun akan mempengaruhi KebesaranNya
Melihat keganasan kalian aku yakin kalian belum pernah bertemu Ar-Rahman
Yang kasih sayangNya meliputi segalanya
Bagaimana kau begitu berani mengatasnamakanNya ketika dengan pongah kau melibas mereka
yang sedang mencari jalan menujuNya?
Mengapa kalau mereka memang pantas masuk neraka tidak kalian biarkan saja Tuhan mereka yang menyiksa mereka
Kapan kalian mendapat mandat dan wewenang dariNya untuk menyiksa dan melaknat?
Allahu Akbar!
Syirik adalah dosa paling besar
Dan syirik yang paling akbar adalah mensekutukanNya dengan mempertuhankan diri sendiri
Dengan memutlakkan kebenaran sendiri
Laa ilaaha illallah!


