關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP [論壇 - 新手村]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員三級
註冊日期:
2015/1/29 12:22
所屬群組:
已註冊使用者
等級: 11
HP : 0 / 269
MP : 54 / 6579
EXP: 78
離線
我有爬文 但是有看沒有懂,有下載連結 realtek-8192cu-concurrent-softAP-master.zip 這個檔案
因為看不懂英文,不懂得安裝方法~~請問有熱心的大大或高手 能教我安裝的方式嗎?先謝謝一聲

這是我找到的文章RTL8192CU and RTL8188CUS in Station and AP mode at the same time
http://randomstuffidosometimes.blogspot.tw/2016/03/rtl8192cu-and-rtl8188cus-in-station-and.html

我忘了補充 不知道, 他的驅動 Linux Mint LMDE 2 Betsy作業系統下能安裝嗎?


剛剛GOOGLE翻譯 他好像說打開文件/etc/apt/sources.list,並將文本contrib non-free(實在是看不懂意思..是要添加資料夾弄一個contrib non-free名稱嗎?)
要安裝所需的所有軟件包 不知道安裝能不能成功已經在跑了...傻傻亂安裝看看了~~~


1. Open the file /etc/apt/sources.list and add the text ”contrib non-free” to the end of the first two sources and the last two sources.
Save that file and run the following two commands:
(1.打開文件/etc/apt/sources.list,並將文本“contrib non-free”添加到前兩個源和最後兩個源的末尾。
保存該文件並運行以下兩個命令:)

Install all the packages needed
(安裝所需的所有軟件包)
sudo apt-get install firmware-realtek linux-headers-$(uname -r) build-essential dkms git fakeroot devscripts debhelper libssl-dev isc-dhcp-server

IMPORTANT: Run this if you are on Debian Squeeze and Wheezy:
(重要提示:如果您使用的是Debian Squeeze和Wheezy,請執行以下操作:)
sudo apt-get install libnl-dev

IMPORTANT: Run this if you are on Debian Jessie:
(重要:如果您在Debian Jessie上運行,請執行以下操作:)
sudo apt-get install libnl-3-dev



Continue:(繼續)
git clone https://github.com/pvaret/rtl8192cu-fixes.git
git clone https://github.com/jekader/hostapd-rtl.git
3. Enable concurrent mode in driver source code before compiling drivers
(在編譯驅動程序之前,在驅動程序源代碼中啟用並發模式)
nano ./rtl8192cu-fixes/include/autoconf.h
4. Compile and install drivers
(編譯並安裝驅動程序)
make
make install
cd ..
dkms add ./rtl8192cu-fixes
dkms install 8192cu/1.10
depmod -a
cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
Install RTL compatible HOSTAPD
(安裝兼容RTL的HOSTAPD)
cd hostapd-rtl

2017/4/22 21:07
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
管理員
註冊日期:
2010/5/7 5:46
所屬群組:
已註冊使用者
討論區管理群
等級: 31
HP : 0 / 755
MP : 434 / 28891
EXP: 23
離線

git clone https://github.com/pvaret/rtl8192cu-fixes.git --depth 1
cd rtl8192cu-fixes
make -j2
sudo make -j2 install
sudo sh -c "echo 'blacklist rtl8192cu' > /etc/modprobe.d/blacklist-rtl8192cu.conf"

其他方法我不知道,我自己的RTL8192CU是這樣驅動的。

2017/4/22 22:28
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員三級
註冊日期:
2015/1/29 12:22
所屬群組:
已註冊使用者
等級: 11
HP : 0 / 269
MP : 54 / 6579
EXP: 78
離線
nana 寫到:
晚安好 RTL8192CU驅動我會了, 想要學習softAP的設定,
感覺不像WIN系統 介面那樣簡單明瞭,,
Linux Mint 系統下 想要使用WIFI接收的網路加以 softAP的設定傳送出去
Linux Mint 系統下設定方面不知道能不能夠實現,感覺好難好難.
(迷之音:因為教學網址都英文,我並不懂英文,可能需要大師來翻譯一下)
如果真學不來就算了 哈哈 晚安 你的方法我會嘗試安裝 謝謝你

2017/4/22 22:48
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29303
EXP: 6
離線
cis 寫到:

...略...

剛剛GOOGLE翻譯 他好像說打開文件/etc/apt/sources.list,並將文本contrib non-free(實在是看不懂意思..是要添加資料夾弄一個contrib non-free名稱嗎?)

...略...



請參考

* Debian Wiki / SourcesList
* The Debian Administrator's Handbook / 6.1. Filling in the sources.list File (中文)
* Debian Reference / Chapter 2. Debian package management (中文)
* APT HOWTO (Obsolete Documentation) / Chapter 2 - Basic Configuration (中文)
* APT HOWTO (Obsolete Documentation) / Chapter 3 - Managing packages (中文)

## Manpage

* man sources.list

## 相關索引

