Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Jail Bill Gates on January 06, 2021, 03:01:42 PM

Title: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 06, 2021, 03:01:42 PM
Hi
I have a CD for boot with tiny core version 11.1 on it which is the command line only
And I was wondering how easy would it be to access the internet

1. I have a land card intergraded into my mother board; will I need to install driver for that to work?

2. I use linux mint at the moment and download any new program from the sofewaere manager centre; How easy would it be to install this?

3. How eay would it be to install firefox and tor onion web browsers?

Thanks
JBG
Title: Re: how easy is it to use the internet from the terminal command
Post by: Leee on January 07, 2021, 02:46:36 PM
Very easy... It will probably take less time to -do- all this than it takes to read it.    :)

Once you have core 11.1 up and running, it will probably recognize your wired network automatically.  If
Code: [Select]
sudo ping tinycorelinux.networks then your nic (lan card) is working, otherwise you'll need to trouble shoot.

---

You'll want your tce directory to be located on persistent storage (your disk) in order to keep the extensions you download on hand - otherwise you would have to re-download them every time you reboot.  Once you've booted core from the hard disk instead of the CD, this will likely already be the case.
Code: [Select]
readlink /etc/sysconfig/tcedirwill tell you where the tce directory is.

---

You can use the tce-ab command which is a console version of the gui "apps" application browser to download and install the Xwindows bits (for a basic GUI).

The extensions you'll probably need are

You can substitute your window manager of choice from the repo instead of flwm_topside, if you'd like, and wbar isn't strictly necessary.

You may get better graphical results if you also install the graphics-KERNEL.tcz extension (the system will figure out what kernel you are using and get the right extension) but if you -don't- need it, it might prevent the gui from working at all.

The tce-ab tool will automatically load any dependencies of the extensions you load so you don't have to worry about that (which is good 'cause there are a bunch of them!)

   ~~~
Alternatively, you can do the whole mess in one command line with
Code: [Select]
tce-load -wi graphics-KERNEL Xprogs Xorg-7.7 aterm flwm_topside wbarand, assuming no errors, start X with the cleverly named command
Code: [Select]
startx
---

Once X is up and running, use the apps tool to browse extensions and install firefox-ESR.  On the "Apps" window, click the "Apps" button, select "Cloud (Remote)" on the resulting menu and "Browse" on the sub-menu to populate the extension list in the left-hand pane and click an extension to see its info in the right-hand pane.  The "Go" button installs the selected extension according to the drop-down selection to the left of the button (which defaults to "OnBoot", which is usually what you want).

---

I see "tor-docs.tcz" in the repo but I don't see tor.tcz itself, so no luck there.  You might be able to pull tor from one of the older repos but that might get you into dependency hell or get you a tor that doesn't protect you the way you expect it to.

---

Note that all of the above will get you a working gui and a working browser but not sound - that's a whole nother discussion, so don't despair if you see a youtube video and it's silent.

Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 07, 2021, 05:00:57 PM
sudo ping tinycorelinux.net
says its a bad address
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 07, 2021, 05:02:18 PM

---

You'll want your tce directory to be located on persistent storage (your disk) in order to keep the extensions you download on hand - otherwise you would have to re-download them every time you reboot.  Once you've booted core from the hard disk instead of the CD, this will likely already be the case.
Code: [Select]
readlink /etc/sysconfig/tcedirwill tell you where the tce directory is.

---

You can use the tce-ab command which is a console version of the gui "apps" application browser to download and install the Xwindows bits (for a basic GUI).

The extensions you'll probably need are
  • Xprogs.tcz  which contains a bunch of gui applets specific to Tiny Core ("apps", "mnttool", etc
  • Xorg-7.7.tcz  which is the base Xwindows engine
  • aterm.tcz   which is a terminal emulator
  • flwm_topside.tcz  which is the "fast light window manager", cutomized to have the title bar along the top like most others
  • wbar.tcz  which provides the icon bar on the Tiny Core screen

You can substitute your window manager of choice from the repo instead of flwm_topside, if you'd like, and wbar isn't strictly necessary.

You may get better graphical results if you also install the graphics-KERNEL.tcz extension (the system will figure out what kernel you are using and get the right extension) but if you -don't- need it, it might prevent the gui from working at all.

The tce-ab tool will automatically load any dependencies of the extensions you load so you don't have to worry about that (which is good 'cause there are a bunch of them!)

   ~~~
Alternatively, you can do the whole mess in one command line with
Code: [Select]
tce-load -wi graphics-KERNEL Xprogs Xorg-7.7 aterm flwm_topside wbarand, assuming no errors, start X with the cleverly named command
Code: [Select]
startx
---

