flashage avec le trx "openwrt-xwrt_kamikaze8.09_RC1_brcm-2.4extra_squashfs.trx" a partir de l'interface webif
Upgrading firmware, please wait ...
Unlocking linux ...
Erasing linux ...
Writing from /tmp/firmware.bin to linux ...
j'ai attendue 10 minutes
connection en telnet sur 192.168.1.1
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09, r13132) ----------------------------
yes! ca à fonctionné
df -h
Filesystem Size Used Available Use% Mounted on
rootfs 2.0M 2.0M 0 100% /
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 14.9M 88.0k 14.8M 1% /tmp
mini_fo:/tmp/root 2.0M 2.0M 0 100% /tmp/root
/dev/mtdblock/4 5.3M 328.0k 4.9M 6% /jffs
mini_fo:/jffs 2.0M 2.0M 0 100% /
====== LAN configuration ======
etc/config/network
config interface lan
option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.0.1
option netmask 255.255.255.0
option gateway 192.168.0.254
option dns 80.118.192.111
====== webif : system_setting ======
__timezone__ :
* timezone.cfg029fc0.posixtz=CET-1CEST,M3.5.0,M10.5.0/3
* timezone.cfg029fc0.zoneinfo=Europe/Paris
__webif__ :
* webif.general.lang=fr
====== vsftpd ======
#opkg install vsftpd
==============================================
=== etc/vsftpd.conf ==
==============================================
background=YES
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
check_shell=NO
#dirmessage_enable=YES
ftpd_banner=Welcome to blah FTP service.
secure_chroot_dir=/var/run <=============ligne a ajouter
session_support=NO
#syslog_enable=YES
#userlist_enable=YES
#userlist_deny=NO
#userlist_file=/etc/vsftpd.users
#xferlog_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
====== script command ======
[[maison2:configuration_open_wrt:remote_shell]]
root@OpenWrt:/www/cgi-bin/webif# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 2.0M 2.0M 0 100% /
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 14.9M 776.0k 14.2M 5% /tmp
/dev/mtdblock/4 5.3M 404.0k 4.9M 8% /jffs
mini_fo:/jffs 2.0M 2.0M 0 100% /
====== Bouton pour activer le wifi ======
BUTTON Event
RESTORE reset
EZSETUP ses
mkdir -p /etc/hotplug.d/button
wget -O /etc/hotplug.d/button/01-wifitoggle "http://wiki.openwrt.org/OpenWrtDocs/Customizing/
Software/WifiToggle?action=AttachFile&do=get&target=wifitoggle.hotplug1"
dans /etc/hotplug.d/button/01-wifitoggle
. /lib/config/uci.sh
. /etc/functions.sh
config_load "wifitoggle"
local section="cfg022c70"
config_get "BUTTON_NAME" "$section" "button"
config_get_bool "seen" "$section" "seen" '0'
toggle_radio() {
local section="$1"
config_get "WIFI_RADIOSTATUS" "$section" "disabled"
case "$WIFI_RADIOSTATUS" in
0|"")
uci_set "wireless" "$section" "disabled" "1"
uci_commit "wireless"
echo 0 >> /proc/diag/led/power <=============ligne a ajouter
wifi
;;
1)
uci_set "wireless" "$section" "disabled" "0"
uci_commit "wireless"
echo 1 >> /proc/diag/led/power <=============ligne a ajouter
wifi
;;
esac
}
if [ "$BUTTON" = "ses" ]; then <=============ligne a modifier
if [ "$ACTION" = "pressed" ] ; then
config_load "wireless"
config_foreach toggle_radio wifi-device
fi
fi
====== FIN ======
__l'installation d'OWFS posait probleme car :__
* ERROR: Cannot satisfy the following dependencies for owfs:
* kernel (=2.4.34-brcm-1) * :=>: he oui le kernel a changé en 8.09RC1 :=>: il faudrait recompiler ...:-re
__
de plus il n'y avais pas d'amélioration sur :__
* le prise en charge des mes clefs USB
* le DHCP ne fonctionne toujours pas en WIFI
**donc retour en 7.09...**