ICal Advice
Transferring my data from an old user account to my new one. I tried exporting iCal as an archive, however when I try importing it in my new account, I get this error message.
Is there any other way of moving my calendar data across?
Hey John,
John Maisey wrote:
Are the two accounts on the same version of OSX?
That's correct, my original admin account (which has been playing up), is still there.
John Maisey wrote:
Try to re-import the calendar archive to iCal on your old account. This should clear out any errors in the calendar data. Then export again (or export individual calendars).
This didn't seem to work I also tried exporting the individual calendars, however when imported in the new account, they showed up blank
Any other suggestions? maybe if I delete the old admin account then try re-importing it might work?
Cheers
Tony
Similar Messages
-
I cannot transfer my Ical on my Imac with Mavericks 10.9.2 to my iphone 4 with the latest operating system. I get error message "403" when it attempts to upload to the cloud before transfering to the iphone. I've tried shutting down the computer and iphone but it has not been successful. There is plenty of data available on the icloud as I've not used it for anything else. Any advice would be greatly appreciated. Thank you.
KevinHello kmcnern3,
Thank you for providing the details of the calendar issue you are experiencing with your iMac and iPhone. I recommend following the steps in the section titled "Troubleshooting on OS X" in the following article to assist with syncing your calendar events between your devices:
iCloud: Troubleshooting iCloud Calendar
http://support.apple.com/kb/ts3999
Thank you for using Apple Support Communities.
Best,
Sheila M. -
While browsing online tonight my Wi-Fi failed and then after restarting I noticed that I can no longer swipe "back" on websites...when I swipe back to go to a previous page the browser just freezes – can’t click anything or navigate to another site – I have to close the browser and reopen it.
This happens in both Safari and Google Chrome with both Trackpad and Magic Mouse.
Also noticed that I can no longer scroll down in iCal… All the other gestures seem to be responding normally.
Anyone have advice as to how I can fix this?Restart your computer and try again.
Double check your AppleMenu()>System Preferences>Trackpad
for all custom settings here. -
Hi there just got a new 11' MBA but I can't sync iCal in my iPhone 3GS with it. Advice?
Hi i just got a new 11' MBA but can't sync iCal with my iPhone 3GS. Advice pls?
Disconnect your devices then reboot your computer.
Before connecting your devices again reboot your devices. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem. -
Apple advice on importing Entourage calendar from iCal - taking forever!
Hi everyone,
got onto Apple support today asking about moving our entourage calendar to iCal. So, sounded simple enough. Opened iCal, chose import, selected entourage and away we go. 7 hours later (no, I'm not exaggerating) it has got about 3/4 of the way and now the progress bar hasn't moved more than about a millimeter in the past hour. What the heck do I do now? It's almost 2am here - just let it continue running until the morning? At this rate it might take the rest of the week to complete!
Why would it take so long? Is this normal? Any faster way to achieve this? What about if I sync entourage and iCal, then when everything is there, export the entourage calendar from within iCal, then delete it, and then import it into the Home or Work calendar - would that work. This is so frustratingSame thing here. Drives me crazy. Been importing for days now, always have to force quit the app since it's stuck at around 75% of the import.
Is there any way to get this to work? -
Advice: Treo/Verizon/Ical/Isync/ Do we do it?
Hi everyone,
We're currently using one paper calendar and a pencil. Without legnthy explanations...
We want to do the following, and we want to know if it's possible. As the answers we get elsewhere are rather unconvincing.
1. Treo/Blackberry like device, we like keyboards and must use Verizon. (leaning towards Treo after trying in store.) There is always a pregnant pause when I ask if they're compatible with MAC.
2. Email from phone calendar dates to each other. (Invites?) ability to open these on the phone and/or the computer.
3. Email from computer (Issue: I use Eudora, my husband uses Apple Mail) ical appointments.
4. Ical sync with device.
5. Ability to see who's appointment is who's ... for instance if I send my husband and appt for his calendar but it's my appointment... We need to do this because of business, house etc.. So I'm not really "inviting" him to come along or block out his time... just a "notification" or something? Is there a way for us to have each other's appointments on the phones and the computers. To re-explain again... We could both have appointments at 1:00PM for one hour, with different people, and we have both appointments existing on our Treo's & Ical, but my appointment would block out my time, and his would block out his time... I hope that makes sense.
6. Our computers are separate, or unlinked (excuse my laymen terms here, I don't know it all)
7. What happens if we travel with a Lap Top with microsoft... can we do this at .mac? It appears the calendar is read only there, so we would rely on our Treos?
8. Which Treo model works best for MAC, we'll spend anything to get rid of the pencil.
Thank you so much for helping us understand this!!!!
Power Mac G5 Mac OS X (10.4.8)So far so good, a few hiccups but Verizon has supported me so far on each issue. Some responders from the support line where not as good as others, but I did find several who were more than helpful. The forums here are helpful too, aggravation does make some of the posts bias against the phone, but there are some good posts out there and the solution found posts will help us all.
Everyone who owns a Thunderbolt just needs a little patience, it is a new and powerful device. I'm sure HTC and Verizon are working out the confirmed bugs, and will roll out confirmed updates when they have gathered more data. When I was prototyping the obsidian, which we marketed as the glisten, we had many issues too, but in the end worked most of them out.
The thunderbolt should also follow same result as long as Verizon and HTC keep it in the front line, so far they are still marketing it, even with having the Iphone now in their portfolio. I viewed a wirefly.com smackdown between the Thunderbolt and the new Iphone, and to me, I do like the Thunderbolt best. On to day 12, so far so good. -
Switching to Google advice for iCal and Contacts (throwing in the towel with iCloud)
hi all.
moved back to mac about four or five years ago. i have a Mac Pro (Lion), MBP (Mavericks) and an iPhone (iOS7).
ca anyone help me with steps on how to get my Calendar and my Contacts to Google and whether there are any desktop or iPhone based apps to manage this so i don't have to login via a web browser when i need to access this information?
i have to travel soon and the inability for iCal to carry appointments across time zones is a problem for me and my Contacts seem reliably get corrupted via MobileMe/iCloud. it is /not/ fun to see duplicated contacts all the time as well as mashed up contacts (email addresses for some people in the contact for someone else's name etc.).
anyway, i would really love it if someone could help me with url's or links or even just explanations of their personal experience moving everything to google.
also, any suggestions on companion apps (such as sunrise app would be really welcome).
THANKStnine wrote:
Hi all,
I've had a less than stellar experience with 10.6 due to the amount of 3rd party software packages I use that simply don't work well, if at all. I'd like to roll back to my 10.5 installation and wait until the software I use is more stable since my MBP is my work machine and needs to perform flawlessly. The issue is I can't remember when I installed 10.6
TM already did that for you. When you're setting-up the full restore (see item #14 in the Frequently Asked Questions *User Tip* ), the list of backups will include both the data & time (in *U.S. Pacific Time),* plus the OSX version of each backup. -
All of a sudden my iCal program is running as the speed of 128K ! Not sure
why but it gives me the "wait a moment" spinning ball every time I try to do
anything ( i.e. add an event, scroll, refresh etc ) All other programs on my
machine work at the proper speeds. I have FIOS internet so no problem there ?
Please advise ?Please check your home page settings -> https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page
-
Could not sync calendar (iCal) sync server failed to sync iPad. Any advice?
Keep getting this error message:
"iTunes could not sync calendars (iCal) to the iPad because sync server failed to sync the iPad.
Any suggestion?
ThanksI had this problem and finally fixed it after trying numerous ideas on the net.
Before doing the following steps I quit out of icloud on my iphone and my Macbook Pro
Step 1: Finder Menu Go /Go to folder/~/library
Step 2: Open Preferences folder
Step 3: Delete com.apple.syncserver.plist
Step 4: Reboot -
IS there a way to get a schedule view of events on a busy day in iCal on the iPad 2 Air and on the Macbook Pro? I can get this view on an iPhone.
I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web.
If you put your info into the computer and hand it to another, you have to assume they will copy everything.
Why are you putting scanned copies of valuable identity information into a computer than can be hacked, stolen, lost or compromised by a dirty tech?
Have you lost your mind?
Is there a way of finding out what activity has taken place whilst they've had it in their possession?
No. The tech would just deny it if he did, or tell the truth which the answer would be "NO" in either case.
The employer won't ask that sort of questions without solid proof, less they make a enemy of the employee and/or risk being sued for defamation of character.
It's not like they bother to have a team of people watching over his shoulder that he doesn't stick a USB thumb drive of your data into his pocket to take home.
I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks)
If it's iTunes music, it has your personal ID embedded into the song files. Most IT techs know this though.
I appreciate any advice you guys can offer.
Too late now, all you can do is not worry about it.
Take your personal info out of the machine and if you need it, burn cd/dvd copies, a few USB thumb drives, Iron Keys or self encrypting external storage drives with key and/or keypad. -
I recently installed a fresh version of Lion Server after attempting to fix a broken upgrade. With some help from others, I've managed to get all the new features working and have kept notes, having found that many or most of the necessary installation steps for both the OS and its services are almost entirely undocumented. When you get them working, they work great, but the entire process is very fragile, with simple setup steps causing breaks or even malicious behaviors. In case this is useful to others, here are my notes.
Start with an erased, virgin, single guid partitioned drive. Not an upgrade. Not simply a repartitioned drive. Erased. Clean. Anything else can and probably will break the Lion Server install, as I discovered myself more than once. Before erasing my drive, I already had Lion and made a Lion install DVD from instructions widely available on the web. I suppose you could also boot into the Lion recovery partition and use disk utility to erase the OS X partition then install a new partition, but I cut a DVD. The bottom line is to erase any old OS partitions. And of course to have multiple, independent backups: I use both Time Machine with a modified StdExclusions.plist and Carbon Copy Cloner.
Also, if you will be running your own personal cloud, you will want to know your domain name ahead of time, as this will be propagated everywhere throughout server, and changing anything related to SSL on Lion Server is a nightmare that I haven't figured out. If you don't yet have a domain name, go drop ten dollars at namecheap.com or wherever and reserve one before you start. Soemday someone will document how to change this stuff without breaking Lion Server, but we're not there yet. I'll assume the top-level domain name "domain.com" here.
Given good backups, a Lion Install DVD (or Recovery Partition), and a domain name, here are the steps, apparently all of which must be more-or-less strictly followed in this order.
DVD>Disk Utility>Erase Disk [or Recovery Partition>Disk Utility>Erase Partition]
DVD>Install Lion
Reboot, hopefully Lion install kicks in
Update, update, update Lion (NOT Lion Server yet) until no more updates
System Preferences>Network>Static IP on the LAN (say 10.0.1.2) and Computer name ("server" is a good standbye)
Terminal>$ sudo scutil --set HostName server.domain.com
App Store>Install Lion Server and run through the Setup
Download install Server Admin Tools, then update, update, update until no more updates
Server Admin>DNS>Zones [IF THIS WASN'T AUTOMAGICALLY CREATED (mine wasn't): Add zone domain.com with Nameserver "server.domain.com." (that's a FQDN terminated with a period) and a Mail Exchanger (MX record) "server.domain.com." with priority 10. Add Record>Add Machine (A record) server.domain.com pointing to the server's static IP. You can add fancier DNS aliases and a simpler MX record below after you get through the crucial steps.]
System Prefs>Network>Advanced>Set your DNS server to 127.0.0.1
A few DNS set-up steps and these most important steps:
A. Check that the Unix command "hostname" returns the correct hostname and you can see this hostname in Server.app>Hardware>Network
B. Check that DNS works: the unix commands "host server.domain.com" and "host 10.0.1.2" (assuming that that's your static IP) should point to each other. Do not proceed until DNS works.
C. Get Apple Push Notification Services CA via Server.app>Hardware>Settings><Click toggle, Edit... get a new cert ...>
D. Server.app>Profile Manager>Configure... [Magic script should create OD Master, signed SSL cert]
E. Server.app>Hardware>Settings>SSL Certificate> [Check to make sure it's set to the one just created]
F. Using Server.app, turn on the web, then Server.app>Profile Manager> [Click on hyperlink to get to web page, e.g. server.domain.com/profilemanager] Upper RHS pull-down, install Trust Profile
G. Keychain Access>System>Certificates [Find the automatically generated cert "Domain", the one that is a "Root certificate authority", Highlight and Export as .cer, email to all iOS devices, and click on the authority on the device. It should be entered as a trusted CA on all iOS devices. While you're at it, highlight and Export... as a .cer the certificate "IntermediateCA_SERVER.DOMAIN.COM_1", which is listed an an "Intermediate CA" -- you will use this to establish secure SSL connections with remote browsers hitting your server.]
H. iOS on LAN: browse to server.domain.com/mydevices> [click on LHS Install trust cert, then RHS Enroll device.
I. Test from web browser server.domain.com/mydevices: Lock Device to test
J. ??? Profit
12. Server Admin>DNS>Zones> Add convenient DNS alias records if necessary, e.g., mail.domain.com, smtp.domain.com, www.domain.com. If you want to refer to your box using the convenient shorthand "domain.com", you must enter the A record (NOT alias) "domain.com." FQDN pointing to the server's fixed IP. You can also enter the convenient short MX record "domain.com." with priority 11. This will all work on the LAN -- all these settings must be mirrored on the outside internet using the service from which you registered domain.com.
You are now ready to begin turning on your services. Here are a few important details and gotchas setting up cloud services.
Firewall
Server Admin>Firewall>Services> Open up all ports needed by whichever services you want to run and set up your router (assuming that your server sits behind a router) to port forward these ports to your router's LAN IP. This is most a straightforward exercise in grepping for the correct ports on this page, but there are several jaw-droppingly undocumented omissions of crucial ports for Push Services and Device Enrollment. If you want to enroll your iOS devices, make sure port 1640 is open. If you want Push Notifications to work (you do), then ports 2195, 2196, 5218, and 5223 must be open. The Unix commands "lsof -i :5218" and "nmap -p 5218 server.domain.com" (nmap available from Macports after installing Xcode from the App Store) help show which ports are open.
SSH
Do this with strong security. Server.app to turn on remote logins (open port 22), but edit /etc/sshd_config to turn off root and password logins.
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication no
I'm note sure if toggling the Allow remote logins will load this config file or, run "sudo launchctl unload -w /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist ; sudo launchctl load -w /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist" to restart the server's ssh daemon.
Then use ssh-keygen on remote client to generate public/private keys that can be used to remotely login to the server.
client$ ssh-keygen -t rsa -b 2048 -C client_name
[Securely copy ~/.ssh/id_rsa.pub from client to server.]
server$ cat id_rsa.pub > ~/.ssh/known_hosts
I also like DenyHosts, which emails detected ssh attacks to [email protected]. It's amazing how many ssh attacks there are on any open port 22. Not really an added security feature if you've turned off password logins, but good to monitor. Here's a Lion Server diff for the config file /usr/share/denyhosts:
$ diff denyhosts.cfg-dist denyhosts.cfg
12c12
< SECURE_LOG = /var/log/secure
> #SECURE_LOG = /var/log/secure
22a23
> SECURE_LOG = /var/log/secure.log
34c35
< HOSTS_DENY = /etc/hosts.deny
> #HOSTS_DENY = /etc/hosts.deny
40a42,44
> #
> # Mac OS X Lion Server
> HOSTS_DENY = /private/etc/hosts.deny
195c199
< LOCK_FILE = /var/lock/subsys/denyhosts
> #LOCK_FILE = /var/lock/subsys/denyhosts
202a207,208
> LOCK_FILE = /var/denyhosts/denyhosts.pid
> #
219c225
< ADMIN_EMAIL =
> ADMIN_EMAIL = [email protected]
286c292
< #SYSLOG_REPORT=YES
> SYSLOG_REPORT=YES
Network Accounts
User Server.app to create your network accounts; do not use Workgroup Manager. If you use Workgroup Manager, as I did, then your accounts will not have email addresses specified and iCal Server WILL NOT COMPLETELY WORK. Well, at least collaboration through network accounts will be handled clunkily through email, not automatically as they should. If you create a network account using Workgroup Manager, then edit that account using Server.app to specify the email to which iCal invitations may be sent. Server.app doesn't say anything about this, but that's one thing that email address entry is used for. This still isn't quite solid on Lion Server, as my Open Directory logs on a freshly installed Lion Server are filled with errors that read:
2011-12-12 15:05:52.425 EST - Module: SystemCache - Misconfiguration detected in hash 'Kerberos':
User 'uname' (/LDAPv3/127.0.0.1) - ID 1031 - UUID 98B4DF30-09CF-42F1-6C31-9D55FE4A0812 - SID S-0-8-83-8930552043-0845248631-7065481045-9092
Oh well.
Email
Email aliases are handled with the file /private/etc/postfix/aliases. Do something like this
root: myname
admin: myname
sysadmin: myname
certadmin: myname
webmaster: myname
my_alternate: myname
Then run "sudo newaliases". If your ISP is Comcast or some other large provider, you probably must proxy your outgoing mail through their SMTP servers to avoid being blocked as a spammer (a lot of SMTP servers will block email from Comcast/whatever IP addresses that isn't sent by Comcast). Use Server.app>Mail to enter your account information. Even then, the Lion Server default setup may fail using this proxy. I had to do this with the file /private/etc/postfix/main.cf:
cd /etc/postfix
sudo cp ./main.cf ./main.cf.no_smtp_sasl_security_options
sudo echo 'smtp_sasl_security_options = noanonymous' >> ./main.cf
sudo serveradmin stop mail
sudo serveradmin start mail
Finally, make sure that you're running a blacklisting srevice yourself! Server Admin>Mail>Filter> Use spamhaus.org as a blacklister. Finally, set up mail to use strong Kerberos/MD5 settings under on Server Admin>Mail>Advanced. Turn off password and clear logins. The settings should be set to "Use" your SSL cert, NOT "Require". "Require" consistently breaks things for me.
If you already installed the server's Trust Certificate as described above (and opened up the correct ports), email to your account should be pushed out to all clients.
iCal Server
Server.app>Calendar>Turn ON and Allow Email Invitations, Edit... . Whatever you do, do NOT enter your own email account information in this GUI. You must enter the account information for local user com.apple.calendarserver, and the password for this account, which is stored in the System keychain: Keychain Access>System> Item com.apple.servermgr_calendar. Double-click and Show Password, copy and paste into Server.app dialog. This is all described in depth here. If you enter your own account information here (DO NOT!), the iCal Server will delete all Emails in your Inbox just as soon as it reads them, exactly like it works for user com.apple.calendarserver. Believe me, you don't want to discover this "feature", which I expect will be more tightly controlled in some future update.
Web
The functionality of Server.app's Web management is pretty limited and awful, but a few changes to the file /etc/apache2/httpd.conf will give you a pretty capable and flexible web server, just one that you must manage by hand. Here's a diff for httpd.conf:
$ diff httpd.conf.default httpd.conf
95c95
< #LoadModule ssl_module libexec/apache2/mod_ssl.so
> LoadModule ssl_module libexec/apache2/mod_ssl.so
111c111
< #LoadModule php5_module libexec/apache2/libphp5.so
> LoadModule php5_module libexec/apache2/libphp5.so
139,140c139,140
< #LoadModule auth_digest_apple_module libexec/apache2/mod_auth_digest_apple.so
< #LoadModule encoding_module libexec/apache2/mod_encoding.so
> LoadModule auth_digest_apple_module libexec/apache2/mod_auth_digest_apple.so
> LoadModule encoding_module libexec/apache2/mod_encoding.so
146c146
< #LoadModule xsendfile_module libexec/apache2/mod_xsendfile.so
> LoadModule xsendfile_module libexec/apache2/mod_xsendfile.so
177c177
< ServerAdmin [email protected]
> ServerAdmin [email protected]
186c186
< #ServerName www.example.com:80
> ServerName domain.com:443
677a678,680
> # Server-specific configuration
> # sudo apachectl -D WEBSERVICE_ON -D MACOSXSERVER -k restart
> Include /etc/apache2/mydomain/*.conf
I did "sudo mkdir /etc/apache2/mydomain" and add specific config files for various web pages to host. For example, here's a config file that will host the entire contents of an EyeTV DVR, all password controlled with htdigest ("htdigest ~uname/.htdigest EyeTV uname"). Browsing to https://server.domain.com/eyetv points to /Users/uname/Sites/EyeTV, in which there's an index.php script that can read and display the EyeTV archive at https://server.domain.com/eyetv_archive. If you want Apache username accounts with twiddles as in https://server.domain.com/~uname, specify "UserDir Sites" in the configuration file.
Alias /eyetv /Users/uname/Sites/EyeTV
<Directory "/Users/uname/Sites/EyeTV">
AuthType Digest
AuthName "EyeTV"
AuthUserFile /Users/uname/.htdigest
AuthGroupFile /dev/null
Require user uname
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Alias /eyetv_archive "/Volumes/Macintosh HD2/Documents/EyeTV Archive"
<Directory "/Volumes/Macintosh HD2/Documents/EyeTV Archive">
AuthType Digest
AuthName "EyeTV"
AuthUserFile /Users/uname/.htdigest
AuthGroupFile /dev/null
Require user uname
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
I think you can turn Web off/on in Server.app to relaunch apached, or simply "sudo apachectl -D WEBSERVICE_ON -D MACOSXSERVER -k restart".
Securely copy to all desired remote clients the file IntermediateCA_SERVER.DOMAIN.COM_1.cer, which you exported from System Keychain above. Add this certificate to your remote keychain and trust it, allowing secure connections between remote clients and your server. Also on remote clients: Firefox>Advanced>Encryption>View Certificates>Authorities>Import...> Import this certificate into your browser. Now there should be a secure connection to https://server.domain.com without any SSL warnings.
One caveat is that there should be a nice way to establish secure SSL to https://domain.com and https://www.domain.com, but the automagically created SSL certificate only knows about server.domain.com. I attempted to follow this advice when I originally created the cert and add these additional domains (under "Subject Alternate Name Extension"), but the cert creation UI failed when I did this, so I just gave up. I hope that by the time these certs expire, someone posts some documentation on how to manage and change Lion Server SSL scripts AFTER the server has been promoted to an Open Directory Master. In the meantime, it would be much appreciated if anyone can post either how to add these additional domain names to the existing cert, or generate and/or sign a cert with a self-created Keychain Access root certificate authority. In my experience, any attempt to mess with the SSL certs automatically generated just breaks Lion Server.
Finally, if you don't want a little Apple logo as your web page icon, create your own 16×16 PNG and copy it to the file /Library/Server/Web/Data/Sites/Default/favicon.ico. And request that all web-crawling robots go away with the file /Library/Server/Web/Data/Sites/Default/robots.txt:
User-agent: *
Disallow: /
Misc
VNC easily works with iOS devices -- use a good passphrase. Edit /System/Library/LaunchDaemons/org.postgresql.postgres.plist and set "listen_addresses=127.0.0.1" to allow PostgreSQL connections over localhost. I've also downloaded snort/base/swatch to build an intrusion detection system, and used Macports's squid+privoxy to build a privacy-enhanced ad-blocking proxy server.Privacy Enhancing Filtering Proxy and SSH Tunnel
Lion Server comes with its own web proxy, but chaining Squid and Privoxy together provides a capable and effective web proxy that can block ads and malicious scripts, and conceal information used to track you around the web. I've posted a simple way to build and use a privacy enhancing web proxy here. While you're at it, configure your OS and browsers to block Adobe Flash cookies and block Flash access to your camera, microphone, and peer networks. Read this WSJ article series to understand how this impacts your privacy. If you configure it to allow use for anyone on your LAN, be sure to open up ports 3128, 8118, and 8123 on your firewall.
If you've set up ssh and/or VPN as above, you can securely tunnel in to your proxy from anywhere. The syntax for ssh tunnels is a little obscure, so I wrote a little ssh tunnel script with a simpler flexible syntax. This script also allows secure tunnels to other services like VNC (port 5900). If you save this to a file ./ssht (and chmod a+x ./ssht), example syntax to establish an ssh tunnel through localhost:8080 (or, e.g., localhost:5901 for secure VNC Screen Sharing connects) looks like:
$ ./ssht 8080:[email protected]:3128
$ ./ssht 8080:alice@:
$ ./ssht 8080:
$ ./ssht 8018::8123
$ ./ssht 5901::5900 [Use the address localhost:5901 for secure VNC connects using OS X's Screen Sharing or Chicken of the VNC (sudo port install cotvnc)]
$ vi ./ssht
#!/bin/sh
# SSH tunnel to squid/whatever proxy: ssht [-p ssh_port] [localhost_port:][user_name@][ip_address][:remotehost][:remote_port]
USERNAME_DEFAULT=username
HOSTNAME_DEFAULT=domain.com
SSHPORT_DEFAULT=22
# SSH port forwarding specs, e.g. 8080:localhost:3128
LOCALHOSTPORT_DEFAULT=8080 # Default is http proxy 8080
REMOTEHOST_DEFAULT=localhost # Default is localhost
REMOTEPORT_DEFAULT=3128 # Default is Squid port
# Parse ssh port and tunnel details if specified
SSHPORT=$SSHPORT_DEFAULT
TUNNEL_DETAILS=$LOCALHOSTPORT_DEFAULT:$USERNAME_DEFAULT@$HOSTNAME_DEFAULT:$REMOT EHOST_DEFAULT:$REMOTEPORT_DEFAULT
while [ "$1" != "" ]
do
case $1
in
-p) shift; # -p option
SSHPORT=$1;
shift;;
*) TUNNEL_DETAILS=$1; # 1st argument option
shift;;
esac
done
# Get local and remote ports, username, and hostname from the command line argument: localhost_port:user_name@ip_address:remote_host:remote_port
shopt -s extglob # needed for +(pattern) syntax; man sh
LOCALHOSTPORT=$LOCALHOSTPORT_DEFAULT
USERNAME=$USERNAME_DEFAULT
HOSTNAME=$HOSTNAME_DEFAULT
REMOTEHOST=$REMOTEHOST_DEFAULT
REMOTEPORT=$REMOTEPORT_DEFAULT
# LOCALHOSTPORT
CDR=${TUNNEL_DETAILS#+([0-9]):} # delete shortest leading +([0-9]):
CAR=${TUNNEL_DETAILS%%$CDR} # cut this string from TUNNEL_DETAILS
CAR=${CAR%:} # delete :
if [ "$CAR" != "" ] # leading or trailing port specified
then
LOCALHOSTPORT=$CAR
fi
TUNNEL_DETAILS=$CDR
# REMOTEPORT
CDR=${TUNNEL_DETAILS%:+([0-9])} # delete shortest trailing :+([0-9])
CAR=${TUNNEL_DETAILS##$CDR} # cut this string from TUNNEL_DETAILS
CAR=${CAR#:} # delete :
if [ "$CAR" != "" ] # leading or trailing port specified
then
REMOTEPORT=$CAR
fi
TUNNEL_DETAILS=$CDR
# REMOTEHOST
CDR=${TUNNEL_DETAILS%:*} # delete shortest trailing :*
CAR=${TUNNEL_DETAILS##$CDR} # cut this string from TUNNEL_DETAILS
CAR=${CAR#:} # delete :
if [ "$CAR" != "" ] # leading or trailing port specified
then
REMOTEHOST=$CAR
fi
TUNNEL_DETAILS=$CDR
# USERNAME
CDR=${TUNNEL_DETAILS#*@} # delete shortest leading +([0-9]):
CAR=${TUNNEL_DETAILS%%$CDR} # cut this string from TUNNEL_DETAILS
CAR=${CAR%@} # delete @
if [ "$CAR" != "" ] # leading or trailing port specified
then
USERNAME=$CAR
fi
TUNNEL_DETAILS=$CDR
# HOSTNAME
HOSTNAME=$TUNNEL_DETAILS
if [ "$HOSTNAME" == "" ] # no hostname given
then
HOSTNAME=$HOSTNAME_DEFAULT
fi
ssh -p $SSHPORT -L $LOCALHOSTPORT:$REMOTEHOST:$REMOTEPORT -l $USERNAME $HOSTNAME -f -C -q -N \
&& echo "SSH tunnel established via $LOCALHOSTPORT:$REMOTEHOST:$REMOTEPORT\n\tto $USERNAME@$HOSTNAME:$SSHPORT." \
|| echo "SSH tunnel FAIL." -
Multiple device syncing advice needed and appreciated.
Hey everyone, happy holidays to everyone
I need some advice from you Apple lovers out there if you can spend some time replying. Thanks alot in advanced
My devices and current status
13" Macbook Pro with 8gig RAM with lion OS - Mosty used for word processing, DJing, low Internet usage now that i have Ipad, photo management, DVD ripping etc etc - i use this as my main device to organise emails and i purchase most apps, music and films on this device too
Ipad2 - Mostly for media content, web browsing, Youtube, playing games, FB, watching films. I use this device for fun not functionality or work related things
Iphone 4 - Usual phone usage, I use my phone as my main device for iCal, contacts, checking emails/messages on the move
2GB time capsule - brand new in the box as yet unused
Generally speaking i get confused or change my mind frequently about what to sync to which device, i started off using icloud but then things got confusing and i had things real messed up, multiple same contacts, apps on differnet device, differnet music on all 3 devices so now for the moment i think of my Macbook as the main device with both my iphone and ipad backed up to the Macbook. I then back up all of this on a regular 500g external Hard Drive.
So my questions are as follows
1. Can and should i use icloud to back up my devices and if so how should i do this effectivly
2. What syncing procedure would suit me best
3. How should i integrate Timecapsule to my devices
Any other suggestions would really be apreciated
Thanks againThe second part puzzles me - excuse me (but i honestly don't know) do both units give off a wifi signal of roughly equal 'amounts'?
Yes. Since both are connected by "Ethernet" each base station is its own wireless network and you have a few options on how best to configure them.
One of those options is to give both wireless networks the same Network Name (or SSID) so that you can, for example, "walk" a laptop from one to the other and stay connected. This is known as a roaming network.
If this is something that you don't desire or have a requirement for, then leaving them as two separate wireless networks would work just as well.
So what i am asking - i guess - is can i increase the distance the wifi signal reaches of the second unit (the time capsule - that is wired to the airport extreme)
To extend the wireless range of the Time Capsule (TC) you would need another 802.11n AirPort, like the AirPort Express Base Station (AXn). This should get a stronger signal out to the garden. Of course, it would really depend on the distance from the TC to where you would like to place the AXn to get the best results.
Let me know if you need help configuring the base stations. -
I have noticed in the past 1 month or so that if I use the search box in iCal to search for particular events, sometimes it brings up completely incorrect results. So if I type in "dad birthday" it might bring up something like "picnic at the park". Quitting iCal and then restarting it fixes this problem, but then the problem comes back after a little while of using iCal. Does anyone have any advice on what might be wrong or how to fix it?
a lot of people are suggesting rebuilding the spotlight indexes - this can be done globally for the whole hard drive or just for iCal.
In System Preferences, Spotlight, uncheck then Events & To Do items category and then recheck it for an iCal only reindex, or drag your hard drive to the Privacy list and then remove it to re-index the entire hard drive... -
Just recently, when I select month view in the Tiger iCal, the window disappears. I can add new events, but cannot see them unless I'm within the day or week view. Also, when I immediately click day or week, it doesn't fit the frame properly. Does anyone know why this glitch is happening?
I found this advice from a standford prof.... and it worked for me...
"I just deleted the com.apple.ical.plist file from
user/library/preferences and reset everything back to defaults and it works
fine now."
I deleted all the iCal plists and it kept my data, but reset iCal and I can now see in month view. -
Need to have the calendars on my iPhone to show up in iCal on my Mac.
Today I was at the area Apple store working with a Genius. I had two Apple IDs, one I had used for some time and a second created when I set up a Mobile Me account a couple of years ago. Because I had two IDs, syncing was all messed up. The genius led me through the process of essentially making one ID incactive (the Mobile Me ID) and having the other one be the primary one.
What we essentially did was to delete the old iCloud account associated with the Mobile Me ID and set up a new one. When the box showed up that said essentially, "If you move this Mobile Me account to iCloud, you will lose the calendar data on your Mac," he told me just to click it and proceed.
Everything with the syncing worked as it should. However, when I got back to the office, I found out that all my calendars on my Mac are now gone. I did some online searching on the Apple site and, duh, I realize what the box said, and that I should have backed up the calendars. But I was trusting the Genius, he had me clicking boxes in rapid fashion, and I just followed his advice. I assumed, He did NOT ask if I needed the data on those calendars and did I want to back up.
Because the calendars were associated with my old ID, the one that is now disabled, they are not active on either my Mac or the iCloud website. However, when I look on my iPhone, the old calendars associated with my old ID are still showing up. VERY GOOD. Now I just need to know how to get those calendars into iCal on iCloud and thus back on my computer.
When I touch the "Calendars" button at the top left of my monthly view screen on my iPhone and then can see the calendars that were associated with the old ID, the question I have is why they're even showing up on my iPhone at all, as it is also associated with the current ID and iCloud. But that is another issue. I just want to get them back onto my Mac. These are my major work/life calendars, and I don't need them to disappear. HELP!If the old account was or had been upgraded to an iCloud account as you seem to be implying, you should be able to add it back to your mac as a secondary account (system preferences > mail, calendars & contacts. This should cause both accounts calendars to show up in iCal (click the calendar button -top left corner- to confirm this. Then you should be able to copy the calendars across to your new account by following the instructions below.
Create a new empty calendar from the iCal file menu, select which account you want to create it in.
If you have only a few appointments you can move them individually by editing them and changing the calendar in the edit options.
Alternatively you can copy all the appointments in one calendar to another and delete the original.
To copy a calendar ctrl-click on it from the menu that appears when you select the calendar button (top left corner of iCal) and choose export (export it to your desktop for ease)
Double click the exported file and choose the new empty calendar to import them into.
Ctrl-click on the original calendar from the menu that appears when you select the calendar button and choose delete.
I'm guessing the reason your calendars show on your phone is because that account is enabled as a secondary account there.
Maybe you are looking for
-
How to get a refund for an iTunes gift card
I got an iTunes gift card but can't buy anything on iTunes. How do I go about getting a refund?
-
my photo stream wont update, why
-
I have a black MacBook (I got it right before they stopped selling the black ones). So I bought a Mini-DVI to HDMI and the proper cables to hook up the HDMI end to the HDMI on my Panasonic 32" but nothing is happening. I have tried turning off both
-
Importing public key certificate from external application
Hello! I am trying to implement the following scenario: 1. External client application sends it's public key certificate to SAP WAS 2. SAP imports this certificate into its PSE 3. External client application sends digitally signed messages to SAP (wi
-
Nikon D70s Raw files extremely noisy
I have a bunch of NEF files from my Nikon D70s that look terrible when imported with Lightroom (or Photoshop on the Mac or iPhoto or Photoshop on the PC, for that matter). Here is a screen capture of one of the photos at 1:1 zoom: http://solace.stanf