Need an Introduction to Tiny Core? Or peruse Core Concepts.
That seems to be in order, I'm really not sure why iproute2 does not load "onboot"Edit: just a thought, but does "ls /etc/sysconfig/tcedir/optional/iproute*" show iproute2.tcz.{, dep, md5.txt}?
~$ ls /etc/sysconfig/tcedir/optional/iproute*/etc/sysconfig/tcedir/optional/iproute2.tcz/etc/sysconfig/tcedir/optional/iproute2.tcz.dep
How about the output to these?whoamienvcat ~/.profilels -al /etc/sysconfig/tcedirdf -a
~$ whoamitc~$ envSSH_CLIENT=192.168.122.1 46842 22MAIL=/var/mail/tcUSER=tcSHLVL=1HOME=/home/tcSSH_TTY=/dev/pts/0PAGER=less -EMPS1=\u@\h:\w\$ ENV=/home/tc/.ashrcBACKUP=1LOGNAME=tcTERM=xterm-256colorPATH=/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemandG_FILENAME_ENCODING=iso8859-1LANG=CMANPAGER=less -isRSHELL=/bin/shFLWM_TITLEBAR_COLOR=58:7D:AAPWD=/home/tcSSH_CONNECTION=192.168.122.1 46842 192.168.122.191 22EDITOR=vi~$ cat ~/.profile # ~/.profile: Executed by Bourne-compatible login SHells.## Path to personal scripts and executables (~/.local/bin).[ -d "$HOME/.local/bin" ] || mkdir -p "$HOME/.local/bin"export PATH=$HOME/.local/bin:$PATHONDEMAND=/etc/sysconfig/tcedir/ondemand[ -d "$ONDEMAND" ] && export PATH=$PATH:"$ONDEMAND"# Environment variables and prompt for Ash SHell# or Bash. Default is a classic prompt.#PS1='\u@\h:\w\$ 'PAGER='less -EM'MANPAGER='less -isR'EDITOR=viexport PS1 PAGER FILEMGR EDITOR MANPAGERexport BACKUP=1[ "`id -un`" = "`cat /etc/sysconfig/tcuser`" ] && echo "$BACKUP" | sudo tee /etc/sysconfig/backup >/dev/null 2>&1export FLWM_TITLEBAR_COLOR="58:7D:AA"if [ -f "$HOME/.ashrc" ]; then export ENV="$HOME/.ashrc" . "$HOME/.ashrc"fiTERMTYPE=`/usr/bin/tty`[ ${TERMTYPE:5:3} == "tty" ] && ([ ! -f /etc/sysconfig/Xserver ] ||[ -f /etc/sysconfig/text ] ||[ -e /tmp/.X11-unix/X0 ] || startx)~$ ls -al /etc/sysconfig/tcedir/total 2611drwxrwxr-x 5 tc staff 1024 Sep 4 10:10 ./drwxr-xr-x 4 root root 1024 Sep 4 10:10 ../drwxrwxr-x 3 tc staff 1024 Sep 4 10:10 boot/-rw-rw-r-- 1 tc staff 2666853 Sep 5 01:59 mydata.tgz-rw-rw-r-- 1 tc staff 25 Sep 5 11:26 onboot.lstdrwxrwxr-x 2 tc staff 1024 Sep 4 10:10 ondemand/drwxrwxr-x 2 tc staff 1024 Sep 5 01:35 optional/:~$ df -aFilesystem Size Used Available Use% Mounted onrootfs 107.9M 14.6M 93.4M 13% /proc 0 0 0 0% /procsysfs 0 0 0 0% /sysdevpts 0 0 0 0% /dev/ptstmpfs 60.0M 0 60.0M 0% /dev/shmfusectl 0 0 0 0% /sys/fs/fuse/connections/dev/sda1 56.7M 18.8M 36.7M 34% /mnt/sda1/dev/loop0 1.5M 1.5M 0 100% /tmp/tcloop/openssl/dev/loop1 232.0K 232.0K 0 100% /tmp/tcloop/ncurses/dev/loop2 92.0K 92.0K 0 100% /tmp/tcloop/libedit/dev/loop3 2.0M 2.0M 0 100% /tmp/tcloop/openssh
sudo ldconfig
tc@tinycorelinux01:~$ sudo ldconfigtc@tinycorelinux01:~$ ip-sh: ip: not foundtc@tinycorelinux01:~$ df -aFilesystem Size Used Available Use% Mounted onrootfs 107.9M 14.6M 93.4M 13% /proc 0 0 0 0% /procsysfs 0 0 0 0% /sysdevpts 0 0 0 0% /dev/ptstmpfs 60.0M 0 60.0M 0% /dev/shmfusectl 0 0 0 0% /sys/fs/fuse/connections/dev/sda1 56.7M 18.8M 36.7M 34% /mnt/sda1/dev/loop0 1.5M 1.5M 0 100% /tmp/tcloop/openssl/dev/loop1 232.0K 232.0K 0 100% /tmp/tcloop/ncurses/dev/loop2 92.0K 92.0K 0 100% /tmp/tcloop/libedit/dev/loop3 2.0M 2.0M 0 100% /tmp/tcloop/opensshtc@tinycorelinux01:~$ ls -al /etc/sysconfig/tcedirlrwxrwxrwx 1 root root 13 Sep 6 01:34 /etc/sysconfig/tcedir -> /mnt/sda1/tce/
~$ tce-status -idblibeditncursesopensshopenssl~$ ls -al /etc/sysconfig/tcedir/optional/total 4867drwxrwxr-x 2 tc staff 1024 Sep 5 01:35 ./drwxrwxr-x 5 tc staff 1024 Sep 4 10:10 ../-rw-rw-r-- 1 tc staff 537258 Sep 4 13:09 db.tcz-rw-rw-r-- 1 tc staff 41 Sep 4 12:07 db.tcz.md5.txt-rw-rw-r-- 1 tc staff 483328 Sep 5 01:35 iproute2.tcz-rw-rw-r-- 1 tc staff 7 Sep 4 13:08 iproute2.tcz.dep-rw-rw-r-- 1 tc staff 94208 Sep 4 10:18 libedit.tcz-rw-rw-r-- 1 tc staff 12 Sep 4 10:15 libedit.tcz.dep-rw-rw-r-- 1 tc staff 46 Sep 4 10:16 libedit.tcz.md5.txt-rw-rw-r-- 1 tc staff 237568 Sep 4 10:16 ncurses.tcz-rw-rw-r-- 1 tc staff 46 Sep 4 10:16 ncurses.tcz.md5.txt-rw-rw-r-- 1 tc staff 2093056 Sep 4 10:22 openssh.tcz-rw-rw-r-- 1 tc staff 24 Sep 4 10:18 openssh.tcz.dep-rw-rw-r-- 1 tc staff 46 Sep 4 10:18 openssh.tcz.md5.txt-rw-rw-r-- 1 tc staff 1527808 Sep 4 10:16 openssl.tcz-rw-rw-r-- 1 tc staff 46 Sep 4 10:15 openssl.tcz.md5.txt
ip isn't working because iproute2 isn't loaded. There's probably a message during the boot process that tells you why. Edit /etc/sysconfig/tcedir/boot/extlinux/extlinux.conf and add the word pause to the end of the line labeled APPEND. Save and reboot.
~$ tce-status -idblibeditncursesopensshopenssl
no message,everything looks ok