steve@Commodore64:~$ cd rtlwifi_new
bash: cd: rtlwifi_new: No such file or directory
steve@Commodore64:~$ git clone
git://github.com/lwfinger/rtlwifi_new.gitThe program 'git' is currently not installed. You can install it by typing:
sudo apt-get install git
steve@Commodore64:~$ sudo apt-get install git
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
iucode-tool libhdb9-heimdal libkdc2-heimdal libntdb1 linux-headers-4.2.0-23
linux-headers-4.2.0-23-generic linux-headers-4.2.0-38
linux-headers-4.2.0-38-generic linux-headers-4.2.0-39
linux-headers-4.2.0-39-generic linux-image-4.2.0-23-generic
linux-image-4.2.0-38-generic linux-image-4.2.0-39-generic
linux-image-extra-4.2.0-23-generic linux-image-extra-4.2.0-38-generic
linux-image-extra-4.2.0-39-generic python-ntdb
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,634 kB of archives.
After this operation, 24.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://us.archive.ubuntu.com/ubuntu/ wily-updates/main git-man all 1:2.5.0-1ubuntu0.2 [728 kB]
Get:2
http://archive.ubuntu.com/ubuntu/ wily/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:3
http://us.archive.ubuntu.com/ubuntu/ wily-updates/main git amd64 1:2.5.0-1ubuntu0.2 [2,885 kB]
Fetched 3,634 kB in 2s (1,394 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 344392 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.5.0-1ubuntu0.2_all.deb ...
Unpacking git-man (1:2.5.0-1ubuntu0.2) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.5.0-1ubuntu0.2_amd64.deb ...
Unpacking git (1:2.5.0-1ubuntu0.2) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:2.5.0-1ubuntu0.2) ...
Setting up git (1:2.5.0-1ubuntu0.2) ...
steve@Commodore64:~$ cd rtlwifi_new
bash: cd: rtlwifi_new: No such file or directory
steve@Commodore64:~$ git checkout rock.new_btcoex
fatal: Not a git repository (or any of the parent directories): .git
steve@Commodore64:~$ git clone
git://github.com/lwfinger/rtlwifi_new.gitCloning into 'rtlwifi_new'...
remote: Counting objects: 4336, done.
remote: Total 4336 (delta 0), reused 0 (delta 0), pack-reused 4336
Receiving objects: 100% (4336/4336), 7.13 MiB | 4.89 MiB/s, done.
Resolving deltas: 100% (3646/3646), done.
Checking connectivity... done.
steve@Commodore64:~$ cd rtlwifi_new
steve@Commodore64:~/rtlwifi_new$ git checkou rock.new_btcoex
git: 'checkou' is not a git command. See 'git --help'.
steve@Commodore64:~/rtlwifi_new$ git checkout rock.new_btcoex
Branch rock.new_btcoex set up to track remote branch rock.new_btcoex from origin.
Switched to a new branch 'rock.new_btcoex'
steve@Commodore64:~/rtlwifi_new$ make
make -C /lib/modules/4.2.0-42-generic/build M=/home/steve/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-42-generic'
CC [M] /home/steve/rtlwifi_new/base.o
CC [M] /home/steve/rtlwifi_new/cam.o
CC [M] /home/steve/rtlwifi_new/core.o
CC [M] /home/steve/rtlwifi_new/debug.o
CC [M] /home/steve/rtlwifi_new/efuse.o
CC [M] /home/steve/rtlwifi_new/ps.o
CC [M] /home/steve/rtlwifi_new/rc.o
CC [M] /home/steve/rtlwifi_new/regd.o
CC [M] /home/steve/rtlwifi_new/stats.o
LD [M] /home/steve/rtlwifi_new/rtlwifi.o
CC [M] /home/steve/rtlwifi_new/pci.o
LD [M] /home/steve/rtlwifi_new/rtl_pci.o
CC [M] /home/steve/rtlwifi_new/usb.o
LD [M] /home/steve/rtlwifi_new/rtl_usb.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8723b2ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtcoutsrc.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8192e2ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8723b1ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8821a1ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8821a2ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8812a1ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8812a2ant.o
CC [M] /home/steve/rtlwifi_new/btcoexist/halbtc8812a_ext.o
CC [M] /home/steve/rtlwifi_new/btcoexist/rtl_btc.o
LD [M] /home/steve/rtlwifi_new/btcoexist/btcoexist.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/led.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/pwrseq.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/pwrseqcmd.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/table.o
CC [M] /home/steve/rtlwifi_new/rtl8188ee/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8188ee/rtl8188ee.o
CC [M] /home/steve/rtlwifi_new/rtl8192c/main.o
CC [M] /home/steve/rtlwifi_new/rtl8192c/dm_common.o
CC [M] /home/steve/rtlwifi_new/rtl8192c/fw_common.o
CC [M] /home/steve/rtlwifi_new/rtl8192c/phy_common.o
LD [M] /home/steve/rtlwifi_new/rtl8192c/rtl8192c-common.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/led.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/table.o
CC [M] /home/steve/rtlwifi_new/rtl8192ce/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8192ce/rtl8192ce.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/led.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/mac.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/table.o
CC [M] /home/steve/rtlwifi_new/rtl8192cu/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8192cu/rtl8192cu.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/led.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/table.o
CC [M] /home/steve/rtlwifi_new/rtl8192de/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8192de/rtl8192de.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/led.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/pwrseq.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/pwrseqcmd.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/table.o
CC [M] /home/steve/rtlwifi_new/rtl8192ee/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8192ee/rtl8192ee.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/led.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/table.o
CC [M] /home/steve/rtlwifi_new/rtl8192se/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8192se/rtl8192se.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/hal_btc.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/hal_bt_coexist.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/led.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/pwrseq.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/pwrseqcmd.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/table.o
CC [M] /home/steve/rtlwifi_new/rtl8723ae/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8723ae/rtl8723ae.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/led.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/pwrseq.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/pwrseqcmd.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/table.o
CC [M] /home/steve/rtlwifi_new/rtl8723be/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8723be/rtl8723be.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/dm.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/fw.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/hw.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/led.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/phy.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/pwrseq.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/pwrseqcmd.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/rf.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/sw.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/table.o
CC [M] /home/steve/rtlwifi_new/rtl8821ae/trx.o
LD [M] /home/steve/rtlwifi_new/rtl8821ae/rtl8821ae.o
Building modules, stage 2.
MODPOST 14 modules
CC /home/steve/rtlwifi_new/btcoexist/btcoexist.mod.o
LD [M] /home/steve/rtlwifi_new/btcoexist/btcoexist.ko
CC /home/steve/rtlwifi_new/rtl8188ee/rtl8188ee.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8188ee/rtl8188ee.ko
CC /home/steve/rtlwifi_new/rtl8192c/rtl8192c-common.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192c/rtl8192c-common.ko
CC /home/steve/rtlwifi_new/rtl8192ce/rtl8192ce.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192ce/rtl8192ce.ko
CC /home/steve/rtlwifi_new/rtl8192cu/rtl8192cu.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192cu/rtl8192cu.ko
CC /home/steve/rtlwifi_new/rtl8192de/rtl8192de.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192de/rtl8192de.ko
CC /home/steve/rtlwifi_new/rtl8192ee/rtl8192ee.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192ee/rtl8192ee.ko
CC /home/steve/rtlwifi_new/rtl8192se/rtl8192se.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8192se/rtl8192se.ko
CC /home/steve/rtlwifi_new/rtl8723ae/rtl8723ae.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8723ae/rtl8723ae.ko
CC /home/steve/rtlwifi_new/rtl8723be/rtl8723be.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8723be/rtl8723be.ko
CC /home/steve/rtlwifi_new/rtl8821ae/rtl8821ae.mod.o
LD [M] /home/steve/rtlwifi_new/rtl8821ae/rtl8821ae.ko
CC /home/steve/rtlwifi_new/rtl_pci.mod.o
LD [M] /home/steve/rtlwifi_new/rtl_pci.ko
CC /home/steve/rtlwifi_new/rtl_usb.mod.o
LD [M] /home/steve/rtlwifi_new/rtl_usb.ko
CC /home/steve/rtlwifi_new/rtlwifi.mod.o
LD [M] /home/steve/rtlwifi_new/rtlwifi.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-42-generic'
steve@Commodore64:~/rtlwifi_new$ sudo make install
make -C /lib/modules/4.2.0-42-generic/build M=/home/steve/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-42-generic'
Building modules, stage 2.
MODPOST 14 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-42-generic'
Making backups
Install rtlwifi SUCCESS
steve@Commodore64:~/rtlwifi_new$
Then I restarted:
steve@Commodore64:~$ sudo modprobe -rv rtl8723be
[sudo] password for steve:
steve@Commodore64:~$ sudo modprobe -v rtl8723be ant_sel=1
insmod /lib/modules/4.2.0-42-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/4.2.0-42-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/4.2.0-42-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
insmod /lib/modules/4.2.0-42-generic/kernel/drivers/net/wireless/rtlwifi/rtl_pci.ko
insmod /lib/modules/4.2.0-42-generic/kernel/drivers/net/wireless/rtlwifi/btcoexist/btcoexist.ko
insmod /lib/modules/4.2.0-42-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko ant_sel=1
steve@Commodore64:~$