How to setup a vpn tunnel to a CISCO(tm)-type vpn connection via the vpn tool and configure the ip routing in a way that only the packets destined for the vpn network are routed there. Thus, normal packets, like internet, are just handled like normal. I will show this by a specific example on connecting to the UKlan network of the University of Cologne.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# date: 2015-01-24 | |
# Inspiration from: http://www.gtkdb.de/index_7_1302.html | |
payload=$(cat <<EOF | |
<?xml version="1.0" encoding="utf-8"?> | |
<s:Envelope | |
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# date: 2015-01-24 | |
wget 'http://192.168.2.1/cgi-bin/disconnect.exe' -O /dev/null > /dev/null 2>&1 | |
sleep 3 | |
wget 'http://192.168.2.1/cgi-bin/connect.exe' -O /dev/null > /dev/null 2>&1 | |
sleep 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# date: 2015-01-24 | |
# purpose: Rename image files to their creation dates | |
# (unix timestamp) based on exif metadata | |
for file in *; | |
do | |
tstmp=$(exiv2 "$file"\ | |
| grep -ia "image timestamp"\ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Klimakoffer.jl | |
.ipynb_checkpoints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = gcc | |
CCFLAGS = -I. | |
LDFLAGS = -L. | |
all: main libexample.so | |
main: main.c example.o | |
$(CC) -o $@ -Wall -Werror $(CCFLAGS) $^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
T8_DIR = $(HOME)/install/t8code/main | |
T8_INC = -I$(T8_DIR)/include | |
T8_LIB = -L$(T8_DIR)/lib -Wl,-rpath=$(T8_DIR)/lib | |
LIBS = -lz -lsc -lp4est -lt8 | |
CXX = mpicxx | |
all: stencil |
OlderNewer