LabHub & ishare2 Updates ️
6.09K subscribers
31 photos
5 files
110 links
LabHub & ishare2 announcements
Logo by @qirkldesigns

Official website:
https://labhub.eu.org

GitHub:
https://github.com/ishare2-org

Recommended groups:
@pnetlab
@eve_gns3
@NETLabIT
@eve_ng_gns3_labs
Download Telegram
⚠️ Hey everyone, very important announcement! ⚠️
If you're using ishare2 to download your images run: ishare2 update to update the sources files!
A change has been made to UNETLAB II. The qemu and iol folders have been moved inside a parent folder "addons" following the convention of UNETLAB I.

I am working on automating the indexing of the images in the repositories and I'm having good results so far. The way we did it before was manually typing the file names on a spreadsheet. We owe most of that manual job to Mati but since there's 1000's of files to download the task has become unmaintainable and unreliable. You might see some index*.json files scatter around the repositories as well as some index.py files which will be used for indexing from now on.

Spoiler alert of what I'm working on:
I am also working on a new nodejs based CLI tool and Next.js GUI

I'm using these technologies both to practice (I'm starting a job using those technologies) and to improve ishare2's functionality both for the user and maintainers (for now it's just me and I'm most of the times busy).

Sorry for any inconvenience the update might've caused!
10👍5👏1
Hey guys
Yesterday I pushed a faulty update for ishare2 but it is now fixed.
If you encountered this error in the last couple hours, it should be gone now.
By the way yesterday's update was related to SSL certficate checks in downloads.
You might've found that Ubuntu 18.04 doesn't always have the latest CA Certs installed (sometimes even after running an apt upgrade).

So now there's a new config in ishare2 that let's you skip those checks.
By default SSL checks are enabled but if you're having trouble downloading something, try disabling these checks and the error might be gone.

Let me know if you find any more bugs...
👍4
Yet another issue happened today 😅
The sources.list file was using an outdated link to a repository that is now deprecated.
An updated sources file was just pushed, to get the newer version first remove the old one:
rm /opt/ishare2/cli/sources.list

After that, run: ishare2 update

The bash version of ishare2 is being modified to use JSON files for retrieving file indexes, the alpha version is already available and I might need testers later. Let me know if you want to try it out.
👍5
Hi everyone
I almost finished getting the ishare2 bash script to work with JSON data.
Image downloading should work fine.
Most stuff is done, only missing the auto fix for bad names (for typos or different naming conventions).

Could anyone please help me test it? 🙏
You can always rollback to the "stable version" later.

To install the alpha version use this command:
wget -O /usr/sbin/ishare2 https://raw.githubusercontent.com/ishare2-org/ishare2-cli/alpha/ishare2 && chmod +x /usr/sbin/ishare2 && ishare2



I tested it on my end too of course but it's always better if tested on different environments.

Please report back any issues you might find
1👍1
Hello everyone
I'm aware that we're hitting a quota limit on Google drive
I already switched the indexes to map the OneDrive mirror
If you have any issues run: ishare2 update to update the sources files
👍1
I see a spike of traffic from today so that could be why we hit Google Drive's quota limit. I'll try a workaround later but remember you can always use an alternative mirror when this happens
Hello everyone!

I know a lot of you already use and have contributed labs to PNetLab's store, but I've had requests (and thought about it myself) to implement a "pull labs" feature on ishare2.
This feature would have lab packages or individual labs for different purposes like CCNA preparation, etc. This would make labs available by executing a single command.
So if you guys are interested in contributing some, I'll create a new "Labs" section in LabHub specifically for labs once we have enough contributions :D

Happy learning!
👍16
The alpha version of ishare2 is over 1000 lines less of code (32 KB less than previous versions) after optimizations 😵‍💫

JSON has definitely is been much easier to work with :)

I also refactored a lot of old code which was too repetitive and I had never touched since back when it was first released

Today I finished fixing the "ishare2 pull [TYPE] all" command, we're almost ready to release it to the main branch so I would appreciate any feedback you have on this major update 😃
👍5
New logo by Qirkl thanks a lot! 🙏
12🔥6👍2🙏1
LabHub & ishare2 Updates ️
Hello everyone I'm aware that we're hitting a quota limit on Google drive I already switched the indexes to map the OneDrive mirror If you have any issues run: ishare2 update to update the sources files
Hello!
This idea hasn't been dropped, I've just been busy but here's a provisional form to upload the labs if you want to share any:
https://forms.gle/gaFbFJmVBfmfGUit5

Please give credit to the lab's author (if you know it) to keep a friendly community :)
After we gather enough labs ishare2 pull labs can be implemented with some more features coming in the future, like:
ishare2 pull labs from : this command will allow you to pull labs from a direct download link and possibly other hosts like Google Drive public links
7👍3
Hello guys! I just realized there's 52 image submissions in LabHub's form 🤦‍♂️
Sorry about that, I enabled notifications for that form now 😅
🤣3😁2👍1
Hi everyone!

