LinuxQuestions.org
Help answer threads with 0 replies.
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 11-15-2017, 02:45 AM   #1
byebyemrgates
Member
 
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 152

Rep: Reputation: Disabled
How do I install hardware driver from a cd in Mint Cinnamon?


Hi everyone - just trying Linux and LOVING IT! One hiccup so far - trying to install a driver for a USB wifi adapter. It came with a CD, on it there is a Linux folder; readme file says run install.sh Tried changing preferences to "make executable" - get an error message "not permitted - read-only". Read a lot on the forum, tried a few things in terminal (can't remember now all of it). Does anyone have a newbie - kind of solution? Cheers!
 
Old 11-15-2017, 02:52 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Quote:
Originally Posted by byebyemrgates View Post
Hi everyone - just trying Linux and LOVING IT! One hiccup so far - trying to install a driver for a USB wifi adapter. It came with a CD, on it there is a Linux folder; readme file says run install.sh Tried changing preferences to "make executable" - get an error message "not permitted - read-only". Read a lot on the forum, tried a few things in terminal (can't remember now all of it). Does anyone have a newbie - kind of solution? Cheers!
Is your USB wifi adapter not working?
If so, why not try a web search to see if there are any drivers available, that you can download with your package manager and install from there instead?

What is the make and model of this USB wifi adapter? Can you post that info?

Are you trying to change permissions on the CD?
If so, it will not work as the CD is read-only. Unless it's a CD-RW, you will not even be able to use CD/DVD burning software to modify it's contents.
 
1 members found this post helpful.
Old 11-15-2017, 03:23 AM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 759

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Hi; jsb forgot to Welcome you to LQ

Maybe you're running it ON the CD and it wants to write;
try copying (all of) it to hdd.

Also try: sh -vx install.sh
to try to focus in on what it's trying to write.

Basically, 'we' need more info/clues as to what is trying to write what

p.s. Oh, maybe there's other ways to install (some other) driver (from elsewhere);
look for ways to determine exactly what device...
https://www.cyberciti.biz/faq/linux-...driver-chipset

Last edited by !!!; 11-15-2017 at 03:29 AM.
 
1 members found this post helpful.
Old 11-15-2017, 04:35 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Quote:
Originally Posted by !!! View Post
Hi; jsb forgot to Welcome you to LQ

Maybe you're running it ON the CD and it wants to write;
try copying (all of) it to hdd.

Also try: sh -vx install.sh
to try to focus in on what it's trying to write.

Basically, 'we' need more info/clues as to what is trying to write what

p.s. Oh, maybe there's other ways to install (some other) driver (from elsewhere);
look for ways to determine exactly what device...
https://www.cyberciti.biz/faq/linux-...driver-chipset
!!!, The OP should be using their package manager to install things as a first resort. And ONLY when all else fails should they be attempting to go outside of their package manager. Unless they are experienced and/or have a good reason to.

I also forgot to mention that it might also be a firmware issue. For example, firmware that has not been installed, that their USB wifi adapter needs to work.
 
2 members found this post helpful.
Old 11-15-2017, 05:07 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
You can mount the CD.

# mount -t iso9660 /dev/cdrom /mnt/cdrom

It probably has some compressed filesystems on it. So you can mount those too. Easier said than done as you'll need the squashfs-tools or similar package already installed (probably still on the CD too).

# mount -t squash /mnt/cdrom/something.squashfs /mnt/squashfs

At which point you can find the ???/pool/??? .deb files that contain the files you need.

# find /mnt/cdrom/ -iname '*.*deb'
# find /mnt/squashfs/ -iname '*.*deb'

And install the one(s) you need.

# dpkg -i /mnt/cdrom/???/pool/???/firmware-special.deb

Or whatever other packages have meaning relative to your wifi drivers. I don't know about mint, but debian has a packages.debian.org site to get those .deb's directly from the web. Not exactly the easy route, but one of many routes.
 
1 members found this post helpful.
Old 11-15-2017, 06:36 PM   #6
byebyemrgates
Member
 
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 152

Original Poster
Rep: Reputation: Disabled
Thanks everyone

Thank you, everyone, so much for fast replies! Now I must remind you that I am a COMPLETE newbie, so please be patient with me ... Some people wrote various commands, but I am unfamiliar with using commands right now (is there some good guide I should study to learn to use the terminal?).
I just thought - they gave me CD, so there should be an easy way ... !!! wrote about copying the CD to HDD - maybe this will work?? How do I do that?
If you suggest command, please break it down for me a bit more... Thank you!!
 
Old 11-16-2017, 06:44 AM   #7
byebyemrgates
Member
 
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 152

Original Poster
Rep: Reputation: Disabled
It is a bit embarrassing, but ... it was all actually as easy as plugging the adapter into another USB port! I actually just assumed (based on some negative reports) that "Linux will give you trouble installing hardware" ... and so I went down the path of installing off the CD when the first attempt failed. I should have thought the best about Linux - just tried a different USB port and IMMEDIATELY an interface popped up showing the wi-fi networks ... I didn't have to do a thing ... so there must have been a generic driver already there, or something! Well, I AM impressed with Linux so far! It is definitely looking like "bye-bye Mr Gates" for me ...
Thank you, everyone, for all the replies! It is great to feel so supported! What I am seeing is that I need to do some study on using the terminal - perhaps someone can suggest the best source...
 
Old 11-16-2017, 06:52 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Can't say what the "best" source is but, the following looks like it might help you:

http://www.tldp.org/LDP/Bash-Beginne...ers-Guide.html
 
1 members found this post helpful.
Old 11-16-2017, 07:25 PM   #9
byebyemrgates
Member
 
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 152

Original Poster
Rep: Reputation: Disabled
Thank you jsbjsb001! But this source seems to teach about more advanced stuff, almost seems like programming ... is there anything that teaches just terminal commands? Cheers!!
 
Old 11-16-2017, 11:26 PM   #10
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 759

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Interesting that just trying a different USB port made it work!!!
I wonder IF it has something to do with USB 3.0 vs 2.0 [?]

There's sooooo many CLI utility tutorials... Here's a good 1; Try this web-search:
linux commands beginner tutorial

Add more keywords to focus on any particular area.
Do you like reading eBook .pdf's? (I prefer library 'paper' books)
My 2 favorites are: How Linux Works; GREAT for concepts!!!)
and Linux Bible (9th ed. systemd changed init stuff)

Big +1 for jsb's pointing out: basic GUI tools first

Enjoy your new 'zillion things playground' (that, once 'up', is infinitely better than M$windoze)
p.s. Use ThreadTools at top of page, to mark 'Solved', when done here.

Last edited by !!!; 11-18-2017 at 12:26 AM.
 
1 members found this post helpful.
Old 11-17-2017, 03:12 AM   #11
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Quote:
Originally Posted by byebyemrgates View Post
Thank you jsbjsb001! But this source seems to teach about more advanced stuff, almost seems like programming ... is there anything that teaches just terminal commands? Cheers!!
If I'm understanding you right, the following might be just what your after:

https://diyhacking.com/linux-commands-for-beginners/

http://www.informit.com/blogs/blog.a...Linux-Commands

The last link includes examples for ya.

Hopefully this answers at least some of your CLI questions.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
video driver issue trying to install Mint 18 Cinnamon on 2009 iMac placerstreet Linux - Software 0 11-15-2017 03:48 PM
[SOLVED] How to install ath10k driver on Linux Mint 17.2 cinnamon 64-bit? davdo91 Linux - Newbie 58 01-09-2016 01:48 AM
Mint 17 Cinnamon failed, stuck in fallback (likely caused by graphics driver install) ESPclipse Linux - Newbie 3 01-16-2015 05:10 PM
LXer: Dual-boot Mint 13 MATE/Cinnamon and Windows 8 on UEFI hardware LXer Syndicated Linux News 0 11-14-2012 03:50 PM

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

All times are GMT -5. The time now is 05:42 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