视频加载失败

P4wnP1通过USB连接电脑网络(windowns)

183 字
1 分钟
P4wnP1通过USB连接电脑网络(windowns)
P4wnP1通过USB连接电脑网络(windowns)

0x00#

插入电脑后在“网络连接”中会出现P4wnP1网卡以太网 Remote NDIS Compatibl...

打开目前连接网络的网卡设置,选择“共享”勾选“连接共享”,选择P4wnP1的接口以太网 选择P4wnP1的网卡,配置静态ip,更改ip和子网掩码:

ip: 172.16.0.2
子网掩码: 255.255.255.252

0x01 win8-10额外配置(ping 172.16.0.2不通)可忽略#

以管理员身份运行power shell,将网卡改为私有

输入Get-NetConnectionProfile,复制P4wnP1网卡的名字

输入Set-NetConnectionProfile -Name "你的P4wnP1网卡名字" -NetworkCategory Private

微信截图_20180407132535.png
微信截图_20180407132535.png

0x02设置路由访问外网#

ssh连接P4wnP1后输入sudo route add -net default gw 172.16.0.2

切换到root添加dns,输入echo nameserver 114.114.114.114 > /etc/resolv.conf

Done

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!

打赏
P4wnP1通过USB连接电脑网络(windowns)
https://rehtt.com/posts/61/
作者
Rehtt
发布于
2018-04-07
许可协议
CC BY-NC-SA 4.0

评论区

Profile Image of the Author
Rehtt
Hello, I'm Rehtt.
公告
欢迎来到我的博客!
分类
标签
最新动态
站点统计
文章
150
分类
17
标签
73
总字数
67,772
运行时长
0 天
最后活动
0 天前
站点信息
构建平台
Local
博客版本
Firefly v6.16.8
文章许可
CC BY-NC-SA 4.0
文章目录