BEQLEUNXP1NB103: Difference between revisions
Jump to navigation
Jump to search
(→Cygwin - sshproxy: raw file link) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Installed Operating System == |
|||
== Applications == |
|||
* [[{{PAGENAME}} - Windows|Windows]] |
|||
=== FireFox === |
|||
** [[{{PAGENAME}} - Windows - Files|Configuration files]] |
|||
* Keyword search: |
|||
* [[{{PAGENAME}} - Cygwin|Cygwin]] |
|||
** '''dt''' → Delicious - Search m1p's Bookmarks → http://delicious.com/search?p=%s&u=m1p&chk=&context=userposts&fr=del_icio_us&lc=0 |
|||
** [[{{PAGENAME}} - Cygwin - Files|Configuration files]] |
|||
** '''ds''' → Delicious - Add Tag → http://delicious.com/m1p?addtag=%s |
|||
* [[Nxl67002 - AndLinux|AndLinux]] |
|||
** [[Nxl67002 - AndLinux - Files|Configuration files]] |
|||
== System == |
|||
=== Log === |
|||
* Quick search: |
|||
To be completed |
|||
** '''dt''' → Delicious - Add Tag → http://delicious.com/m1p?addtag=%s&addtagSubmit= |
|||
** '''ds''' → Delicious - Search m1p's Bookmarks → http://delicious.com/search?p=%s&u=m1p&chk=&context=userposts&fr=del_icio_us&lc=0 |
|||
* Keyboard configuration (! keyboard ini file is UTF8. See this [[Opera#Bug report bug-361427@bugs.opera.com|bug]]) |
|||
[Application] |
|||
Platform Windows-Unix-MCE, PageUp ctrl=Switch to previous page |
|||
Platform Windows-Unix-MCE, PageDown ctrl=Switch to next page |
|||
² alt=Enter access key mode | Leave access key mode |
|||
<strike>PageUp ctrl=Page left</strike> |
|||
<strike>PageDown ctrl=Page right</strike> |
|||
=== |
=== Network === |
||
See [[File:BEQLEUNXP1NB103_Network.pdf]] for an overview of the network configuration. |
|||
* init service to setup ssh port forwarding. Save [{{#filelink: sshproxy}} the file below] in <tt>/etc/rc.d/init.d</tt>: |
|||
{{#fileanchor: sshproxy}} |
|||
<source lang="bash"> |
|||
#! /bin/sh |
|||
# |
|||
# sshproxy Setup ssh port forwarding (imap) and SOCKS 5 proxy |
|||
# |
|||
# Author: Michaël Peeters |
|||
# |
|||
# chkconfig: 235 70 40 |
|||
# description: sshproxy startup script. |
|||
=== Partition === |
|||
SUBSYS=sshproxy |
|||
To be completed |
|||
TARGET=/usr/bin/ssh |
|||
== 1st Install == |
|||
# Source function library. |
|||
To be completed |
|||
. /etc/rc.d/init.d/functions |
|||
# Some functions to make the below more readable |
|||
PID_FILE=/var/run/$SUBSYS.pid |
|||
[ -f $TARGET ] || exit 0 |
|||
RETVAL=0 |
|||
# See how we were called. |
|||
case "$1" in |
|||
start) |
|||
echo -n $"Starting $SUBSYS:" |
|||
[ -f $PID_FILE ] && echo_failure && exit 1 |
|||
oldPID=`pidofproc $TARGET` |
|||
$TARGET -f -N -n -q -L 9025:smtp.priorweb.be:25 -L 9143:mail.priorweb.be:143 -L 9026:mail.altranweb.be:25 -L 9144:mail.altranweb.be:143 -D 1080 noekeon |
|||
RETVAL=$? |
|||
newPID=`pidofproc $TARGET` |
|||
uniqPID=`echo $oldPID $newPID|sed -e 's/ /\n/g'|sort|uniq -u` |
|||
echo $uniqPID>$PID_FILE |
|||
echo -n -e $"\rStarting $SUBSYS:" |
|||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SUBSYS && echo_success || echo_failure |
|||
;; |
|||
stop) |
|||
echo -n $"Stopping $SUBSYS:" |
|||
if [ ! -f $PID_FILE ]; then echo_failure; exit 1; fi |
|||
PID=`cat $PID_FILE` |
|||
kill -9 $PID>/dev/null |
|||
RETVAL=$? |
|||
if [ $RETVAL -eq 0 ]; then |
|||
rm -f /var/lock/subsys/$SUBSYS |
|||
rm $PID_FILE |
|||
echo_success |
|||
else |
|||
echo_failure |
|||
fi |
|||
;; |
|||
status) |
|||
# First try "pidof" |
|||
pid=`pidof -o $$ -o $PPID -o %PPID -x $TARGET` |
|||
if [ "$pid" != "" ] ; then |
|||
echo $"$SUBSYS (pid $pid) is running..." |
|||
exit 0 |
|||
fi |
|||
# Next try "/var/run/*.pid" files |
|||
if [ -f $PID_FILE ] ; then |
|||
read pid < $PID_FILE |
|||
if [ "$pid" != "" ] ; then |
|||
echo $"$SUBSYS dead but pid file exists" |
|||
exit 1 |
|||
fi |
|||
fi |
|||
# See if /var/lock/subsys/$SUBSYS exists |
|||
if [ -f /var/lock/subsys/$SUBSYS ]; then |
|||
echo $"$SUBSYS dead but subsys locked" |
|||
exit 2 |
|||
fi |
|||
echo $"$SUBSYS is stopped" |
|||
exit 3 |
|||
;; |
|||
restart) |
|||
$0 stop |
|||
echo -ne "\n" |
|||
$0 start |
|||
RETVAL=$? |
|||
;; |
|||
*) |
|||
echo "Usage: $SUBSYS {start|stop|status|restart}" |
|||
exit 1 |
|||
esac |
|||
exit $RETVAL |
|||
</source> |
Latest revision as of 11:46, 26 April 2013
Installed Operating System
System
Log
To be completed
Network
See File:BEQLEUNXP1NB103 Network.pdf for an overview of the network configuration.
Partition
To be completed
1st Install
To be completed