LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2017, 11:09 AM   #1
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Rep: Reputation: Disabled
Question Newbie questions, only 2.


Hello, I have an old Fujitsu Siemens laptop (192 MB RAM 677 MHz Celeron). I have a 2 questions, for now. . .

When I install Tiny Core Linux Distro from CD to HD all is working well. Also the Wifi dongle from Mediatek. But the mouse is uncontrollable.
Then I formatted the HD again and put Damn Small Linux on the HD. This is very nice, with the mouse working smoothly and all, but, no wifi dongle is recognized. So my first question is, how do i install a driver for the mediatek dongle? I already have 2 tar.bz2 files which would be the drivers, and i read some how to, to install, but ./configure gives me no such file or directory. make gives me command not found. When I unpack the package and I type Makefile, it gives me all sorts of errors. Also sudo su or not same errors.

Now I was used to Mint for example and when i plugged in a drive i could go to a filing program and see the drive. This is not so easy when i try to get it in damn small linux. I can mount the drive, but then i do not know where i can go to see the files and directories on the drive. Like typing E: (haha) does not work. So second question, how can i do this correctly.

If someone could point me in the right direction it would be very helpful.
Oh and I have no internet connection (yet) with the laptop so i am not apt-getting anything.

Thanks in advance.

Last edited by Jinux75; 07-27-2017 at 12:36 PM.
 
Old 07-27-2017, 01:24 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
When you untar a package, it expands to a directory. Inside it, you should see a README or INSTALL file which will tell you exactly how to proceed. It's better to follow these instructions than to rely on generalised ones that you got off the web.

To mount a plug-in drive, you usually use the mount command. I seem to remember that Mint mounts exchangeable drives automatically when you plug them in, but dsl probably doesn't. Usually these things are mounted somewhere under /media, for example /media/usb. It's important to note that Linux does not locate files under drive identifiers like Windows C: or E:. Instead you use mount to mount a drive on an empty directory, and the files go into that directory tree. So if, for example, a memory stick was mounted on /media/usb, files on it would be reached by /media/usb/filename. You need to know the drive designation to actually mount it, but once it is mounted, you can forget about all that.

Last edited by hazel; 07-27-2017 at 01:26 PM.
 
