LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-29-2016, 04:50 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

Bear in mind that any updates to the kernel will overwrite your shiny new driver and you'll need to "sudo make install" again to compensate. At least until debian 9 when it will all work out of the box flawlessly (in theory).
 
Old 12-29-2016, 12:40 PM   #32
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
I tried that codes but...
Code:
git clone https://github.com/lwfinger/rtlwifi_new rtlwifi_new_20161229
bash: git: command not found
what should i do to wifi?
 
Old 12-29-2016, 01:53 PM   #33
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
maybe that was because my kernel is old?

Code:
uname -a
Linux ION 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Can it possible update?
 
Old 12-29-2016, 02:26 PM   #34
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by THE PHANTOM View Post
I tried that codes but...
Code:
git clone https://github.com/lwfinger/rtlwifi_new rtlwifi_new_20161229
bash: git: command not found
what should i do to wifi?
install "git" then try that again. git clone ...
 
Old 12-29-2016, 02:26 PM   #35
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by THE PHANTOM View Post
I tried that codes but...
Code:
git clone https://github.com/lwfinger/rtlwifi_new rtlwifi_new_20161229
bash: git: command not found
what should i do to wifi?
Code:
sudo apt install git
Also, you're on Debian, it will always have "old" kernels
 
Old 12-29-2016, 02:37 PM   #36
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by The EzekielProject View Post
Code:
sudo apt install git
Also, you're on Debian, it will always have "old" kernels
it's
Code:
sudo apt-get install git
but you're an Archy dude, so yeah good guess...
 
Old 12-30-2016, 01:20 AM   #37
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Thanks friend for support. I will try it.
 
Old 12-30-2016, 11:13 AM   #38
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 version number is old, but there's enough backports on it, it is not really that old. The clickpad on the hp stream 11 requires version 3.19+, but works fine on debians 3.16. You'll need linux-headers and build tools as I said.

$ sudo apt-get install build-essential devscripts git linux-headers-3.16.0-4-amd64

And the previous should work fine. Otherwise apt-file can help you slim that down a bit since you don't really need all of build-essential and devscripts (until you do).

$ apt-file find bin/git | grep -i git$
$ sudo apt-get install git

Where the $ is the end of line null char so you can omit all the git-* things from git-extras and other packages you probably don't need (yet).
 
Old 12-30-2016, 02:49 PM   #39
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by BW-userx View Post
it's
Code:
sudo apt-get install git
but you're an Archy dude, so yeah good guess...
Yes, I use Arch mostly, But I am familiar with apt-get/dpkg and
Code:
 sudo apt install
actually works just fine, you don't need the "-get" for most of the commands now
 
Old 12-30-2016, 04:00 PM   #40
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by The EzekielProject View Post
Yes, I use Arch mostly, But I am familiar with apt-get/dpkg and
Code:
 sudo apt install
actually works just fine, you don't need the "-get" for most of the commands now
get the hell out of here. Are you serious?
shows you about the last time I used Debian. lol
 
Old 12-30-2016, 10:09 PM   #41
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Well, apt-get still works, and most of that is just front ends to dpkg. So not that most notice many of the changes, since you don't have to change with it to stay functional. Although the dpkg -l change gets me a bit. I compensate with dselect update and dpkg-query, where I should (by new methodologies) be using apt-cache search --names-only for most of the same functionality.
 
Old 12-31-2016, 06:47 AM   #42
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
apt-get and apt(not to confused with APT) behave differently.

Quote:
6.2. aptitude, apt-get, and apt Commands
APT is a vast project, whose original plans included a graphical interface. It is based on a library which contains the core application, and apt-get is the first front end — command-line based — which was developed within the project. apt is a second command-line based front end provided by APT which overcomes some design mistakes of apt-get.
Numerous other graphical interfaces then appeared as external projects: synaptic, aptitude (which includes both a text mode interface and a graphical one — even if not complete yet), wajig, etc. The most recommended interface, apt, is the one that we will use in the examples given in this section. Note however that apt-get and aptitude have a very similar command line syntax. When there are major differences between apt, apt-get and aptitude, these differences will be detailed.
https://debian-handbook.info/browse/...t.apt-get.html

Last edited by jens; 12-31-2016 at 06:52 AM. Reason: spell
 
1 members found this post helpful.
Old 12-31-2016, 07:38 AM   #43
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Happy new year to all!

