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的各种工具软件的配置和使用.有些工具大家早已耳熟能详,有些工具经常用到但确依然陌生.我将记录我在使用操作 ...
随机推荐
- ubuntu使用rdesktop连接win10的两个问题
关闭防火墙,解决主机ping不通虚拟机的问题 win10需要修改注册表 \HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStatio ...
- CSS属性:定位属性(图文详解)
本文最初发表于博客园,并在GitHub上持续更新前端的系列文章.欢迎在GitHub上关注我,一起入门和进阶前端. 以下是正文. CSS的定位属性有三种,分别是绝对定位.相对定位.固定定位. posit ...
- windows第四层负载均衡--基于NLB负载均衡
上面有一篇文章说windows第七层负载均衡,这次讲讲第四层负载均衡 TCP/IP协议族,第七层是应用层,第四层是传输层.第四层负载均衡主要通过IP进行转化. 一些优秀的第四层负载均衡软件,速度可以接 ...
- ABP架构学习系列
ABP实践学习系列 ABP Zero 本地化语言的初始化和扩展 ABP Zero 导航菜单之角色权限 ABP Zero示例项目问题总结 ABP后台服务之作业调度Quartz.NET ABP架构学 ...
- jQuery判断Dom对象是否存在
我们时常要检测一个DOM对象是否为空. var $jObject = $('#btn'); alert($jObject ); 我们会发现,$jObject 永远不会为空.为什么呢?$ 方法查找对象, ...
- HashMap 源码详细分析(JDK1.8)
一.概述 本篇文章我们来聊聊大家日常开发中常用的一个集合类 - HashMap.HashMap 最早出现在 JDK 1.2中,底层基于散列算法实现.HashMap 允许 null 键和 null 值, ...
- 浅尝辄止WPF自定义用户控件(实现颜色调制器)
主要利用用户控件实现一个自定义的颜色调制控件,实现一个小小的功能,具体实现界面如下. 首先自己新建一个wpf的用户控件类,我就放在我的wpf项目的一个文件夹下面,因为是一个很小的东西,所以就没有用mv ...
- lombok使用基础教程
前言 lombok是一个编译级别的插件,它可以在项目编译的时候生成一些代码.在很多工具类的项目中都有这个功能.比如dagger. 通俗的说,lombok可以通过注解来标示生成getter settte ...
- windows下更改mysql数据储存物理目录
windows10 1.停止mysql服务 以管理员身份运行cmd 输入命令 net stop mysql57 (我的mysql版本是5.7的,具体名称以你当前版本为主) 也可以打开任务管理器找到上面 ...
- HTML表单属性集合