Wednesday, April 30, 2008

Fixing Installer.app Error

There’s lots of different solutions on the net. I had to collect them all before I could get rid of my problems, which were:

  • Error: Package Download Failed
  • Error: Main Script Execution Failed

Both seemed to be the end result of corrupt permissions. I used ZiPhone to Jailbreak a clean 1.1.4 install and was disappointed when I hit them. Here’s what I had to do to fix them:

  • SSH into your iPhone using Terminal, or Putty on Windows
  • You’ll need to login as root with the password alpine
  • Type: cd /
  • Type: cd Applications/
  • Type: chmod 755 Installer.app/Installer
  • Type: chmod u+s Installer.app/Installer
  • Type: chown -R root:wheel Installer.app
  • Reboot your iPhone just to be sure.
  • Launch Installer.app and immediately install Community Sources.
  • When its done it will want to update Community Sources. Do this.

Everything should work as normal. Note that I think the two chmod commands do the same thing, but I’m not that sure on my command line stuff, and it doesn’t hurt to do them both. Hope this helps someone else!

Tuesday, April 22, 2008

Emacs Tip: Keyboard Macros

If you find yourself doing a repetitive set of keystrokes, but don't want to bother with learning how to actually write a script for that, then record a keyboard macro.


C-x ( begins recording
C-x ) ends recording
C-x e executes the last keyboard macro
C-x C-k lets you edit the keyboard macro you just wrote

If find yourself using lots of macros, you can even save them to your
.emacs and name them (for later use).

For more documentation, see the info page:

