As for setup from a new sheva plug if memory serves you need to do the following:
1)
After boot you need to first fix DHCP
edit
/etc/dhcp3/dhclient.conf
and comment out (IE add a # to supersede domain-name-servers 127.0.0.1;) so you should see # supersede domain-name-servers 127.0.0.1;
restart
2) you now need to fix some screwed up permissions for your var files
Edit
/etc/rc.local
and add the following lines:
chmod 1777 /tmp /var/tmp
mkdir -p /var/cache/apt/archives/partial
/usr/sbin/ntpdate-debian
save and exit
you now need to run the script you just saved by entering:
./rc.local
after it runs enter
dpkg-reconfigure tzdata
to setup time so apt-get will work correctly
reboot for fun
3)
you now need to fix apt-get as they screwed up the distro IP
edit
/etc/hosts
change the IP the have for ports.ubuntu.com to 91.189.92.175 ie it should read
127.0.0.1 localhost
91.189.92.175 ports.ubuntu.com
reboot
4)
now you need to update apt-get and install some other stuff
run:
apt-get update
then run:
apt-get install man
then run:
apt-get install wget
then run:
apt-get install darkice
5)
now you need to update the os to something that actually understands the USB audio devices
this MUST be done via the USB cable and NOT via IP SSH, so install the relivant drivers and log into the device via serial terminal
5a)
first you need to fix another screwup
edit
/etc/sysctl.d/10-process-security.conf
find the line that says:
vm.mmap_min_addr #####
and set the #### to 32768
save exit reboot
5b)
go to the root directory and enter
wget
http://sheeva.with-linux.com/sheeva/README-PLUG-UPDATE.shthis will download the update script
now enter:
chmod 777 README-PLUG-UPDATE.sh
now enter:
./README-PLUG-UPDATE.sh
its going to spit out:
Use ./README-PLUG-UPDATE.sh VERSION --nandkernel to write kernel to NAND
Or ./README-PLUG-UPDATE.sh VERSION --rootkernel to write kernel to /boot
you want to go to
http://sheeva.with-linux.com/sheeva/ and find the most up to date version (at the time it is 2.6.38.7)
also you want to use the NAND kernal so if 2.6.38.7 is still the most up todate you want to enter:
./README-PLUG-UPDATE.sh 2.6.38.7 --nandkernel
DON'T reboot yet, read next step fully
5c)
Read steps before proceeding past this point, if you screw this up you could brick the plug
reboot,
because you are NOT on SSH but using TTY and the serial usb cable you will be presented with the bios boot screen, during the boot process there is an option to interrupt boot, interrupt it but hitting the "any" key DOH!!!!!
enter:
setenv mainlineLinux yes
then enter:
setenv arcNumber 2097
then enter:
printenv bootargs
you now want to write down the locations of the NAND partitions and make sure they jive with the next step
enter:
setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
PAY ATTENTION to the nand blocks, if the numbers are different from the above text and what you got from the bootargs, USE THE ADDRESSES YOU GOT FROM "printenv bootargs" paying attention to proper syntax, also remember this is TTY so you can backspace but you cant use the mouse or arrow keys to move the cursor, you need to enter it right the first time, NO TYPOS a single missed space or number change has the potential to brick the plug.
if you are successful after you hit enter nothing should happen it should just jump to the next line
5d)
enter:
saveenv
enter:
reset
if all is well it should boot into the OS with the new kernle if it doesn't have a drink and find something else to do.
6)
next config darkice
go to /etc
enter:
nano darkice.cfg
enter the data from the config file you were given
Done, now make the deamon and cron job
7)
so what you want to do is take the below file and put it in /etc/init.d you can do this by going to /etc/init.d and then entering
nano rc.darkice then paste the attached script(
ask dave for this script or i have it just PM me), save/exit
then you need to change the permissions on the file so the system can open it so go chmod 0750 /etc/init.d/rc.darkice
you now need to update the startup scripts to use the darkice startup file do this by entering (while in /etc/init.d)
update-rc.d rc.darkice defaults 99
reboot the machine, and it "should" now auto start darkice
Now to adding a cronjob that "should" auto restart darkice if it goes down
enter crontab -e the first time its run the comp should ask what editor you want to use I suggest nano.
after nano has opend you will be presented with a text file with some instructions, at the bottom of these paste:
*/5 * * * * root /etc/init.d/rc.darkice restartifdown 2>&1 > /dev/null
save and exit....
should be good to go......