Mini PCI-E漫遊網卡配置方法

1,WIFI模塊調試思路

(1)WIFI模塊安裝到電腦Mini PCI-E接口後,Ubuntu系統會識別到一個以太網口,而不是一個無線接口,這個需要注意。

(2)需要更新網口的驅動,驅動下載地址:

https://www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.23.0_Source.tar.bz2

(3)爲網口分配一個臨時的IP地址169.254.0.1 255.255.0.0,可以使用ifconfig分配,

(4)打開瀏覽器訪問WIFI模塊網口缺省IP地址:169.254.0.1

2,WIFI驅動更新

(1)查看當前網卡驅動版本:在驅動文件的根目錄中運行modinfo asix,這條指令會列出當前所有的asix的驅動。

(2)在Windows下或者是Linux中解壓文件,可根據壓縮包中Readme文件步驟操作。

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

Getting Start

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

1. Extract the compressed driver source file to your template directory by the following command:

[root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2

2. Now, the driver source files should be extracted under the current directory.Executing the following command to compile the driver:

解壓後,在文件夾中打開終端,在管理員權限下運行make

 [root@localhost template]# make               

3. If the compilation is well, the asix.ko will be created under the current directory.

4. If you want to use modprobe command to mount the driver, executing the following command to install the driver into your Linux:

[root@localhost template]# make install

 

或者是找到asix.ko的目錄,並將asix.ko刪除,然後重新執行上面的編譯安裝命令。

安裝完成安裝後,在驅動安裝目錄,在通過modinfo asix查看當前的版本。

可通過Dmesg查看具體的版本信息 正確的驅動版本爲V4.23.0。

3,IP地址配置方法

當系統提示無網絡連接之後,在管理員權限下分配IP地址:

ifconfig (eth0)169.254.0.10 netmask 255.255.0.0

eth0爲示例,可通過ifconfig查看對應的網卡名稱。

分配成功後,用ping命令驗證通訊是否成功。

Ifconfig設置的爲臨時IP地址,重啓後IP地址會丟失。

 

分配IP地址的目的是爲了與WIFI模塊的網口通訊。當USB網口的驅動安裝成功後,相當於給Ubuntu增加了一個以太網口,並與WIFI模塊的網口連接,,WIFI模塊的網口缺省IP地址:169.254.0.1,分配IP地址後,Ubuntu可與WIFI模塊網口通訊並配置。

 

4,當ubuntu可以ping通169.254.0.1,則打開瀏覽器訪問這個IP地址。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章