This is what happen..! RSS

This is the personnal web page of Bernard Bolduc. You can reach me at: bolducb [at] mac.com

Archive

Jun
25th
Thu
permalink

iPhone 3.0 tethering over bluetooth on Linux Ubuntu 9.04

This is a repost from ubuntuforum.com from Cooperlees.  I’m posting it on my site so I can find it easier and I like to spread the word.

Ubuntu iPhone 3.0 Bluetooth Tethering with uit.sh


If you would like to use your iPhone 3.0 with your bluetooth capable Ubuntu 9.04 PC then uit.sh (Ubuntu Iphone Thethering) is for you. This script installs all required conf, allows you to enable and disable your iphone tethering and even uninstall the conf if you no longer need it. I do expect NetworkManager to eventually support this out of the box.

Thanks to http://xn—9bi.net/2009/06/17/tether…o-ubuntu-9-04/ blog post which assisted me in knowning what configuration was needed.

Usage:
— Ubuntu iPhone Tethering (uit) Version 0.1 - Cooper Lees <me@cooperlees.com> —
Usage: ./uit.sh options
- This script will install, uninstall, enable and disable iPhone tethering with iPhone 3.0 Software.
- It has been tested on a upto date (patched) box as of 20090623.
- !! Be careful, this script will ask for your password to get root privledges to your system!

OPTIONS:
-h Show this message
-i Install required configuration
-u Uninstall required configuration
-c Connect Tethering
-d Disconnect Tethering
-m [] Set iPhone’s MAC Address (to /home/USERNAME/.uitrc)
-v Verbose

Install Guide:
Avaliable from: http://us.cooperlees.com/download.php?F=uit.sh.gz

- Inital installation requires an active Internet Connection to get required dependancies through apt-get. Current dependancies = ‘bluez-compat’
- Only the install requires you to sudo the script, other areas apropriately sudo where required.

Install Process:
  1. Open terminal
  2. wget http://us.cooperlees.com/download.php?F=uit.sh.gz
  3. gunzip uit.sh.gz
  4. chmod 755 uit.sh
  5. [OPTIONAL] Move the script into your sbin - ‘sudo mv uit.sh /usr/sbin’ (This will allow it to be in your PATH)
  6. Run ‘sudo uit.sh -i’ (You will need to have your iphone in discoverable mode with Bluetooth on)
  7. You will be notified if it all sucessfully installs.
Connect Process:
- Ensure Bluetooth is on and paired with your system (use the GNOME Bluetooth tool to pair). Also make sure Internet Tethering is on.
  1. uit.sh -c
- Once connected you will see the iPhone come up with a blue bar stating ‘Internet Tethering’ is activated.

Disconnect Process:
One command will disconnect from the iphone tethering - You should see the blue notification text dissapear.
  1. uit.sh -d
Uninstall Process:
  1. uit.sh -u
- This will remove conf from files and also make backup of files modified.

Hope you enjoy it as much as I am. Finding the bluetooth a little slow. But still very handy and good. Thanks Apple.
Comments (View)
Jun
21st
Sun
permalink

Password security

I had a talk lately about password.  People are asking me, what are good password?  Well let me tell you how I create my random password that I use.  I have 3 rules to create them.

  1. It needs to be longer than 8 chars.  10 chars is a sweet spot.
  2. It needs to contain numbers, extended chars and letters.  All of those!
  3. Extended chars and numbers need not to be use to end the password, some of those chars needs to be in the middle of the password.

With those guide lines, you need to make a password.  The best password are those that are not words.  They are easy to crack with a dictionnary attack.  Even if you change some letters for numbers.  Like l33t speeking.  Well I hate to pop your dreams, but now, almost everyone knows that trick.

When I took my CHFI class, we came to conclusion that the best password are made from a phrase.  Something that has a meaning to you but not others.  Lets try this.

Lets say that I ate a KFC at lunch time, it was good, I had a great meal.  My pass phrase could look like this:  “I love kfc, f**k the world!”  With a pass phrase like that, my password would look like this:

i<3kfcftw!

Ok, I got an extended char at the end, but I do have one in the middle, so it doesn’t count.  I got a number, and this password is not a dictionnary word.

It’s easy like that.  Keep in mind that remembering a phrase is quite easier than remembering random letters and numbers.

Comments (View)
May
9th
Sat
permalink
I bougth some new Vibram FiveFingers shoes.
update:  I haven&#8217;t use them that much, I broke my pinky toe.  (I wasn&#8217;t wearing my vibram)

I bougth some new Vibram FiveFingers shoes.

update:  I haven’t use them that much, I broke my pinky toe.  (I wasn’t wearing my vibram)

Comments (View)
permalink

Safari 4 tabs

I didn’t want to come to this, but Safari’s tabs on top is getting on my nerve.  If you ever miss the X to close the tab and double click, it minimize the browser window.  That happen so many times a day that I stop counting.

Here is what to do to get the old look and feel back.

defaults write com.apple.Safari DebugSafari4TabBarIsOnTop -bool NO

That’s it, problem solved.

Comments (View)
May
5th
Tue
permalink
Comments (View)
Apr
24th
Fri
permalink
Comments (View)
Apr
21st
Tue
permalink
This is mind blowing!
Comments (View)
Apr
12th
Sun
permalink

VNC to OSX

I always had problem connecting to my home computer running OSX from a Windows computer. VNC was slow, it didn’t work too well.

I tried TightVNC today and it solved all my problems. It’s fast and work as good as screen sharing on OSX.

I’m just happy to report this, you may carry on! :-)

Comments (View)
Apr
10th
Fri
permalink

Twitter

I installed Tweetie on my iPhone. I can only say that it is way better than Twitteriffic.

I was using the free version of Twitteriffic, it might not compare with Tweetie since the last one is a paid app.

Comments (View)
Apr
5th
Sun
permalink

Ubuntu on my Vaio P

I’ve installed Ubuntu Linux on my Vaio P.  It’s quite easy with Ubuntu 9.04 Beta.  Graphic card, wireless, some function keys, hibernate and suspend works out of the box.  Some tweak are needed, but everything works quite ok.

Here is what needs to be tweak for it to work.  First thing, graphic card, you need 2 tweaks for it to work in native 1600x768 resolution.

Grub, you need to edit /boot/grub/menu.lst modify the line beginning with “kernel” and append this last command to boot in 1600x768x16bpp:

vga=0x367

Don’t forget to update grub:

# sudo update-grub

Then you need to add the following line to your /etc/X11/xorgs.conf file.  In the device section, right under “Identifier”:

driver       “fbdev”

Now reboot and you will have native resolution.  It wont be a speed daemon, but it’s really usable.  You can play low res flash video full screen without any skipping.

Comments (View)