Archive for May, 2010
LCOD – 5.26.10 – Compare 2 directories
Posted by Jon Zobrist in Linux, Linux Command of the Day, Uncategorized on May 26, 2010
md5sum * | md5sum
This will return an md5sum which will look something like
9277826461d2cb19731f6201c6b2c6b3 -
Run it in 2 directories, if the sums of the sums match, the files are identical.
If not, you may want to rsync between them with something like
rsync-avz -e ssh localdir/ user@remotehost:/remotedir/
or
rsync-avz -e ssh user@remotehost:/remotedir/ localdir/
MCOD 5.13.10 – Using OS-X’s built in VNC viewer
Posted by Jon Zobrist in Mac Command of the Day on May 13, 2010
Mac OS X natively supports VNC with its ‘Screen Sharing’ app, to launch it, simply type vnc://
MCOD 5.11.10 – Clear network settings on a Mac in OS X
Posted by Jon Zobrist in Mac Command of the Day on May 11, 2010
I got a new MacBook pro, one of the core i5 ones, and transferred all of my data with time machine restore, which is absolutely awesome, btw. But my ethernet interface never worked! Being the IT guy I need my ethernet interface to work, so I searched online for someone else who had the same problem. Unfortunately, everything I found was simple fixes for simple problems. So I made an appointment with the mac genius hoping they could solve my problem, and they did.
They went to my hard drive->Library->Preferences and deleted the folder there called “SystemConfiguration”
Then rebooted, and viola, a working ethernet interface.
So, what must have happened to break mine, is when I restored my mac with time machine, it confused the network interfaces somewhere. The interface showed up, but always said ‘cable unplugged’. I had tried everything; deleting the interface in the network section of system preferences, configuring the interface with ifconfig in Terminal, creating multiple interfaces, rebooting, different cables, different networks, and different locations. The time machine had restored my network config folder and prevented OS X from correctly seeing the right interface.
The Mac genius said it can also help if you’re having problems staying connected to a wifi network.
Hope this helps!
Update 6/7/2010:
Here is a good article on troubleshooting your Mac OS X wireless networking at osxdaily.com