zoukankan      html  css  js  c++  java
  • dell mini9 fluxbox 亮度的调节和 wireless 无线网卡的安装

    通过修改首先到 sys/devices/virtual/backlight/acpi_video0/
    然后 sudo -s

    然后 sudo echo -n 3 > brightness

    就可以修改mini9的亮度了,范围是0-15, 上面的>前后一定要加空格 

    安装的是ubuntu server 8.0

    首先是弄到wireless driver的两个包

     broadcom-sta-source_5.10.91.9.3-1_all.deb

     broadcom-sta-common_5.10.91.9.3-1_all.deb

    使用dpkg安装这两个包 

    $ su
    # dpkg -i broadcom-sta-*deb
    这个地方我的ubuntu server会出现要求7.0以上的debhelper,可以自己下载安装
    也可以下载一个debhelper7.0的deb包

    然后首先apt-get install debhelper

    由于ubuntu的最新的debhelper是6.0,所以我们可以使用6.0的debhelper来安装debhelper 7.0

    然后首先安装

    apt-get install module-assistant

    apt-get install build-essential

    apt-get install quilt

    apt-get install wireless-tools


    # m-a a-i broadcom-sta

    # modprobe wl
    Verify your device has an available interface:

    使用下面的命令,查看网卡信息,比如网卡名称 

    # iwconfig

    安装软件

    wpa_supplicant

    # apt-get install wpasupplicant
    WPA-PSK and WPA2-PSK
    Also known as "WPA Personal" and "WPA2 Personal" respectively.

    Restrict the permissions of /etc/network/interfaces, to prevent pre-shared key (PSK) disclosure:

    # chmod 0600 /etc/network/interfaces
    Open /etc/network/interfaces in a text editor:

    # vim /etc/network/interfaces
    Define appropriate stanzas for your wireless interface, along with the SSID and PSK. For example:

    auto wlan0    //这个位置注意,wlan0的名字应该替换为我自己iwconfig以后出现
    iface wlan0 inet dhcp    //的名字,我自己目前的就是eth1
     wpa-ssid mynetworkname
     wpa-psk mysecretpassphrase
    The "auto" stanza will bring your interface up at system startup. If not desired, remove or comment this line.
    Save the file and exit the editor.
    Bring your interface up. This will start wpa_supplicant as a background process.

    # ifup wlan0
    Additional wpa-* options are described within /usr/share/doc/wpasupplicant/README.modes.gz. This should also be read if connecting to a network not broadcasting its SSID.

  • 相关阅读:
    直击微软第九频道著名主持Robert Green 对话一站式示例代码库大老板梁梅女士
    微软发布中文版一站式示例代码浏览器
    每日一例,练就编程高手
    微软发布Visual Studio 2012 示例代码浏览器
    微软发布Sample Browser for Windows 8版:5000示例代码,"触手可及"
    arthas使用总结
    前端如何生成二维码
    golang的helloworld以及nonmain package的troubleshooting
    监控文件的网页工具
    postfix + courierimap + squirrelMail 邮件服务器
  • 原文地址:https://www.cnblogs.com/cnyin/p/1915894.html
Copyright © 2011-2022 走看看