LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-09-2017, 03:22 PM   #61
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402

Quote:
Originally Posted by Vexon View Post
What can I do now?
Ok, you say you know you copied the file to the Desktop, so forget about the find command. I just gave that on the guess you wouldn't be sure of where the file was.

So, now it's simple, change to the Desktop directory, and run
Code:
su -c "dpkg -i /home/username/Desktop/firmware-realtek_0.43_all.deb"
replace username with your username, obviously.
 
Old 02-10-2017, 07:58 AM   #62
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Problem With Accessing Superuser!

Quote:
Originally Posted by goumba View Post
So, now it's simple, change to the Desktop directory, and run
Code:
su -c "dpkg -i /home/username/Desktop/firmware-realtek_0.43_all.deb"
replace username with your username, obviously.
For some reason, I can't access the superuser on my computer. It asks for the password, I enter it, and then it says "Authentication Failure" (see attached)! I thought maybe I messed up something, so I wiped out the entire hard drive, installed the OS from anew, and then tried it again, it's still the same. Installing the OS, I only set up two passwords; one for encrypting the drive, the other one for my user account. I tried both, but the result's the same! What the hell is going on? What's the superuser password?

How do I access the superuser privileges?
Attached Thumbnails
Click image for larger version

Name:	Picture 9.jpg
Views:	24
Size:	179.1 KB
ID:	24204  
 
Old 02-10-2017, 09:37 AM   #63
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Trisquel uses the 'Linux-libre' kernel. This has all of the firmware, which doesn't provide source code, removed.

Installing the firmware from Debian or Ubuntu may work. Your rtl8192ce module appears to specifically try to load some free firmware but fails, either due to some driver bug or because it's not there.

Linux kernel firmware for this driver is usually found in /lib/firmware/rtlwifi/

An ls of that directory might reveal something.

As Trisquel is Ubuntu based, it may follow the same tradition of disabling the root account and relying on sudo configured to act as root where necessary.

Try preceding those commands with sudo and then enter your normal user password.

If you can get the package to install, issue
Code:
# sudo modprobe -r rtl8192ce && modprobe rtl8192ce
to remove and reinsert the module

(Any firmware related messages should appear)

Last edited by cynwulf; 02-10-2017 at 09:40 AM.
 
Old 02-10-2017, 06:24 PM   #64
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Vexon,

Some additional information for you.

antiX-16.1 is based on Debian 8.7 (January 2017).

antiX-16.1 uses a customized Linux 4.4.10 kernel, compared to the stripped-out (2014) libre version 3.13 used by Trisquel.

Since you have access to another PC, you can create a bootable USB drive using the 32 bit antiX-16.1_386-full.iso from:
http://antix.mepis.org/index.php?tit...Page#Downloads

Installation:

1. Add a non-free component to /etc/apt/sources.list:

Code:
# Debian 8 "Jessie"
    deb http://httpredir.debian.org/debian/ jessie main contrib non-free
by means of:

Code:
 sudo nano /etc/apt/sources.list
2. Update the list of available packages and install the firmware-realtek package as root user:

Code:
 sudo su
apt-get update && apt-get install firmware-realtek

3. Configure your wireless interface:

Menu > Control Centre > Network > Network Interfaces (ceni) > wlan0 > follow wizard and give SSID/network name and wifi password.

Last edited by beachboy2; 02-10-2017 at 10:14 PM.
 
Old 02-12-2017, 10:46 AM   #65
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
I've done as goumba advised. I got the following screen (attached). It still says "No network devices available"!

What can I do now?
Attached Thumbnails
Click image for larger version

Name:	Picture 10.jpg
Views:	21
Size:	237.2 KB
ID:	24236  
 
Old 02-12-2017, 11:10 AM   #66
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Vexon,

Exit and reboot.
 
Old 02-12-2017, 04:26 PM   #67
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
Vexon,

Exit and reboot.
I did. It's still the same. It says "No network devices available"!
 
