October 5, 2012 / Kyle Sun / 1 Comment
My Kindle has some problem with my company wifi because Kindle does not support certificates. So i decide to give Mac Internet Sharing a try. No luck, Kindle says ‘Cannot connect’. After researching online, the problem seems to be clear (from mobileread.com):
The problem is that the kindle aways uses 0 in the “number of seconds since boot” field of the dhcp request packet, and the mac has a filter of 4. So it ignores the DHCP request from the kindle (and the xbox, and the Nintendo).
It suggests to edit /etc/bootpd.plist and change reply_threshold_seconds to 0. But that file gets reset every time you starts and stops the sharing. So the easier solution is just to use static ip instead:
Setting >> wifi >> select your SSID >>..wait..>> Wi-fi Error dialog >> Set Up >> Advanced >> Advanced Options:
Connection Type: Static
IP Address: 10.0.2.xx (anything from 2 to 254)
Subnet Mask: 255.255.255.0
August 26, 2009 / Kyle Sun / 1 Comment
The officially primary file system used in Mac OS is hfs+ (Hierarchical File System Plus). The wiki page is almost correct, except that it says,
As with NTFS on Linux, there has been some success in porting HFS+ to Linux, at least in non-journaled read/write and journal read-only mode.
Actually, the HFS+ support in Linux works well now.
This driver now supports full read and write access and has a better perfomance. It also supports hard links and the resource fork is accessible via /rsrc.
The document of HFS+ format could be found in Apple Tech Note TN1150.
Meanwhile, we all know Apple would never be willing to support those popular file systems in the Linux world. These *unsupported* file systems include ext3/4, reiserfs, jfs, etc. And I notice their ext2 support is not so well also.
They support, hfs, hfs+, fat, ntfs, and zfs in the next version
As I gonna take 15412 and would like to do some work on Mac OS, I need a Mac box. I spent some time doing research on how to install Mac OS in a PC. I dont think it reasonable to go and buy a Macbook for a 12-unit course which actually does not require Mac OS. Hackintosh.com is a pretty good resource for those who need to get Mac OS X running on a PC. And then I found this interesting link that says hacking Mac OS X to let it run my own pc is against the law.
The most well-known way of setting up a Hackintosh is to download a hacked Mac OS X Leopard image, burn it to a disk, and go from there. This method, while easy, has several disadvantages. First of all, if you’re in the United States, or another country with DMCA-like laws, this hacking can actually be against the law, and as such, it might not be a wise thing to do.
Here is a “wise” way to do things.
However, ever since September last year, we have a new method, using a small boot CD called boot-132. If I understand it all correctly, it uses a modified Darwin kernel to bootstrap a regular, unaltered Mac OS X Leopard retail disc. Since Darwin is open source, this is completely legal, and doesn’t break the DMCA since you’re not actually hacking any protection measures. As soon as the regular retail disc is “running”, the installer pops up, allowing you to install Mac OS X as if you’re using any regular Macintosh. Once the installation is completed, you use the boot-132 CD to boot into the newly installed Leopard, and from there you install a bootloader (Chameleon) which enables you to boot without the CD.
August 7, 2007 / Kyle Sun / 0 Comments