@ferrarese, visto che ancora devi partire con il logging, ti conviene aggiornarti subilo all'ultima release di 123Aurora, siamo alla versione 1.5.1.5
Ciao Luca
Ciao Luca
cd /srv/http/scripts/ ./123aurora.sh stop
aurora -a 2 -t -Y 10 /dev/ttyUSB0
#!/bin/sh ## freemem.sh if [ $UID != 0 ]; then echo "You have to be root to do that!"; exit 1; fi echo "flushing file system buffers..." /bin/sync echo "dropping pagecache, dentries and inodes..." echo 3 > /proc/sys/vm/drop_caches ## possible values ## 1: free pagecache ## 2: free dentries and inodes ## 3: free pagecache, dentries and inodes
cd /tmp wget http://jeff.doozan.com/debian/uboot/fw_printenv wget http://jeff.doozan.com/debian/uboot/fw_env.config chmod 755 fw_printenv chmod 644 fw_env.config mv fw_printenv /usr/sbin ln -s /usr/sbin/fw_printenv /usr/sbin/fw_setenv mv fw_env.config /etc
root@pogo-arch # pacman -S openbsd-netcat
root@pogo-debian # apt-get install netcat-traditional
nc -l -u -p 6666
#!/bin/sh SERVERIP="192.168.2.11" # Mettere l'indirizzo IP del PC remoto dove visualizzare il log SERVERMAC="54:42:49:E6:86:15" # Mettere l'indirizzo MAC del PC remoto dove visualizzare il log IPADDR="$(ifconfig eth0 | grep 'inet addr' | cut -d: -f2 | cut -d\ -f1)" PARAM="loglevel=6 netconsole=@${IPADDR}/eth0,6666@${SERVERIP}/" /usr/sbin/fw_setenv serverip $SERVERIP /usr/sbin/fw_setenv servermac $SERVERMAC /usr/sbin/fw_setenv ipaddr $IPADDR /usr/sbin/fw_setenv usb_custom_params /usr/sbin/fw_setenv usb_custom_params $PARAM /usr/sbin/fw_setenv if_netconsole 'ping $serverip' /usr/sbin/fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
Commenta