Manage Samba4 configuration from Linux console menu:
Download the file: samba4.pdm
Sunday, January 29, 2012
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:
Note:
The calling script (ip-up) will provide the values for $PPP_LOCAL and $PPP_IFACE.
/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
Download the file: main.pdm
Subscribe to:
Posts (Atom)





