Fedora 19 firewalld

Fedora 19 came out and its quite nice, but I’m not used to firewalld, as I am an old school iptables guy. I struggled with it at 1st, but after googling a bit, I got it going.

To get a list of predefined services:
firewall-cmd –get-services

To temporally add a service that is already defined:
firewall-cmd –add-service=http

To permanently (save across reboots) add a service that is already defined:
firewall-cmd –permanent –add-service=http

To temporally remove a service that is already defined:
firewall-cmd –remove-service=http

To permanently (save across reboots) remove a service that is already defined:
firewall-cmd –permanent –remove-service=http

Never disable your firewall completely!

My Thoughts

I started this blog with the intentions of sharing my knowledge and, in general, helping others. We need to learn ourselves, that sharing of knowledge is good, and as a whole we will all be smarter for it, whether that’s in a family, company, country or whole world, as the situation determines the sharing.

I tend to do a lot of “projects”, as I call them, which basically is a way of learning new stuff and testing out ideas and theories. I love learning and reading about new things, I can’t get enough of it. A friend sent me an article about different professions and their attitude of reading a book and how software developers read a lot to learn new skills, that’s true, but everyone has the capability to do that, not just developers.

We need to educate the young people with science and math skills, as this is our future of mankind. We need to learn basic skills like soldering and using instruments, such as multi-meters and oscilloscope’s. These things will help with basic understanding of how things work and hopefully inspire greatness. Pick up a screw driver and take apart that broken VCR and try to fix it. If it’s broke, you can make it worse. Grab an book and teach yourself PHP.

I am a child of the 80′s and our 1st PC was a Tandy TRS-80, which I learned to write very basic programs for. That PC created my passion for computers. Maybe it was the Radio Shack 50-in-1 kit my parents gave me for Christmas one year that solidified my love for electronics. It could also be the high school teacher that inspired me with mechanical drawings and CAD. A very big influence was my parents and their DIY attitude, just being around that and watching that instilled my maker attitude. All things considered, every experience we have, every bit of knowledge we get, broadens our horizons and creates a toolbox of tools that we can use in the future.

I encourage you to join a hackerspace or HAM club. Right now, the world is going through a maker stage, so be a part of it. Take stuff apart, see how it works. Be inspired, design your own. Don’t be scared of technology, embrace it, utilize it and make it your own. The possibilities are endless!

Cisco CP-7912 IP Phone

Cisco CP7912
I acquired a couple of Cisco CP-7912 IP Phones to take apart and see how they work, because around here, we love old, broken hardware to learn from and experiment with.

The Cisco 7912 usually runs SCCP (Skinny Call Control Protocol) and is not very useful for our purposes because we run Asterisk with SIP based hardware.

After googling for a bit, I found SIP firmware for this model phone, CP7912080001SIP060412A.ZIP on Cisco’s site, but you need an account with them to download the file. If you don’t have an account, try googling the file name.

The firmware will be loaded from a TFTP server when it boots, so you will need to extract the zip file and place the 3 files from the zip file into the TFTP root folder. The files you need are:

gkdefault.txt
gkdefault.cfg
CP7912080001SIP060412A.sbin

Then you will need to set the TFTP servers IP address in the phone. There are 2 ways to do this, 1) set option 66 in the DHCP server, 2) set in phones network configuration menu.

To set the TFTP server IP address via the phones menu, go to Settings and then Network Configuration. Go down to TFTP Address and press **# to bring up the hidden edit menu.

The main problem I had with this phone was it was password protected, but I didn’t know the password. I tried the default password of 1234 but that didn’t work, so I had to factory reset it. While in the settings menu press **2 on the phones key pad (not all together, but one at a time).

After saving the TFTP IP Address, the phone will reboot. If you watch the TFTP servers log, you should see the phone downloading the files.

Conclusion:

It’s a nice 1 line, super easy phone. My biggest complaint is there is no speaker phone and SIP options are very limited. The phone does have keyhole openings in the back of the phone to make mounting on a wall real easy.