Nxl67002 - AndLinux - Files: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎/etc/fstab: Original file)
(→‎/etc/fstab: Added cofs mount points to windows C and windows D (RW access for group samba))
Line 24: Line 24:
# /etc/fstab: static file system information.
# /etc/fstab: static file system information.
#
#
# <file system> <mount point> <type> <options> <dump> <pass>
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
proc /proc proc defaults 0 0
/dev/cobd0 / ext3 defaults 1 1
/dev/cobd0 / ext3 defaults 1 1
/dev/cobd1 none swap sw 0 0
/dev/cobd1 none swap sw 0 0
31 /mnt/and cofs defaults 0 0
31 /mnt/and cofs defaults 0 0
/dev/cofs0 /mnt/win cofs defaults,uid=andlinux,gid=andlinux,dmask=0755,fmask=0755 0 0
0 /mnt/winc cofs defaults,gid=samba,dmask=0775,fmask=0775 0 0
1 /mnt/wind cofs defaults,gid=samba,dmask=0775,fmask=0775 0 0
</pre>
</pre>



Revision as of 16:08, 15 October 2009

Windows Host files

settings.txt

Download [{{#file: settings.txt}} this file].

mem=384
root=/dev/cobd0
kernel=vmlinux
cobd0=Drives\base.vdi
cobd1=Drives\swap.vdi
cofs31=.
eth0=slirp
eth1=tuntap,"TAP-Colinux",00:11:22:33:44:55
cofs0=C:\
cofs1=D:\

AndLinux files

/etc/fstab

Download [{{#file: fstab}} this file].

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/cobd0      /               ext3    defaults        1       1
/dev/cobd1      none            swap    sw              0       0
31              /mnt/and        cofs    defaults        0       0
0               /mnt/winc       cofs    defaults,gid=samba,dmask=0775,fmask=0775        0       0
1               /mnt/wind       cofs    defaults,gid=samba,dmask=0775,fmask=0775        0       0

~/.ssh/config-home

Download [{{#file: config-nxp}} this file].

# ~/.ssh/config-home

Host ftp.noekeon.org noekeon
	User		daemenj
	HostName	ftp.noekeon.org

Host noekeonsshtunnel
        User            daemenj
        HostName        ftp.noekeon.org
        ProxyCommand    /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p

Host gryphon gryphon
	User		baddreams
	HostName	gryphon

Host *
	ServerAliveInterval	15

~/.ssh/config-nxp

Download [{{#file: config-nxp}} this file].

# ~/.ssh/config-nxp

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
        User            daemenj
        HostName        ftp.noekeon.org
        ProxyCommand    /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p

Host andlinux
	User		beq06659
	HostName	andlinux
	ProxyCommand	none

Host gryphon
	User		baddreams
	HostName	gryphon

Host *
#	ProxyCommand /usr/local/bin/ssh-tunnel.pl - - %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

~/.ssh/config-tunnel

Download [{{#file: config-nxp}} this file].

# ~/.ssh/config-tunnel

Host ftp.noekeon.org noekeon
	User				daemenj
	HostName			ftp.noekeon.org
	ProxyCommand		/usr/local/bin/ssh-tunnel.pl -q -f - - %h %p

Host noekeonsshtunnel
	User				daemenj
	HostName			ftp.noekeon.org
	ProxyCommand		/usr/local/bin/ssh-tunnel.pl -q -f - - %h %p

Host andlinux
	User				beq06659
	HostName			andlinux
	ProxyCommand		none

Host gryphon gryphon
	User				baddreams
	HostName			gryphon

Host *
	ProxyCommand		/usr/local/bin/ssh-tunnel.pl -q - - %h %p
	ServerAliveInterval	15

~/.ssh/proxy.conf

Download [{{#file: proxy.conf}} this file].

# SSH Tunnel configuration file.

# Section: OPTIONS
[option-section]
debug=0
dry=0
icmp=0
sshping=1
timeout=1

# Section: PROXY
[proxy2-section]

#=== Philips gateway & proxy ========
130.145.67/24   proxy.adc-itcl.ce.philips.com:8080 -C ~/.ssh/clbanner.txt

#=== NXP Proxy - on DELL/WinXP ======================
#proxy is a synonym - but not portable because it might only work at Leuven...
#134.27.180/22	proxy:8080		-C ~/.ssh/clbanner.txt
134.27.180/22	emea.nics.nxp.com:8080	-C ~/.ssh/clbanner.txt

#=== NXP Proxy - on DELL/AndLinux ======================
#proxy is a synonym - but not portable because it might only work at Leuven... 
#10.0.2.2/32		proxy:8080		-C ~/.ssh/clbanner.txt
10.0.2.2/32		emea.nics.nxp.com:8080  -C ~/.ssh/clbanner.txt