[12:53:56]jackson@blind-mb~$ sudo symsched -l
Module Name On UI Freq Day Time Args
————– ———————— — — ——– —– —— —-
LiveUpdate Update All Hourly 1 0 Hourly 13:15 ”All Products”
[12:54:07]jackson@blind-mb~$ sudo symsched -d all
[12:54:22]jackson@blind-mb~$ sudo symsched LiveUpdate “Update All Hourly” 1 0 -hourly 13:15 “All Products” -quiet
[12:54:27]jackson@blind-mb~$ sudo symsched -lModule Name On UI Freq Day Time Args
————– ———————— — — ——– —– —— —-
LiveUpdate Update All Hourly 1 0 Hourly 13:15 ”All Products” -quiet
[12:54:42]jackson@blind-mb~$
The first and last command give a listing of the scheduled events. The second command deletes all scheduled events. The third command adds a new event in quiet mode. You can changed the flag to -daily or -weekly as well.
Turn on screen sharing via command line.
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all
Turn off screen sharing.
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off
Convert the .iso file to .img using the convert option of hdiutil
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
Note: OS X tends to put the .dmg ending on the output file automatically.
Run diskutil list to get the current list of devices
Insert your flash media
Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)
Execute
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
(replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg).
Using /dev/rdisk instead of /dev/disk may be faster.
If you see the error dd: Invalid number ‘1m’, you are using GNU dd. Use the same command but replace bs=1m with bs=1M.
If you see the error dd:/dev/diskN: Resource busy, make sure the disk is not in use. Start the ‘Disk Utility.app’ and unmount (don’t eject) the drive.
Run diskutil eject /dev/diskN and remove your flash media when the command completes
You now have a bootable USB drive to install ubuntu where ever you please.
So if you are a Penn State Harrisburg student you might have been as frustrated as me to find out that you cant change your default shell. Here is a little hack that will run whatever shell you want and not mess up your ability to sftp onto these machines.
cd ~;
mv .cshrc .cshrc_old
vi .cshrc
Put the following into this file.
#!/bin/csh
if ( $?prompt ) then
exec /bin/bash
endif
Then put any env info you want into the following file:
~/.bash_rc
Mac OS X Snow Leopard adds support for Cisco IPSec VPN connections — that is, plain IPSec with XAuth authentication and mode_cfg.
That makes it two layers of authentication: first, Machine Authentication with a password (Shared Secret) or an X509 certificate. Then a traditional username-password pair for XAuth, both of which you can enter and save in the Account Name and Password fields respectively when you set up the connection. Trouble is, even though you entered your password and it is apparently saved in the keychain properly, Mac OS X keeps nagging you to manually enter the password every time you connect. Turns out this is a just bug with a simple fix.
Open the Keychain Access Application, select the System keychain and find your saved XAuth password entry in the list. Its Kind field will say IPSec XAuth Password. Open it, then on the Access Control tab click the Plus button to add another application. The file we need to select, /usr/libexec/configd, resides in a hidden folder. To navigate there, press Command-Shift-G, enter /usr/libexec, then pick configd in the dialog. Save your changes and that’s it — your saved password should now work.
Go to the following site and download the uninstaller script.
http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2007661309063498
The script will remove norton and all files associated with it, also getting rid of the pesky code 10 error.
For those who are impatient and click open instead of save file when using webmail, angel, or the like and then find themselves clueless as to where there file has gone…
Firefox:
C:\Documents and Settings\your_user_name\Local Settings\Temp\your_file.name
Internet Explorer:
C:\Documents and Settings\your_user_name\Local Settings\Temporary Internet Files\Content.IE5\some_random_foler\your_file.name
Don’t make the same mistake twice. Save your documents instead of just opening them. This will guarantee they don’t end up in a temporary folder.
sudo awk -F”:” ‘{ print “Linux_name: ” $1 “\t\tFull_Name: ” $5 }’ /etc/passwd
1) Since you don’t have wireless drivers I’m assuming that you don’t have access to the internet on your linux machine, so on another machine download the appropriate ndiswrapper deb files from the following link:
https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper
2) Place those deb files on a USB drive and install them on your linux box. Opening them in a file browser and double clicking them will launch them.
3) Once those are installed, run the following commands in a terminal:
$ndiswrapper -i /[driver directory]/bcmwl5a.inf
$ndiswrapper -m (I got an error in this one but it worked anyway)
$ndiswrapper -ma
4) Now we need to edit the following file by typing the following command:
$sudo vi /etc/modprobe.d/ndiswrapper
You need to add the following two lines at the end of this file.
Line 1
alias pci:v000014E4d000043XXsv*sd*bc*sc*i* ndiswrapper
*NOTE* replace the XX with the model number of your card for instance (replace 43XX with 4306)
Line 2
alias eth1 ndiswrapper
Save and Quit vi.
6) Now we need to load the wireless driver run the following command:
modprobe ndiswrapper
7) Restart the machine your wireless card should now be active.
svn co http://svn.macports.org/repository/macports/trunk/base/ macports-svn
cd macports-svn
./configure && make && sudo make install;
sudo port -v selfupdate