My web site has over 30,000 tiny files. The entire site takes 159MB of my hard disk for only 54MB of data (due to block sizes). Panther's 'local copy' feature for the iDisk uses the local block allocation size when counting space requirements, and complains that the files will not fit. Copying to the real iDisk is no problem.
I notice that copying files up to iDisk (WebDAV) is now much quicker. Last week I averaged one to two minutes per file. Now they average 10 to 15 seconds. This holds for my 10.2 iBook, too, so the improvement is on the server. Thank you, Apple!
I am on a campus network that assigns IP addresses via DHCP. I occasionally need to access files on my computer from a classroom or the library, or where ever. I turned on FTP, ssh, and apache, because with our firewall and dynamic IP and OS X itself, there isn't much of a risk.
Anyway, I couldn't always connect to my computer unless I checked the IP address before heading out and hoping it didn't change while I was gone. So I wrote a few scripts to automatically upload my IP address to the campus webserver and a redirect script to take me to my computer.
I use Apple's .Mac e-mail service which is great when you want to access your mail on more than one machine, in my case that's a desktop and a laptop. I've always wanted to use more of my 100MB iDisk for storing e-mail, my 15MB e-mail space is often a bit tight and I could have bought more but hey, I've got 100MB doing next to nothing.... With Panther it's much easier to use your iDisk.
First, set your .Mac preferences to keep a local copy of your iDisk on each Mac where you want to access the mail; and to automatically update. Next, on the first Mac go into Apple Mail and create a new mailbox "On Your Mac" called iDisk; quit Mail.
Go looking in your home folder -> Library -> Mail -> Mailboxes folder to find iDisk.mbox, drag and drop (copy) that file to your iDisk's Documents folder. Go back to where you found your iDisk.mbox and delete it. Now, I'm afraid you need to go into Terminal and enter these commands:
ln -s /Volumes/iDisk/Documents/iDisk.mbox iDisk.mbox
Get out of Terminal!! The second line creates a link between your mailbox folder and your iDisk, kind of like an alias. Fire up Apple Mail again and voila there's your mailbox to which you can move mail but it will go onto your local iDisk and when your Mac automatically updates it will be safe on Apple's servers. To view the mail on another Mac do everything above but leave out the drag and drop of the iDisk.mbox file (it already exists of course).
The only downside I can see is if you drag new mail onto the local copy of your iDisk on more than one machine before each has had a chance to update Apple's servers (one will probably overwrite the other) but that's a problem for other files too - not sure how Apple handles that....
I had previously submitted an AppleScript that started up Internet Sharing on a Mac, as it is will not remain on after restarts. The need remains in Panther, but the AppleScript needs to be different. I don't know if the UI Scripting Beta is still necessary, because I upgraded without a clean install. See the previous hint for more information about getting this script to work.
A pane was added to Panther verifying that you want to share your connection. This new script gets past that pane. Here is the new script:
tell application "System Preferences"
tell application "System Events"
tell process "System Preferences"
click menu item "Sharing" of menu "View" of menu bar 1
tell window "Sharing"
if (exists tab group 1) then
tell tab group 1
click radio button "Internet"
click button "Start"
if exists sheet 1 then
tell sheet 1
click button "Start"
ignoring application responses
tell application "System Preferences" to quit
Cut and paste the above into Script Editor. If you then save it as an application and set it in your startup items, you won't have to worry about doing it manually.
One for UK users. Since switching to a Mac only Freeserve Anytime number, I've been getting occasional "Service not available" messages on the phone line so I cannot connect via PPP. After numerous emails to Freeserve's support line, I have finally got out of them the entire list of phone numbers, which are usually reserved for Windows only. However, these work fine with Mac OS X (10.2).
To add these numbers in:
Open Internet Connect
On the Telephone Number drop down box, select Edit
Add in the following numbers:
Now, whenever you get a "Service not available" message, just choose one of the other numbers from the Telephone Number drop-down in Internet Connect and reconnect.
I often have to switch between a proxy server and direct connexion to the internet - whether I'm doing stuff for work or me. I wrote a small AppleScript to automate the process (using Apple's System Events extension).
Hope this helps (read the rest of the hint for the script)...
On our campus network, I was sending e-mails via the SMTP server but the messages never reached the intended recipients, nor did I receive any error messages. The messages just vanished. And the problem only occured with the college's SMTP server, not my local ISP, or .mac, etc. After fruitless conversations with our IT folks trying to convince them that it wasn't an "OS X problem" (of course they pronounced it OS "ex"), and that the problem most likely resided with the SMTP server, I decided to eliminate my vCard from my signature line. Sure enough, all messages are now traveling to their destination unimpeded.
Once I discovered this problem, I informed our IT department that the problem indeed rests with SMTP settings deleting my messages when unable to separate the message from the vCard. Of course their response was to verify that the SMTP server is configured in this manner ... with no plans to change things. Makes lots of sense, eh?!
Users of iTunes and the Tivo Home Media Option will be pleased to know that they can use their DVR to stream Internet radio as well as their locally stored MP3's. Just create a new playlist in iTunes called "radio" and drag any stations you want into it.
I've seen this touched upon in some of the comments to other posts on the site. But for a while, I was struggling with a way to share my Mac's internet connection with my Nokia 3650 over Bluetooth. Basically, I wanted to do this not so much for web browsing on the small screen, but in order to be able to sync Avantgo without blowing through my mobile data allowance in one fell swoop.
Most of this information is covered in this thread on Apple's discussion site. But it takes a lot of reading. And even if you follow all the instructions, sometimes the DNS still will not resolve (although navigating to sites via IP addresses is possible). So in any case, I created a few Applescripts, one to disconnect and one to reconnect the internet sharing to your Bluetooth cellphone, complete with a detailed Read Me file that has the full how to and linkage to all the places where I got my info from.
You can download my Share2Blue2th scripts from my mac.com homepage -- [37.8KB download]. The code that is implemented in the scripts is available on the discussion board linked above. Cheers!
Here's an ipfw command to block VeriSign's site finder internet domination plan:
sudo ipfw add deny log all from sitefinder.verisign.com to any in via en0
[robg adds: I'm not sure this is the ideal way to prevent the sitefinder takeover, but it works. If you enter an unclaimed URL, your browser will time out instead of loading VeriSign's page. To remove the rule, use sudo ipfw zero 00100, where 00100 is the rule number that appeared when you entered the rule (you may then have to toggle the firewall on/off to get things back to normal). For more on the Verisign takeover of unused domain names, see the news.com article VeriSign redirects error pages, or visit /. for a couple of additional stories...]