orange pi驱动

cat /etc/modules

  1 # /etc/modules: kernel modules to load at boot time.
  2 #
  3 # This file contains the names of kernel modules that should be loaded
  4 # at boot time, one per line. Lines beginning with "#" are ignored.
  5
  6 #For SATA Support
  7 #sw_ahci_platform
  8
  9 ##Display and GPU
 10 lcd
 11 hdmi
 12 ump
 13 disp
 14 mali
 15 mali_drm
 16 8192cu
 17 8188eu
 18 8189es
 19 gpio-sunxi

root@OrangePI:/lib/modules/3.4.39/kernel/drivers/net/wireless# ls
bcmdhd  rt2x00  rtl8188eu  rtl8189es  rtl8723bs  rtlwifi

1.命令行输入

$ ifconfig
看是否有网卡(wlan*)
2.如果没有,根据网卡的型号加载相应模块

root@orangepilite:/etc# insmod 8189fs.ko
insmod: ERROR: could not load module 8189fs.ko: No such file or directory
root@orangepilite:/# find . -name 8189fs.ko
./lib/modules/3.4.112-sun8i/kernel/drivers/net/wireless/rtl8189fs/8189fs.ko
root@orangepilite:/# insmod ./lib/modules/3.4.112-sun8i/kernel/drivers/net/wireless/rtl8189fs/8189fs.ko
insmod: ERROR: could not insert module ./lib/modules/3.4.112-sun8i/kernel/drivers/net/wireless/rtl8189fs/8189fs.ko: File exists

$ insmod 8189*.ko

例如:RTL8189ftv对应的8189fs.ko,RTL8189etv对应的8189es.ko
3.输入命令ifconfig,应该可以看到wlan0(假设是wlan0)
4.配置无线,首先要知道ssid和psk(账号,密码),输入对应的wlan*,ssid,psk
$ sudo nano /etc/network/interfaces (添加如下内容)
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxx 
wpa-psk xxxx
5.之后重启电脑,无线即可连接上
$ sudo reboot

    A+
发布日期:2016年01月22日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: