WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Issue when updating from TC8 to TC9 using Wifi connection  (Read 3528 times)

Offline yacc

  • Newbie
  • *
  • Posts: 8
Issue when updating from TC8 to TC9 using Wifi connection
« on: April 30, 2018, 12:18:25 PM »
Hello,
I wanted to upgrade from TC8 to TC9 having only WiFi connectivity
So in TC8, I've downloaded TC9's core.gz + vmlinux, and put them in boot directory and reboot.
Almost OK, because after reboot in TC9, I've lost WiFi connectivity because wireless-4.8.17-tinycore has been updated to wireless-4.14.10-tinycore.tcz, which is a dependancy required for wifi.tcz and others

So I came back to TC8, where WiFi works, and wanted to download the new wireless-4.14.10-tinycore.tcz extension. But noway. Using APPs, only TC8 extensions are shown. And from command tce-load, I get the following error :
Code: [Select]
tc@box:~$ tce-load -w wireless-4.14.10-tinycore
Downloading: wireless-4.14.10-tinycore.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 not Found
md5sum: wireless-4.14.10-tinycore.tcz.md5.txt: No such file or directory
Error on wireless-4.14.10-tinycore.tcz

I understand that like in Apps gui, tce-load has access only to compatible TC8 extensions

How could I get this new extension from TC8?

Thank you

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #1 on: April 30, 2018, 01:11:07 PM »
You can download it manually:
Code: [Select]
cd /etc/sysconfig/tcedir
wget repo.tinycorelinux.net/9.x/x86/tcz/wireless-4.14.10-tinycore.tcz

This extension alone should be enough to get you online, but there might be one or two more you need to get like this.

edit: An alternative might be to download the latest CorePlus iso - it includes wifi extensions and their deps like firmware, you could mount it and copy them from there.
The only barriers that can stop you are the ones you create yourself.

Offline yacc

  • Newbie
  • *
  • Posts: 8
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #2 on: April 30, 2018, 01:22:21 PM »
Hello,
Works fine, but I don't understand something.
Under Firefox (or other browser) when I go to repo.tinycorelinux.net/9.x/x86/tcz, I get only a list of all tcz's, but with no possibility to download. Only wget has access to the true file?

Thank you

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11699
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #3 on: April 30, 2018, 01:37:00 PM »
Hi yacc
If you enter:
Code: [Select]
repo.tinycorelinux.net/9.x/x86/tcz/wireless-4.14.10-tinycore.tczin the address bar, Firefox should ask you what you want to do with the file. You should then be able to tell it where to save it.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #4 on: May 01, 2018, 03:39:14 AM »
That's an optimization to save server cpu. Generating the file listing for a huge directory takes a lot of cpu, so we instead just send the list.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 662
  • ~.~
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #5 on: May 01, 2018, 08:43:49 AM »
Hello,
Works fine, but I don't understand something.
Under Firefox (or other browser) when I go to repo.tinycorelinux.net/9.x/x86/tcz, I get only a list of all tcz's, but with no possibility to download. Only wget has access to the true file?

Thank you

when the server gets a request for 9.x/x86/tcz/
it returns the info.lst file @  http://tinycorelinux.net/9.x/x86/tcz/info.lst

because
That's an optimization to save server cpu. Generating the file listing for a huge directory takes a lot of cpu, so we instead just send the list.

to see a list index
try the mirror
 @ ftp:// or  http:// distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/
eg
Code: [Select]
Index of /tinycorelinux/9.x/x86/tcz/
Name Last Modified Size Type
Parent Directory Directory
8086tiny.tcz 2018-Jan-04 03:49:32 1.2M application/octet-stream
8086tiny.tcz.dep 2018-Jan-04 03:49:32 0K application/octet-stream
8086tiny.tcz.info 2018-Jan-04 03:49:32 0.7K application/octet-stream
8086tiny.tcz.list 2018-Jan-04 03:49:32 0.1K application/octet-stream
8086tiny.tcz.md5.txt 2018-Jan-04 03:49:32 0K text/plain
8086tiny.tcz.tree 2018-Jan-04 05:41:52 0K application/octet-stream
8086tiny.tcz.zsync 2018-Jan-04 05:02:09 3.9K application/octet-stream


...back in the (3.x) days there was a "fancy" javascript genarated  :o index  page

@ http://distro.ibiblio.org/tinycorelinux/3.x/tcz/

and plain no script html @ http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html

...i have messed around abit with scripts and the info.lst   :)
+ http://forum.tinycorelinux.net/index.php/topic,16270.msg96568.html#msg96568
++ http://forum.tinycorelinux.net/index.php/topic,18767.msg115000.html#msg115000
« Last Edit: May 01, 2018, 08:51:15 AM by mocore »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #6 on: May 01, 2018, 04:14:54 PM »
Hello,
Works fine, but I don't understand something.
Under Firefox (or other browser) when I go to repo.tinycorelinux.net/9.x/x86/tcz, I get only a list of all tcz's, but with no possibility to download. Only wget has access to the true file?

Thank you
While it's not recommended to download outside of APPS or the equivalent command line applications, you can for sure download any extension from the website using Firefox.
Just type the name of the tcz at the end of the address, just make sure you get the dep,  md5 files and all the dependencies listed in each dep file..

Code: [Select]
http://tinycorelinux.net/9.x/x86/tcz/wifi.tcz
http://tinycorelinux.net/9.x/x86/tcz/wifi.tcz.dep
http://tinycorelinux.net/9.x/x86/tcz/wifi.tcz.md5.txt
« Last Edit: May 01, 2018, 04:16:56 PM by coreplayer2 »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #7 on: May 02, 2018, 05:43:59 AM »
Looking through each .dep file and downloading dependencies individually can be quite tedious.
I find it easier to use the .tree file for the complete list of dependencies and download everything in one go.

Code: [Select]
mkdir /etc/sysconfig/tcedir/optional/upgrade
cd /etc/sysconfig/tcedir/optional/upgrade
for i in $(wget -O - http://tinycorelinux.net/9.x/x86/tcz/wifi.tcz.tree) ; do for j in "" .dep .md5.txt ; do wget "http://tinycorelinux.net/9.x/x86/tcz/$i$j" ; done ; done

Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #8 on: May 02, 2018, 12:00:35 PM »
That's a good point, but then we assume folks are downloading extensions from another operating system where regular tools arn't available.   Otherwise why not simply use
Code: [Select]
tce-ab

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #9 on: May 02, 2018, 01:06:20 PM »
I presumed yacc intended to update the wifi modules from an TC-8.x installation in order to be able to go online with TC-9.x.
The commands I posted can be ran on TC-8.x to download extensions from the TC-9.x repo.
After rebooting the rest of the extensions can be updated via Apps GUI / tce-ab.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #10 on: May 02, 2018, 01:14:43 PM »
Ok understood,   I still assume folks can simply plug in an Ethernet cord for those update needs
 :)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Issue when updating from TC8 to TC9 using Wifi connection
« Reply #11 on: May 02, 2018, 02:01:28 PM »
I agree. I avoid WIFI whenever possible. In fact, I would need to setup a WIFI network if I would need one.
But
Quote
Hello,
I wanted to upgrade from TC8 to TC9 having only WiFi connectivity
Download a copy and keep it handy: Core book ;)