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.

  • 相关阅读:
    在C#中子线程如何操作主窗口线程上的控件
    创建数据透视表数据包含合并单元格
    sql,nosql
    Enthought科学计算,数据分析
    程序员常去的14个顶级开发社区
    Windows查看进程taskList,终止进程tskill
    Pandas库之DataFrame
    centos下chm阅读器
    c++回调函数
    __NSAutoreleaseNoPool(): ... utoreleased with no pool in place
  • 原文地址:https://www.cnblogs.com/cnyin/p/1915894.html
Copyright © 2011-2022 走看看