Nxl67002 - AndLinux - Files: Difference between revisions
Jump to navigation
Jump to search
Line 564: | Line 564: | ||
Host ftp.noekeon.org noekeon |
Host ftp.noekeon.org noekeon |
||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
⚫ | |||
Host |
Host andlinux |
||
User beq06659 |
|||
HostName andlinux |
|||
ProxyCommand none |
|||
⚫ | |||
⚫ | |||
⚫ | |||
ProxyCommand none |
|||
Host |
Host leviathan |
||
User mich |
|||
User baddreams |
|||
HostName leviathan |
|||
ProxyCommand none |
|||
Host * |
Host * |
||
ProxyCommand none |
|||
ServerAliveInterval 15 |
|||
</pre> |
</pre> |
||
}} |
}} |
||
Line 585: | Line 593: | ||
Host ftp.noekeon.org noekeon |
Host ftp.noekeon.org noekeon |
||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
⚫ | |||
#TEST-To prevent disconnect if network down... |
|||
TCPKeepAlive no |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -f - - %h %p |
|||
# Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/multitee 0:3 3:1' |
|||
###### EXPERIMENTS: |
|||
# Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; cat ~/.ssh/clbanner.txt >&3; head -c 50 <&3; read -n $(stat -c %%s ~/.ssh/clbanner.txt); exec /usr/local/bin/socat - FD:3' |
|||
Host noekeonsshtunnel |
|||
⚫ | |||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
Host andlinux |
Host andlinux |
||
User beq06659 |
|||
HostName andlinux |
|||
ProxyCommand none |
|||
Host gryphon |
Host gryphon |
||
User baddreams |
|||
HostName gryphon |
|||
ProxyCommand none |
|||
Host leviathan |
|||
User mich |
|||
HostName leviathan |
|||
ProxyCommand none |
|||
Host * |
Host * |
||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q - - %h %p |
|||
⚫ | |||
Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/socat - FD:3' |
|||
ServerAliveInterval 15 |
|||
</pre> |
</pre> |
||
}} |
}} |
||
{{hiddenSourceFile|~/.ssh/| |
{{hiddenSourceFile|~/.ssh/|proxy.conf-default|<pre class="proxy.conf-default"> |
||
# SSH Tunnel configuration file. |
|||
# ~/.ssh/config-tunnel |
|||
# Section: OPTIONS |
|||
Host ftp.noekeon.org noekeon |
|||
[option-section] |
|||
User daemenj |
|||
debug=0 |
|||
HostName ftp.noekeon.org |
|||
dry=0 |
|||
⚫ | |||
icmp=0 |
|||
sshping=1 |
|||
timeout=1 |
|||
# Section: PROXY |
|||
Host noekeonsshtunnel |
|||
[proxy2-section] |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
#=== Philips gateway & proxy ======== |
|||
Host andlinux |
|||
⚫ | |||
User beq06659 |
|||
HostName andlinux |
|||
⚫ | |||
#=== NXP Proxy - on DELL/WinXP ====================== |
|||
⚫ | |||
#proxy is a synonym - but not portable because it might only work at Leuven... |
|||
User baddreams |
|||
⚫ | |||
⚫ | |||
#=== NXP Proxy - Caen - on DELL/WinXP ====================== |
|||
Host * |
|||
134.27.248/21 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt -u=beq06659 -p=oiuOIUoiuOIUoiu9 |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q - - %h %p |
|||
⚫ | |||
#=== NXP Proxy - on DELL/AndLinux ====================== |
|||
#proxy is a synonym - but not portable because it might only work at Leuven... |
|||
10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt |
|||
</pre> |
</pre> |
||
}} |
}} |
||
{{hiddenSourceFile|~/.ssh/|proxy.conf|<pre class="proxy.conf"> |
{{hiddenSourceFile|~/.ssh/|proxy.conf-nxp_auth|<pre class="proxy.conf-nxp_auth"> |
||
# SSH Tunnel configuration file. |
# SSH Tunnel configuration file. |
||
Line 662: | Line 667: | ||
#=== NXP Proxy - on DELL/WinXP ====================== |
#=== NXP Proxy - on DELL/WinXP ====================== |
||
#proxy is a synonym - but not portable because it might only work at Leuven... |
#proxy is a synonym - but not portable because it might only work at Leuven... |
||
⚫ | |||
134.27.180/22 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt |
134.27.180/22 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt |
||
#=== NXP Proxy - Caen - on DELL/WinXP ====================== |
|||
134.27.248/21 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt -u=beq06659 -p=**************** |
|||
#=== NXP Proxy - on DELL/AndLinux ====================== |
#=== NXP Proxy - on DELL/AndLinux ====================== |
||
#proxy is a synonym - but not portable because it might only work at Leuven... |
#proxy is a synonym - but not portable because it might only work at Leuven... |
||
10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt -u=beq06659 -p=**************** |
|||
⚫ | |||
</pre> |
</pre> |
||
}} |
}} |
Revision as of 22:47, 16 November 2009
These are the configuration files on Configuration NXP Dell Latitude D620 - AndLinux.
Windows Host files
settings.txt
./andlinux/settings.txt (<file name="settings.txt" tag="source">download</file>)
{{{content}}}
AndLinux files
Directory /etc
/etc/fstab (<file name="fstab" tag="source">download</file>)
{{{content}}}
Directory /usr/local/bin
be - This script would ideally require to add the following line to /etc/sudoers:
ALL ALL=(ALL) NOPASSWD: /bin/loadkeys
/usr/local/bin/be (<file name="be" tag="source">download</file>)
{{{content}}}
/usr/local/bin/ssh-agent-refresh.sh (<file name="ssh-agent-refresh.sh" tag="source">download</file>)
{{{content}}}
directory ~
.bashrc - Everything before #### CUSTOMIZATION is the original file.
~/.bashrc (<file name=".bashrc" tag="source">download</file>)
{{{content}}}
~/.dircolors.cfg (<file name=".dircolors.cfg" tag="source">download</file>)
{{{content}}}
~/.inputrc (<file name=".inputrc" tag="source">download</file>)
{{{content}}}
~/.profile (<file name=".profile" tag="source">download</file>)
{{{content}}}
~/.vimrc (<file name=".vimrc" tag="source">download</file>)
{{{content}}}
Directory ~/.ssh
~/.ssh/config-home (<file name="config-home" tag="source">download</file>)
{{{content}}}
~/.ssh/config-nxp (<file name="config-nxp" tag="source">download</file>)
{{{content}}}
~/.ssh/proxy.conf-default (<file name="proxy.conf-default" tag="source">download</file>)
{{{content}}}
~/.ssh/proxy.conf-nxp_auth (<file name="proxy.conf-nxp_auth" tag="source">download</file>)
{{{content}}}
Directory ~/etc
crontab - Install this file with
crontab -u beq06659 ~/etc/crontab
~/etc/crontab (<file name="crontab" tag="source">download</file>)
{{{content}}}
Directory ~/bin
backup_noekeon - This file must be chmod +755.
~/backup_noekeon (<file name="backup_noekeon" tag="source">download</file>)
{{{content}}}