Sunday, January 29, 2012

pdmenu.samba4

Manage Samba4 configuration from Linux console menu:


Download the file: samba4.pdm

pdmenu wol

Linux console menu for Wake-On-Lan:


Download the file: wol.pdm

pdmenu squid

Manage squid in Linux console menu:


Download the file: squid.pdm

pdmenu dns

Manage DNS server (bind) from Linux console menu:


Download the file: dns.pdm

pdmenu apache

Manage Apache 2 web server from Linux console:


Download the file: apache.pdm

PPTP routes on Linux

Using pptp-linux client to establish PPTP connections does not automatically generate a route to make the remote network subnet fully accessible, only the host-to-host link. If you don't wish to set the defaultroute option, then you can use the following script to create a 24-bit subnet route:

/etc/ppp/ip-up.d/pptp-route:
SUBNET=`echo $PPP_LOCAL | awk -F . '{print $1"."$2"."$3".0"}'`
route add -net $SUBNET netmask 255.255.255.0 dev $PPP_IFACE

Note:
The calling script (ip-up) will provide the values for $PPP_LOCAL and $PPP_IFACE.

Thursday, January 12, 2012

pdmenu main

Menu driven Ncurses Text User Interface (TUI) to manage common tasks in the Linux console, based on pdmenu:


 Download the file: main.pdm