veket官方网站论坛

禧乐无忧 发表于 2011-12-17 11:07

安装3DSP无线网卡,sudo出现command not found

本帖最后由 禧乐无忧 于 2011-12-17 11:28 编辑

从3dsp官方网站下载的用于Ubuntu linux驱动。根据Readme提示,解压以后到驱动程序的目录,右击点击终端,输入sudo bash Install_3DSPUDB.sh
结果出现sudo: command not found

第二次尝试:login,root,密码,cd到驱动目录,输入 ./Install_3DSPUSB.sh结果是Permission denied

.sh 这样的驱动怎么装哦?

一扇一 发表于 2011-12-17 11:33

凡是看到sudo的地方就扔掉好了,这是多余的,就是在你用非root用户登录的时候才需要用到。

不过自己安装驱动是个技术活儿,用win的不行么?试过未有呢?

禧乐无忧 发表于 2011-12-17 11:39

在网上找到下面的解决:但我在ect下面没有selinux这个目录,怎么办?

在linux上安装有些东西时会出现 Permission denied 的情况:

以下就是解决它的办法之一 编辑/etc/selinux/config,找到这段:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled. SELINUX=enforcing


把 SELINUX=enforcing 注释掉:#SELINUX=enforcing ,然后新加一行为: SELINUX=disabled 保存,关闭。 ......

编辑/etc/sysconfig/selinux,找到:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled. SELINUX=enforcing

如果SELINUX已经是 SELINUX=disabled,那么就不用改了,否则就把SELINUX=enforcing 注释掉,新加一行: SELINUX=disabled 保存,退出。
如果你碰到其他类似提示: cannot restore segment prot after reloc: Permission denied 哪应该是SELinux的问题,可以考虑把它关闭。

禧乐无忧 发表于 2011-12-17 11:55

回复 一扇一 的帖子

这个网卡win安装文件是EXE,没法提取。
点击网卡属性里面的驱动说明是个sys文件,system下不知道哪个inf文件是网卡的,nidswarrper还是没法用,这个怎么办?

天道无忧 发表于 2011-12-17 12:05

回复 禧乐无忧 的帖子

xp和win人驱动有ini或者在网上搜索一个。


自己编译驱动的话新手估计不容易。
页: [1] 2
查看完整版本: 安装3DSP无线网卡,sudo出现command not found