Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Local iDisk copying issue based on block sizes Internet
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!
  Post a comment  •  Comments (0)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,280 views] Email Article To a Friend View Printable Version
How to auto-redirect to a dynamic IP address Internet
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.

Read the rest of the hint for the how-to...
read more (427 words)   Post a comment  •  Comments (7)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[13,849 views] Email Article To a Friend View Printable Version
10.3: Use iDisk capacity to store excess .mac mail Internet
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:
cd ~/Library/Mail/Mailboxes
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....

[robg adds: I haven't tested this one myself...]
  Post a comment  •  Comments (6)  
  • Currently 1.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[10,397 views] Email Article To a Friend View Printable Version
10.3: Start Internet Sharing via AppleScript Internet
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"
  activate
end tell

tell application "System Events"
  tell process "System Preferences"
    click menu item "Sharing" of menu "View" of menu bar 1
    delay 10
    tell window "Sharing"
      if (exists tab group 1) then
      tell tab group 1
        click radio button "Internet"
        delay 1
        click button "Start"
        delay 1
      end tell
      end if
      if exists sheet 1 then
        tell sheet 1
          click button "Start"
        end tell
      end if
    end tell
  end tell
end tell

ignoring application responses
  tell application "System Preferences" to quit
end ignoring
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.
  Post a comment  •  Comments (12)  
  • Currently 1.75 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[15,840 views] Email Article To a Friend View Printable Version
Connect to alternate Freeserve access numbers Internet
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:
  1. Open Internet Connect
  2. On the Telephone Number drop down box, select Edit
  3. Add in the following numbers:
    • 147008083316080
    • 147008089933265
    • 147016164208452402602
    • 147008089933251
    • 147008089916001
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.
  Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,385 views] Email Article To a Friend View Printable Version
Toggle web proxy settings via AppleScript Internet
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)...
read more (198 words)   Post a comment  •  Comments (19)  
  • Currently 2.40 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[32,278 views] Email Article To a Friend View Printable Version
Missing outbound e-mail caused by vCard signature Internet
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?!
  Post a comment  •  Comments (5)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,019 views] Email Article To a Friend View Printable Version
Listen to Internet radio on your Tivo Internet
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.
  Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,867 views] Email Article To a Friend View Printable Version
AppleScripts ease internet sharing with Bluetooth phones Internet
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!
  Post a comment  •  Comments (5)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[13,704 views] Email Article To a Friend View Printable Version
Block VeriSign's attempt at internet domination Internet
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...]
  Post a comment  •  Comments (17)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[10,624 views] Email Article To a Friend View Printable Version