Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: Wally on December 20, 2011, 11:41:32 PM

Title: Micro Questions
Post by: Wally on December 20, 2011, 11:41:32 PM
Hi,

I'm running Microcore from a USB boot on a Dell Mini.

Now, what can I really do with it?

vi seems to be the only thing that works, so far.

Can I actually connect with wifi or ethernet?

is there a command for help or a list of linux commands in micro core?

thanks alot,
Wally
Title: Re: Micro Questions
Post by: gerald_clark on December 20, 2011, 11:47:54 PM
Start by reading the home page and the wiki.
There are thousands of applications in the repos.
Title: Re: Micro Questions
Post by: netnomad on December 21, 2011, 01:56:09 AM
another approach:
install mc.tcz (midnight commander),
then dig around in the filesystem, read files and script like in a big library and learn by moving around.
there is enough to find and learn!
Title: Re: Micro Questions
Post by: curaga on December 21, 2011, 05:39:16 AM
List of commands =[tab] [tab]
Title: Re: Micro Questions
Post by: Wally on December 21, 2011, 10:47:05 AM
Can someone refresh my memory how to install,
say midnight commander?

also I tried wifi.sh, but it asks for root privileges, password for su?

and when I [tab] [tab] the list of commands scrolls
by too fast...can't see A-F..

help!
thanks
Wally

I'd rreally like to connect to wifi from microcore,
Title: Re: Micro Questions
Post by: bmarkus on December 21, 2011, 10:52:05 AM
Regarding WIFI, just

Quote
sudo wifi.sh
Title: Re: Micro Questions
Post by: Juanito on December 21, 2011, 10:55:20 AM
Probably the best way to install an extension from microcore is ab
Title: Re: Micro Questions
Post by: floppy on December 21, 2011, 05:13:21 PM
Can someone refresh my memory how to install,
say midnight commander?

also I tried wifi.sh, but it asks for root privileges, password for su?

and when I [tab] [tab] the list of commands scrolls
by too fast...can't see A-F..

help!
thanks
Wally

I'd rreally like to connect to wifi from microcore,
My thoughts.

Install an extension?    $ tce-load -wi mc  (midnight in this case)

Start mc?                     $ mc -x

Use root privilege?        $ sudo "..command here.."

mc with root privilege?  $ mc -x (then close mc)
                                     $ sudo mc -x

setup password?          from the cups extension info file..
                                     $ sudo passwd
                                     put "/etc/shadow" in your backup if you want to save the root password (read the wiki regarding how to backup
                                         and restore automatically)

MicroCore?                   I use it with a GUI (desktop as extension flwm_topside, extension wbar, Xlibs, Xprogs, Xvesa or Xorg74,
                                     appbrowser_cli).
                                    Without GUI?: a bit too much hardcore for me.. ;-) but why not. Perhaps a Dell mini accept a GUI?
Title: Re: Micro Questions
Post by: Wally on December 21, 2011, 05:24:44 PM
 :)Thanks, Floppy

that helped

any ideas about when [tab] [tab]
the screen goes by too fast
and you cant see commands A-F?

and wifi.sh can't see my Dell Mini wifi card,
what can I do?
and why does not a simple 'ls' work to show files?

thanks,
Wally
Title: Re: Micro Questions
Post by: Rich on December 21, 2011, 05:38:35 PM
Hi Wally
ls  shows files in the directory you are currently in.
ls -a  will also display any hidden files.
If you are planning on working from the command line, you need to read up on some of the basic
Linux commands.
Title: Re: Micro Questions
Post by: coreplayer2 on December 21, 2011, 07:14:44 PM
The most valuable and favorite commands for me whilst learning core have been, most of these you'll find in the wiki:

sudo poweroff
sudo reboot
ab (app name)
tc-audit
vi file_name
sudo find / -iname filename*
./script_name.sh
tc-load -i myapp.tcz
cd..
ls -a



microcore or core alone are really for specific requirements, perhaps try tinycore or coreplus for almost unlimited  choices
Title: Re: Micro Questions
Post by: Rich on December 21, 2011, 08:35:03 PM
Hi Wally
Quote
sudo poweroff
sudo reboot
If you run either of the above commands without running a backup first, and you have files you want
to keep residing on non-persistent storage, you will lose them.
Title: Re: Micro Questions
Post by: Juanito on December 21, 2011, 10:30:32 PM
and wifi.sh can't see my Dell Mini wifi card,
what can I do?

Check what kind of card it is using the pci-utils extension command "lspci" and then use google to check what is needed for your card to work.
Title: Re: Micro Questions
Post by: coreplayer2 on December 22, 2011, 01:28:59 AM
Hi Wally
Quote
sudo poweroff
sudo reboot
If you run either of the above commands without running a backup first, and you have files you want
to keep residing on non-persistent storage, you will lose them.

Rich is a wise man, and as always offers sound advice :)

Only if you utilize a backup right?  my persistent storage doesn't rely on the backup and still works great besides,  this is AFAIK the only way to shut the pc down in core anyhow as the the "Exittc" does not appear to be functional..   so I guess if utilizing a backup file then you can append to the backup or the pc will boot next time to the last created backup, that's how it works for me  :p

Title: Re: Micro Questions
Post by: Rich on December 22, 2011, 01:50:04 AM
Quote
Rich is a wise man
Wrong, Rich is a cautious man.
Quote
Only if you utilize a backup right?
Which is something you will want to do when installing certain extensions. Examples:
For Samba you want to backup  /usr/local/etc/samba/smb.conf
For ALSA you want to backup  /etc/asound.state  and possibly  opt/alsa  and  etc/modprobe.conf
If you add users and/or set passwords, you will want to backup the appropriate files in  /etc  as well.
Quote
so I guess if utilizing a backup file then you can append to the backup or the pc will boot next time to the last created backup, that's how it works for me
Which is how it was designed to work.
Title: Re: Micro Questions
Post by: coreplayer2 on December 22, 2011, 03:23:16 AM
lol   ;D

I agree, yet I've become less reliant on the backup file since it hasn't been as reliable as i'd like it to be.  I've lost the contents of the backup file on numerous occasions, including the loss of the filetool.lst contents,  heck I keep backups of the filetool.lst for such an event, like when updating tinycore versions, then after rebooting finding my perfectly setup filetool.lst replaced with default setup, etc. 
Many ways around the dilemma however.. for example one can make the filetool.lst immutable once you have it set up the way you like it.  Or make a remastered image with the backup injected., or as the wiki suggests make an extension with one's important configuration files.  I use all of the above depending on the type of tc install.. :)

I believe Rich is referring to this command (below), to be used before sudo poweroff / reboot, like I said the above commands are my favorites and iirc were all I needed to install core, configure it, write scripts, test and install them. download, install and update apps/extensions.  never needed the filetool backup script in this cli install of core.   

filetool.sh -b

 
Title: Re: Micro Questions
Post by: floppy on December 22, 2011, 04:29:46 PM

and wifi.sh can't see my Dell Mini wifi card,
what can I do?

(from Juanito)
$ tce-load -wi pci-utils
$ lspci > lspci.txt
$ mc (open the files /home/tc/lspci.txt and dmesg.txt and you will see your card name anywhere)
(post the file as attachment here and we will have a look for you and can help making the recommendation for the driver to load)