[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-88-g54df84e
Brought to you by:
sszy
|
From: jscheer <js...@us...> - 2010-11-09 09:45:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 54df84e69338318a33141c3402943d16f932abb3 (commit)
from d831159de65f04053de8ee3fefae87ed3bfdca62 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 54df84e69338318a33141c3402943d16f932abb3
Author: Jeremie Scheer <jer...@ar...>
Date: Tue Nov 9 10:44:58 2010 +0100
[BUILDROOT] Add PPS network test scripts package to Armadeus package with patch 135-pps-add_test_scripts_package.patch.
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/pps_defconfig | 3 +-
buildroot/target/device/armadeus/pps/pps_defconfig | 3 +-
.../135-pps-add_test_scripts_package.patch | 70 ++++++++++++++++++
.../2010.11/135-pps-add_test_scripts_package.patch | 70 ++++++++++++++++++
target/pps/configs/networkConfig | 2 +
target/pps/scripts/init_boa.sh | 26 +++++++
target/pps/scripts/init_wpa.sh | 75 ++++++++++++++++++++
target/pps/scripts/install.sh | 20 +++++
target/pps/scripts/reset_wi2wi.sh | 53 ++++++++++++++
target/pps/scripts/stop_wpa.sh | 24 ++++++
target/pps/scripts/test_ether_gadget.sh | 30 ++++++++
target/pps/scripts/test_ether_smsc95xx.sh | 31 ++++++++
target/pps/scripts/test_wifi.sh | 31 ++++++++
target/pps/www/index.html | 29 ++++++++
14 files changed, 465 insertions(+), 2 deletions(-)
create mode 100644 patches/buildroot/135-pps-add_test_scripts_package.patch
create mode 100644 patches/buildroot/2010.11/135-pps-add_test_scripts_package.patch
create mode 100644 target/pps/configs/networkConfig
create mode 100644 target/pps/scripts/init_boa.sh
create mode 100644 target/pps/scripts/init_wpa.sh
create mode 100755 target/pps/scripts/install.sh
create mode 100644 target/pps/scripts/reset_wi2wi.sh
create mode 100644 target/pps/scripts/stop_wpa.sh
create mode 100644 target/pps/scripts/test_ether_gadget.sh
create mode 100644 target/pps/scripts/test_ether_smsc95xx.sh
create mode 100644 target/pps/scripts/test_wifi.sh
create mode 100644 target/pps/www/index.html
diff --git a/buildroot/configs/pps_defconfig b/buildroot/configs/pps_defconfig
index cb507a9..bf97950 100644
--- a/buildroot/configs/pps_defconfig
+++ b/buildroot/configs/pps_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Thu Nov 4 14:59:19 2010
+# Fri Nov 5 16:46:21 2010
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="2010.11-git"
@@ -245,6 +245,7 @@ BR2_PACKAGE_FPGAREGS=y
BR2_PACKAGE_IMXREGS=y
# BR2_PACKAGE_IMXSSI is not set
BR2_PACKAGE_MAX5821CTRL=y
+BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS=y
# BR2_PACKAGE_ARMADEUS_TESTSUITE is not set
#
diff --git a/buildroot/target/device/armadeus/pps/pps_defconfig b/buildroot/target/device/armadeus/pps/pps_defconfig
index 97dcc2e..db86393 100644
--- a/buildroot/target/device/armadeus/pps/pps_defconfig
+++ b/buildroot/target/device/armadeus/pps/pps_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Thu Nov 4 14:38:36 2010
+# Fri Nov 5 16:15:18 2010
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -378,6 +378,7 @@ BR2_PACKAGE_FPGAREGS=y
BR2_PACKAGE_IMXREGS=y
# BR2_PACKAGE_IMXSSI is not set
BR2_PACKAGE_MAX5821CTRL=y
+BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS=y
# BR2_PACKAGE_ARMADEUS_TESTSUITE is not set
# BR2_DATABASE_SUPPORT is not set
BR2_TEXTEDIT_SUPPORT=y
diff --git a/patches/buildroot/135-pps-add_test_scripts_package.patch b/patches/buildroot/135-pps-add_test_scripts_package.patch
new file mode 100644
index 0000000..fa9ea66
--- /dev/null
+++ b/patches/buildroot/135-pps-add_test_scripts_package.patch
@@ -0,0 +1,70 @@
+Add package PPS Test scripts to Buildroot.
+
+Signed-off-by: Jérémie Scheer <jer...@ar...>
+
+Index: buildroot/package/armadeus/Config.in
+===================================================================
+--- buildroot.orig/package/armadeus/Config.in 2010-11-05 17:04:08.000000000 +0100
++++ buildroot/package/armadeus/Config.in 2010-11-05 17:05:06.000000000 +0100
+@@ -8,6 +8,7 @@
+ source package/armadeus/imxregs/Config.in
+ source package/armadeus/imxssi/Config.in
+ source package/armadeus/max5821ctrl/Config.in
++source package/armadeus/pps/Config.in
+ source package/armadeus/testsuite/Config.in
+
+ endmenu
+Index: buildroot/package/armadeus/pps/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/armadeus/pps/Config.in 2010-11-05 17:05:39.000000000 +0100
+@@ -0,0 +1,6 @@
++config BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS
++ bool "PPS Test scripts"
++ default n
++ help
++ Install PPS Test scripts to test ethernet, wifi & USB Gadget on PPS board.
++ Test scripts will be installed on the APF in /usr/local/pps/scripts.
+Index: buildroot/package/armadeus/pps/pps.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/armadeus/pps/pps.mk 2010-11-08 14:09:58.000000000 +0100
+@@ -0,0 +1,38 @@
++#############################################################
++#
++# PPS Test scripts
++#
++#############################################################
++
++ARMADEUS-PPS_TESTSCRIPTS_SOURCE:=$(TOPDIR)/../target/pps/scripts
++ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR:=$(TARGET_DIR)/usr/local/pps/scripts
++ARMADEUS-PPS_WWW_DIR:=$(TOPDIR)/../target/pps/www
++ARMADEUS-PPS_WWW_TARGET_DIR:=$(TARGET_DIR)/var
++ARMADEUS-PPS_CONFIGS_DIR:=$(TOPDIR)/../target/pps/configs
++ARMADEUS-PPS_CONFIGS_TARGET_DIR:=$(TARGET_DIR)/etc/wpa_supplicant
++
++$(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)/init_boa.sh:
++ $(ARMADEUS-PPS_TESTSCRIPTS_SOURCE)/install.sh $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)
++
++$(ARMADEUS-PPS_WWW_TARGET_DIR)/www/index.html:
++ cp -Rf $(ARMADEUS-PPS_WWW_DIR) $(ARMADEUS-PPS_WWW_TARGET_DIR)
++
++$(ARMADEUS-PPS_CONFIGS_TARGET_DIR)/networkConfig:
++ mkdir -p $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++ cp -f $(ARMADEUS-PPS_CONFIGS_DIR)/* $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++
++pps-testscripts: $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)/init_boa.sh $(ARMADEUS-PPS_WWW_TARGET_DIR)/www/index.html $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)/networkConfig
++
++armadeus-pps-testscripts-clean:
++ rm -rf $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)
++ rm -rf $(ARMADEUS-PPS_WWW_TARGET_DIR)/www
++ rm -rf $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++
++#############################################################
++#
++# Toplevel Makefile options
++#
++#############################################################
++ifeq ($(strip $(BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS)),y)
++TARGETS+=pps-testscripts
++endif
diff --git a/patches/buildroot/2010.11/135-pps-add_test_scripts_package.patch b/patches/buildroot/2010.11/135-pps-add_test_scripts_package.patch
new file mode 100644
index 0000000..5f10fc1
--- /dev/null
+++ b/patches/buildroot/2010.11/135-pps-add_test_scripts_package.patch
@@ -0,0 +1,70 @@
+Add package PPS Test scripts to Buildroot.
+
+Signed-off-by: Jérémie Scheer <jer...@ar...>
+
+Index: buildroot/package/armadeus/Config.in
+===================================================================
+--- buildroot.orig/package/armadeus/Config.in 2010-11-08 10:20:10.000000000 +0100
++++ buildroot/package/armadeus/Config.in 2010-11-08 14:20:14.000000000 +0100
+@@ -8,6 +8,7 @@
+ source package/armadeus/imxregs/Config.in
+ source package/armadeus/imxssi/Config.in
+ source package/armadeus/max5821ctrl/Config.in
++source package/armadeus/pps/Config.in
+ source package/armadeus/testsuite/Config.in
+
+ endmenu
+Index: buildroot/package/armadeus/pps/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/armadeus/pps/Config.in 2010-11-08 14:20:14.000000000 +0100
+@@ -0,0 +1,6 @@
++config BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS
++ bool "PPS Test scripts"
++ default n
++ help
++ Install PPS Test scripts to test ethernet, wifi & USB Gadget on PPS board.
++ Test scripts will be installed on the APF in /usr/local/pps/scripts.
+Index: buildroot/package/armadeus/pps/pps.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/armadeus/pps/pps.mk 2010-11-08 14:20:53.000000000 +0100
+@@ -0,0 +1,38 @@
++#############################################################
++#
++# PPS Test scripts
++#
++#############################################################
++
++ARMADEUS-PPS_TESTSCRIPTS_SOURCE:=$(TOPDIR)/../target/pps/scripts
++ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR:=$(TARGET_DIR)/usr/local/pps/scripts
++ARMADEUS-PPS_WWW_DIR:=$(TOPDIR)/../target/pps/www
++ARMADEUS-PPS_WWW_TARGET_DIR:=$(TARGET_DIR)/var
++ARMADEUS-PPS_CONFIGS_DIR:=$(TOPDIR)/../target/pps/configs
++ARMADEUS-PPS_CONFIGS_TARGET_DIR:=$(TARGET_DIR)/etc/wpa_supplicant
++
++$(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)/init_boa.sh:
++ $(ARMADEUS-PPS_TESTSCRIPTS_SOURCE)/install.sh $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)
++
++$(ARMADEUS-PPS_WWW_TARGET_DIR)/www/index.html:
++ cp -Rf $(ARMADEUS-PPS_WWW_DIR) $(ARMADEUS-PPS_WWW_TARGET_DIR)
++
++$(ARMADEUS-PPS_CONFIGS_TARGET_DIR)/networkConfig:
++ mkdir -p $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++ cp -f $(ARMADEUS-PPS_CONFIGS_DIR)/* $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++
++pps-testscripts: $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)/init_boa.sh $(ARMADEUS-PPS_WWW_TARGET_DIR)/www/index.html $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)/networkConfig
++
++armadeus-pps-testscripts-clean:
++ rm -rf $(ARMADEUS-PPS_TESTSCRIPTS_TARGET_DIR)
++ rm -rf $(ARMADEUS-PPS_WWW_TARGET_DIR)/www
++ rm -rf $(ARMADEUS-PPS_CONFIGS_TARGET_DIR)
++
++#############################################################
++#
++# Toplevel Makefile options
++#
++#############################################################
++ifeq ($(strip $(BR2_PACKAGE_ARMADEUS_PPS_TEST_SCRIPTS)),y)
++TARGETS+=pps-testscripts
++endif
diff --git a/target/pps/configs/networkConfig b/target/pps/configs/networkConfig
new file mode 100644
index 0000000..4b947fe
--- /dev/null
+++ b/target/pps/configs/networkConfig
@@ -0,0 +1,2 @@
+export SSID=
+export PSK=
diff --git a/target/pps/scripts/init_boa.sh b/target/pps/scripts/init_boa.sh
new file mode 100644
index 0000000..3af8abc
--- /dev/null
+++ b/target/pps/scripts/init_boa.sh
@@ -0,0 +1,26 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: HTSC
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Burkhart Frederic,,,
+#
+
+# setup /etc/hosts file (hosname id required by "boa")
+echo "127.0.0.1 localhost" > /etc/hosts
+echo "192.168.0.250 armadeus" >> /etc/hosts
+
+if [ -d "/var/www" ]; then
+ kill -9 `pidof boa` 2> /dev/null
+ mkdir /var/log/boa 2>/dev/null
+ boa
+fi
+
diff --git a/target/pps/scripts/init_wpa.sh b/target/pps/scripts/init_wpa.sh
new file mode 100644
index 0000000..6997b89
--- /dev/null
+++ b/target/pps/scripts/init_wpa.sh
@@ -0,0 +1,75 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: Armadeus
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Jérémie Scheer,,,
+#
+
+if [ -f /etc/wpa_supplicant/networkConfig ]; then
+
+source /etc/wpa_supplicant/networkConfig
+
+if [ "$SSID" != "" -a "$PSK" != "" ]; then
+
+#create WPA configuration
+mkdir -p /etc/wpa_supplicant/
+echo "ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=wheel
+network={
+ssid=\"$SSID\"
+scan_ssid=1
+proto=WPA
+key_mgmt=WPA-PSK
+pairwise=TKIP
+psk=\"$PSK\"
+}" > /etc/wpa_supplicant/wpa_supplicant.conf
+
+#Hardware reset of wi2wi chip
+sh reset_wi2wi.sh
+
+#Load mmc and libertas modules
+modprobe mxcmmc
+sleep 1
+modprobe libertas_sdio
+
+# shutdown other ports
+ifconfig usb0 down 2>/dev/null
+ifconfig eth0 down 2>/dev/null
+ifconfig usb1 down 2>/dev/null
+
+#Execute Wpa Supplicant
+ifconfig eth1 up
+wpa_supplicant -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf -Dwext -B dhclient
+
+ifconfig eth1 192.168.0.251
+sleep 1
+echo -e "\nPour verifier le port wifi, veuiller tester la commande \"ping 192.168.0.251\" sur le PC hote\n"
+echo -e "\nPour redemarrer le WPA Supplicant, avant de lancer la commande \"sh init_wpa.sh\", ou pour larreter, executer \"sh stop_wpa.sh\"\n"
+
+else #[ "$SSID" != "" -a "$PSK" != "" ]; print usage
+
+echo -e '\nLes variables $SSID et $PSK ne sont pas definies dans /etc/wpa_supplicant/networkConfig.
+Pour executer correctement le WPA Supplicant, vous devez renseigner ces variables de la facon suivante :
+export SSID=mon_ssid
+export PSK=ma_passphrase\n'
+
+fi
+
+else #[ -f /etc/wpa_supplicant/networkConfig ]; print usage
+
+echo -e 'Le fichier /etc/wpa_supplicant/networkConfig nexiste pas.
+Pour executer correctement le WPA Supplicant, vous devez creer ce fichier et y definir les variables $SSID et $PSK de la facon suivante :
+export SSID=mon_ssid
+export PSK=ma_passphrase\n'
+
+fi
+
diff --git a/target/pps/scripts/install.sh b/target/pps/scripts/install.sh
new file mode 100755
index 0000000..5526704
--- /dev/null
+++ b/target/pps/scripts/install.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if [ "$1" == "" ]; then
+ echo "Please provides the directory where to install the PPS Test scripts"
+ echo "$0 dest_dir"
+ exit 1
+fi
+
+THIS_DIR=`dirname $0`
+TESTSCRIPTS_TARGET_DIR="$1"
+echo "Installing PPS Test scripts in $TESTSCRIPTS_TARGET_DIR (from $THIS_DIR)"
+
+mkdir -p $TESTSCRIPTS_TARGET_DIR
+
+install $THIS_DIR/test_*.sh $TESTSCRIPTS_TARGET_DIR/
+install $THIS_DIR/init_*.sh $TESTSCRIPTS_TARGET_DIR/
+install $THIS_DIR/reset_wi2wi.sh $TESTSCRIPTS_TARGET_DIR/
+install $THIS_DIR/stop_wpa.sh $TESTSCRIPTS_TARGET_DIR/
+
+exit 0
diff --git a/target/pps/scripts/reset_wi2wi.sh b/target/pps/scripts/reset_wi2wi.sh
new file mode 100644
index 0000000..e6a0e01
--- /dev/null
+++ b/target/pps/scripts/reset_wi2wi.sh
@@ -0,0 +1,53 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: Armadeus
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Jérémie Scheer,,,
+#
+
+GPIO_DEV_DIR=/dev/gpio
+
+setbit()
+{
+ PORT=$1
+ NB=$2
+ VAL=$3
+ cat $PORT | sed "s/[0-1]\([0-1]\{$NB\}\)$/$VAL\1/" > $PORT
+}
+
+gpio_set_value()
+{
+ GPIO=$1
+ VALUE=$2
+ if [ "$VALUE" == "1" ]; then
+ echo -ne "\x01" > $GPIO_DEV_DIR/$GPIO
+ else
+ echo -ne "\x00" > $GPIO_DEV_DIR/$GPIO
+ fi
+}
+
+# Sets $1 as GPIO; $2 == 1 -> outpout, 0 -> input
+gpio_mode()
+{
+ GPIO=`echo $1 | cut -c 3-4`
+ VALUE=$2
+ PORT=`echo $1 | cut -c 2`
+ PORT_DIR="/proc/driver/gpio/port"$PORT"dir"
+ PORT_MODE="/proc/driver/gpio/port"$PORT"mode"
+
+ setbit $PORT_MODE $GPIO 1
+ setbit $PORT_DIR $GPIO $VALUE
+}
+
+gpio_mode PE11 1
+gpio_set_value PE11 0
+gpio_set_value PE11 1
diff --git a/target/pps/scripts/stop_wpa.sh b/target/pps/scripts/stop_wpa.sh
new file mode 100644
index 0000000..8e11015
--- /dev/null
+++ b/target/pps/scripts/stop_wpa.sh
@@ -0,0 +1,24 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: Armadeus
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Jérémie Scheer,,,
+#
+
+ifconfig eth1 down 2>/dev/null
+
+#kill WPA Supplicant
+killall wpa_supplicant
+
+#Probe needed modules
+modprobe -r libertas_sdio 2>/dev/null
+modprobe -r mxcmmc
diff --git a/target/pps/scripts/test_ether_gadget.sh b/target/pps/scripts/test_ether_gadget.sh
new file mode 100644
index 0000000..4c4f787
--- /dev/null
+++ b/target/pps/scripts/test_ether_gadget.sh
@@ -0,0 +1,30 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: HTSC
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Burkhart Frederic,,,
+#
+
+modprobe -r smsc95xx
+modprobe -r g_ether
+
+modprobe g_ether
+
+# shutdown other ports
+ifconfig usb0 down 2>/dev/null
+ifconfig eth0 down 2>/dev/null
+ifconfig eth1 down 2>/dev/null
+
+ifconfig usb0 192.168.10.1
+
+echo -e "\nPour verifier le port usb gadget (usb0) , veuiller browser sur 192.168.10.1\n"
+
diff --git a/target/pps/scripts/test_ether_smsc95xx.sh b/target/pps/scripts/test_ether_smsc95xx.sh
new file mode 100644
index 0000000..087d869
--- /dev/null
+++ b/target/pps/scripts/test_ether_smsc95xx.sh
@@ -0,0 +1,31 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: cryonic medical S.A.
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Burkhart Frederic,,,
+#
+
+modprobe -r g_ether
+modprobe -r smsc95xx
+
+modprobe smsc95xx
+
+
+# shutdown other ports
+ifconfig usb0 down 2>/dev/null
+ifconfig eth0 down 2>/dev/null
+ifconfig eth1 down 2>/dev/null
+
+ifconfig usb0 192.168.0.251
+
+echo -e "\nPour verifier le port usb1 , veuiller browser sur 192.168.0.251\n"
+
diff --git a/target/pps/scripts/test_wifi.sh b/target/pps/scripts/test_wifi.sh
new file mode 100644
index 0000000..43f4222
--- /dev/null
+++ b/target/pps/scripts/test_wifi.sh
@@ -0,0 +1,31 @@
+#
+# This software has been developed by ARMADEUS SYSTEMS
+#
+# Customer Name: HTSC
+#
+# Project Name: PPS
+#
+# Copyright (C) 2010 :
+#
+# This program is the property of the armadeus systems company or of the
+# final customer as soon as terms & conditions stipulated by the contract
+# between the two parties are full-filled .
+#
+# Written by: Burkhart Frederic,,,
+#
+
+
+modprobe libertas_sdio
+
+# shutdown other ports
+ifconfig usb0 down 2>/dev/null
+ifconfig eth0 down 2>/dev/null
+ifconfig usb1 down 2>/dev/null
+
+ifconfig eth1 up
+iwconfig eth1 mode managed essid armadeus key restricted 93d7-e853-22e8-8784-0b4a-629c-ab
+
+
+ifconfig eth1 192.168.0.251
+sleep 1
+echo -e "\nPour verifier le port wifi, veuiller browser sur 192.168.0.251\n"
diff --git a/target/pps/www/index.html b/target/pps/www/index.html
new file mode 100644
index 0000000..b1a5e22
--- /dev/null
+++ b/target/pps/www/index.html
@@ -0,0 +1,29 @@
+<html>
+<head>
+<title> </title>
+<style type="text/css">
+<!--
+h1 {text-align:center;
+ font-family:Arial, Helvetica, Sans-Serif;
+ }
+
+p {text-indent:20px;
+ }
+-->
+</style>
+</head>
+<body bgcolor = "#ffffcc" text = "#000000">
+<h1>Hello, World!</h1>
+
+<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dignissim tristique nulla, id gravida quam bibendum vitae. Suspendisse quis viverra dui. Etiam tristique suscipit bibendum. Donec ut dolor mauris. Sed rhoncus elementum est, eget laoreet sapien egestas quis. Integer accumsan odio vel purus laoreet accumsan. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi euismod ligula at sem hendrerit euismod. Nam id lectus vel quam dapibus sagittis et eu tellus. Duis nec gravida mauris. Quisque tempus consectetur mattis. Donec semper vulputate dapibus. Nunc odio lorem, egestas nec cursus id, mattis sed purus. Nullam non viverra purus.</p>
+
+<p>Sed tellus magna, vestibulum at placerat vitae, gravida vitae eros. Quisque at fermentum justo. In lorem felis, adipiscing in consequat ullamcorper, fringilla sed nibh. Aliquam erat volutpat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur fermentum faucibus mattis. Quisque faucibus, ipsum eu tempus laoreet, turpis libero posuere arcu, nec rutrum augue metus non ligula. Donec neque metus, condimentum ac elementum in, semper posuere dolor. Vivamus mattis magna vitae tellus egestas sit amet suscipit tellus sodales. Phasellus sit amet lacus et tellus iaculis imperdiet. Morbi in nunc at sapien lacinia convallis. Morbi non tristique orci. Sed eget urna est, non consequat ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris ultrices eros dui. Cras sollicitudin rhoncus enim id lobortis. Nam adipiscing libero a justo consequat a tincidunt lorem cursus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur lobortis lectus a orci sagittis vitae volutpat orci lacinia.</p>
+
+<p>Integer quis purus mi. Proin id dui at erat accumsan mattis ac in risus. Ut nibh purus, ultrices ultrices tempus eget, faucibus vitae nisl. Nulla facilisi. Maecenas id leo orci. Ut vel fermentum magna. Proin et sagittis urna. Donec nisi erat, semper ac vulputate eget, venenatis in magna. Suspendisse potenti. Etiam semper mauris vel sem varius ullamcorper sollicitudin velit consequat.</p>
+
+<p>Nulla facilisi. Morbi a neque sit amet nibh egestas malesuada ultrices a turpis. Integer commodo ipsum non libero porttitor a consequat enim ultrices. Ut et purus urna. Cras quis lacus risus, eget auctor ligula. Maecenas non felis vitae risus porttitor egestas. In non tortor non mi pretium posuere a in odio. Proin purus tellus, sodales dictum aliquet id, mattis quis felis. Fusce augue ipsum, sodales eget gravida id, vehicula a leo. Curabitur vitae ante tellus. Morbi in mauris dui, in accumsan felis. Donec at nisl non eros mattis fringilla a at felis. Nullam volutpat, eros non congue tempor, odio lacus porta dui, et feugiat velit metus sit amet nisi. Duis tristique facilisis rutrum. Sed in mauris magna.</p>
+
+<p>Pellentesque quis ante vitae metus aliquam eleifend id quis arcu. Suspendisse potenti. Nunc a mattis diam. Nunc a pharetra elit. Nullam ultrices porta massa at lacinia. Sed placerat, risus ut aliquet pretium, lacus nibh dignissim quam, eget aliquet orci magna non felis. Vivamus dictum eros quis sem volutpat mollis. Morbi in turpis quis nisi condimentum ultricies. In libero nisi, venenatis eget laoreet sit amet, pretium et dolor. Quisque vehicula libero ac magna tempus non pretium nunc faucibus. Ut elementum mollis elit vel vestibulum. Quisque mollis, odio sit amet tempus aliquam, nunc erat malesuada tellus, at ornare dui purus et ante. Etiam ligula augue, sagittis non bibendum vel, suscipit non magna. Sed non tellus non orci scelerisque egestas. Nunc porttitor varius lacinia. In metus arcu, sollicitudin at dictum et, varius non erat.</p>
+
+</body>
+</html>
hooks/post-receive
--
armadeus
|