juuso wrote:Check here:
viewtopic.php?f=63&t=6293
By request support for B and C series arm is possible.
>request<
juuso wrote:Check here:
viewtopic.php?f=63&t=6293
By request support for B and C series arm is possible.
Code: Select all
~.
Hehe and I was moving going to sell my Cbeatfreak wrote:juuso wrote:Check here:
viewtopic.php?f=63&t=6293
By request support for B and C series arm is possible.
>request<
Code: Select all
~.
Code: Select all
# cp /dtv/usb/sda1/ovpn/ovp.tgz /dtv/
# cd /dtv
# tar -xf ovp.tgz
# cp -a ovp/usr/lib/* /mtd_rwcommon/SamyGO/opt/privateer/lib/
# cp ovp/openvpn /mtd_rwcommon/SamyGO/opt/privateer/usr/sbin
# cp ovp/tun.ko /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/
Code: Select all
# du -h /mtd_rwcommon/SamyGO/
8.0k /mtd_rwcommon/SamyGO/usr
8.0k /mtd_rwcommon/SamyGO/tmp
8.0k /mtd_rwcommon/SamyGO/sbin
912.0k /mtd_rwcommon/SamyGO/mc/syntax
288.0k /mtd_rwcommon/SamyGO/mc/extfs
24.0k /mtd_rwcommon/SamyGO/mc/bin
1.4M /mtd_rwcommon/SamyGO/mc
8.0k /mtd_rwcommon/SamyGO/log
11.2M /mtd_rwcommon/SamyGO/opt/privateer/usr/sbin
19.5M /mtd_rwcommon/SamyGO/opt/privateer/usr/bin
30.7M /mtd_rwcommon/SamyGO/opt/privateer/usr
8.0k /mtd_rwcommon/SamyGO/opt/privateer/sbin
216.0k /mtd_rwcommon/SamyGO/opt/privateer/lib/engines
16.7M /mtd_rwcommon/SamyGO/opt/privateer/lib
8.0k /mtd_rwcommon/SamyGO/opt/privateer/bin
47.5M /mtd_rwcommon/SamyGO/opt/privateer
47.5M /mtd_rwcommon/SamyGO/opt
72.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/video/console
80.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/video
8.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/storage
8.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/host
72.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/gadget
8.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/core
104.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb
64.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/scsi
96.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/usb
2.4M /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net
24.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/input
32.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/hid/usbhid
80.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/hid
48.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/cdrom
24.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/bluetooth
48.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/block
2.9M /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers
8.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm/plat-sdp/sdpGmac
16.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm/plat-sdp
24.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm
32.0k /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch
2.9M /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel
2.9M /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8
3.0M /mtd_rwcommon/SamyGO/lib/modules
3.0M /mtd_rwcommon/SamyGO/lib
8.0k /mtd_rwcommon/SamyGO/img
80.0k /mtd_rwcommon/SamyGO/etc/Wireless/RT2870STA
88.0k /mtd_rwcommon/SamyGO/etc/Wireless
32.0k /mtd_rwcommon/SamyGO/etc/terminfo/x
48.0k /mtd_rwcommon/SamyGO/etc/terminfo/v
24.0k /mtd_rwcommon/SamyGO/etc/terminfo/s
24.0k /mtd_rwcommon/SamyGO/etc/terminfo/r
16.0k /mtd_rwcommon/SamyGO/etc/terminfo/l
16.0k /mtd_rwcommon/SamyGO/etc/terminfo/d
16.0k /mtd_rwcommon/SamyGO/etc/terminfo/a
184.0k /mtd_rwcommon/SamyGO/etc/terminfo
8.0k /mtd_rwcommon/SamyGO/etc/samba/private
24.0k /mtd_rwcommon/SamyGO/etc/samba
16.0k /mtd_rwcommon/SamyGO/etc/php/apache2-php5
24.0k /mtd_rwcommon/SamyGO/etc/php
304.0k /mtd_rwcommon/SamyGO/etc/init.d
8.0k /mtd_rwcommon/SamyGO/etc/dropbear
16.0k /mtd_rwcommon/SamyGO/etc/default
32.0k /mtd_rwcommon/SamyGO/etc/bluetooth
24.0k /mtd_rwcommon/SamyGO/etc/apache2/modules.d
104.0k /mtd_rwcommon/SamyGO/etc/apache2/extra
200.0k /mtd_rwcommon/SamyGO/etc/apache2
968.0k /mtd_rwcommon/SamyGO/etc
24.0k /mtd_rwcommon/SamyGO/downgrade
184.0k /mtd_rwcommon/SamyGO/doc/common-licenses
8.0k /mtd_rwcommon/SamyGO/doc/base-files-samygo-3.0.14
200.0k /mtd_rwcommon/SamyGO/doc
696.0k /mtd_rwcommon/SamyGO/bin
53.7M /mtd_rwcommon/SamyGO
#
Code: Select all
# md -p /dtv/net
# mknod /dtv/net/tun c 10 200
# insmod /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/tun.ko
# lsmod
Module Size Used by Tainted: P
fsr 315360 1 fsr_stl, Live 0xbf000000 (P)
fsr_stl 240012 7 - Live 0xbf04e000 (P)
rfs 73968 5 - Live 0xbf08a000 (P)
samdrv 5647608 29 - Live 0xbf09e000 (P)
sdpGMAC 14532 0 - Live 0xbf602000
usbcore 89492 7 dummy_hcd,rt3572sta,usb_storage,ohci_hcd,ehci_hcd, Live 0xbf607000
ehci_hcd 23564 0 - Live 0xbf61e000
ohci_hcd 14980 0 - Live 0xbf625000
usb_storage 23808 3 - Live 0xbf62a000
rt3572sta 659412 0 - Live 0xbf631000 (P)
dummy_hcd 12356 1 g_file_storage, Live 0xbf6d3000
g_file_storage 18984 0 - Live 0xbf6d8000
tun 5280 0 - Live 0xbf6de000
# dmesg | grep tun
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
# wget http://freevpnsoftware.net/downloads/UK.freevpnsoftware.net.ovpn
--19:40:08-- http://freevpnsoftware.net/downloads/UK.freevpnsoftware.net.ovpn
=> `UK.freevpnsoftware.net.ovpn.1'
Resolving freevpnsoftware.net... 50.97.72.192
Connecting to freevpnsoftware.net[50.97.72.192]:80... failed: Address family not supported by protocol.
Connecting to freevpnsoftware.net[50.97.72.192]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,538 [text/plain]
100%[==============================================================>] 4,538 --.--K/s
19:40:08 (3.17 MB/s) - `UK.freevpnsoftware.net.ovpn.1' saved [4538/4538]
# vi /mtd_rwcommon/SamyGO/UK.freevpnsoftware.net.ovpn (added line dev-node /dtv/net/tun )
# openvpn --config /mtd_rwcommon/SamyGO/UK.freevpnsoftware.net.ovpn
Thu May 29 19:34:44 2014 OpenVPN 2.3.2 armv7a-hardfloat-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on May 29 2014
Thu May 29 19:34:44 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu May 29 19:34:44 2014 Control Channel Authentication: tls-auth using INLINE static key file
Thu May 29 19:34:44 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:34:44 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:34:44 2014 Attempting to establish TCP connection with [AF_INET]83.170.106.154:443 [nonblock]
Thu May 29 19:34:45 2014 TCP: connect to [AF_INET]83.170.106.154:443 failed, will try again in 30 seconds: Connection refused
Thu May 29 19:34:45 2014 SIGUSR1[soft,init_instance] received, process restarting
Thu May 29 19:35:15 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu May 29 19:35:15 2014 Control Channel Authentication: tls-auth using INLINE static key file
Thu May 29 19:35:15 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:35:15 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:35:15 2014 Attempting to establish TCP connection with [AF_INET]83.170.106.154:443 [nonblock]
Thu May 29 19:35:16 2014 TCP: connect to [AF_INET]83.170.106.154:443 failed, will try again in 30 seconds: Connection refused
Thu May 29 19:35:16 2014 SIGUSR1[soft,init_instance] received, process restarting
Thu May 29 19:35:21 2014 SIGINT[hard,init_instance] received, process exiting
#
Code: Select all
~.
Code: Select all
md -p /dtv/net
Code: Select all
# md /tmp/test1
# mkdir /tmp/test2
# mkdir -p /tmp/test3
# mkdir -p /tmp/test3
# ll /tmp
drwxr-xr-x 2 root 0 40 May 29 21:08 test1
drwxr-xr-x 2 root 0 40 May 29 21:08 test2
drwxr-xr-x 2 root 0 40 May 29 21:08 test3
#
# mkdir /tmp/test2
mkdir: cannot create directory '/tmp/test2': File exists
#
# md /tmp/test2
#
Code: Select all
~.
.beatfreak wrote:where is the difference between md and mkdir?
Code: Select all
root@[TV] /> md
/bin/sh: md: not found
root@[TV] /> mkdir
VDLinux-BusyBox v1.18.1-VD Linux VDLinux.1.2.1.x (2012-06-17 21:27:31 CEST) multi-call binary.
Usage: mkdir [OPTIONS] DIRECTORY...
Create DIRECTORY
Options:
-m MODE Mode
-p No error if exists; make parent directories as needed
root@[TV] /> . /dtv/SGO.env
root@[TV] /> md
/bin/sh: md: not found
root@[TV] /> mkdir
VDLinux-BusyBox v1.18.1-VD Linux VDLinux.1.2.1.x (2012-06-17 21:27:31 CEST) multi-call binary.
Usage: mkdir [OPTIONS] DIRECTORY...
Create DIRECTORY
Options:
-m MODE Mode
-p No error if exists; make parent directories as needed
root@[TV] />
Code: Select all
/ # md
BusyBox v1.20.2 (2012-11-15 22:46:44 PST) multi-call binary.
Usage: mkdir [OPTIONS] DIRECTORY...
Create DIRECTORY
-m MODE Mode
-p No error if exists; make parent directories as needed
Code: Select all
/ # which md
/ # which mkdir
/mnt/bin/mkdir