ICode9

精准搜索请尝试: 精确搜索
  • node-macaddress2020-08-16 20:35:04

    下载 node-macaddressnode-macaddress 检索Linux、OS X和Windows中的MAC地址。 关于MAC地址的一个常见误解是,每个主机只有一个MAC地址, 虽然一个主机可能有多个MAC地址-因为每个网络接口可能 有自己的MAC地址。 这个库允许发现每个网络接口的MAC地址并进行选择 如果您感兴趣的只是

  • 树莓派断电之后再次上电无法连接到WiFi2020-06-30 20:08:32

    操作方法 wpa_supplicant.conf文件编辑 sudo nano /etc/wpa_supplicant/wpa_supplicant.conf 在wpa_supplicant.conf文件中添加: country=CN ctrl_interface=DIR= /var/run/wpa_supplicant GROUP=netdev update_config=1 network={     ssid="WiFi名称"    

  • Android P适配以太网功能开发指南2020-04-25 22:02:34

            Android P适配以太网功能开发指南 前言   此时的我吃着火锅唱着歌,进行着Android P(此P非彼P,Android 9)的适配工作。我真的只能说每次Android版本的迭代更新,都是对我们的一次炼狱般的摧残啊,各种适配啊,我真的想说fuck the coding。但是吐槽归吐槽,为了我热

  • python wifi模块2020-03-08 11:38:16

    需要pip install pywifi   查看无线网卡状态 from pywifi import const,PyWiFi def test_interfaces(): #查看无线网卡是否处于连接状态 wifi=PyWiFi()#创建一个无线对象 ifaces=wifi.interfaces()[0]#获取第一个无线网卡 if ifaces.status() in[const.IF

  • Debian操作系统以及凝思操作系统 网卡配置2020-03-03 10:41:45

    1.单网卡配置 /etc/network/interfaces auto eth0 #iface eth0 inet dhcp(默认是DHCP被注释掉) iface eth0 inet static address 192.168.8.110 netmask 255.255.255.0 gateway 192.168.8.1 2.双网卡配置 /etc/network/interfaces auto eth0 #iface eth0 inet dhcp(默认是DHCP

  • qt编译错误:invalid new-expression of abstract class type "*"2020-02-20 11:55:41

    编译qt程序中出现了编译错误:invalid new-expression of abstract class type “*” 1 class dx_iface : public DRW_Interface { 2 public: 3 dx_iface(){dxfW = NULL;} 4 ~dx_iface(){} 5 bool printText(const std::string& fileI, dx_data *fData); 6 void wr

  • CentOS7 基本网络配置2020-01-14 23:55:51

    基本网络配置 配置网卡参数 /etc/sysconfig/network-scipts/ifcfg-IFACE TYPE=接口类型,常用有Ethernet、Bridge NAME=ens33 DEVICE=设备名称 ONBOOT=是否开机自激活该网卡(yes|no) UUID=此设备的唯一标识 IPV6INIT=是否初始化IPv6 BOOTPROTO=激活此接口时使用什么协议来配置接口

  • proxmox 配置2019-12-25 11:52:34

    添加虚拟网卡 1.登陆母机shell 2.修改网卡配置文件(添加虚拟网卡网桥) iface eno1 inet manual auto vmbr0 iface vmbr0 inet static address 110.110.110.110 netmask 255.255.255.0 gateway 110.110.110.1 bridge_ports eno1 bridge_stp off bridge_fd 0 iface eno2 inet manua

  • ERP WIP 部分API应用 详解2019-11-25 14:01:21

    工单创建 (create work order) PROCEDURE new_work_order(p_wip_entity_id NUMBER, p_organization_id NUMBER, x_error_status OUT VARCHAR2, x_error_message OUT VARCHAR2) IS l_iface_rec wip.wip_job_schedule_interface%ROWTYPE; --工单任务接口表 CURSOR c_wdj IS SELECT

  • 网络配置2019-09-24 09:03:04

    虚拟机网络模式 Bridged(桥接模式)、NAT(网络地址转换模式)、Host-Only(仅主机模式)。 桥接模式 设置IP网关 vi /etc/network/interfaces interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback #the primary network interface auto ens33 iface e

  • CPU网卡亲和绑定2019-09-18 11:50:23

    #!/bin/bash## Copyright (c) 2014, Intel Corporation## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions are met:## * Redistributions of source code must retain the ab

  • Android 9 有线网络的方法适配2019-08-14 15:07:35

    前言 最近在适配android 9 的网络模块,总体来说还是有一些变动的,下面为大家列出部分网络的变动方法。 有线网络: EthernetManager 类 新增 isAvailable 方法判断是否连接上有线网络,只能通过反射使用此方法 public boolean isAvailable() { return getAvailableInterfac

  • ubuntu无法连接有线网2019-07-05 17:02:02

    问题描述: ubuntu下仅能连接无线网,不能连接有线网,在有线网的下面是没有选项可供连接。   解决方法: 编辑 /etc/network/interfaces 这个文件 将里面仅仅写两句话 auto lo iface lo inet loopback   解决

  • Python——WIFI扫描2019-05-28 14:51:12

    import pywifi from comtypes import GUID import time wifi = pywifi.PyWiFi() iface = wifi.interfaces()[0] # 起始获得的是列表,列表中存放的是无线网卡对象。 # 可能一台电脑有多个网卡,请注意选择 # 如果网卡选择错了,程序会卡住,不出结果。 iface.scan() time.sleep(2)

  • Python 协议攻击脚本(六): STP攻击2019-05-18 14:55:46

    文章目录STP数据包抓包STP欺骗STP Dos编写脚本STP欺骗STP Dos完整代码 STP 生成树协议(英语:Spanning Tree Protocol,STP),是一种工作在OSI网络模型中的第二层(数据链路层)的通信协议,基本应用是防止交换机冗余链路产生的环路.用于确保以太网中无环路的逻辑拓扑结构.从而避免了

  • ltp-ddt eth过程中遇到的问题2019-04-30 18:43:51

    eth_iperf_tcp   ETH_S_PERF_IPERF_TCP_INTPACING_8K_1448B source 'common.sh'; iface=`get_eth_iface_name.sh` || die "error getting eth interface name: $iface"; do_cmd "set_ethtool_coalesce_options.sh -d $iface -p 'rx-usecs'

  • 网络2019-04-17 16:49:59

    root@t1:~# cat /etc/network/interfaces# network interface settings; autogenerated# Please do NOT modify this file directly, unless you know what# you're doing.## If you want to manage parts of the network configuration manually,# please utilize the &

  • Ubuntu下一个接口同时配置静态IP跟dhcp2019-03-10 17:48:25

    电脑放公司使用接网线发现只能使用 DHCP 获取动态地址,由于本地测试需要,希望能够配置使用第二个私有的 IP 地址,同时不影响原来 DHCP 获取的 IP。 首先打开接口文件, sudo vim /etc/network/interfaces 编辑添加配置,:wq 保存退出。 auto lo iface lo inet loopback auto en

  • kubernetes flannel 网卡绑定错误,故障排查2019-03-02 14:50:51

    kubernetes 新加了个node,状态Ready,但调度过去的任务,都执行异常 查看异常节点日志 `Error adding net work: open run/flannel/subnet.env no such file or directory` flannel 有问题 环境里flannel也是在容器里启动的,查看flannel,果然新节点的flannel服务没有起来 kbs get podskub

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有