I have mostly been a Linux from the command line kind of person. I would rarely come across X Windows. Recently I decided to experiment with Linux for the desktop. Needless to say have heard people raving about Ubuntu. Furthermore I have mostly been a Redhat user, and had only used the Debian distribution briefly in the past.
I got the Ubuntu 9.10 Netbook Remix off the Australian PC Authority magazine to have a bit of a play with. It was good because it actually let me resize the existing partitions on my notebook. I had a play, and was moderately impressed by it. The interface was reasonably fluid and the performance was ok. However it was not too my liking. I felt that it lacked a lot of features and flexibility, would would be ideal for the average desktop user, just looking for netbook features.
Needing more features and a complete set of Linux utilities and applications, I downloaded the Ubuntu 9.10 Desktop ISO image and installed off the CD. The first step was to update all the package, for some reason the Austrlian servers were not reachable and the connection timed out. I changed the "Update Manager" "Settings" to "Download from:" the "Main Server". This worked well.
Next step was to make is look like an Apple Mac :) using the Mac4Lin installation. Before running the installation program I had to execute "sudo apt-get install emerald" to make things a bit easier. I previous Google suggested creating the following folders "~/.themes" and "~/.icons". This was done and I ran the install script. So far so good.
Now to get the AWN (Avant Window Navigation) dock working. "sudo apt-get install avant-window-navigation". 10 seconds and a couple of automatic dependency installs later the "Awn Manager" was available under "Preferences", and after adding the Max4Lin theme in AWN, and setting it to auto start, I launched the AWN and there was much coolness to be observed...
To get the complete look you need to go through all the steps in the PDF manual available from Mac4Lin but the end result is quite satisfying in a cheezy sort of way. For people like me who cannot afford to pay for a proper Apple mac, this poor man's mac combines the GUI of (similar to) an Apple and the flexibility of a stable Linux distribution.
Welcome to my blog, For more information about me, visit my website at https://www.kush.com.fj. This blog is mostly just a journal.
12/21/2009
12/05/2009
CCNA - Frame Relay
It appears I did get it working, but for some reason I cannot ping the local interface on the routers. If anyone is after the config and the network file for dynamips just drop me an e-mail or something, but there are heaps of them on the net already, and there is nothing special about the one I have.
Basically the idea of the lab was to setup static routes to the loopback interfaces on the remote routers. The important concept learnt were;
Basically the idea of the lab was to setup static routes to the loopback interfaces on the remote routers. The important concept learnt were;
- Understand the importance of a route back from the remote router.
- Configure a static route with using a router interface
- Configure a static default route with a next hop router
11/30/2009
CCNA Studies - continued...
I've finally been able to get some time to get back into CCNA studies. Decided to put my GNS3/dynamips setup online, as well as my notes as I make progress. Not sure if it may be useful to anyone as there is already a lot of good resources out there, but I figured this way I'll have access to it online as well instead of getting into the server at home.
Basically at the moment am going through the Training Signal videos that I borrowed off a friend, who is now doing his CCNP. So the labs at the moment are from the videos, by Chris Bryant... he has an awesome blog with lots of videos, tutorials and practise exams -http://thebryantadvantage.blogspot.com.
I started the lab prep work by trying to setup a Frame Relay hub and spoke topology network on GNS3. Speaking of dynamips, its heaps faster to load the IOS if the image has been expanded already. I found Zipeg http://www.zipeg.com quite useful for this purpose.
Anyways, I built a frame relay network on GNS3 and it would not work. So I upgraded to the current version of GNS and tried again. Still no go. Frustrated I posted an angry message on twitter, facebook and linkedin and gave up on this temporarily...
11/29/2009
Make ringtones from your iTunes music
It's really sucky how you cannot use your existing iTunes music as your ringtones. I mean you have already paid for the music so why not let you use it directly. Instead you either need to buy them as ringtones off the iTune Store or convert them.
The simplest way I found was to use iTunes itself to perform the conversion for you. Basically you need to listen to your music and determine how much of it you'd like to use for your ringtone, convert the song, import it into iTunes and then sync your iPhone.
Here's the step-by-step using iTunes 9
The simplest way I found was to use iTunes itself to perform the conversion for you. Basically you need to listen to your music and determine how much of it you'd like to use for your ringtone, convert the song, import it into iTunes and then sync your iPhone.
Here's the step-by-step using iTunes 9
- Launch iTunes 9
- Select Music and listen to the song
- Determine the start time and end time of your ringtone (recommend 30 seconds)
- Right-click the song and select Get Info
- Select the Options tab
- Click on the start and end times and type in the start and end times
- Click the OK button to close the dialog box
- Right-click the same song and select Create AAC version
- Note a new version of the song with the same name
- Right-click the new song and select Show in Windows Explorer
- Select the AAC version of the song and press the F2 key to rename the file
- Rename the file extension from *.m4a to *.m4r
- Close the Windows Explorer window
- Right-click the new song and select Delete
- Left click the File menu and select Add File to Library
- Browse to the file, select it and Click Open
- Finally sync your iPhone
10/01/2009
How to set the Linux date and time from the command prompt
Note: This is a repost of an old website page. It has just been moved it here as a blog.
The Linux machine maintains the date and time, firstly, like all other personal computers on the hardware, this is sometimes referred to as the Basic Input and Output System (BIOS) or Complementary Metal Oxide Semiconductor (CMOS). The second date and time reference is maintained by the operating system, and is updated from the hardware clock during boot-up. During the Linux installation, the hardware clock is configured to be in Coordinated Universal Time (UTC) or Greenwich Meridian Time (GMT) The latter is often referred to as the system clock and the former is usually known as the hardware clock.
During boot-up the system clock is initialised with the date and time on the hardware clock. The advantage of maintaining time in UTC is that the Linux system will automatically account for daylight savings based on your timezone. The timezone information for the Linux box is configured via the /etc/localtime file.
The man page for the hwclock command provides more detailed information on the time keeping features of Linux. The file /etc/localtime is a symbolic link to the timezone data found under the /usr/share/zoneinfo directory.
- To set the timezone, create the appropriate symbolic link
- /bin/ln -sf ../usr/share/zoneinfo/Pacific/Fiji /etc/localtime
- To indicate to the system that UTC time is to be used, the configuration file, /etc/sysconfig/clock needs to be edited. The file should be edited to indicate UTC=true. To use GMT ensure that the file has UTC=false set.
- /bin/vi /etc/sysconfig/clock
- To set the system clock, the date command may be used. To set the date and time enter the following command. If the UTC time is used then the -u, --utc or --universal switch must be used to set the time as UTC.
- /bin/date MMDDhhmm.ss
- Once the system clock has been set, it can be used to re-initialise the hardware clock. Again if the UTC format is used then the -u or --utc switch must be used.
- /sbin/hwclock --systohc
Refrences:
- Linux man page for date
- Linux man page for hwclock
9/01/2009
How to use PuTTY with keys for SSH authentication
Note: This is a repost of an old website page. It has just been moved it here as a blog.
PuTTY is a windows telnet and SSH client implementations. It's free and widely used.For more details you can visit the official site at http://www.chiark.greenend.org.uk/~sgtatham/putty/index.html. The instruction below provide details on the installation and configuration of PuTTY for authentication using keys.
Locate the latest stable version of the PuTTY SSH client and install it on the client machine. At the time of this document, the latest stable version was version 0.58. The PuTTY client can be downloaded from its homepage located at http://www.chiark.greenend.org.uk/~sgtatham/putty/
The primary files required are PuTTY (putty.exe) the actual TELNET and SSH client and and PuTTYgen (puttygen.exe) the DSA and RSA key generation and import utility. You may choose to use the PuTTYgen utility to generate the key pair for you, or if you are using Linux then you may generate the OpenSSH keys. These OpenSSH keys may be imported and used with PuTTY without too much problem. You may choose to generate DSA or RSA keys. RSA keys may be used with SSH versions 1 and 2, but DSA key may only be used with version 2. As far as I can tell, other than the algorithms used the only other performance difference between DSA and RSA is that RSA is slightly faster than DSA.
Now PuTTY sessions may be started as normal and users specify the login name to use. There should be no need to enter a password to authenticate. However if you are not using PuTTY Authentication Agent, then you may be required to specify the pass phrase that was used to create the keys
References:
PuTTY is a windows telnet and SSH client implementations. It's free and widely used.For more details you can visit the official site at http://www.chiark.greenend.org.uk/~sgtatham/putty/index.html. The instruction below provide details on the installation and configuration of PuTTY for authentication using keys.
Locate the latest stable version of the PuTTY SSH client and install it on the client machine. At the time of this document, the latest stable version was version 0.58. The PuTTY client can be downloaded from its homepage located at http://www.chiark.greenend.org.uk/~sgtatham/putty/
The primary files required are PuTTY (putty.exe) the actual TELNET and SSH client and and PuTTYgen (puttygen.exe) the DSA and RSA key generation and import utility. You may choose to use the PuTTYgen utility to generate the key pair for you, or if you are using Linux then you may generate the OpenSSH keys. These OpenSSH keys may be imported and used with PuTTY without too much problem. You may choose to generate DSA or RSA keys. RSA keys may be used with SSH versions 1 and 2, but DSA key may only be used with version 2. As far as I can tell, other than the algorithms used the only other performance difference between DSA and RSA is that RSA is slightly faster than DSA.
- If you were using OpenSSH to generate an RSA key pair on a Linux box
- /usr/bin/ssh-keygen -t rsa
- Then enter the location and name of the file to store the keys
- Then enter the pass phrase to use and confirm it. Note that pass phrases cannot be recovered and the keys will have to be re-generated.
- Finally note the fingerprint for future reference and secure the private key files.
- PuTTY only accepts PuTTY Private Key Files (*.PPK), so there is a need to convert the OpenSSH keys to PuTTY Keys. This is done using PuTTYgen
- Start PuTTYgen
- Select the Conversions menu
- Select the Import keys menu item
- Select the private key that was generated in the ealier step and specify the pass phrase that was used (if any)
- Then save the converted private key file as a PPK file.
- The public keys generated will have to be saved into the ".ssh" directory within their home directories. The keys would also have to be appended to the authorized_keys or authorized_keys2 file.
Now PuTTY sessions may be started as normal and users specify the login name to use. There should be no need to enter a password to authenticate. However if you are not using PuTTY Authentication Agent, then you may be required to specify the pass phrase that was used to create the keys
References:
- http://www.chiark.greenend.org.uk/~sgtatham/putty/
8/07/2009
Slow Sony Ericsson P910i
I bought a Sony Ericsson P910i a couple of years back in 2006. I was in desperate need of a smart phone as my PDA at the time had been stolen after my car got broken into. The phone runs a Symbian OS.
After several years of abuse, the keypad gave up (buttons had to be really pressed in to function), and it finally slowed down to a crawl. Rebooting the phone took a couple of minutes at least. It was literally impossible to perform backups, etc. Even a master reset did not fix the problem, I formatted the phone and still no luck, I finally gave up and discarded the phone to the pile of clutter on my desk in the study, and quickly forgot about it. This was around April of this year 2009.
Yesterday, I saw the phone again, and Googled for a solutions. Basically I needed to get into Service mode and format the phone from there. To get into the Service mode (you can do this both with and without the keyboard) you needed to, enter the following sequence of key events;
After formatting the disk, the phone will reboot, but this time it was much after than the previous snail pace performance. Thus once again the P910i is back in service and now I just need to get all the old software and contact details back on it.
After several years of abuse, the keypad gave up (buttons had to be really pressed in to function), and it finally slowed down to a crawl. Rebooting the phone took a couple of minutes at least. It was literally impossible to perform backups, etc. Even a master reset did not fix the problem, I formatted the phone and still no luck, I finally gave up and discarded the phone to the pile of clutter on my desk in the study, and quickly forgot about it. This was around April of this year 2009.
Yesterday, I saw the phone again, and Googled for a solutions. Basically I needed to get into Service mode and format the phone from there. To get into the Service mode (you can do this both with and without the keyboard) you needed to, enter the following sequence of key events;
- Jog dial up
- "*" key press
- Jog dial down
- Jog dial down
- "*" key press
- Jog dial down
- Information
- Service tests
- Service functions
After formatting the disk, the phone will reboot, but this time it was much after than the previous snail pace performance. Thus once again the P910i is back in service and now I just need to get all the old software and contact details back on it.
8/01/2009
Acquire - The Board Game
I decided to kick my blog off with a basic review of Acquire, the board game by Avonhill. More comprehensive reviews may be found on hard core board-gamer blogs and sites. http://www.boardgamegeek.com being a good one.
The game itself is an old one. Apparently it was first published in 1962. So basically it has been around for some time and may have enjoyed some popularity. The primary objective of the game is to become the wealthiest player by founding and/or investing in hotel chains.
The game comes with the game board, cardboard tiles for hotel chains, cardboard tiles for hotels, cardboard stand, hotel stock certificates, credit notes to buy hotel stock. Some of the older versions of the game appear to have three dimensional tiles and hotels. The current version that I have appears to be more of a budget edition. It has cardboard tiles, that need to be placed on a cardboard stand that needs to be made from punched out pieces. A scrabble type plastic stand would have been nicer.
During a turn, I player must perform the following (in order), place a chain tile on the board, buy up to three(3) stock, pick up tiles to replace the tiles used. The "randomness" is implemented via the selection of tiles by the players from the draw pile.
In my opiniuon, a number of strategies need to be employed during the game. During the start of the game there is larger variance in, unknown factors, however as play progresses, players need to guess the tiles that other players may be holding, based on the tiles that they currently possess as well as the tiles already played.
Therefore, in middle game, tactical placement of tiles is essential to realise the strategy employed, i.e. either acquire other hotel chains or setup your chain(s) to be acquired by others. Again, in my opinion, the key strategy at all stages of play, seems to be to maintain majority ownership in a chain.
The final, tactical point to note when developing a strategy is that during a normal player turn, you are limited to the purchase of only three(3) stock, however if your chain is acquired you can convert your existing stock into the new chains, i.e. more than (3).
Subscribe to:
Posts (Atom)