Once X is up and running, use the apps tool to browse extensions and install firefox-ESR.  On the "Apps" window, click the "Apps" button, select "Cloud (Remote)" on the resulting menu and "Browse" on the sub-menu to populate the extension list in the left-hand pane and click an extension to see its info in the right-hand pane.  The "Go" button installs the selected extension according to the drop-down selection to the left of the button (which defaults to "OnBoot", which is usually what you want).

---

I see "tor-docs.tcz" in the repo but I don't see tor.tcz itself, so no luck there.  You might be able to pull tor from one of the older repos but that might get you into dependency hell or get you a tor that doesn't protect you the way you expect it to.

---

Note that all of the above will get you a working gui and a working browser but not sound - that's a whole nother discussion, so don't despair if you see a youtube video and it's silent.
since i cant install anything with it at the moment
Im not going to presue the rest of this for now
Title: Re: how easy is it to use the internet from the terminal command
Post by: Rich on January 07, 2021, 07:06:31 PM
Hi Jail Bill Gates
sudo ping tinycorelinux.net ...
That won't work because  tinycorelinux.net  won't respond to pings.
Title: Re: how easy is it to use the internet from the terminal command
Post by: Leee on January 08, 2021, 12:54:35 AM
Hi Jail Bill Gates
sudo ping tinycorelinux.net ...
That won't work because  tinycorelinux.net  won't respond to pings.


My bad.  Maybe try it on perdu.com or google.com
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 10, 2021, 01:25:49 PM
Hi Jail Bill Gates
sudo ping tinycorelinux.net ...
That won't work because  tinycorelinux.net  won't respond to pings.


My bad.  Maybe try it on perdu.com or google.com
there all bad address mate!
Title: Re: how easy is it to use the internet from the terminal command
Post by: corezoo on January 10, 2021, 06:17:47 PM
sudo ping -c 3 www.google.com
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 11, 2021, 06:11:24 PM
sudo ping -c 3 www.google.com

Ow well at least its not a bad command this time
Can you see the text in the photo OK?

[attachment deleted by admin]
Title: Re: how easy is it to use the internet from the terminal command
Post by: Rich on January 11, 2021, 06:29:49 PM
Hi Jail Bill Gates
It looks like you used an uppercase  -c  in the command. You should have used a lowercase  -c.

Does this work:
Code: [Select]
sudo ping -c 3 8.8.8.8
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 11, 2021, 10:38:58 PM
Hi Jail Bill Gates
It looks like you used an uppercase  -c  in the command. You should have used a lowercase  -c.

Does this work:
Code: [Select]
sudo ping -c 3 8.8.8.8
it says network is unreachable

[attachment deleted by admin]
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 12, 2021, 02:55:55 AM
I have just tried it with plugging the either net cable into the back of the machine
And hear are the results. if it says, say 56 bytes of data, dose that mean it has downloaded from the site?

[attachment deleted by admin]
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 12, 2021, 02:57:27 AM
second photo

[attachment deleted by admin]
Title: Re: how easy is it to use the internet from the terminal command
Post by: Juanito on January 12, 2021, 02:59:11 AM
Yes, it worked
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 12, 2021, 07:53:05 AM
Yes, it worked
Great!
So if my land card can actually connect to the internet, then what is the next process regarding getting online please?
Title: Re: how easy is it to use the internet from the terminal command
Post by: Juanito on January 12, 2021, 08:27:34 AM
If you can ping google, then you are online..
Title: Re: how easy is it to use the internet from the terminal command
Post by: Greg Erskine on January 12, 2021, 11:30:00 AM
Try:

ping www.microsoft.com
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 12, 2021, 09:58:42 PM
If you can ping google, then you are online..
Sure!
But how do I get to the next step
Can I do a typical google search from the ping command or do I need to install more softweare like say a web browser or even the softwear manager tool (commonly found on linux mint distro)
Title: Re: how easy is it to use the internet from the terminal command
Post by: Greg Erskine on January 12, 2021, 10:30:31 PM
IMHO your best next step, to save you pain, would be to install Mint or maybe Windows 10. 8)
Title: Re: how easy is it to use the internet from the terminal command
Post by: corezoo on January 13, 2021, 06:41:11 PM
you are online!
Read chapter 4 of "Into the Core".
links.tcz is a command line web browser.
You are making progress, you have gone from nothing to getting on line.
Now that you know you can do it, have fun with tiny core while learning.
This is a good thing!
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 14, 2021, 01:45:24 AM
you are online!
Read chapter 4 of "Into the Core".
links.tcz is a command line web browser.
You are making progress, you have gone from nothing to getting on line.
Now that you know you can do it, have fun with tiny core while learning.
This is a good thing!
I read chapter 4 on the intor the core thanks! And I tried to follow it though the best I could
I got as far as 4.1 teck load, but I lost it after that
Anyway I think I have installed fire fox, as it said it has installed it (please see the photos attached)