For the first time in 8 months I made a significant change to the README.md of ishare2-cli's repository. This revised version includes a better brief explanation of how to use ishare2 and a much better format.
Some things are yet to be added while I work on the last few touches to release the new major release of ishare2, but overall it finally looks much better and that fits the new code improvements I worked on over the last month.

Please visit the GitHub repository to see what's new and leave a (star) if you want: https://github.com/ishare2-org/ishare2-cli
👏4
More news... I pushed a new Release Candidate beta a couple minutes ago. If no bugs are reported in the next couple hours it'll be pushed to the main branch. This is a very significant update because it'll highly improve the program. There are more exciting things coming soon to ishare2 but this is it for now.

Please let me know if you find any bugs in the beta version:
wget -O /usr/sbin/ishare2 https://raw.githubusercontent.com/ishare2-org/ishare2-cli/alpha/ishare2 && chmod +x /usr/sbin/ishare2 && ishare2
🔥5👍1🥰1
ℹ️ Major release (Version 3.3.1) pushed to the main branch!

TLDR; Old versions will break, upgrade to the latest release!

I've just pushed the new major release (Version 3.3.1) of ishare2 to the main branch. Please report any issues you might encounter. I've already implemented two hotfixes 😅, but let me know if you find additional issues that I haven't caught yet.

The latest update operates with JSON files, requiring the jq package for ishare2 to function correctly. If you don't have it installed, you can install it very easily with apt:
apt install jq



In contrast to previous versions, which fetched CSV files from Google Docs, this new version utilizes lists of mirrors hosted on GitHub: Mirrors Repository.

More information, including a detailed blog post, is on the way to provide further explanation on the features this version has and how to utilize them properly.

If you face any issues, consider reconfiguring ishare2. Deleting the entire ishare2 directory and then reconfiguring it can help resolve any potential problems:

Remove ishare2 directory:
rm -rf /opt/ishare2



Reconfigure ishare2:
ishare2 config



Remember that you can just press enter to all questions to use the defaults and it'll work.

That's all for now, happy learning!
👍1
If you are facing this error when trying to install/reconfigure ishare2, it means your apt package manager configuration is broken:
https://t.me/c/1656390384/3091

ishare.top is a dead domain from the previous now dead ishare tool. To fix this error, delete it from the sources.list file.
Through the CLI run:
nano /etc/apt/sources.list


Once you have entered the editor, remove the ishare.top line from the list.
Check how to use nano
(Navigate with arrow keys. CTRL+s to save changes, CTRL+x to exit)

An automated removal is coming in future updates
You are expected to find these type of errors if you haven't upgraded to the latest version yet: https://t.me/PNETLab/155151

Remember the latest release breaks old ones since the sources file will no longer point to the CSV files we used to use.

To upgrade to the latest version, simply run the quick installation command again
3👍3
Forwarded from Programmer Jokes
😁14👍2
Dear users of ishare2 on PNETLab servers,

I'd like to make a couple of suggestions regarding recent issues with PNETLab's APT repository. ishare2 requires jq as a dependency for handling JSON files, and during its execution, it checks for jq and other packages like unrar to be installed. For this to work smoothly, APT needs to function correctly so that dependencies can be installed.

However, if you encounter the error displayed in this screenshot, it indicates that APT failed to verify the SSL certificate. Unfortunately, since it's beyond my control to fix this, the best workaround is to temporarily ignore the PNETLab source by commenting it out from the APT sources list.

Here are the steps to follow:

1. Edit the sources.list file using an editor like nano (learn how to use nano):
nano /etc/apt/sources.list


2. Locate the line starting with "deb [trusted=yes] https://repo.pnetlab.com ./"
Prepend "#" before that line, resulting in:
# deb [trusted=yes] https://repo.pnetlab.com ./


3. Save and exit, then run ishare2 again, and let it automatically install the dependencies.

Thank you for your understanding, and feel free to reach out if you encounter any issues or have further questions.
👍111
If you guys keep having issues with repo.pnetlab.com, you can use pnetlab.labhub.eu.org in your sources.list file for now.

1. Open sources.list with a text editor like nano.
nano /etc/apt/sources.list


2. Remove or comment out the line with repo.pnetlab.com as source:
- Locate the line starting with "deb [trusted=yes] https://repo.pnetlab.com ./"
Prepend "#" before that line, resulting in:
# deb [trusted=yes] https://repo.pnetlab.com ./


3. Paste this mirror at the bottom of the file:
deb [trusted=yes] https://pnetlab.labhub.eu.org ./


This is mostly useful on fresh installs but can also solve the error mentioned in the previous message.
Let's hope my server can keep up with the requests 😆

- How to use nano
👍101