Code:
git clone https://github.com/lwfinger/rtlwifi_new rtlwifi_new_20161229
Cloning into 'rtlwifi_new_20161229'...
remote: Counting objects: 4910, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 4910 (delta 2), reused 0 (delta 0), pack-reused 4901
Receiving objects: 100% (4910/4910), 7.83 MiB | 2.26 MiB/s, done.
Resolving deltas: 100% (4139/4139), done.
Checking connectivity... done.
root@ION:/home/gelapir# cd rtlwifi_new_20161229
root@ION:/home/gelapir/rtlwifi_new_20161229# make
make -C /lib/modules/3.16.0-4-amd64/build M=/home/gelapir/rtlwifi_new_20161229 modules
make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory.  Stop.
Makefile:58: recipe for target 'all' failed
make: *** [all] Error 2
root@ION:/home/gelapir/rtlwifi_new_20161229# sudo make install
make -C /lib/modules/3.16.0-4-amd64/build M=/home/gelapir/rtlwifi_new_20161229 modules
make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory.  Stop.
Makefile:58: recipe for target 'all' failed
make: *** [all] Error 2
2
I install git and tried git clone, why is that error 2?

Last edited by THE PHANTOM; 12-31-2016 at 08:43 AM. Reason: add
 
Old 12-31-2016, 09:26 AM   #44
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Code:
root@ION:/home/gelapir/linux-firmware_20161229/rtlwifi# for FILE in *.bin; do echo $FILE; cmp $FILE /lib/firmware/rtlwifi/$FILE; done
rtl8188efw.bin
rtl8188eufw.bin
rtl8192cfw.bin
rtl8192cfw.bin /lib/firmware/rtlwifi/rtl8192cfw.bin differ: byte 3, line 1
rtl8192cfwU_B.bin
rtl8192cfwU_B.bin /lib/firmware/rtlwifi/rtl8192cfwU_B.bin differ: byte 5, line 1
rtl8192cfwU.bin
rtl8192cufw_A.bin
rtl8192cufw_B.bin
rtl8192cufw.bin
rtl8192cufw_TMSC.bin
rtl8192defw.bin
rtl8192defw.bin /lib/firmware/rtlwifi/rtl8192defw.bin differ: byte 4, line 1
rtl8192eefw.bin
cmp: /lib/firmware/rtlwifi/rtl8192eefw.bin: No such file or directory
rtl8192eu_ap_wowlan.bin
cmp: /lib/firmware/rtlwifi/rtl8192eu_ap_wowlan.bin: No such file or directory
rtl8192eu_nic.bin
cmp: /lib/firmware/rtlwifi/rtl8192eu_nic.bin: No such file or directory
rtl8192eu_wowlan.bin
cmp: /lib/firmware/rtlwifi/rtl8192eu_wowlan.bin: No such file or directory
rtl8192sefw.bin
rtl8712u.bin
rtl8723aufw_A.bin
cmp: /lib/firmware/rtlwifi/rtl8723aufw_A.bin: No such file or directory
rtl8723aufw_B.bin
rtl8723aufw_B_NoBT.bin
rtl8723befw_36.bin
cmp: /lib/firmware/rtlwifi/rtl8723befw_36.bin: No such file or directory
rtl8723befw.bin
rtl8723befw.bin /lib/firmware/rtlwifi/rtl8723befw.bin differ: byte 7, line 1
rtl8723bu_ap_wowlan.bin
cmp: /lib/firmware/rtlwifi/rtl8723bu_ap_wowlan.bin: No such file or directory
rtl8723bu_nic.bin
cmp: /lib/firmware/rtlwifi/rtl8723bu_nic.bin: No such file or directory
rtl8723bu_wowlan.bin
cmp: /lib/firmware/rtlwifi/rtl8723bu_wowlan.bin: No such file or directory
rtl8723fw_B.bin
rtl8723fw.bin
rtl8821aefw_29.bin
cmp: /lib/firmware/rtlwifi/rtl8821aefw_29.bin: No such file or directory
rtl8821aefw.bin
rtl8821aefw.bin /lib/firmware/rtlwifi/rtl8821aefw.bin differ: byte 3, line 1
rtl8821aefw_wowlan.bin
cmp: /lib/firmware/rtlwifi/rtl8821aefw_wowlan.bin: No such file or directory
root@ION:/home/gelapir/linux-firmware_20161229/rtlwifi#
 
Old 12-31-2016, 12:33 PM   #45
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Well it looks like cmp is attempting to compare some files and it's not finding them.
From the various
Code:
 ... No such file or directory
errors that you're getting, I would first look at dependencies
 
  


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] YouTube loading slow elchucko Linux - Newbie 5 07-03-2016 11:11 AM
youtube video streaming extremely slow with puppy linux, how can i fix this? benmanny Puppy 8 01-11-2012 03:50 AM
youtube and other, online video players... going to slow miniu Linux - Software 2 01-30-2010 01:48 PM
Opera Is Slow When Playing YouTube taurusx5 Linux - Software 7 07-20-2008 09:42 PM
Lan Network Strem Online TV pls help orfey Linux - Networking 1 12-03-2006 05:54 PM

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

All times are GMT -5. The time now is 03:13 PM.

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