Ubuntu中使用dnw动机:

一、 之前没有用ubuntu中的dnw,想试试。

二、 因为换了win10系统,怕搞不定win10中dnw的驱动,想着在ubuntu中不用禁用数字签名啥的比较省心。(事实证明还是禁用数字签名最简单了~)

dnw安装步骤:

1、下载源码,放至windows和linux的共享文件夹,解压后进到/dnw-linux执行makemake 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的更多相关文章

  1. ubuntu中安装qgit工具-(转自Linux中国)

    QGit是一款由Marco Costalba用Qt和C++写的开源的图形界面 Git 客户端.它是一款可以在图形界面环境下更好地提供浏览版本历史.查看提交记录和文件补丁的客户端.它利用git命令行来执 ...

  2. ubuntu中安装meld工具-(转自sukhoi27smk)

    Ubuntu下文件/目录对比的软件Meld可能有很多用户还不是很熟悉,下文就给大家介绍如何安装Meld和移植到Gedit下.具体内容如下所述. Meld允许用户查看文件.目录间的变化.很容易移植到Ge ...

  3. 浏览器中开发人员工具快速找到dom元素绑定那些JS事件

    在web开发过程中难免会遇到让程序员去修改一些js代码东西,例如js的ajax和php等语言的交互等,在这其中你不得不了解点js的事件触发,且随着js的盛行各种插件的事件让程序员眼花缭乱,所以借助一个 ...

  4. 在ubuntu中安装minicom时出现device /dev/tty8 is locked解决办法

    未正常关闭minicom yesaidu@ywf-ubuntu: ~$ ls /var/lock LCK..ttyS0  subsys yesaidu@ywf-ubuntu: ~$ kill 0 ye ...

  5. Ubuntu中类似QQ截图的截图工具并实现鼠标右键菜单截图

    @ 目录 简介: 安装: 设置快捷键: 实现鼠标右键菜单截图: 简介: 在Windows中用惯了强大易用的QQ截图,会不习惯Ubuntu中的截图工具. 软件名为火焰截图,功能类似QQ截图,可以设置快捷 ...

  6. Ubuntu中找到并杀死僵尸进程

    Ubuntu中产生zombie进程让人很懊恼啊.Windows中在任务管理器里直接找到无响应的进程并结束他就行了,但是ubuntu中需要用命令去解决. System information as of ...

  7. Ubuntu中的Gif动画录制工具

    为了在随笔中插入gif动态图Windows系统上可以使用ScreenToGif这个非常好用的小软件,在Ubuntu系统中选择也很多(可以参考最下面的链接),下面介绍两款ubuntu系统中的录屏软件: ...

  8. python的pip工具在windows和ubuntu中遇到的问题

    pip问题 windows 描述:pip错误-failed to create process/fatal error in launcher 原因:电脑同时装了python2和python3,并且都 ...

  9. 在Ubuntu中安装MySQL

    在Ubuntu中安装MySQL Ubuntu实用工具系列文章,将介绍基于Linux ubuntu的各种工具软件的配置和使用.有些工具大家早已耳熟能详,有些工具经常用到但确依然陌生.我将记录我在使用操作 ...

随机推荐

  1. MongoDb 快速入门教程

    文章首发于[博客园-陈树义],点击跳转到原文MongoDb 快速入门教程. MongoDb 是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的. 它是可扩展的 ...

  2. 五分钟学习React(二):我的第一个Hello World

    我的第一个React应用 接着我们上一期所讲的内容,通过create-react-app脚手架创建的应用,它是基于ES6的语法生成的.我们清空src目录下的文件,并分别创建index.js和index ...

  3. JavaScript细节成败

    1.var 众所周知var用来定义变量 如 undefined,number,string,bool,array,function,object,null. 但有时候为了省事,就会出现一些内存泄露的情 ...

  4. DQN算法

    DQN算法:基础入门看看 # -*- coding: utf-8 -*- import random import gym import numpy as np from collections im ...

  5. hdu_2670Girl Love Value(dp)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2670 Girl Love Value Time Limit: 2000/1000 MS (Java/O ...

  6. ARM的GPIO配置

  7. [国嵌攻略][153][I2C裸机驱动设计]

    eeprom简介 eeprom电可擦除可编程只读存储器,是一种类似于flash的固态存储器,但是与flash相比又存在一些区别: 1.eeprom可以按位擦写,而flash只能大片擦除. 2.eepr ...

  8. Unity Object Pool完全体

    using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public ...

  9. 全国银行列表json格式

    var list=[ { value:'CDB', text:'国家开发银行' }, { value:'ICBC', text:'中国工商银行' }, { value:'ABC', text:'中国农 ...

  10. 常用 Git 命令清单

    http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html 我每天使用 Git ,但是很多命令记不住. 一般来说,日常使用只要记住下图6个命 ...