Archive for January, 2009

How to take screen shots with your IPhone / IPod

In order to take a screen shot of what you are looking at the moment you need to press the power button that is on the top and then the home button that is the little circle on the front bottom of the screen.  It will do a quick gray screen then fade back to what it was previously doing.

iphone

now you just need Image Capture program which is a part of OS X to copy the images off the IPhone/IPod.

Comments

Internet Through you cell Phone

When you go and ask the smiley commission paid sales agent what operating systems they support you are just setting your self for the line “no we only support Windows”. Let me start by explaining that all your phone is doing when it is connecting from your phone, what ever weird prosperity connector you have to your phone to the usb on your computer on. Even if you have to be one of the special few that has enough money to spend on a pcmcia EV-DO card. They use ppp through the USB interface standard. The reason that the companies who deployed these deices decided to use two of most widely known, understood and devolved on no matter what OS you are using, is because it was easy. It is as simple as that, the two standards where arlready out there and devoped so why not use them. That same reason the ppp and USB are used is the very reason that even though the silly sales person tells you that it is not supported does not mean that it will not work great.

Apple – I just wanted to start off with apple for the very fact that with OSX there is not additional software that needs to be installed. It is the easiest out of the operating systems out there to set you pone up to the internet. I wish I could include some screen shots but the only time I did use OSX for any sort of extended time was the company that I worked for let me take home one for their laptops. It was really a beautiful thing, it also easily integrated with the built in blue tooth where it could just leave my phone in my pocket while I rode on the train to and from work and the computer could dial the internet completely wirelessly.

Then there is Windows the only operating systems that is supported by Any of the cariers. One of the benefits that Verizon does offer when using Windows is that they offer a program the not only makes it very easy to connect to the Verizon Wireless ISP but they make it possible to download compressed data.

I have to admit that Verizon Wireles is the one that I am most fimilar with, I have done research into some of the competitors.

Some of the other competitors to verizon are Sprint which also uses the cdma standard. But under the Sprint TOS (Term of Service) states they are not allowed to connect a computer to their phone. They are only suppose to use their phone to connect to the internet using the browser that is installed directly on their phone. Now you are saying tht a http request is a http request, and how is Sprint supose to tell the difference. Well the second that you start using any internet application Sprint knows that does not run on your phone such as IRC. They would be within their rights to cut of your service, and or charge you for your internet usage.

Then there is Cingular / At & T which is happy to let you your phone service to connect to the internet but just be ready to pay through the roof on per kb charges. Yes you heard that correctly Cingular charges per the kb unless you buy the unlimited plan which is in my opinion just too expensive.

Then there is the third cellular carier in the US Nextel which uses iDen. I am not fimilar with how well nextel works with their data plans.

You are already paying through the roof for you cell phone. Why not get the most of it that is possible.

This is neat little trick that I have been using for a couple of year

Dial up codes

Verizon

Number to dial: #777

Username: phonenumber@vzw3g.com

Password: vzw

Sprint

Number to dial: #777

Username: username@sprint.com (vision login)
Password: Vision Password

Comments

Set up PPTP VPN server on debian 4.0

While being the simplest of the VPN serveer to set up for linx it is also the least secure.  While it is the least secure it is still much better then using nothing.  A quick search for pptpd will give you PoPToP.

PPTPD is good because is comes as part of the base install for many common operation systems like Windows, OS X, and even the IPhone/Ipod.

In past versions of debian you had to to much more work to get pptp to encript your data like installing kernel modules.  Since kernel 2.6.15-rc1 everything is included by default so all you should do is install pptpd, but lets just run a quick check to make sure.  If you get a failure follow these instructions in order to get MPEE workingDebian MPPE HOWTO.

server:/var/log# modprobe ppp-compress-18 && echo success
success

server:/# aptitude  search pptpd
i   pptpd                                                              – PoPToP Point to Point Tunneling Server

Start by installing it by simply isuing the fowling command.

mini:/# aptitude  install pptpd

The first file you will want to edit is /etc/pptpd.conf. You need to put in the ip range of the clients will be assigned and the virtural ip of the PPTP server.  Mare sure you pick a ip range that is not already used!  The remote IP range below will allow 49 hosts to connect.

localip 10.80.0.1
remoteip 10.80.0.2-50

Next we want to set up the pptpd server options.

username@server:~$ cat /etc/ppp/pptpd-options
name hostname.TLD

refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128

ms-dns 192.168.1.1

proxyarp
nodefaultroute
lock
nobsdcomp
noipx
mtu 1490
mru 1490
#plugin radius.so

I have the plugin radius.so commented out because that is only necessary for when you are using radius to authenicate the clients.  I will be going over how to set that up in a feture post.  In the mean time we will leave it commented out.

Next we have to set up the user accounts.  The user accounts are set up in a file called /etc/ppp/chap-secrets.  The format is pretty self explanatory but I will go over it any way,  the first filed is the user name that the client will enter into their pptp client, the second filed would be the ip of the PPTP server, just leave it as * for now, forth field is the password the client will have to enter, and the list and final field is the ip adress that the client will be coming from, since you most likely will have no idea where the client will be comign from just leave it as *.  Yes I know password is a really bad password, it is just a example.

server:/etc/ppp# cat chap-secrets
# Secrets for authentication using CHAP
# client    server    secret            IP addresses
username     *     password

Now run

mini:/etc/ppp# /etc/init.d/pptpd start
Starting PPTP Daemon: pptpd.

to start the server up.

You should see some entries in /var/log/syslog like the ones below indicating a secessful start.

Jan  7 22:31:58 mini pptpd[13512]: MGR: Manager process started
Jan  7 22:31:58 mini pptpd[13512]: MGR: Maximum of 49 connections available

Dont forget to put in the proper firewall rules and system settings to foward any necessary traffic.  I will inclue a link to the directions in a fiture post.

Comments

« Previous entries Next Page » Next Page »