5. 安装Wireless Assistant 0.5.7(KDE可选)
下载地址: http://www.kde-apps.org/content/show.php?content=21832
在这里你会看到这么一段话:
* MAIN REQUIREMENTS:
- wireless-tools 27 or newer (with iwlib)
- dhcpcd or dhclient
- sudo
- wpa_supplicant with wpa_cli for WPA-PSK support
意思是说这个包需要上面几个依赖条件,wireless-tools为了配置无线是必需的,dhcpcd or dhclient就是上面提到过的dhcpcd,sudo是为了方便的使用su命令来使普通用户获得root用户的权限,wpa的这个是无线的加密包。我 选择了前三个,因为我在配置无线路由的时候,只用到了WEP加密(或者不用加密),所以不需要wpa这个包。
至于sudo如何安装,在BLFS的教程里说的很明白:
下载地址: http://anduin.linuxfromscratch.org/sources/BLFS/svn/s/sudo-1.6.8p12.tar.gz
http://www.linuxfromscratch.org/patches/blfs/svn/sudo-1.6.8p12-envvar_fix-1.patch
安装:
tar xvf sudo-1.6.8p12.tar.gz
cd sudo-1.6.8p12
patch -Np1 -i ../sudo-1.6.8p12-envvar_fix-1.patch &&
./configure --prefix=/usr --libexecdir=/usr/lib /
--enable-noargs-shell --with-ignore-dot --with-all-insults /
--enable-shell-sets-home &&
make
make install (as root)
配置/etc/sudoers
一个典型的例子:
# User alias specification
User_Alias ADMIN = [YourLoginId]
root ALL=(ALL) ALL
# Allow people in group ADMIN to run all commands without a password
ADMIN ALL = NOPASSWD: ALL
下载地址: http://www.kde-apps.org/content/show.php?content=21832
在这里你会看到这么一段话:
* MAIN REQUIREMENTS:
- wireless-tools 27 or newer (with iwlib)
- dhcpcd or dhclient
- sudo
- wpa_supplicant with wpa_cli for WPA-PSK support
意思是说这个包需要上面几个依赖条件,wireless-tools为了配置无线是必需的,dhcpcd or dhclient就是上面提到过的dhcpcd,sudo是为了方便的使用su命令来使普通用户获得root用户的权限,wpa的这个是无线的加密包。我 选择了前三个,因为我在配置无线路由的时候,只用到了WEP加密(或者不用加密),所以不需要wpa这个包。
至于sudo如何安装,在BLFS的教程里说的很明白:
下载地址: http://anduin.linuxfromscratch.org/sources/BLFS/svn/s/sudo-1.6.8p12.tar.gz
http://www.linuxfromscratch.org/patches/blfs/svn/sudo-1.6.8p12-envvar_fix-1.patch
安装:
tar xvf sudo-1.6.8p12.tar.gz
cd sudo-1.6.8p12
patch -Np1 -i ../sudo-1.6.8p12-envvar_fix-1.patch &&
./configure --prefix=/usr --libexecdir=/usr/lib /
--enable-noargs-shell --with-ignore-dot --with-all-insults /
--enable-shell-sets-home &&
make
make install (as root)
配置/etc/sudoers
一个典型的例子:
# User alias specification
User_Alias ADMIN = [YourLoginId]
root ALL=(ALL) ALL
# Allow people in group ADMIN to run all commands without a password
ADMIN ALL = NOPASSWD: ALL