Nxl67002 - AndLinux - Files: Difference between revisions

From miki
Jump to navigation Jump to search
Line 36: Line 36:
1 /mnt/wind 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>
}}

=== Directory /etc/privoxy ===
'''set-network-config''' - This file must be '''chmod +755'''. Also the following line must be added to <tt>/etc/sudoers</tt>:
<pre>
ALL ALL=(ALL) NOPASSWD: /etc/privoxy/set-network-config
</pre>

{{hiddenSourceFile|/etc/privoxy/|set-network-config|<source lang="bash" class="set-network-config">
#! /bin/bash

# Exit if no network name given or if no corresponding configuration file
[ -n "$1" ] || exit 1

TARGET_FILE="config-$1"

[ -a "/etc/privoxy/$TARGET_FILE" ] || exit 1
ln -sf "$TARGET_FILE" /etc/privoxy/config
/etc/init.d/privoxy restart
</source>
}}

{{hiddenSourceFile|/etc/privoxy/|config-home.patch|<source lang="diff" class="config-home.patch">
--- config.original 2009-11-15 00:50:28.000000000 +0100
+++ config-home 2009-11-17 00:01:48.000000000 +0100
@@ -761,7 +761,7 @@
# listen-address 192.168.0.1:8118
#
#
-listen-address 127.0.0.1:8118
+listen-address :8118
#
#
# 4.2. toggle
</source>
}}

{{hiddenSourceFile|/etc/privoxy/|config-nxp.patch|<source lang="diff" class="config-nxp.patch">
--- config-home 2009-11-17 00:01:48.000000000 +0100
+++ config-nxp 2009-11-15 02:34:20.000000000 +0100
@@ -1250,6 +1250,13 @@
# that look like this:
#
# forward localhost/ .
+# nxp only:
+forward-socks5 / localhost:1080 .
+forward 192.168.*.*/ .
+forward 10.*.*.*/ .
+forward 127.*.*.*/ .
+forward 172.19.*.*/ .
+forward 134.27.*.* .
#
#
#
</source>
}}

{{hiddenSourceFile|/etc/privoxy/|config-nxp_direct.patch|<source lang="diff" class="config-nxp_direct.patch">
--- config-nxp 2009-11-15 02:34:20.000000000 +0100
+++ config-nxp_direct 2009-11-16 16:14:23.000000000 +0100
@@ -1251,7 +1251,7 @@
#
# forward localhost/ .
# nxp only:
-forward-socks5 / localhost:1080 .
+forward / emea.nics.nxp.com:8080
forward 192.168.*.*/ .
forward 10.*.*.*/ .
forward 127.*.*.*/ .
</source>
}}
}}



Revision as of 23:08, 16 November 2009

These are the configuration files on Configuration NXP Dell Latitude D620 - AndLinux.

Windows Host files

settings.txt

AndLinux files

Directory /etc

Directory /etc/privoxy

set-network-config - This file must be chmod +755. Also the following line must be added to /etc/sudoers:

ALL    ALL=(ALL) NOPASSWD: /etc/privoxy/set-network-config

Directory /usr/local/bin

be - This script would ideally require to add the following line to /etc/sudoers:

ALL ALL=(ALL) NOPASSWD: /bin/loadkeys

directory ~

.bashrc - Everything before #### CUSTOMIZATION is the original file.

Directory ~/.ssh

Directory ~/etc


crontab - Install this file with

crontab -u beq06659 ~/etc/crontab

Directory ~/bin

backup_main - This file must be chmod +700.

set-network.sh - This file must be chmod +700.

sshproxy - This file must be chmod +700.

startup.sh - This file must be chmod +700.