Wednesday, October 21, 2009

Get useful system stats

The name of you Mac is displayed in the login window below the words "Mac OS X". Since Mac OS X 10.6.1, you can click on the name of your Mac to show different statistics about your machine. Each time you click, it will cycle through different bits of information that are particularly useful when troubleshooting problems.

The order of the statistics are as follows:

One click: Your OS X version number (e.g. Version 10.6.1)
Two clicks: Your OS X build number (e.g. Build 94KM1)
Three clicks: Your mac's serial number (e.g. 47HY74G9LNG)
Four clicks: Your mac's IP address (e.g. 196.254.0.1)
Five clicks: The status of any networked account
Six clicks: The date and time (e.g. Saturday, OCTOMBER 24 2009 4:02:31 AM GMT)
Seven clicks: Back to where you started, the name of your computer.

So you click a few times and set the information line to your favourite thing, but next time you log in, it has changed back to the name of your mac. To change the bit of information that appears first, you need to do a bit of tinkering in the Terminal (Applications/Utilities). Open Terminal and type the following command:

sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName

Depending on which piece of information you want displayed, replace HostName with one of the following:

SystemVersion
SystemBuild
SerialNumber
IPAddress
DSStatus
Time

After doing this, hit return, and the next time you view your login window the information you chose will be displayed. To change it back to normal, simply repeat the command with HostName at the end.

Change the background image of Login Window

There are ways to change the background image by replacing the Aqua Blue image, but that is slightly crude. A better way to do it is using the Terminal. Type the following command and press return:

sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture /Users/Shared/mynewbackground.jpg


The last part, /Users/Shared/mynewbackground.jpg is the location of the image you want to use. You don't have to type it out. Just paste the command as far as DesktopPicture and put a space after it. Then find your image in the Finder, and drag it onto the Terminal window. The address to your image should just appear. As far as I can tell, you have to place the image in a place that all users have access to (the shared folder is a good place).

To change back to the normal Aqua Blue image, type the following command and press return:

sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture /Library/Desktop\ Pictures/Aqua\ Blue.jpg

Tuesday, July 29, 2008

Import Mail From Outlook

Open Outlook Express on your PC.
1. Highlight all mail in a folder e.g. "important mail", and
drag them into a any folder on your hard drive (ideally -
outlook mail/important). Having Outlook
ok&action=edit> run in window mode (not
fullscreen) and dragging the mail to a folder on your
desktop seems to be the easiest way, because you dont
have to switch windows.
2. Make as many folders and fill them this way as you
have/need, then copy them to your Mac.
3. Start Microsoft
Entourage
rage&action=edit> on your Mac (A trial 'Test
Drive' version of Microsoft Office

comes with any new Mac).
4. Drag them into a folder the same way as you exported
them on your pc.
5. Now you should have the mail in Entourage.
6. Mail can now
import mailboxes from Entourage.
don't forget to delete all the other mails (in folders,
entourage, outlook), all those mails usually fill up pretty
much space on your drives

Alternative Method
another possibility is to intall mozilla thunderbird (free) on your pc
1. it will ask you during install if it should import from outlook -
do so
2. now it the mails should be in thunderbird
3. you can just take the thunderbird forlder (find in user files)
and move them to your mac
4. find files with the name of your mailboxes (they dont have a
suffix) and rename them to nameofthefile.mbox
5. and open them WITH entourage
6. if you want to have them in mail - drag and drop them from
entourage to mail

OR

Download Emailchemy, O2M.


This is just a Referal it is not sure that it works 100% All time..

Thursday, May 29, 2008

Creating Widget

Hi,
I tried to make widgets and it so easy using Mac osX leopard that i even won a contest on Peachpet.

Install Xcode tool developer
and create Widget using DashCode using template even we can edit the temple using java. its were interesting to work on it.

Wednesday, March 19, 2008

Google-Apple Cloud Computer

How the Google-Apple Cloud Computer Will Work....

