LinuxQuestions.org
Review your favorite Linux distribution.
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-08-2017, 08:06 AM   #31
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874

The firmware should be in /lib/firmware/rtlwifi/, but appears to be missing. As expected for a distro that excludes non-free blobs. If you want to use that card you need to acquire and install the firmware for it.

Code:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git firmware_kernel_all
Code:
$ sudo cp -v ./firmware_kernel_all/rtlwifi/*.bin /lib/firmware/rtlwifi/
Then reboot and the driver should load the now existing firmware and hopefully work. You could also modprobe -r and modprobe the rtl8192ce module to avoid rebooting. Things like this is why I like to install linux in linux with stuff like arch-chroot or debootstrap. It lets you get all the quirky networking stuff worked out before you have to actually use the network on a fresh install.

Most times I have ethernet options to other devices that handle wifi. In days of old my asus rt-n12 handled this ($40 at frys). But I gave my asus rt-n16 to my dad so now I only have the rt-n12 for the ISP side of wifi. So I ethernet to another laptop that bridges to the wifi. Someday I'll get a raspberry pi 3 or better and it'll handle that task.
 
Old 02-08-2017, 08:49 AM   #32
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
@#31: oh! I'm -learning-, in VBox, so I'm -not- aware of the whole concept of firmware *.bin
So, my post #29 probably won't work (fully anyway). I'm confused/lost (what will happen?):
`modinfo rtl8192ce` on Trisquel doesn't list the "firmware: ... .bin" (but has the .ko !)
 
Old 02-08-2017, 10:25 AM   #33
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,002
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
Vexon,

Quote:
I urgently need this machine to work, so I have to make compromises.
The first compromise is to ditch Trisquel and use another distro, preferably a lightweight one such as antiX-16.1.

I have a similar Realtek wifi card (RTL 8192E) inside my Samsung N220 netbook.

I am using the 32 bit version of antiX-16.1 and the wifi works without any modification.

I cannot guarantee that your RTL8188CE will work in a similar fashion, but it has to be worth a try.

antiX is usually very good at enabling wifi cards, including awkward ones from Broadcom.

Download the 32 bit antiX-16.1_386-full.iso:
http://antix.mepis.org/index.php?tit...Page#Downloads

antiX-16 FAQs:
http://download.tuxfamily.org/antix/...FAQ/index.html

To enable wifi after installation:

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

Here is a link to somebody using Debian 8 Jessie:
https://www.linuxbabe.com/desktop-li...lling-debian-8

There are specific instructions on how to deal with the Realtek RTL8188CE card.

EDIT

Having said all that, the easy way is to get a wifi adapter that works.

Here is another that works "out of the box" because I have just tried it.


TP-Link-TL-WN727N
($8 on ebay):

http://www.ebay.com/itm/TP-Link-TL-W...3D262822622542

Last edited by beachboy2; 02-08-2017 at 10:39 AM.
 
Old 02-08-2017, 02:09 PM   #34
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by Jjanel View Post
@#31: oh! I'm -learning-, in VBox, so I'm -not- aware of the whole concept of firmware *.bin
So, my post #29 probably won't work (fully anyway). I'm confused/lost (what will happen?):
`modinfo rtl8192ce` on Trisquel doesn't list the "firmware: ... .bin" (but has the .ko !)
Normally when it's missing it'll show up in dmesg. It'll also show up when it isn't missing.

$ dmesg | grep -i firmware

If you examine the source or use strings on the binary that is the kernel module (.ko), you'll see it there too.

$ strings /lib/modules/3.16.0-4-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko | grep .bin

For debian jessie on a 64 bit system. For other drivers it tends to end in .fw. Like my ethernet one for a device I actually have on the system I'm posting from.

$ strings /lib/modules/3.16.0-4-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko | grep -i .fw

Which firmware gets used depends on the hardware, so there will be more listed there than will get used by your system and your hardware. Replace 3.16.0-4-amd64 with $(uname -r) if you're not using debian. Although without the actual name, tab completion doesn't aid you in long path names.
 
Old 02-08-2017, 03:06 PM   #35
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Question Installing Non-Free Firmware/Software Offline!

Quote:
Originally Posted by beachboy2 View Post
You are not connected to the internet and therefore you cannot install any packages.
Are you sure about this? Isn't there a way of installing a driver offline? Anybody?

Quote:
I suggest that you read post #20 again.
You were faster than I could respond to your post #20. My response to that was post #26.
 
Old 02-08-2017, 03:21 PM   #36
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Exclamation Clarification: Free-OS vs. Non-Free Driver!

Quote:
Originally Posted by erik2282 View Post
You are saying conflicting things ... .You say you want free software only, ...
What conflicting things am I saying? And where did I say I want free software only?

Reading my posts again, I can't but wonder if my post #12 caused some confusion. What I meant to say there was:
Quote:
Originally Posted by Vexon View Post
... free software is a concern for me. ... I need the machine work right now, and I can't get new hardware.
That's why it's a very
Quote:
Unfortunate...
situation, because I'm gonna have to install the non-free driver now.

Does this maybe clarify things a bit better? Sorry for the confusion again.

And thanks for the help.

Cheers.
 
Old 02-08-2017, 03:44 PM   #37
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
Sorry, I only know how to write CLIese @ardvark: HELP! Please translate for me
Code:
# modinfo rtl8192ce
filename:       /lib/modules/4.4.8-NuTyX-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware:  ...
author: ...
...
*IF* this 'works' (gives info like above, vs. PROBABLY some 'not found' error)

modinfo rtl8192ce

try those commands, as root [in a 'terminal']. (Did you read [all of, skim thru at least] that:
http://askubuntu.com/questions/45645...n-ubuntu-14-04
link?)

p.s. this [note different rtl18##!] is 'expected'
# modinfo rtl8188ce
modinfo: ERROR: Module rtl8188ce not found.

Look for a net device *if&after* those modprobe rtl8192ce -work-, with:
ip a
ifconfig -a

The/my idea/guess is that: the rtl8192ce driver [might/probably] -work ok- for your rtl8188ce: http://wiki.debian.org/rtl819x web-search: RTL8188CE RTL8192CE linux
I can't even take specific parts of this post to respond, because I don't even get what part is what!

Jjanel, I think you just graduated from Chinese to Minoan!

Is this even legal?

Anybody wanna help??

Last edited by Vexon; 02-08-2017 at 03:48 PM. Reason: Add Smiley!
 
Old 02-08-2017, 03:57 PM   #38
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
... if you could somehow install the Atheros card, ...
I don't think that'll be happening. Unless, again, someone can suggest a way of doing that.

Quote:
there is a good chance that it [the Atheros card] will have exactly the same problem as the Realtek one and require additional software in order to enabled in Linux.
I am glad you said that, because I think I will have to switch that machine to GNU at some point too. A question though: Don't most Atheros cards have free drivers? I certainly saw some of them being advertised as precisely for being free/libre.

Quote:
Most Linux users have a special drawer containing several of these "tricky"/useless wireless adapters.
Whats a "special drawer"?
 
Old 02-08-2017, 04:05 PM   #39
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Exclamation Firmware vs. Driver!

Quote:
Originally Posted by Shadow_7 View Post
The firmware should be in /lib/firmware/rtlwifi/, but appears to be missing. As expected for a distro that excludes non-free blobs. If you want to use that card you need to acquire and install the firmware for it.

Code:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git firmware_kernel_all
Code:
$ sudo cp -v ./firmware_kernel_all/rtlwifi/*.bin /lib/firmware/rtlwifi/
Then reboot and the driver should load the now existing firmware and hopefully work.
What's the difference between the firmware and the driver? I think this is important, because if firmware is the software already present in the physical chip, and if I would be changing that, I would like to back it up first!

Again:

Quote:
the driver should load the now existing firmware
Anybody can provide some information please!

P.S.: By the way, the rest of the post went into a secondary language again for me (though I understood quite a bit, so it's not Chinese!).

Quote:
You could also modprobe -r and modprobe the rtl8192ce module to avoid rebooting. Things like this is why I like to install linux in linux with stuff like arch-chroot or debootstrap. It lets you get all the quirky networking stuff worked out before you have to actually use the network on a fresh install.

Most times I have ethernet options to other devices that handle wifi. In days of old my asus rt-n12 handled this ($40 at frys). But I gave my asus rt-n16 to my dad so now I only have the rt-n12 for the ISP side of wifi. So I ethernet to another laptop that bridges to the wifi. Someday I'll get a raspberry pi 3 or better and it'll handle that task.

Last edited by Vexon; 02-08-2017 at 04:07 PM. Reason: Change Wording!
 
Old 02-08-2017, 04:09 PM   #40
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
English Please!

Quote:
Originally Posted by Jjanel View Post
@#31: oh! I'm -learning-, in VBox, so I'm -not- aware of the whole concept of firmware *.bin
So, my post #29 probably won't work (fully anyway). I'm confused/lost (what will happen?):
`modinfo rtl8192ce` on Trisquel doesn't list the "firmware: ... .bin" (but has the .ko !)
Jjanel, seriously!
 
Old 02-08-2017, 04:14 PM   #41
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
The first compromise is to ditch Trisquel and use another distro, ...
Again, beachboy2, why would I need to do that? Can I not install this freak'n driver (free or non-free, doesn't matter) and be done with it? I mean, is this really this difficult?
 
Old 02-08-2017, 04:20 PM   #42
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
Okay ardvark71, sorry about that. Didn't mean no offence.
I didn't figure you did, thank you for working with on that.

Quote:
Originally Posted by Vexon View Post
Any comments?
Hmm, check the exact file name of the package. Is it the same as what you entered in the command? It's not seeing it for some reason...

Regards...
 
Old 02-08-2017, 04:23 PM   #43
Vexon
Member
 
Registered: Feb 2017
Distribution: Trisquel
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
Normally when it's missing it'll show up in dmesg. It'll also show up when it isn't missing.

$ dmesg | grep -i firmware

If you examine the source or use strings on the binary that is the kernel module (.ko), you'll see it there too.

$ strings /lib/modules/3.16.0-4-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko | grep .bin

For debian jessie on a 64 bit system. For other drivers it tends to end in .fw. Like my ethernet one for a device I actually have on the system I'm posting from.

$ strings /lib/modules/3.16.0-4-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko | grep -i .fw

Which firmware gets used depends on the hardware, so there will be more listed there than will get used by your system and your hardware. Replace 3.16.0-4-amd64 with $(uname -r) if you're not using debian. Although without the actual name, tab completion doesn't aid you in long path names.
I thought I owned this thread, but... Maybe not.

I let you two lads chat in your language I guess...
 
Old 02-08-2017, 04:25 PM   #44
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
Whats a "special drawer"?
Essentially a garbage can.

Also, if you have can establish an ethernet connection, take a look at post #31.

Regards...

Last edited by ardvark71; 02-08-2017 at 04:27 PM. Reason: Added information and link.
 
Old 02-08-2017, 04:30 PM   #45
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
Jjanel, seriously!
But he is trying to help.

I think he was following up on Shadow_7's idea (I think) of making sure that you have the driver module installed along with the firmware, otherwise just installing the firmware will do no good. Using the command "modinfo" and then the driver name would be a way of verifying that.

Regards...

Last edited by ardvark71; 02-08-2017 at 04:46 PM. Reason: Added information.
 
  


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 10:22 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