Thank you for visiting. This blog has been a place for me to share thoughts and information related to Information Technology over the years. It's been though some reiterations which you will see as it jumps between personal, work, and my own businesses. I hope that this blog provides some value to you as a lot of these posts are about things that took a while to figure out (at least for me) and I hope they can help you solve your challenges in less time than it took me.
Thursday, March 15, 2012
Make cell phones send calls to trixbox asterisk voicemail
So what I am doing is forwarding voicemail to my asterisk (trixbox) pbx. This can be done with RDNIS if your system supports it. The way I accomplished this though was through forwarding calls destined for voicemail to a specific DID I have on my asterisk system and setup the incoming route for the DID to go directly to the users office voicemail. They then get emailed the voicemail message.
Using the following call forwarding codes, I have the user forward voicemail calls to the DID I setup in asterisk.
Here is how I forward the calls on the cell phone (on the iphone, push and hold down 0 to get a + symbol):
No Answer Forward: **61*+ 1 DIDNUMBER # [SEND]
Unreachable Forward:**62*+ 1 DIDNUMBER # [SEND]
Busy Forward* * 67 * + 1 DIDNUMBER # [SEND]
This worked for me on AT&T.
Monday, February 6, 2012
CHROOT to remote fedora 16 install on SAN via iscsiadm
While working on installing fedora to a diskless system using iscsi root and boot, my system would not boot. I needed a way to access the system in chroot so I could reinstall grub with the proper iscsi boot config. Everything discussed here is Fedora 16 64bit. I am using an EMC VNXe 3100 SAN. For this demonstration, I do not have chap enabled so it is not discussed here.
Boot the Fedora 16 Live CD USB
- Boot Fedora 16 Live USB. I had some problems getting mine to boot so see blog entry http://ispman.blogspot.com/2012/02/boot-fedora-16-64-bit-live-boot-from.html
- Open a terminal window and su
- Edit /etc/iscsi/initiatorname.iscsi and put in the iqn your machine is going to initiate iscsi as. In my case: InitiatorName=iqn.1986-03.com.ibm:06LEJE8.linux Note: The initiator name also needs programmed in your SAN to allow connections from the IQN.
- Reload iscsi:
- Setup your ethernet card to have an IP on the SAN network:
- Add the network card you are going to use for iscsi to the iscsi database:
New interface eth0 added
- Add the iscsi target to your isci database using iscsiadm: iscsiadm -m node -T
-p -o new
Starting iscsid:
New iSCSI node [tcp:[hw=,ip=,net_if=,iscsi_if=default] 172.16.10.18,3260,-1 iqn.1992-05.com.emc:ap001140005820000-10-vnxe] added
- Now log into the iscsi target: iscsiadm -m node -T
-p -l
# iscsiadm -m node -T iqn.1992-05.com.emc:ap001140005820000-10-vnxe -p 172.16.10.18 -l
Logging in to [iface: default, target: iqn.1992-05.com.emc:apm00114005820000-10-vnxe, portal: {172.16.10.18,3260]
Login to [iface: default, target: iqn.1992-05.com.emc:apm00114005820000-10-vnxe, portal: {172.16.10.18,3260] successful
- Ensure the session is up and running
# iscsiadm -m session -P 3
- Using dmesg, find what device your iscsi drive was attached to. In my case it was sdb
- I used LVM when I installed to the iscsi target before so I have to bring up the lv's
#fdisk -l /dev/sdb
- Use lvs to find the VG name
#lvs
- Make the lv active
#vgchange -a y VolGroup
- Make your temporary mountpoint
#mkdir /mnt/sysimage
- Mount the root partition to sysimage. For me, lvs told me the name was lv_root, then mount the rest
#mount /dev/VolGroup/lv_root /mnt/sysimage
#mount -t tmpfs none /mnt/sysimage/tmp
#mount -t tmpfs none /mnt/sysimage/var/lock
#mount -t tmpfs none /mnt/sysimage/var/lib/iscsi
#mount --bind /dev /mnt/sysimage/dev
#mount -t proc none /mnt/sysimage/proc
- Mount the boot partition of the drive which for me was sdb2
#mount /dev/sdb2 /mnt/sysimage/boot
- Begin the chroot
#chroot /mnt/sysimage
#source /etc/profile
Boot Fedora 16 64 bit live boot from usb ibm hs22
From: http://www.fedoraforum.org/forum/showthread.php?p=1476942
nk1eto Offline Registered User | Join Date: May 2011 Posts: 1 |
1. Find your USB disk label. When in the debug shell, run
ls /dev/disk/by-label/ UDISK
2. Reboot and edit the GRUB boot command.
hit ENTER to view GRUB menu. hit 'e' to edit commands before booting. hit 'e' to edit top entry. change LABEL=Fedora-15-x86_64-Live-Desktop to LABEL=(also remove 'quiet rhgb' for verbosity) hit ENTER to accept and 'b' to boot.
Last edited by nk1eto; 28th May 2011 at 03:23 PM.
Tuesday, January 10, 2012
Specify different network policies for different ssid's on a single cisco ap
For example:
"VMDC01","IAS",01/10/2012,10:00:41,1,"seegrid\bfisk","SEEGRID\bfisk","0023.050c.e751","0811.9688.ffb0",,,"pghap2","192.168.10.25",51105,9,"192.168.10.25","pghap02",,,19,,,1,11,"SGA Wireless",0,"311 1 192.168.10.4 01/10/2012 13:30:09 192",,,,"Microsoft: Secured password (EAP-MSCHAP v2)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"SGA",1,,,,
After my username bfisk, you will see the mac for the vap and for my client computer connecting to the wifi. Looking at the logs I found one ssid = e751 and the other was e750.
I then created network policies, one for each ssid/vlan and used the condition Called Station ID = e751$ for the one ssid, e750$ for the other ssid. Added the different domain group conditions for each and presto, working like a champ.
Downfall to this is if you have multple ap's you will need to do the same for each ap to get all the mac addresses. I couldnt find the vap mac using show int.