If I have installed it then where has it installed it to? (since this is a live CD) And how do I access it?

Thanks
JBG



https://ibb.co/0K91bvK
https://ibb.co/1mc1dpc
https://ibb.co/xSKbkqB
https://ibb.co/B4kmGT6
https://ibb.co/6Zr68RX
https://ibb.co/wKQLwst
https://ibb.co/Jt46kD2
https://ibb.co/1d8bypV
https://ibb.co/HFvc52M
https://ibb.co/5swBgZb
https://ibb.co/cCffsz0
https://ibb.co/QYMHpG5

PS what is tce-ab
tce-ab - Tiny Core Extension: Application Browser?
Is it a site created by tiny core which works like an online libury of programs in the same way that the softwear manager dose for linux mint?
Title: Re: how easy is it to use the internet from the terminal command
Post by: cast-fish on January 14, 2021, 03:56:57 AM
Hello F,

it can be handy to know what  "Internet" means.

INTER-networking.

So, the world contains oceans of "internets"........and one particular one is a gigantic one called the
 "world Wide Web"

Added knowledge........>>> ........an "intranet" is something different where company machines may be linked to a common Master "server" and it serves out web pages but only from "itself".  It's not serving pages to the company client Terminals from the "world wide web"......(just from itself on a "closed" network that isn't
networked--UP to the "world wide web".

Back to "internet" .........INTER-networking.

Yeah, so with reference to this OP  (and subject)............how easy is it to use the internet at command prompt?

Well , the tasks of simply querying the "shell" to see if it returns a hyperTEXT proper URL address and an IP address where it's "address arrangement" indicates it's a true Word Wide Web  IP.

i forget the arrangement.   but the PUBLIC or  PRIVATE  indication (think so) within an IP address will indicate whether "real internet" from the world wide web is present or not.





REMEMBER what's above for reference...........

--------------------------------------------------------------------------------------------------------------------------

So yeah......another answer to the OP thread ...............>> "could be below"

.....your work assistants and staff of the CORP may have already created "internets" of their own.............it does NOT necessarily mean that those "internets"  WILL be, by default,  connected to the WORLD WIDE WEB---internet.

NO................O___o.............

REmember, an INTERNET is just a cluster of computers ......(likely in STAR linked networked formation)...... located at say some  point "A".......which is then "INTERNET--worked"  to another  group of "star connected networked computers at say point "B"

The link will be one line.....catETHER  ethernet cable...........between the TWO clusters..........

Thanks for reading above and hopefully it helps the forum's Know how.


(can i throw in Ruminating for the Forum below........?)

AN example of an internet "could" be the longest WIRE on earth......which stretches from NEWS CORP HQ in central New York City....USA............to the United Kingdom and the DEVONSHIRE coast .

A........... 5471.77 kilometer(S)...... long..........WIRE.

That submarine atlantic cable...... will likely Link on the idea of INTERNET(s). 

(....the cable carries all of the worlds media information and disseminates it via UPLINKING to "astra satellite fleets etc".....which then distribute this information on the European footprints and to those continents ................to the billions of earth consumers .

Also, an INTERNET  "could"  be the first example at the top there....in say an educational college Classroom (10 meter cable)

thanks

Cee

ps   it helps to appreciate things.......................O___o..........
Title: Re: how easy is it to use the internet from the terminal command
Post by: corezoo on January 14, 2021, 06:28:13 PM
Hi JBG,
I was under the impression that for some reason, unknown to me, we are staying with the command line interface.
If it is possible, it might be helpful to download and burn a CD with "TinyCore" or "CorePlus". Both have a graphical interface.
Either of these should boot into a graphical environment. If they do not type "startx", no quotes and all lower case to bring up the graphical interface. Firefox will only work in a graphical environment, which is why I had suggested the links web browser.
If you continue with what you have which I am guessing is "Core" then follow the instructions that Leee had posted earlier in this thread.

When running the CD without any persistence established on your hard drive everything is kept in your computers RAM and will be lost when rebooted.

Yes, tce-ab is similar to software manager in mint.

I will not be able to post for a few days but will try to answer you questions more thoroughly when I am able.

All the best,
Joe
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 15, 2021, 11:17:19 AM
Hi JBG,
I was under the impression that for some reason, unknown to me, we are staying with the command line interface.
If it is possible, it might be helpful to download and burn a CD with "TinyCore" or "CorePlus". Both have a graphical interface.
Either of these should boot into a graphical environment. If they do not type "startx", no quotes and all lower case to bring up the graphical interface. Firefox will only work in a graphical environment, which is why I had suggested the links web browser.
If you continue with what you have which I am guessing is "Core" then follow the instructions that Leee had posted earlier in this thread.
Sorry must of missunder stood. I will try links web browser and post back
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 15, 2021, 12:16:28 PM
OK I have installed linux :D
What next?

https://ibb.co/1Qv0Xqr
Title: Re: how easy is it to use the internet from the terminal command
Post by: NewUser on January 15, 2021, 12:25:54 PM
Start Links and start browsing the internet.
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 15, 2021, 12:39:24 PM
how do you start the program though?
Title: Re: how easy is it to use the internet from the terminal command
Post by: NewUser on January 16, 2021, 09:15:11 PM
I'm not a links user, but I'd guess, from your prompt enter links
Title: Re: how easy is it to use the internet from the terminal command
Post by: cast-fish on January 17, 2021, 04:16:17 AM
yeah...

The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a network of networks that consists of private, public, academic, business, and government networks of local to global scope, linked by a broad array of electronic, wireless, and optical networking technologies. The Internet carries a vast range of information resources and services, such as the inter-linked hypertext documents and applications of the World Wide Web (WWW), electronic mail, telephony, and file sharing.



The original posting  question(S) ..........how do you use the internet from the command prompt.

------------------------------------------------------------------------------------------------------------

1)........ using the internet for learning from  hypertext  (http) web page document(S)  WWW...........or whatever you want to do with the "internet"  transfer protocol.........tcp-ip  (protocol)......

