Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: cannedD on July 01, 2016, 09:07:26 AM

Title: Easytether on minimal dCore
Post by: cannedD on July 01, 2016, 09:07:26 AM
Dear developers and dCore users,

I used Easytether as a springboard for using sce-import just after installing dCore.
I think it would be a good option if you like going very minimally.
The steps are...

EDIT: Easytether is an android app that enables tethering without using android OS's tethering mechanism.

Prerequisite: you need these 5 files.
     dCore vmlinuz and initrd(I tried jessie and trusty, both worked)
     easytether_xxx_i386.deb(downloaded from its official site)
     libssl.so.1.0.0(,which I copied from Tahrpup, Trusty Tahr based distro)
     libcrypto.so.1.0.0(from Tahrpup)

Copy  the files to a directory on USB and setup syslinux properly.
Move libssl and libcrypto to /lib/
Extract three executables from the .deb file using ar and tar commands.
Make a directory named /var/lib/easytether/empty
Make a script file containing next 5 lines:   
     addgroup -S easytether
     adduser -S -G easytether -h /var/lib/easytether/empty -H -s /bin/false easytether
     ifconfig easytether-tap up
     udhcpc -i easytether-tap

(Optionally, edit /opt/.filetool.lst here.)
sudo the script.
Now you can sce-import -r w3m, sce-load w3m and start web browsing!!
Title: Re: Easytether on minimal dCore
Post by: kevinfish on July 02, 2016, 06:48:58 AM
this should probably be on the wiki
Title: Re: Easytether on minimal dCore
Post by: nitram on July 02, 2016, 09:23:10 AM
Good idea. As the guide uses Android and Puppy Linux software it does not fit within the formal dCore wiki categories. The 'Unofficial dCore Scripts' section was expanded to 'Unofficial dCore Scripts & Tricks' to capture nuggets. Probably easier to find in the wiki than digging through old posts.

I was going to ask for permission cannedD but realize you posted to share, added your guide to the dCore wiki. Thanks for your contribution, welcome to dCore! You are classified as a new user/WikiUser for the first few posts, which will also not likely allow you to edit the wiki. Once cleared feel free to update the guide as needed: http://wiki.tinycorelinux.net/dcore:scripts. Thanks.
Title: Re: Easytether on minimal dCore
Post by: cannedD on July 02, 2016, 11:16:19 AM
Thank you, nitram. You saved me a lot of labor!

I did not discribe the details of the method because it would make a post too long.
But I feel its terseness might have made the post defeat its own purpose, namely, to ease some difficulties beginners face when they want to enjoy the great micro-ness of microCore. (I'm a beginner who made just one post after a lot of cycles of googling, trying, rebooting.)
So, whoever wants to know the details, feel free to ask.

Title: Re: Easytether on minimal dCore
Post by: Jason W on July 02, 2016, 05:48:43 PM
Thanks cannedD for this.  Can I add one thing, and that is we don't have to use another small distro's files as libcrypto.so.1.0.0 libssl.so.1.0.0 are contained in the libssl1.0.0 package all the Debian/Ubuntu releases that the existing dCores are made from.  The package for Ubuntu Trusty is below:


Download it, then enter the directory it is in and:

mkdir rootfs
# below is the current file name, it may change
ar x libssl1.0.0_1.0.1f-1ubuntu2.19_i386.deb   
tar xf data.tar.xz -C rootfs

and the files will be under rootfs.
Title: Re: Easytether on minimal dCore
Post by: cannedD on July 03, 2016, 09:37:53 AM
Thank you for the info, Jason. I agree that they should be downloaded them legitimate places.
I will revise wiki once I am qualified to do so.