Old 02-12-2017, 11:09 PM   #68
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Help Needed!

Can anybody help please?
 
Old 02-13-2017, 02:32 AM   #69
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Vexon View Post
Can anybody help please?
Hi...

Did you look at cynwulf's post (#63) above? What is the result of the command he mentioned...

Code:
sudo modprobe -r rtl8192ce && modprobe rtl8192ce
Please post or upload a screenshot of the results.

Regards...

Last edited by ardvark71; 02-13-2017 at 02:33 AM. Reason: Added request.
 
Old 02-13-2017, 04:12 AM   #70
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Vexon View Post
I do understand that Realtek has not released its source code, such that no matter what distro, (or no matter what OS for that matter), the driver is going to be non-free.
Most hardware vendors don't release source code. Some do, some don't. Where they don't, you get reverse engineered drivers or no support at all.

This is not a matter of 'source code' anyway. I suggest that you have been 'led astray' a little by FSF/GNU absolutism (and you're not the first).

Running a 'free' Linux distribution like Trisquel, without really understanding why is really just a comfort blanket.

To elaborate - the binary firmware is not native executable code which runs on the OS. It is loaded onto and runs on the device itself.

Your hardware is loaded with such firmware anyway, it's in the UEFI/BIOS, video card, LAN adapters, hard disks, optical drives, etc... it's even in the CPU. You don't get the source code for this either, or a choice as to where to use it or not.

Some hardware is 'firmwareless' but the same kind of firmware is loaded onto the device by the driver on initialisation of the device. This is the difference between your realtek device and say an atheros or intel device where the firmware is already on the chip.

In the ideal world all of this firmware would be open and transparent, but you have much worse things lurking in your CPU or UEFI than a bit of firmware which is loaded onto a wifi chip...

It would be less hypocritical for FSF/GNU to just not support any platforms with binary firmware - i.e. "open hardware" only. That pretty much rules out x86, ARM and most others.

My suggestion is that you install a distribution which supports your hardware and learn to configure that. You can consider Trisquel again at a later date once you have a better grasp of the basics.

Last edited by cynwulf; 02-13-2017 at 04:15 AM.
 
2 members found this post helpful.
Old 02-14-2017, 08:51 PM   #71
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Excellent post cynwulf. Very informative, and indeed thought provoking. I thank you very much for it.

Coming back to my problem, I have to admit that I am still very resistant to install a new distro just because of a wireless card problem. Learning to install a driver shouldn't be that hard in my opinion. Further, I enjoy the learning curve.

Anyhow, I did as cynwulf (and then ardvark71) has advised and ran the command.

Quote:
Originally Posted by ardvark71 View Post
Hi...

Did you look at cynwulf's post (#63) above? What is the result of the command he mentioned...

Code:
sudo modprobe -r rtl8192ce && modprobe rtl8192ce
Please post or upload a screenshot of the results.

Regards...
Attached is the screenshot of the result. So what can I do now?

By the way cynwulf:
Quote:
Originally Posted by cynwulf View Post
... you have much worse things lurking in your CPU or UEFI than a bit of firmware which is loaded onto a wifi chip...
I there a way one can get rid of those things? I've been looking into coreboot for 8 years now, but seems quite complicated. I guess that leaves folks like us with the only option of buying something preloaded, no?

What are those much worse things by the way? Closed code that we have little idea what the hell it's doing??
Attached Thumbnails
Click image for larger version

Name:	Picture 11.jpg
Views:	21
Size:	243.2 KB
ID:	24257  

Last edited by Vexon; 02-14-2017 at 09:24 PM. Reason: Correct Typo!
 
Old 02-14-2017, 11:06 PM   #72
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Vexon View Post
Coming back to my problem, I have to admit that I am still very resistant to install a new distro just because of a wireless card problem.
You may have to. I didn't know this until now but if I understand correctly from my research of the error codes you provided in your screenshot, apparently the kernel (linux-libre) is deblobbing, or essentially removing or preventing the firmware from loading by way of a deblobbing script during boot. Or the deblobbed code is altered to where is rendered unusable. I would need someone to confirm that but here's some threads that led me to that conclusion...

https://trisquel.info/en/forum/open-...uel-have-blobs

https://trisquel.info/en/forum/missi...-error-message

https://lists.gnu.org/archive/html/b.../msg00009.html

https://trisquel.info/en/wiki/how-trisquel-made

If that's the case, then you will either need to replace your adapter or purchase a USB adapter that does not require any non-free software to function, if you want to continue using Trisquel.

Regards...

Last edited by ardvark71; 02-14-2017 at 11:12 PM. Reason: Added information.
 
Old 02-15-2017, 09:05 AM   #73
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Deblobbing Firmware at Runtime!

Quote:
Originally Posted by ardvark71 View Post
... if I understand correctly from my research of the error codes you provided in your screenshot, apparently the kernel (linux-libre) is deblobbing, or essentially removing or preventing the firmware from loading by way of a deblobbing script during boot. Or the deblobbed code is altered to where is rendered unusable. I would need someone to confirm that but here's some threads that led me to that conclusion...
https://trisquel.info/en/forum/open-...uel-have-blobs
https://trisquel.info/en/forum/missi...-error-message
https://lists.gnu.org/archive/html/b.../msg00009.html
https://trisquel.info/en/wiki/how-trisquel-made
If that's the case, ...
Yes ardvark71, why don't we try to confirm this. Meanwhile, the links you provided seem to indicate contrary to what you say, or this is my understanding of them. Here are some quotes:

1st link:
Quote:
sometimes when you deblob some driver or whatever, you might actually break it only because you forget to clean up the code to work without the blob, and not because it depended on the blob.
but then;
Quote:
Typically if a driver gets broken to the point where it doesn't work due to the deblobbing, it would fail to compile as well ...
Then on the 3rd link:
Quote:
Does deblobbing happen at runtime too? I thought it was only during
build time.


Right, it’s at at build time, but the “deblobbing script” leaves those
“DEBLOBBED” messages in places where it has removed firmware loading
capabilities.
Also of interest might be(again from 3rd link):
Quote:
Quilíro: firmware files are searched for in the directory specified in

the /sys/module/firmware_class/parameters/path pseudo-file (see the (gnu

build activation) module.)

Could you try, as root, something like (use the right package and module

name below):

echo -n $(guix build b43-firmware-whatever)/lib/firmware \
> /sys/module/firmware_class/parameters/path
insmod b43-module-whatever-its-called
dmesg | tail

… and report back?
I couldn't spot anything related to a deblobbing-script at runtime on the 4th link. And indeed, 4th link seems to be a bit more technical than my capabilities it seems.

So, is there a deblobbing script during boot like ardvark71 suspects?

Last edited by Vexon; 02-15-2017 at 09:11 AM. Reason: Fix Formatting!
 
Old 02-15-2017, 02:08 PM   #74
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Vexon View Post
Yes ardvark71, why don't we try to confirm this. Meanwhile, the links you provided seem to indicate contrary to what you say, or this is my understanding of them.
Hi...

And that could be, I'm just not sure in this case.

Regards...
 
Old 02-15-2017, 11:51 PM   #75
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Unhappy

Anybody?

goumba, cynwulf, anybody??
 
  


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
[SOLVED] Just installed Fedora 17 and the Wireless Adaptor is not being detected. mrtl Linux - Newbie 4 01-31-2013 06:03 PM
no wireless connection -- card detected, driver installed, config file adjusted noviciado Slackware 9 04-20-2009 02:26 PM
Wireless internet help on Dell Inspiron B130 - Wireless card not detected? agntyellow Linux - Laptop and Netbook 1 08-09-2006 11:42 PM
intel wireless pro 2200 detected as atheros wireless card? whf SUSE / openSUSE 5 08-29-2005 06:04 PM
Sound card not detected even after driver installed eam Linux - Hardware 7 11-11-2004 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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