* [索引] 套件操作實務
* The Debian Administrator's Handbook
* [影片教學][TOSSUG] Debian 套件打包工作坊

以上提供參考

報告完畢


2017/4/22 22:57
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29303
EXP: 6
離線
剛發現有另「一篇」相關的討論,

雖然裡面提到的下載連結失效了,不過可以參考一些操作的步驟。

關於這方面的議題,我也不懂。

順手附上這個連結,給未來有遇到相同問題的人,可以找到相關連結來參考。


## 相關連結

* #4 回覆: 請問如何查找驅動程式
* 鳥哥的私房菜 / 第十九章、開機流程、模組管理與 Loader / 19.2 核心與核心模組
* Linux DKMS 機制導入筆記
* Ubuntu Community Help Wiki / DKMS
* $ man dkms


這些連結,一併紀錄到這個「[索引] 網路設定

===========================================================

## Package: kmod

執行


$ whereis lsmod



顯示


lsmod: /bin/lsmod /sbin/lsmod /usr/share/man/man8/lsmod.8.gz



執行


$ which lsmod



顯示


/sbin/lsmod




執行


$ dpkg -S /sbin/lsmod



顯示


kmod: /sbin/lsmod



表示「/sbin/lsmod」這個指令(檔案),是屬於「kmod」這個「Package」。

上面的指令,也可以合併成一行

執行


$ dpkg -S $(which lsmod)



一樣會顯示


kmod: /sbin/lsmod



表示「/sbin/lsmod」這個指令(檔案),是屬於「kmod」這個「Package」。

執行


$ dpkg -l kmod



顯示


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-========
ii kmod 22-1ubuntu4 amd64 tools for managing Linux kernel modules



執行


$ dpkg -L kmod



顯示


/.
/bin
/bin/kmod
/bin/lsmod
/etc
/etc/depmod.d
/etc/depmod.d/ubuntu.conf
/etc/init
/etc/init.d
/etc/init.d/kmod
/etc/init/kmod.conf
/etc/modprobe.d
/etc/modprobe.d/blacklist-ath_pci.conf
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/blacklist-watchdog.conf
/etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/mlx4.conf
/lib
/lib/modprobe.d
/lib/modprobe.d/aliases.conf
/sbin
/sbin/depmod
/sbin/insmod
/sbin/lsmod
/sbin/modinfo
/sbin/modprobe
/sbin/rmmod
/usr
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/kmod
/usr/share/doc
/usr/share/doc/kmod
/usr/share/doc/libkmod2
/usr/share/doc/libkmod2/README
/usr/share/doc/libkmod2/TODO
/usr/share/initramfs-tools
/usr/share/initramfs-tools/hooks
/usr/share/initramfs-tools/hooks/kmod
/usr/share/man
/usr/share/man/fr
/usr/share/man/fr/man5
/usr/share/man/fr/man5/modules.5.gz
/usr/share/man/man5
/usr/share/man/man5/depmod.d.5.gz
/usr/share/man/man5/modprobe.d.5.gz
/usr/share/man/man5/modules.5.gz
/usr/share/man/man5/modules.dep.5.gz
/usr/share/man/man5/modules.dep.bin.5.gz
/usr/share/man/man8
/usr/share/man/man8/depmod.8.gz
/usr/share/man/man8/insmod.8.gz
/usr/share/man/man8/kmod.8.gz
/usr/share/man/man8/lsmod.8.gz
/usr/share/man/man8/modinfo.8.gz
/usr/share/man/man8/modprobe.8.gz
/usr/share/man/man8/rmmod.8.gz




執行


$ dpkg -L kmod | grep bin | sort



顯示


/bin
/bin/kmod
/bin/lsmod
/sbin
/sbin/depmod
/sbin/insmod
/sbin/lsmod
/sbin/modinfo
/sbin/modprobe
/sbin/rmmod
/usr/share/man/man5/modules.dep.bin.5.gz




執行


$ ls /bin/lsmod -l



顯示


lrwxrwxrwx 1 root root 4 Apr 24 2016 /bin/lsmod -> kmod



執行


$ file /bin/lsmod



顯示


/bin/lsmod: symbolic link to kmod



其他的依此類推


file /sbin/depmod
file /sbin/insmod
file /sbin/modinfo
file /sbin/modprobe
file /sbin/rmmod



顯示


/sbin/depmod: symbolic link to /bin/kmod
/sbin/insmod: symbolic link to /bin/kmod
/sbin/modinfo: symbolic link to /bin/kmod
/sbin/modprobe: symbolic link to /bin/kmod
/sbin/rmmod: symbolic link to /bin/kmod



執行


$ lsmod



執行


$ kmod list



執行


$ kmod -h



顯示


kmod - Manage kernel modules: list, load, unload, etc
Usage:
kmod [options] command [command_options]

Options:
-V, --version show version
-h, --help show this help

Commands:
help Show help message
list list currently loaded modules
static-nodes outputs the static-node information installed with the currently running kernel

