Thursday, March 06, 2008

Urgh.... OS X 10.5.2 & Juniper SSL VPN

IT had some issues with the SSL gateway. I think they must have upgraded to solve the problem. As a result, when I connected up this morning, it forced me to install a new client and that is where all the problems started. First the software wouldn't install. Then throwing the Network Connect software away didn't help. When I did finally get it to install, I got stuck where it was executing the installation script.

I tried everything on this post and some of the stuff was helpful. This is what worked for me.
Delete the Network Connect app.
Do the links suggested by the last poster.

$ cd /usr/lib
$ sudo cp libcrypto.0.9.dylib libcrypto.0.9.dylib.ppc
$ sudo cp libssl.0.9.dylib libssl.0.9.dylib.ppc
$ sudo ln -sf libcrypto.0.9.7.dylib libcrypto.0.9.dylib
$ sudo ln -sf libssl.0.9.7.dylib libssl.0.9.dylib

Then delete the files:

$ cd /Library/Frameworks
$ sudo rm -R net.juniper.*
$ sudo rm -rf /usr/local/juniper

Then do what sudogeek said here:
The installation for Juniper's Network Connect differs on different OS X versions. I have successfully installed and used Network Connect 5.5 on Mac O X 10.3.x, 10.4.x, and 10.5.1.

Mac OS X 10.3.x, <10.4.9:>

Mac OS X >10.4.10, 10.5.x: This alternative method works for all Mac OS X versions but seems to be necessary only for the newer ones. You need to log in to your Mac as an administrative user and open the NetInfo Manager (10.3.x or 10.4.x) or "Directory Utility" (10.5) application in "Utilities." Under "Edit" click on "Enable root user." Then go the "System Preferences" and change the login options to Name and Password. Log out then log in as root. Now use Safari to open the web site which loads the VPN client. Click Start for Network Connect and the software will be downloaded and installed. Now, log out of the root account, go back to your regular administrative user account and log in. Again open the "NetInfo Manager" or "Directory Utility" application and under disable root user. Then go the "System Preferences" and change the login options to whatever you want.

Don't replace this bit with the sudo safari stuff from your regular user. It should work in theory, but when I tried it, safari still asked me to provide the password.

Even though I am a UNIX guy and don't believe in reboots, I did a reboot just to make sure the links and all the changes I made are in correctly.

When the box came back up, I logged in as root, the installation went fine. Although I tried logging into the SSLVPN, it failed. I logged out and logged back in as the regular user, and was able to get into the SSLVPN without issues. Weird.

Good luck.

Monday, March 03, 2008

HP Laserjet 4 m plus on OS X

what a pain....... If you don't know how it works.

It wasn't available in the drop down for OS X. The new OS X 10.5 drivers from HP doesn't have it either.

On windows, duplex works, and everything is cool.

The printer kept printing everything twice and ignore all duplex setting when printing from the Mac. So here is what it all came down to. To get the Laserjet4m plus working, you have to use the generic postscript driver, and go into the postscript setting on the printer to turn duplex on. In addition, set copies to 1. My printer came in German, so it's "Examplare". That kept throwing me off because I thought the drivers were not working. Urgh......