SHARE
TWEET

Untitled

a guest Jun 5th, 2017 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. need kmod cifs, cifs.mount, kmod loop, kmod ext2, e2fs utils,
  2.  
  3. dd if=/dev/zero of=/tmp/smb/opt.ext bs=1 count=1 seek=100M
  4. echo y | mke2fs -L optware /tmp/smb/opt.ext  
  5.  
  6. insmod /jffs/lib/modules/2.6.26.8/loop.ko
  7. insmod /jffs/lib/modules/2.6.26.8/cifs.ko
  8. insmod /jffs/lib/modules/2.6.26.8/nls_base.ko
  9. insmod /jffs/lib/modules/2.6.26.8/ext2.ko
  10. mkdir /tmp/smb
  11. mkdir /tmp/opt
  12. mount.cifs //192.168.6.111/resmb /tmp/smb -o user=root,password=none
  13. mount -o loop /tmp/smb/opt.ext /tmp/opt
  14.  
  15. export LD_LIBRARY_PATH=/tmp/opt/usr/lib:/tmp/opt/lib
  16. export PATH=/tmp/opt/sbin:/tmp/opt/usr/sbin:/tmp/opt/bin:/tmp/opt/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin:/tmp/opt/sbin
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top