C-h K C-x (

Or check out the Keyboard Macros section in the Emacs wiki.

Thursday, April 17, 2008

How to install Ubuntu Linux from USB Stick

This tutorial describes how to install Ubuntu by copying the contents of the installation CD to an USB memory stick (aka flash drive) and making the stick bootable. This is handy for machines like ultra portable notebooks that do not have a CD drive but can boot from USB media.

In short here’s what you do:

Prepare the USB flash drive

Boot the computer from your USB flash drive.

Install Ubuntu as you would from a normal boot CD

Prerequisites

A running Ubuntu 8.04 or any ubuntu version installation

A USB device (stick, pen-drive, USB hard disk) that has already been formatted with FAT32 and has enough free space to hold your Ubuntu installation image

A Ubuntu CD image downloaded from the Ubuntu servers or mirrors (*.iso file) or from here
Step 1

On the root directory of your USB device, create a folder “install”
Copy the installer kernel and the initramdisk into this folder (Download source below.You need the files “vmlinux” and “initrd.gz”).

Download source for the installer kernel and initramdisk

For AMD64 Download from here
For i386 Download from here

You need to download the files “vmlinux” and “initrd.gz”.

Step 2

Note: You need to have the installer that fits the architecture of your Ubuntu version you want to install. In other words, you need a amd64 installer if you want to install an amd64 Ubuntu .iso image and the i386 installer for an i386 iso.

Step 3

From the installation iso image you downloaded, copy the folder “isolinux” to the root directory of your USB device (right-click on the .iso file, choose “extract here”). Rename “isolinux” into “syslinux”. Go inside the directroy “syslinux”. There, rename the file “isolinux.cfg” into “syslinux.cfg”.

Step 4

Make the stick bootable: Use fdisk to set the boot flag,

Install syslinux using the following command

sudo aptitude install syslinux

Now use syslinux to install a boot sector on your USB device

sudo syslinux /dev/sdbX

where sdbX is the device name and number of your USB device, check with “sudo mount”. A file called “ldlinux.sys” will be created in the root direcotry of the USB device.

Step 5

Copy the Ubuntu CD image in the root directory of your USB device (Contents of USB you can see as follows).If you are using i386 you need to copy the complete .iso image in to the root directory of your USB device.

Sunday, April 13, 2008

SwirlyMMS主站提供的全球各大运营商的MMS设置

Vodafone (英国)
MMSC: mms.vodafone.co.uk/servlets/mms
Proxy: 212.183.137.012:8799
APN: wap.vodafone.co.uk
User name: user@vodafone.net
Password: user


Vodafone DE (德国)
MMSC: http://139.7.24.1/servlets/mms
Proxy: 139.7.29.17:80
MMS-APN: event.vodafone.de
Username:
Password:

Vodafone (意大利)
MMSC: mms.vodafone.it/servlets/mms
Proxy: 10.128.224.10
APN: mms.vodafone.it
Username:
Password:

中国移动 (中国)
MMSC:mmsc.monternet.com
Proxy:10.0.0.172
MMS-APN:cmwap
Username:
Password:

Orange (法国)
MMSC: mms.orange.fr
Proxy: 192.168.10.200:8080
MMS-APN: orange.acte
Username: orange
Password: orange

T-Mobile (德国)
MMSC: mms.t-mobile.de/servlets/mms
Proxy: 172.28.23.131:8008
MMS-APN: mms.t-d1.de
Username: t-mobile
Password: mms



Vodafone (澳大利亚)
MMSC: pxt.vodafone.net.au/pxtsend
Proxy: 10.202.2.60:8080
MMS-APN: live.vodafone.com
Username:
Password:

Telia and Halebop (瑞典)
MMSC: http://mmss
Proxy: 193.209.134.132:8080
MMS-APN: mms.telia.se
Username: mms
Password: telia

SUNCOM - Triton PCS (美国)
SwirlyMMS settings (SwirlyMMS > Settings)
MMSC: http://mms.suncom.net:8088/mms
Proxy: 066.150.033.125:8080
APN:
USERNAME:
PASS:
EDGE (Settings > General > Network > EDGE)
APN: mobileinternet
USER:
PASS:


Mobitel (斯洛文尼亚)
EDGE (Setting > General > Network > EDGE)
APN: internet
Username: mobitel
Password: internet

SwirlyMMS settings (SwirlyMMS > Settings)
MMSC and Proxy Server Settings
MMSC: http://mms.mobitel.si/servlets/mms
Proxy: 213.229.249.40:8080
MMS-specific APN Settings
APN: mms.mobitel.si
Username: mobitel
Password: internet

Si.mobil - Vodafone (斯洛文尼亚)
EDGE settings (Setting > General > Network > EDGE)
APN: internet.simobil.si
Username: simobil
Password: internet

SwirlyMMS settings (SwirlyMMS > Settings)
MMSC and Proxy Server Settings
MMSC: mmc
Proxy: 80.95.224.46:9201
MMS-specific APN Settings
APN: mms.simobil.si
Username: simobil
Password: internet

izimobil (斯洛文尼亚)
EDGE settings (Setting > General > Network > EDGE)
APN: izimobil
Username: izimobil
Password: izimobil

SwirlyMMS settings (SwirlyMMS > Settings)
MMSC and Proxy Server Settings
MMSC: http://mms.mobitel.si/servlets/mms
Proxy: 213.229.249.40:8080
MMS-specific APN Settings
APN: mms.izimobil
Username: izimobil
Password: izimobil

Sunrise (CH, 瑞士)
MMSC: mmsc.sunrise.ch
Proxy: 212.35.34.75:8080
MMS-APN: mms.sunrise.ch
username: mms
password: mms

Entel PCS (智利)
MMSC: http://mmsc.entelpcs.cl
Proxy: 010.099.000.010:8080
MMS-APN: mms.entelpcs.cl
Username: entelmms
Password: entelpcs

T-Mobile (美国)
MMSC: 216.155.174.84/servlets/mms
Proxy: 216.155.165.50:8080
MMS-APN: wap.voicestream.com
User:
Pass:

Wind (意大利)
MMSC: mms.wind.it
Proxy: 212.245.244.100:8080

AT&T (USA)
MMSC: mmsc.cingular.com
Proxy: 066.209.011.032
必须确认已经开通彩讯业务

O2 (英国)
MMSC: mmsc.mms.o2.co.uk:8002
Proxy: 193.113.200.195:8080

TIM (意大利)
on the IPhone:
Settings->General->Network->Edge->APN: mms.tim.it

MMSC: mms.tim.it/servlets/mms:80
Proxy: 213.230.130.089

T-Mobile (英国)
MMSC: mmsc.t-mobile.co.uk:8002
Proxy: 149.254.201.135:8080

FIDO (加拿大)
EDGE:
APN - internet.fido.ca
USR - fido
PASS - fido

MMS Application:
MMSC - mms.fido.ca
Proxy - 205.151.11.13

Tele2 (瑞典)
MMSC: mmsc.tele2.se
Proxy: 130.244.202.30:8080

Telenor (瑞典)
Mmsc: mms
Proxy: 172.030.253.241:8799


Telenor (挪威)
Mmsc: mmsc
Proxy: 10.10.10.11:8080

Vodafone (荷兰)
Mmsc: mmsc.mms.vodafone.nl:80
Proxy: 192.168.251.150:8799

A1 (澳大利亚)
Mmsc: mmsc.A1.net
Proxy: 194.48.124.71:8001

Saturday, April 12, 2008

Windows Update Error [0x8DDD0003]

See if you find a registry value NoWindowsUpdate or DisableWindowsUpdateAccess:
key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
delete the value "NoWindowsUpdate" if it exist.

key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows Update
delete the value "DisableWindowsUpdateAccess" if it exist.

key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\Windows Update
delete the value "DisableWindowsUpdateAccess" if it exist.

If you did any changes, log off and on again.If the above didn't help:Do a registry search (in regedit.exe, be sure to have "My Computer"selected when starting each search)) for registry values with name:
  • NoWindowsUpdate
  • DisableWindowsUpdateAccess
  • NoAutoUpdateand
delete if found.

Tuesday, April 1, 2008

Online College Profiles

These online college profiles can help you understand your options and choose a virtual program. All online colleges in this directory are regionally accredited, the most widely accepted form of accreditation in the United States. Note: this site does not do paid college profiles; the online colleges in this section have been chosen by the site editor and reviewed impartially.

Ashford University

Ashford University is an Iowa college offering online associates, bachelors and masters programs in an accelerated format. Ashford students take only one course at a time, and each course lasts between five and six weeks.

AIU Online

American InterContinental University is a regionally accredited college system with six campuses, both in the United States and abroad. Its virtual division, AIU Online, offers accelerated associate, bachelor, and master degrees.

Benedictine University Online

Originally founded as Chicago's St. Procopius College in 1887, Benedictine is now an academically diverse university located in Lisle, Illinois. The online branch offers graduate degrees geared toward professionals who are serious about advancing their careers, so the admission standards and tuition are both fairly high.

California University of Pennsylvania Global Online

California University of Pennsylvania, part of Pennsylvania's public higher-education system, launched its Global Online campus in 2004. The university offers a variety of online master's degrees and certifications as well as two undergraduate programs.

Capella University Online

More than 20,000 students in all 50 states and 56 other countries attended Capella University in 2007, making this for-profit company one of the largest online campuses.

Charter Oak State College

Charter Oak State College is one of the “big three” non-traditional colleges offering flexible degree completion opportunities. Charter Oak allows students to earn personally-tailored degrees by transferring credits from regionally accredited schools, taking exams, proving life experience, and taking online courses.

Colorado Technical University Online

Colorado Technical University is a private, for-profit college opened in 1965 to offer career-oriented education. Students are encouraged to virtually attend live lectures that feature online student discussions, but class sessions may also be viewed later.

Drexel Online University

Drexel Online is a subsidiary of Drexel University, a reputable brick-and-mortar college in Pennsylvania. Its virtual programs are aimed primarily at working professionals.

eCornell

eCornell, a subsidiary of Cornell University, is an online professional development program that offers courses in a variety of business fields, including management, human resources, finance and hospitality.

Fort Hays State University Virtual College

Fort Hays State University Virtual College is part of a public state university system. While this means the schedules and programs are more traditional, it also means the tuition is lower than that of many of its competitors.
Read Profile

National University

National University is a private, non-profit university system offering dozens of online programs in addition to its brick-and-mortar courses held on California campuses. Programs at National University are designed for adult learners with five or more years of work experience.

Northcentral University

Northcentral University is a regionally accredited for-profit online college with headquarters in Arizona. They are known for flexibility in admissions requirements (not asking for standardized test scores) and teaching schedules (no set class times or residencies).

Online Azusa Pacific University

Azusa Pacific University is a respected brick-and-mortar California college offering accredited online masters’ degrees, certificates, and bachelor completion programs. Degrees can be earned online or though online / in-class blended learning.

Thomas Edison State College

TESC is known as one of the “big three” colleges that make it convenient for students to transfer previously earned credits, receive credit via testing, and earn credit for life experience. Classes are offered online and through independent study.

University of Massachusetts Online

The University of Massachusetts Online offers virtual degree programs from respected and established traditional colleges. Students can enroll in online classes from University of Massachusetts campuses such as Dartmouth, Amherst, Boston, Lowell, and Worcester.

Western Governors University

Western Governors University is a non-profit virtual college founded by the governors of 19 western states. Unlike most colleges, Western Governors University has no required courses – instead, students prove their understanding through writing assignments and exams.