.............a)  you can start as Tinycore opens it's apps browser ....so you already used the "internet" to do that 
               by typing (i think it's)  "appb" or "appbrowse" or "appbrowser" at the command prompt.
..............b)  Choose a web browser app such as "Links" and install it
..............c)  At the command prompt type "links https://www.bbc.co.uk

2)........or perhaps using  the "internet" TCP/ip  transfer protocol to  GATHER or download a FILE from any other computers........

...............a)  do  (a) above .......
................b) instal  "wget" app
................c)  at the command prompt  type  "wget (and some hypertext link to a file you want to download)

3)........or using the TCPI/IP transfer protocol to make Skype calls.......using the "internet" for that purpose3).

................a)  do (a) in 1
................b)  install an app such as skype
................c)  at command prompt type  "skype"  etc....to start it and make a global audio or video call Live.



thx


cee



Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 17, 2021, 09:12:00 AM
I just tried typing links into the command line and pressed enter and the program automaticly loaded ;D
I guess running a program in the shell is as simple as that, or as simple as needs be!

I found the about/ help tutorial so I will give it a read as there is a lot to take in for someone who has never used a web browser in the shell mode before

Thanks
JBG
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 17, 2021, 09:14:11 AM
Yes, tce-ab is similar to software manager in mint.

Dose that mean that from that command; I can install things like mp4 players and word prosesors and other stuff?
Title: Re: how easy is it to use the internet from the terminal command
Post by: Rich on January 17, 2021, 09:17:44 AM
Hi Jail Bill Gates
A lot of those types of programs require that X is running (GUI) and won't run in a shell.
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 17, 2021, 12:27:16 PM
Hi Jail Bill Gates
A lot of those types of programs require that X is running (GUI) and won't run in a shell.

I rick
I read some of the instruction manual and tried accessing the net
I managed to go to google, wikipida and youtube
I though somewhere in the instructioons it said you can view images in the shell terminal mode but not audio. As there are no image files displayed there what so ever!
Is there anyway I can view an image at all?

Might try and login to my accout hear and post from it on the tiny core shell OS soon
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 17, 2021, 02:23:59 PM
Hello everone!
I am logging in and typing this one out on my tiny core shell OS as we speak now

Its one small step for me to becoming a computer geak and avoiding bill gates produce
Title: Re: how easy is it to use the internet from the terminal command
Post by: jazzbiker on January 17, 2021, 02:30:45 PM
Hi, Jail Bill Gates!

Congratulations! :)
Title: Re: how easy is it to use the internet from the terminal command
Post by: corezoo on January 19, 2021, 05:50:24 PM
Hi JBG,
Glad to hear you got things working!
Title: Re: how easy is it to use the internet from the terminal command
Post by: Jail Bill Gates on January 20, 2021, 08:14:28 AM
Sure :D
Should I look at moving things further on now like installing it onto the HDD

Is there a way I can get the browser to display images and can the browser display my IP address?

Thanks
JBG
Title: Re: how easy is it to use the internet from the terminal command
Post by: corezoo on January 25, 2021, 05:56:00 PM
Hi JBG,
Quote
Should I look at moving things further on now like installing it onto the HDD
It seems that is being handled on another thread.
Quote
Is there a way I can get the browser to display images
I believe links2 is able to display images, I am not sure which version is in the repo or if that option was compiled into the binary.
Check and see if "links -g" works.
Quote
can the browser display my IP address
It might be able to do that or "ifconfig" will show that info.

It might be best to keep each thread limited to a single topic and start a new thread for each topic.
One thread for the image questions and a separate thread for the IP info question, for example.

Joe