In his new book "The Big Switch: Rewiring the World, from Edison to
Google," computer industry writer and former executive editor of the
Harvard Business Review Nicholas G. Carr discusses the changes he sees
in the future of computing. One of the more dramatic changes is a
shift to cloud computing -- where applications and files are stored on
a large, centralized supercomputer or network. The end user accesses
his or her files using computers that are more streamlined but less
sophisticated than today's typical machines.

On October 17, 2007, Carr took the idea a step further in a posting on
his Rough Type blog. He called out two hot technology companies,
Google and Apple, and said they were on the verge of a partnership in
which Apple would make an inexpensive piece of hardware users could
carry around. This would leverage the computing power of the vast data
centers Google has been building to hold the applications and the data
for millions of users.

The idea of cloud computing certainly isn't new. Oracle's Larry
Ellison launched the New Internet Computer (NIC) company in 2000 to
lead the industry forward to that goal. The concept is very simple: On
your desk, you would have a very low-cost computer with just a
processor, a keyboard and a monitor. There would be no hard drive or
CD/DVD drive. It would be hooked up to the Internet and would link to
a central supercomputer, which would host all of your programs and
files. The idea, however, was ahead of its time. The NIC sold very
poorly, probably due to a dearth of broadband availability in the
United States [source: PCWorld]. The company folded in 2003.

But by 2006, nearly 75 percent of Americans had broadband access at
home [source: Neilsen/NetRatings]. Could a Google/Apple team make
cloud computing a widespread phenomenon? And if they move forward,
what's in it for Google and Apple? The biggest question of all: If
they build the cloud computer, will anyone use it?

Read on to learn more about the future of computing.

For More info http://computer.howstuffworks.com/google-apple-cloud-computer.htm

--
--
Regards,
Rahul G Mehta
Mob: 9495974587
Blog:http:// rahulgmehta.blogspot.com

Tuesday, February 5, 2008

Monday, January 14, 2008

Reliance MG880 Modem Script

About two weeks ago, I bought a Reliance Netconnect connection and chose a ZTE MG 880 CDMA adapter. The device is a svelte little thing only slightly larger than a thumb drive that has a fold-out antenna. Unfortunately, unlike the Huawei PC Cards and USB adapters that are supported by OS X, this one only apparently supported Windows. There's also no information on the Internet about Mac drivers for this device, and the ZTE site is primarily in Chinese and doesn't say anything I could understand.

After a week-long nightmare while I waited for Reliance to activate the connection (supposedly, activating a NetConnect card should only take 24 hours), I called a contact at Reliance Infocomm in Coimbatore to complain and made a passing mention of reconsidering a 2MB leased line contract that we'd recently negotiated. The connection was activated in an hour and I was up and running, but only in Windows on VMWare.

I set up Internet Connection Sharing for the NetConnect interface in Windows, set the default route on Leopard to point to the vmnet interface connecting to the host-only network that I had with the guest, and fired up a browser window in Leopard. This was when I realized that Mac OS treats resolv.conf strangely - /etc/resolv.conf is a symlink to /var/run/resolv.conf, which in turn is created by pppd and other magical elves that set up the Mac's DNS. And, perhaps because the vmware interfaces aren't *really* interfaces that can be managed through System Preferences, creating /var/run/resolv.conf and pointing it to Reliance's name servers didn't have any effect. nslookup, which apparently honors resolv.conf, worked, but any other application that used OS X's lookup mechanism didn't have any effect.

For a day or two, I managed with an entry in /etc/hosts so I could fetch my work email, but it got tiring to fire up Windows every time I wanted to connect to the Internet. Besides, because the device wasn't being managed by Leopard, the MacBook would freeze every time I put it to sleep, with an error from the USB drivers. Every time I shut the lid I'd first have to shut down Windows and pull out the CDMA adapter.

Googling a little, I realized then that the Linux usbserial module worked with the MG880, when it was passed the vendor and product IDs. I tried this with Damn Small Linux running in VMWare, and it worked fine. So I started looking for a similar, generic USB-serial kext for Mac OS X.

It appears that the most common USB-serial chipset - used in the USB cables for most phones - is the Prolific Technology PL2303. I wondered if the MG880 also used the same chipset, and got lucky - yes, it did!

There is an open-source Mac OS driver for this chipset here:

http://osx-pl2303.sourceforge.net/

Download the zip archive and install. You'll be asked to restart; do so.

Open the file /System/Library/Extensions/osx-pl2303.kext/Contents/Info.plist in a text editor.

Beneath the lines:

<key>IOKitPersonalities</key>
        <dict>

Add the following entry:

                <key>19d2_fffd</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>nl.bjaelectronics.driver.PL2303</string>
                        <key>IOClass</key>
                        <string>nl_bjaelectronics_driver_PL2303</string>
                        <key>IOKitDebug</key>
                        <integer>0</integer>
                        <key>IOMatchCategory</key>
                        <string>ProfilicSerialUSB</string>
                        <key>IOProviderClass</key>
                        <string>IOUSBDevice</string>
                        <key>IOResourceMatch</key>
                        <string>IOKit</string>
                        <key>bConfigurationValue</key>
                        <integer>1</integer>
                        <key>bInterfaceNumber</key>
                        <integer>0</integer>
                        <key>idProduct</key>
                        <integer>65533</integer>
                        <key>idVendor</key>
                        <integer>6610</integer>
                </dict>

This tells the PL2303 driver to watch for USB devices with the Vendor ID 0x19d2 and the Product ID 0xfffd; these are the vendor and product IDs for the MG880.

Now, type the following command into a terminal window:

sudo kextload -v /System/Library/Extensions/osx-pl2303.kext

You should see a bunch of messages, like this:

bash-3.2# sudo kextload -v /System/Library/Extensions/osx-pl2303.kext
kextload: extension /System/Library/Extensions/osx-pl2303.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/osx-pl2303.kext
kextload: /System/Library/Extensions/osx-pl2303.kext loaded successfully
kextload: sending personalities to kernel:
kextload:     from extension /System/Library/Extensions/IOSerialFamily.kext:
kextload:         IOSerialBSDClientSync
kextload:         IOSerialBSDClient
kextload:     from extension /System/Library/Extensions/osx-pl2303.kext:
kextload:         0745_0001
kextload:         056e_5003
kextload:         056e_5004
kextload:         2303_1659
kextload:         0731_0528
kextload:         04e8_8001
kextload:         2478_2008
kextload:         067b_aaa2
kextload:         0547_2008
kextload:         19d2_fffd
kextload:         04bb_0a03
kextload:         0df7_0620
kextload:         067b_04bb
kextload:         0584_b000
kextload:         067b_aaa0
kextload:         6189_2068
kextload:         11f5_0003
kextload:         078b_1234
kextload:         0557_2008
kextload:         067b_2303
kextload:         1453_4026
kextload:         11f7_02df
kextload:         0eba_1080
kextload: sending 25 personalities to the kernel
kextload: matching started for /System/Library/Extensions/osx-pl2303.kext

At this point, you should unplug the MG 880 if already plugged in, and plug it back in. Mac OS will now recognize the vendor and product IDs of the device and map it to the PL2303 driver.

Go to System Preferences and select Network. Click on the + sign beneath the list of interfaces (Bluetooth, Ethernet, Firewire, etc.) to create a new connection. A dialog will pop up asking for the interface to use for the connection, and the service name. In the list of interfaces, you should see "ZTE CDMA Tech". Choose that as the interface to use, and call the service "Reliance" - you can call it whatever you like; I chose Reliance. Click the "Create" button in the dialog. The "Reliance" connection will now be added to the list of interfaces in the left pane.

In the text field for Telephone Number, type #777. Type your phone number into the "Account Name" and "Password" text fields. Now, click the "Advanced..." button.

In the pane that displays, select "Generic" from the Vendor list box and "Dialup Device" from the "Model" list box. Make sure that the "Enable error correction and compression in modem" check box is checked. Hit Ok, and hit Apply when you are returned to the Connection Settings pane. You should now be able to hit Connect and connect to the Internet!

I hope this helps people who have the MG880 but can't use it on OS X. Many thanks to the people who created the PL2303 driver and open-sourced it, without which this wouldn't be possible.

Got details from : http://hari.selvarajan.googlepages.com/gettingaztemg880toworkwithleopard2