On-the-Fly Read-Write compressed filesystem
I recently had a problem where “SARG” completely chew up all root filesystem space as reports was generated daily and stored under /var/www/html/sarg. Quick solution… I thought this can also come in handy for future reference… “On-the-Fly read-write compressed filesystem”
Fix for Mac OS X not resolving FQDN addresses over VPN
On Mac OS X Lion (This also apply to all later versions of OSX), while connected to VPN, I was not able to resolve hostnames on a remote site. The solution was to create domain resolver files in /etc/resolver
named for the different domains the I wanted resolved
Mac OS X Lion and Cisco IPSEC VPN pitfalls
The Mac OS X Lion, Native VPN client, with Cisco IPSEC EasyVPN Server was NOT working properly for myself. The problem I faced was that traffic was NOT passed to the remote LAN when connected to VPN. Split-tunnel and normal EasyVPN setups did NOT work.
AppleScript applications with Xcode 3.2.2
Xcode 3.2.2 on Snow Leopard does not support building new AppleScript applications anymore. It does allow you to edit pre-builded AppleScript projects, but you need to enable the AppleScript Studio palette in Xcode, which is hidden… I’ve build an installer package that will take care of it all and restore this feature in Xcode 3.2.2.
What it does is to automatically install “AppleScript Application”, “AppleScript Automator Action” and “AppleScript Droplet”
Linksys WRT54GL, DD-WRT persistant PPPOE
A script I’ve put together to make my DSL PPPOE dialup persistant. First open the DD-WRT web interface, set WAN to PPPOE and configure a dummy username and password. Then go to Administration, Commands and paste the following script. Change your DSL username and password and save it, Startup Script.
Cisco site-to-site IPSEC VPN
Setting up a “site-to-site” IPSEC VPN between two Cisco routers.
Cisco IOS DNS server
Setting up and running a full-fletched DNS server on Cisco IOS, most users will probably only need to do the following to enable the Cisco IOS DNS server for name lookups: For a more advanced DNS server configuration please read on…
Snow Leopard easy TFTP server and serial console
I couldn’t find an easy working TFTP server and serial Terminal for Mac OS X Snow Leopard, so I’ve build two simple AppleScript programs to make my life easier for updating and configuring Cisco equipment and serial connectivity.
Cisco PPP with authentication
Cisco use HDLC encapsulation by default for point-to-point serial links. This is how to setup PPP encapsulation with authentication, but without encryption.
Encapsulation must be the same on both routers.
Syslog with Cisco devices
Configuring a Cisco router to log to a central Syslog server. The options include configuring the local buffer size, log levels and the transport protocol being used, UDP or TCP.