Ubuntu中使用dnw工具:没有找到/dev/secbulk0
Ubuntu中使用dnw动机:
一、 之前没有用ubuntu中的dnw,想试试。
二、 因为换了win10系统,怕搞不定win10中dnw的驱动,想着在ubuntu中不用禁用数字签名啥的比较省心。(事实证明还是禁用数字签名最简单了~)
dnw安装步骤:
1、下载源码,放至windows和linux的共享文件夹,解压后进到/dnw-linux执行make和make install(代码是老师修改好的,直接用没有问题)
root@ubuntu:/mnt/hgfs/share/dnw-linux# make clean //由于之前make过先执行make clean
make -C src/dnw clean
make[]: Entering directory '/mnt/hgfs/share/dnw-linux/src/dnw'
rm -rf dnw *.o
make[]: Leaving directory '/mnt/hgfs/share/dnw-linux/src/dnw'
make -C /lib/modules/`uname -r`/build M=`pwd`/src/driver clean
make[]: Entering directory '/usr/src/linux-headers-4.4.0-93-generic'
CLEAN /mnt/hgfs/share/dnw-linux/src/driver/.tmp_versions
CLEAN /mnt/hgfs/share/dnw-linux/src/driver/Module.symvers
make[]: Leaving directory '/usr/src/linux-headers-4.4.0-93-generic'
root@ubuntu:/mnt/hgfs/share/dnw-linux# make
make -C /lib/modules/`uname -r`/build M=`pwd`/src/driver modules
make[]: Entering directory '/usr/src/linux-headers-4.4.0-93-generic'
CC [M] /mnt/hgfs/share/dnw-linux/src/driver/secbulk.o
In file included from /mnt/hgfs/share/dnw-linux/src/driver/secbulk.c:::
/mnt/hgfs/share/dnw-linux/src/driver/secbulk.c: In function ‘secbulk_write’:
include/linux/kernel.h::: warning: comparison of distinct pointer types lacks a cast
(void) (&_min1 == &_min2); \
^
/mnt/hgfs/share/dnw-linux/src/driver/secbulk.c::: note: in expansion of macro ‘min’
to_write = min(len, BULKOUT_BUFFER_SIZE);
^
Building modules, stage .
MODPOST modules
CC /mnt/hgfs/share/dnw-linux/src/driver/secbulk.mod.o
LD [M] /mnt/hgfs/share/dnw-linux/src/driver/secbulk.ko
make[]: Leaving directory '/usr/src/linux-headers-4.4.0-93-generic'
make -C src/dnw
make[]: Entering directory '/mnt/hgfs/share/dnw-linux/src/dnw'
gcc -g -o dnw dnw.c
make[]: Leaving directory '/mnt/hgfs/share/dnw-linux/src/dnw'
root@ubuntu:/mnt/hgfs/share/dnw-linux# make install
make -C /lib/modules/`uname -r`/build M=`pwd`/src/driver modules
make[]: Entering directory '/usr/src/linux-headers-4.4.0-93-generic'
Building modules, stage .
MODPOST modules
make[]: Leaving directory '/usr/src/linux-headers-4.4.0-93-generic'
make -C src/dnw
make[]: Entering directory '/mnt/hgfs/share/dnw-linux/src/dnw'
make[]: 'dnw' is up to date.
make[]: Leaving directory '/mnt/hgfs/share/dnw-linux/src/dnw'
make -C src/dnw install
make[]: Entering directory '/mnt/hgfs/share/dnw-linux/src/dnw'
cp dnw /usr/bin
make[]: Leaving directory '/mnt/hgfs/share/dnw-linux/src/dnw'
make -C /lib/modules/`uname -r`/build M=`pwd`/src/driver modules_install
make[]: Entering directory '/usr/src/linux-headers-4.4.0-93-generic'
INSTALL /mnt/hgfs/share/dnw-linux/src/driver/secbulk.ko
At main.c::
- SSL error::system library:fopen:No such file or directory: bss_file.c:
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.--generic
make[]: Leaving directory '/usr/src/linux-headers-4.4.0-93-generic'
cp dnw.rules /etc/udev/rules.d/
depmod
root@ubuntu:/mnt/hgfs/share/dnw-linux#
2、验证/dev目录下没有secbulk0,反复试了多次还是没有

3、没办法,老老实实在win10中装好了dnw的驱动,并且禁用了数字签名(可参考:http://jingyan.baidu.com/article/624e74594dbc8d34e8ba5aa6.html
),是的这样其实已经可以在win10使用dnw工具了,不死心的我始终坚信自己ubuntu中dnw驱动是装好的,于是又试了一遍,此时在虚拟机中断开于主机的连接,然后在/dev目录下竟然神奇的出现了secbulk0。这样就连接成功啦~~