Old 07-27-2017, 01:58 PM   #3
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
If you want to try a more useful (in my opinion) alternative to TinyCore, seek out Puppy Linux "2.14x Classic Pup" version. I ran it for years on a laptop with almost the same exact specs as yours, a 1998-era ThinkPad 600E, PII, 192 MB RAM and 6 GB hard drive. I installed Puppy in "frugal" mode (see their documentation for details, or get back to us here if you're interested)

Cheers !

Rick

Last edited by Rickkkk; 07-27-2017 at 02:00 PM.
 
Old 07-27-2017, 02:17 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Welcome to LQ!

If you want to use su and have the roots environment then you must use; 'su -';
Quote:
From 'man su';
su - change user ID or become superuser

SYNOPSIS
su [options] [username]

DESCRIPTION
The su command is used to become another user during a login session. Invoked without a username, su defaults to becoming the superuser. The
optional argument - may be used to provide an environment similar to what the user would expect had the user logged in directly.
Your errors from just using 'su' and attempting 'root privileges' are due to not having roots environment with path.

Hope this helps.
Have fun & enjoy!
 
Old 07-27-2017, 07:38 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
May not be fully up to date.
http://www.damnsmalllinux.org/f/forum-2-26-0-0.html
 
Old 07-28-2017, 09:06 AM   #6
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
If you want to try a more useful (in my opinion) alternative to TinyCore, seek out Puppy Linux "2.14x Classic Pup" version. I ran it for years on a laptop with almost the same exact specs as yours, a 1998-era ThinkPad 600E, PII, 192 MB RAM and 6 GB hard drive. I installed Puppy in "frugal" mode (see their documentation for details, or get back to us here if you're interested)

Cheers !

Rick
Well I downloaded the puppy linux v2.4x and did a full install. The only thing is, that my mouse pad is very difficult to navigate. It opens all sorts of programs when I travel with the mouse over the desktop. And no Mediatek Wifi dongle can be found. But it looks nice though.

So now my quest is to get the touchpad to work properly and to find out if I can get this MediaTek Wifi Dongle to work. Could someone help me figure it out?

First I think I need to identify the hardware somehow, but this is something completely different then i am used to do with nixi i think... I will search the forums, but if anybody could point me to the right direction it would be appreciated.
 
Old 07-28-2017, 09:17 AM   #7
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hey Jinux75,

Search the Puppy Classic Pup 2.14x forum (used to be hosted on murga-linux - valuable resource ...) for synaptics. This has been a while, but I seem to remember having to create a config file to get the laptop's point-stick to behave properly. It is likely the same issue for your touchpad. I seem to remember that there was an alternate module for touchpads.
 
Old 07-28-2017, 09:26 AM   #8
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Hey Jinux75,

Search the Puppy Classic Pup 2.14x forum (used to be hosted on murga-linux - valuable resource ...) for synaptics. This has been a while, but I seem to remember having to create a config file to get the laptop's point-stick to behave properly. It is likely the same issue for your touchpad. I seem to remember that there was an alternate module for touchpads.
Hello Rickkk,

thanks, i will do that right now.. .. hmm 440 topics with synaptics in the puppylinux forum, i will be busy for a while

Last edited by Jinux75; 07-28-2017 at 09:34 AM.
 
Old 07-28-2017, 10:28 AM   #9
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Unhappy AAAhhhhhhh

Puppy does the same as tiny core with the mouse pointer it is uncontrollable, pitty. Only tiny core does work with the mediatek u7601 wifi dongle.
So now i got to fix 2 problems, the wifi dongle and the synaptics thing. I think i better quit puppy. I keep reading i need to: make and/or make install and install, but all these commands are not valid not in puppy not in tiny core not in dsl. So the graphic user interface looks really nice with the volkswagon on the background but when i open the console it does not look like a real terminal to me. I need to learn so much. There are so many different kinds of linux i am getting crazy. I have tried to read noob newbie beginner tutorials but it seems like there are also differences in what commando's that can be used for certain things. I am almost ashamed that i do not seem to get a grip of how it all seems to be working. I think i need to follow a professional course before i go and ask stupid questions in this great forum. I thought i could learn this my self, but getting the basics of from the internet is the hardest thing because there are so many different kind of solutions. There is no right way it seems. Well okay, when using Linux Mint for a while it was easy, but when trying to navigate thru the command line and all these different distro's it suddenly is very hard and i feel like a dumb someone who can not even copy a file from one directory to another. This make it less fun and i need the fun to be in it otherwise i can not learn. So the UI's are nice but what i like to learn is how to navigate in a terminal.

So my first idea is to figure out how the structure of directories is made up after installing. /bin /boot /dev /etc etcetera and lookup what they mean and what is in it... Yes i guess i am the newbie of newbies ;-(
 
Old 07-28-2017, 12:36 PM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
Directories:
/boot: files used for booting
/etc: system configuration files
/bin: essential user commands
/sbin: essential administrator commands
/lib: essential libraries
/usr/bin: less essential user commands and applications
/usr/sbin: less essential administrator commands
/usr/lib: less essential libraries
/usr/share: static information shared between programs (e.g. icon sets, documentation, time zone data)
/usr/include: library headers for building software
/var: dynamic information shared between programs
/var/log: system logs
/home: users' home directories
/dev: device files (virtual files that provide an interface to hardware drivers in the kernel)
/sys: hardware information provided by the kernel
/proc: information on hardware and running processes provided by the kernel
/tmp: temporary files belonging to programs
/run: temporary files belonging to the system which disappear on shutdown.

Last edited by hazel; 07-28-2017 at 12:37 PM.
 
Old 07-28-2017, 12:58 PM   #11
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Directories:
/boot: files used for booting
/etc: system configuration files
/bin: essential user commands
/sbin: essential administrator commands
/lib: essential libraries
/usr/bin: less essential user commands and applications
/usr/sbin: less essential administrator commands
/usr/lib: less essential libraries
/usr/share: static information shared between programs (e.g. icon sets, documentation, time zone data)
/usr/include: library headers for building software
/var: dynamic information shared between programs
/var/log: system logs
/home: users' home directories
/dev: device files (virtual files that provide an interface to hardware drivers in the kernel)
/sys: hardware information provided by the kernel
/proc: information on hardware and running processes provided by the kernel
/tmp: temporary files belonging to programs
/run: temporary files belonging to the system which disappear on shutdown.
Ooh thanks Hazel, this is handy :-)

I now need to figure out how i can go to the different drives. I see when formatting a drive it is called, /dev/sda1 so my guess is when i type cd /dev/sda1 i am on the hard drive partition 1. But also there is a /mount hmm but these directories you mentioned are very useful in my search of how the whole linux is set up and how i need to understand the way all is handled, so thanks again.
 
Old 07-28-2017, 01:14 PM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
Quote:
Originally Posted by Jinux75 View Post
I now need to figure out how i can go to the different drives. I see when formatting a drive it is called, /dev/sda1 so my guess is when i type cd /dev/sda1 i am on the hard drive partition 1.
No! Read my first post again. Device names can't be used as part of the file system. They are only used when you do something to the disk itself, for example mounting or unmounting it, or using fdisk to check it for errors.

To find files on a disk you must cd to the directory where it is mounted. If you mounted it yourself by hand, you will know where you mounted it. If it was mounted automatically, you will find the mountpoint listed against the device name in /etc/fstab.

In Windows, each disk is an island filesystem, so you must know what disk a file is on to find it. In Linux, all mounted disks form a single filesystem. You find a file through its directory path. Users who aren't administrators don't even need to know whether a branch of the directory tree is a separate disk or not.
 
Old 07-28-2017, 01:17 PM   #13
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hey Jinux75,

Never feel dumb - we were all where you are now when first trying linux. This forum is here for you - never hesitate to come here for help. You have the will to learn, the right attitude to help you do that, and a wealth of knowledge that members here will happily share with you.

Let me check what chipset is used in your Mediatek USB WiFi dongle and get back to you ... Puppy just sometimes requires that you install a package to support certain things.
 
Old 07-28-2017, 01:38 PM   #14
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Hey Jinux75,

Never feel dumb - we were all where you are now when first trying linux. This forum is here for you - never hesitate to come here for help. You have the will to learn, the right attitude to help you do that, and a wealth of knowledge that members here will happily share with you.

Let me check what chipset is used in your Mediatek USB WiFi dongle and get back to you ... Puppy just sometimes requires that you install a package to support certain things.
Ok thanks, but I gparted the hdd and am live cd-ing now with tiny core. Only that i have internet. . . but i can always do puppy again or what ever. No i am figuring out how to use swapfile=sda2 but then it says there is no usb drive, but in gparted sda2 is the second partition on the sda. Which used to be hda but they changed that to sda and i must be very careful to not mistake and know what drive is what otherwise i instal it on a usb. I have only one usb and that is fitted with the wifi dongle. but hey i will get there somehow.
 
Old 07-28-2017, 01:46 PM   #15
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
No! Read my first post again. Device names can't be used as part of the file system. They are only used when you do something to the disk itself, for example mounting or unmounting it, or using fdisk to check it for errors.

To find files on a disk you must cd to the directory where it is mounted. If you mounted it yourself by hand, you will know where you mounted it. If it was mounted automatically, you will find the mountpoint listed against the device name in /etc/fstab.

In Windows, each disk is an island filesystem, so you must know what disk a file is on to find it. In Linux, all mounted disks form a single filesystem. You find a file through its directory path. Users who aren't administrators don't even need to know whether a branch of the directory tree is a separate disk or not.
So in the system configuration directory /etc there would be a filesystem table i am guessing fstab means, and there would be all the directories which are actually different drives(filesystems)? I am now on a live cd of tiny core and i have mounted the hda (sda) and am in /etc. I can see fstab when i ls. but when i do cd /fstab it can't cd to /fstab... hmmz oohh i see fstab is not a directory it is a file :-|

How can i see the difference between files and directories, i can see all sorts of colours pink, blue, mint greem white and so on. I just cd something and when it says can't cd to something i assume it must be a file... and always the words permission denied.

I'll get there i have loads of time to figure it out. Thanks for the help it is much appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many newbie questions gadgets Linux - Newbie 3 04-02-2009 10:28 AM
a few newbie questions 46&2 Linux - Newbie 3 05-16-2004 09:41 PM
newbie questions G011um Linux - General 7 03-14-2002 09:56 PM
many questions from a newbie dirkduck169 Linux - Newbie 2 05-14-2001 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration