Nxl67002 - AndLinux - Files: Difference between revisions
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
{{{content}}}
AndLinux files
Directory /etc
{{{content}}}
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
{{{content}}}
{{{content}}}
{{{content}}}
{{{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
{{{content}}}
{{{content}}}
directory ~
.bashrc - Everything before #### CUSTOMIZATION is the original file.
{{{content}}}
{{{content}}}
{{{content}}}
{{{content}}}
{{{content}}}
Directory ~/.ssh
{{{content}}}
{{{content}}}
{{{content}}}
{{{content}}}
Directory ~/etc
{{{content}}}
crontab - Install this file with
crontab -u beq06659 ~/etc/crontab
{{{content}}}
Directory ~/bin
backup_main - This file must be chmod +700.
{{{content}}}
set-network.sh - This file must be chmod +700.
{{{content}}}
sshproxy - This file must be chmod +700.
{{{content}}}
startup.sh - This file must be chmod +700.
{{{content}}}