kmod also handles gracefully if called from following symlinks:
lsmod compat lsmod command
rmmod compat rmmod command
insmod compat insmod command
modinfo compat modinfo command
modprobe compat modprobe command
depmod compat depmod command





## Manpage


執行


$ dpkg -L kmod | grep '/man/man.*/' | sort



顯示


/usr/share/man/man5/depmod.d.5.gz
/usr/share/man/man5/modprobe.d.5.gz
/usr/share/man/man5/modules.5.gz
/usr/share/man/man5/modules.dep.5.gz
/usr/share/man/man5/modules.dep.bin.5.gz
/usr/share/man/man8/depmod.8.gz
/usr/share/man/man8/insmod.8.gz
/usr/share/man/man8/kmod.8.gz
/usr/share/man/man8/lsmod.8.gz
/usr/share/man/man8/modinfo.8.gz
/usr/share/man/man8/modprobe.8.gz
/usr/share/man/man8/rmmod.8.gz




$ man depmod.d
$ man modprobe.d
$ man modules
$ man modules.dep
$ man modules.dep.bin

$ man depmod
$ man insmod
$ man kmod
$ man lsmod
$ man modinfo
$ man modprobe
$ man rmmod

===========================================================

## Package: dkms

執行



$ dpkg -S $(which dkms)



顯示


dkms: /usr/sbin/dkms



表示「/usr/sbin/dkms」是屬於「dkms」這個「Package」。


===========================================================

一些套件探索的技巧,可以參考「[索引]套件操作實務」,裡面有紀錄一些討論案例和參考連結。

===========================================================


以上提供參考

報告完畢


2017/4/25 5:07
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員三級
註冊日期:
2015/1/29 12:22
所屬群組:
已註冊使用者
等級: 11
HP : 0 / 269
MP : 54 / 6579
EXP: 78
離線
samwhelp 寫到:
謝謝分享~~
我那天測試之後,雙系統就怪怪了 不知道原因,本來以為安裝驅動很簡單softAP是一種很輕鬆實現的事情...再次謝謝你 感恩

2017/4/25 19:00
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29303
EXP: 6
離線
@cis

有件事要跟您說明一下


關於上面您的回覆「#3」「#6」。


上面回覆

* 「#3」會有「nana 寫到:」
* 「#6」會有「samwhelp 寫到:」

不過quote裡面的內容,並不是我們寫的,可能要麻煩您修改一下,以免造成誤會

感謝先

至於語法,可以參考「維基百科 / BBCode

您也可以在這個站查詢「bbcode」,也會找到相關的討論。

* [整理]常用的 BBCODE 簡單說明
* #9 回覆: 如何在 Terminal 一行裡同時下幾個指令?
* #8 回覆: 請問要怎麼設定開機時自動開啟指定檔案並具有root權限?

以「#3」為例,

您可以登入後,

然後在「#3」那篇回覆下方,按下「編輯」按鈕


然後會看到

[ quote=nana ]

...cis寫的內容...

[ / quote ]

修改成

[ quote ]

...cis寫的內容...

[ / quote ]


這樣「nana 寫到:」就不會出現了,但是會保有「quote」的效果。

以此類推「#6」,也是如此修改,

這樣「samwhelp 寫到:」也不會出現,但是會保有「quote」的效果。

再麻煩您了,再次感謝先

以上釐清


2017/4/26 0:08
應用擴展 工具箱
回覆: 關於WIFI 無線網路 RTL8192CU 驅動安裝 softAP
會員三級
註冊日期:
2015/1/29 12:22
所屬群組:
已註冊使用者
等級: 11
HP : 0 / 269
MP : 54 / 6579
EXP: 78
離線
samwhelp 寫到:
@cis

有件事要跟您說明一下


關於上面您的回覆「#3」「#6」。


上面回覆

* 「#3」會有「nana 寫到:」
* 「#6」會有「samwhelp 寫到:」

不過quote裡面的內容,並不是我們寫的,可能要麻煩您修改一下,以免造成誤會

感謝先

至於語法,可以參考「維基百科 / BBCode

您也可以在這個站查詢「bbcode」,也會找到相關的討論。

* [整理]常用的 BBCODE 簡單說明
* #9 回覆: 如何在 Terminal 一行裡同時下幾個指令?
* #8 回覆: 請問要怎麼設定開機時自動開啟指定檔案並具有root權限?

以「#3」為例,

您可以登入後,

然後在「#3」那篇回覆下方,按下「編輯」按鈕


然後會看到

[ quote=nana ]

...cis寫的內容...

[ / quote ]

修改成

[ quote ]

...cis寫的內容...

[ / quote ]


這樣「nana 寫到:」就不會出現了,但是會保有「quote」的效果。

以此類推「#6」,也是如此修改,

這樣「samwhelp 寫到:」也不會出現,但是會保有「quote」的效果。

再麻煩您了,再次感謝先

以上釐清

您真可愛 感謝您

2017/4/26 10:06
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.