4、dnw工具使用:
其他文档写的很多,不重复了。
Ubuntu中使用dnw工具:没有找到/dev/secbulk0的更多相关文章
- ubuntu中安装qgit工具-(转自Linux中国)
QGit是一款由Marco Costalba用Qt和C++写的开源的图形界面 Git 客户端.它是一款可以在图形界面环境下更好地提供浏览版本历史.查看提交记录和文件补丁的客户端.它利用git命令行来执 ...
- ubuntu中安装meld工具-(转自sukhoi27smk)
Ubuntu下文件/目录对比的软件Meld可能有很多用户还不是很熟悉,下文就给大家介绍如何安装Meld和移植到Gedit下.具体内容如下所述. Meld允许用户查看文件.目录间的变化.很容易移植到Ge ...
- 浏览器中开发人员工具快速找到dom元素绑定那些JS事件
在web开发过程中难免会遇到让程序员去修改一些js代码东西,例如js的ajax和php等语言的交互等,在这其中你不得不了解点js的事件触发,且随着js的盛行各种插件的事件让程序员眼花缭乱,所以借助一个 ...
- 在ubuntu中安装minicom时出现device /dev/tty8 is locked解决办法
未正常关闭minicom yesaidu@ywf-ubuntu: ~$ ls /var/lock LCK..ttyS0 subsys yesaidu@ywf-ubuntu: ~$ kill 0 ye ...
- Ubuntu中类似QQ截图的截图工具并实现鼠标右键菜单截图
@ 目录 简介: 安装: 设置快捷键: 实现鼠标右键菜单截图: 简介: 在Windows中用惯了强大易用的QQ截图,会不习惯Ubuntu中的截图工具. 软件名为火焰截图,功能类似QQ截图,可以设置快捷 ...
- Ubuntu中找到并杀死僵尸进程
Ubuntu中产生zombie进程让人很懊恼啊.Windows中在任务管理器里直接找到无响应的进程并结束他就行了,但是ubuntu中需要用命令去解决. System information as of ...
- Ubuntu中的Gif动画录制工具
为了在随笔中插入gif动态图Windows系统上可以使用ScreenToGif这个非常好用的小软件,在Ubuntu系统中选择也很多(可以参考最下面的链接),下面介绍两款ubuntu系统中的录屏软件: ...
- python的pip工具在windows和ubuntu中遇到的问题
pip问题 windows 描述:pip错误-failed to create process/fatal error in launcher 原因:电脑同时装了python2和python3,并且都 ...
- 在Ubuntu中安装MySQL
在Ubuntu中安装MySQL Ubuntu实用工具系列文章,将介绍基于Linux ubuntu的各种工具软件的配置和使用.有些工具大家早已耳熟能详,有些工具经常用到但确依然陌生.我将记录我在使用操作 ...
随机推荐
- 如何使用webapi集成swagger
现在B/S开发中,前后端分离无疑已经成为一种新的时尚,但是如何把后端开发的接口更好的提供给前段开发呢?还用接口文档?low了吧.不仅要花时间开发接口,还得花时间写文档,白花花的时间不久浪费了吗.如果接 ...
- 腾讯windows系统服务器
今天用腾讯的服务器搭建起了自己的博客,先看主页效果...简单的ui设计,主要就是要上服务器看看. 说说服务器的搭建: 1.卖,进腾讯云,自己对应的买操作系统的就可以的啦.具体的链接: https ...
- 微信小程序之自定义toast弹窗
微信小程序里面的自带弹窗icon只有两种,success和loading.有时候用户输入错误的时候想加入一个提醒图标,也可以使用wx.showToast中的image来添加图片达到使用自定义图标的目的 ...
- MATLAB学习笔记
魔方矩阵(magic(阶数)) 魔方矩阵又称幻方,是有相同的行数和列数,并在每行每列.对角线上的和都相等的矩阵.魔方矩阵中的每个元素不能相同.你能构造任何大小(除了2x2)的魔方矩阵. 希尔伯特矩阵( ...
- Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2)(A.思维题,B.思维题)
A. Vicious Keyboard time limit per test:2 seconds memory limit per test:256 megabytes input:standard ...
- 高性能网络编程(1)—accept建立连接(转载,作者:陶辉)
编 写服务器时,许多程序员习惯于使用高层次的组件.中间件(例如OO(面向对象)层层封装过的开源组件),相比于服务器的运行效率而言,他们更关注程序开发 的效率,追求更快的完成项目功能点.希望应用代码完全 ...
- zookeeper命令行操作
创建 #[-s] 顺序 #[-e] 临时节点 #path 节点 #data 该节点存储的数据 #acl 证书 create [-s] [-e] path data acl -s或-e指定节点特性:顺序 ...
- MySQL密码忘了怎么办?MySQL重置root密码方法
本文主要介绍Windows和Linux系统下忘记密码重置root密码的方法,需要的朋友可以参考下. MySQL有时候忘记了root密码是一件伤感的事.这里提供Windows 和 Linux 下的密码重 ...
- 本地如何使用phpstudy环境搭建多站点
http://jingyan.baidu.com/article/e52e36154227ef40c70c5147.html 平时在开发项目的时候, 多个项目同时开发的时候会遇到都得放到根目录才能正常 ...
- vue-cli的webpack模版项目配置解析
上一篇文章已经分析了build/dev-server.js,里面使用到了其他config文件. 那么我们这篇文章,按着dev-server.js的使用顺序,来分析下其他文件. 首选,调用check-v ...