Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore Armv7 => Allwinner A10 => Topic started by: roberts on January 26, 2013, 12:23:41 PM

Title: Wireless
Post by: roberts on January 26, 2013, 12:23:41 PM
I posted a README-wifi.txt on how to import wireless stack and setup via wifi.sh, even for machines that may only have wireless, e.g., A10 Tablet.

The procedure has been tested on an A10 Tablet and a hackberry. Thanks goes to hlavery for preview, edits, and testing on the hackberry.

You can find it at http://repo.tinycorelinux.net/4.x/armv7/
Title: Re: Wireless
Post by: mb0 on February 03, 2013, 10:18:12 AM
Thank you! to you both.

Would it be possible to provide a download with the files required from steps 2/3 please??

This would allow it to be done from any platform.. (currently the only x86 tinycore i have is out of date and gives error 'useBusybox: not found', and i really can't update it right now.. i tried doing it on a VM but that was a nightmare too!)
Title: Re: Wireless
Post by: tinypoodle on February 03, 2013, 11:52:26 AM
File name on server is
Quote
README-wifi.sh
which can render direct opening in some dumb browsers difficult...
Title: Re: Wireless
Post by: mb0 on February 03, 2013, 12:35:04 PM
I'm not sure i understand your point? Perhaps i was not clear enough, getting the text instructions is no problem. Perhaps they should have a txt extension, but it is not important.

Quote
1. Mount your SD card on x86 Tiny Core and open an xterm.
 2. On your x86 machine at the command prompt perform the following:
    $ tce-load -w import       (this will download the import suite of scripts)
    $ tce-load -i import       (to load and ready for use)
 3. We are now ready to import for target armv7. Note that import will download the Debian
    Master index and create an import directory under your existing tce directory. It will
    not install or otherwise mix x86 with armv7. So, at the prompt
    $ import wireless-tools armv7
    $ import wpasupplicant armv7
 4. Next move all the imported files from the imported directories to your SD card's
    tce/optional directory.
 5. Finally, we will need to download some specific Core extensions, so at the prompt
    $ cd /mnt/mountpoint_of_SD/tce/optional
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/8192cu.tcz
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/wifi.tcz
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/wifi.tcz.dep
 6. Remove the SD card by moving off the card and unmouunting
    $ cd
    $ sudo umount /mnt/mountpoint_of_SD/tce/optional   

What i am seeking is (an archive with) the files from step 2/3 here, which is the only part that requires an x86 tinyCore. If someone were providing a download on the site proper (which would be awesome), then including the files in step 5 too might be a good idea, but these could easily be downloaded with any system.
Title: Re: Wireless
Post by: roberts on February 03, 2013, 12:53:22 PM
File name on server is
Quote
README-wifi.sh
which can render direct opening in some dumb browsers difficult...
S/B README-wifi.txt
Fixed.
Title: Re: Wireless
Post by: roberts on February 03, 2013, 12:56:49 PM
I'm not sure i understand your point? Perhaps i was not clear enough, getting the text instructions is no problem. Perhaps they should have a txt extension, but it is not important.

Quote
1. Mount your SD card on x86 Tiny Core and open an xterm.
 2. On your x86 machine at the command prompt perform the following:
    $ tce-load -w import       (this will download the import suite of scripts)
    $ tce-load -i import       (to load and ready for use)
 3. We are now ready to import for target armv7. Note that import will download the Debian
    Master index and create an import directory under your existing tce directory. It will
    not install or otherwise mix x86 with armv7. So, at the prompt
    $ import wireless-tools armv7
    $ import wpasupplicant armv7
 4. Next move all the imported files from the imported directories to your SD card's
    tce/optional directory.
 5. Finally, we will need to download some specific Core extensions, so at the prompt
    $ cd /mnt/mountpoint_of_SD/tce/optional
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/8192cu.tcz
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/wifi.tcz
    $ sudo wget http://repo.tinycorelinux.net/4.x/armv7/tcz/wifi.tcz.dep
 6. Remove the SD card by moving off the card and unmouunting
    $ cd
    $ sudo umount /mnt/mountpoint_of_SD/tce/optional   

What i am seeking is (an archive with) the files from step 2/3 here, which is the only part that requires an x86 tinyCore. If someone were providing a download on the site proper (which would be awesome), then including the files in step 5 too might be a good idea, but these could easily be downloaded with any system.

A10 requires import. Should be easy enough to grab latest x86 Core to cdrom or pendrive and boot. No need to upgrade or install x86 Core.
Title: Re: Wireless
Post by: mb0 on February 03, 2013, 01:09:33 PM
OK, as i say i tried it with VM, but didn't find the relevant files in an import folder? (it wasn't clear where this should be, but i did a find and looked in all of them). It also prompts to make a tcz or not from the deb files, which your guide does not mention, could you please make that explicit (thanks!).. since it wasn't mentioned, i took it as not to?.

EDIT: checked again.. the steps appear to have worked fine, but `sudo find / -name *armhf.deb` returns nothing, and searching for  'import' gives;
Quote
/tmp/tcloop/import
/tmp/tcloop/import/usr/local/bin/import
/usr/local/bin/import
/user/local/tce.installed/import
Searches for `*wireless-tools*` and `*wpasupplicant*` also returned nothing. I ran as user tc in tc's home dir. Used current corePlus.

Sorry, i think i'm stupid.. and you need to select yes to create TCZ and then the files in /tmp/tce/import on a liveCd system. Could you please make that explicit in the readme, thanks!