AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[ping](ubuntu)

Martin Hope
Mysicksi
Asked: 2020-11-03 11:30:38 +0800 CST

Ubuntu 18.04 无法 ping 互联网 - 两个 NIC

  • 0

我目前在我的 Ubuntu 18.04 服务器上访问互联网时遇到问题。服务器启用了两个 NIC。我可以 ping 默认网关和内部 IP,但无法 ping 任何外部 IP。我检查了防火墙,看到 ping 被允许并且正在发出,但我没有收到任何回复。我在下面包含了我的网络配置。谢谢你。

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:81:04:0d brd ff:ff:ff:ff:ff:ff
    inet 172.18.248.27/24 brd 172.18.248.255 scope global ens160
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fe81:40d/64 scope link 
       valid_lft forever preferred_lft forever
3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:81:76:4c brd ff:ff:ff:ff:ff:ff
    inet 172.18.254.27/24 brd 172.18.254.255 scope global ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fe81:764c/64 scope link 
       valid_lft forever preferred_lft forever

从界面 Pinging 到 Google 强制,

ping -I ens160 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 172.18.248.27 ens160: 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4092ms

正常 ping 到 Google,

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5104ms

Ping 到 DG,

ping 172.18.248.254
PING 172.18.248.254 (172.18.248.254) 56(84) bytes of data.
64 bytes from 172.18.248.254: icmp_seq=1 ttl=64 time=0.767 ms
64 bytes from 172.18.248.254: icmp_seq=2 ttl=64 time=0.800 ms
^C
--- 172.18.248.254 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1024ms
rtt min/avg/max/mdev = 0.767/0.783/0.800/0.032 ms

到 Google 的跟踪路径,

tracepath 8.8.8.8
 1?: [LOCALHOST]                      pmtu 1500
 1:  ???                                                   4.654ms 
 1:  ???                                                   4.709ms 
 2:  no reply
 3:  no reply
 4:  no reply
 5:  no reply
 6:  no reply
^C

路线,

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.18.248.254  0.0.0.0         UG    0      0        0 ens160
172.18.248.0    0.0.0.0         255.255.255.0   U     0      0        0 ens160
172.18.254.0    0.0.0.0         255.255.255.0   U     0      0        0 ens192

IP路由列表,

default via 172.18.248.254 dev ens160 proto static 
172.18.248.0/24 dev ens160 proto kernel scope link src 172.18.248.27 
172.18.254.0/24 dev ens192 proto kernel scope link src 172.18.254.27 

/etc/netplan 文件,

  network:
        ethernets:
            ens160:
                addresses:
                - 172.18.248.27/24
                gateway4: 172.18.248.254
                nameservers:
                    addresses:
                    - 8.8.8.8
            ens192:
                addresses:
                - 172.18.254.27/24
                gateway4: 172.18.254.254
                nameservers:
                    addresses:
                    - 8.8.8.8
        version: 2

编辑:

我想我可能已经找到了。这是无法访问 Internet 的机器 (M1) 上 netstat -r 的输出。

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         172.18.248.254  0.0.0.0         UG        0 0          0 ens160
default         172.18.254.254  0.0.0.0         UG        0 0          0 ens192
172.18.248.0    0.0.0.0         255.255.255.0   U         0 0          0 ens160
172.18.254.0    0.0.0.0         255.255.255.0   U         0 0          0 ens192

这是同一子网中可以访问互联网的机器 (M2) 上的 netstat -r 命令。

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         _gateway        0.0.0.0         UG        0 0          0 ens160
172.18.248.0    0.0.0.0         255.255.255.0   U         0 0          0 ens192
172.18.254.0    0.0.0.0         255.255.255.0   U         0 0          0 ens160

所以我相信这是内核路由中的错误配置。有谁知道我如何纠正它以模仿 M2 的配置?

networking ping traceroute 18.04
  • 1 个回答
  • 519 Views
Martin Hope
Dojo
Asked: 2020-09-24 06:25:28 +0800 CST

即使默认策略是拒绝所有传出,UFW 也允许传出 IPv6

  • 0

我想设置一个默认拒绝传出连接的策略。

  1. 应该允许 DNS 查询
  2. 应允许特定 IP 用于传出连接

所以我设置了以下规则:

sudo ufw default deny outgoing
sudo ufw allow out 53
sudo ufw allow out from any to 123.123.123.123

查看:

sudo ufw status numbered

输出:

Status: active
     To                         Action      From
     --                         ------      ----
[ 1] 123.123.123.123            ALLOW OUT   Anywhere                   (out)
[ 2] 53                         ALLOW OUT   Anywhere                   (out)
[ 3] 53 (v6)                    ALLOW OUT   Anywhere (v6)              (out)

当我 ping google.com 时,我希望 DNS 解析能够正常工作,但实际 ping 会失败。但是整个 ping 功能都在工作。我注意到它使用 IPv6 进行 ping。在禁用防火墙的情况下,它使用 IPv4。

PING google.com(fra15s12-in-x0e.1e100.net (2a00:1450:4001:815::200e)) 56 data bytes
64 bytes from fra15s12-in-x0e.1e100.net (2a00:1450:4001:815::200e): icmp_seq=1 ttl=115 time=3.90 ms
64 bytes from fra15s12-in-x0e.1e100.net (2a00:1450:4001:815::200e): icmp_seq=2 ttl=115 time=3.96 ms
64 bytes from fra15s12-in-x0e.1e100.net (2a00:1450:4001:815::200e): icmp_seq=3 ttl=115 time=3.94 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 3.903/3.936/3.965/0.025 ms

防火墙似乎成功阻止了 IPv4,因此 ping 命令尝试使用 IPv6 并成功。防火墙以某种方式不阻止 IPv6。

ipv6 dns firewall ufw ping
  • 1 个回答
  • 1757 Views
Martin Hope
ShEepCr3eper
Asked: 2020-09-23 00:39:02 +0800 CST

连接时无法访问 NordVPN 本地网络地址

  • 15

我nordvpn在 Ubuntu 上使用 CLI 已经有一段时间了,但是几天后,当我尝试访问本地网络中的任何其他客户端时,我遇到了以下问题:

$ ping 192.168.178.1
PING 192.168.178.1 (192.168.178.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted

192.168.178.1我的路由器在哪里。当我从 NordVPN 断开连接时,我可以再次访问其他客户端。

我已经阅读了与 相关的类似问题nordvpn killswitch,但它已被禁用,我还尝试启用然后禁用它。我也尝试禁用ufw, 并重新安装nordvpn,但这也无济于事。

因为它可能会有所帮助,这里是我的nordvpn settings:

$ nordvpn settings
Technology: OpenVPN
Protocol: UDP
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: enabled
Auto-connect: disabled
DNS: disabled

可能是它很愚蠢或很容易解决,但我已经为此苦苦挣扎了几天。

networking vpn ping
  • 2 个回答
  • 18791 Views
Martin Hope
disco_rogge
Asked: 2020-09-11 02:11:22 +0800 CST

使用时间戳记录 fping 到以日期命名的文件

  • 0

你好。 使用我的服务器记录似乎在白天偶尔发生的网络 DC。环顾四周并收集代码并让它工作,我通过 cronjob 启动以每天获取一个文本文件。

该程序:

#!/bin/bash

## Get current date ##
_now=$(date +"%d_%m_%Y")

## Appending a current date from a $_now to a filename stored in $_file ##
_file="/path/to/file/pinglogger_$_now.txt"

## fping 24h with timestamp to a file with todays date ##
fping -c 86000 -s google.com 192.168.250.1 | while read pong; do echo "$(date): $pong"; done > "$_file" 2>&1

问题: 这行得通,但是当程序结束时,我没有得到最后几行 ping 统计信息。当我发现并添加| while read pong; do echo "$(date): $pong"; done到程序中以在 ping 上添加时间戳时,问题就开始了。

灵魂: 在提示和 trix 之后,最终代码是这样的,它将 stout 和 sterr 写入输出文件: ping 本地主机和谷歌大约 1 天到今天日期的文件。:

#!/bin/bash

## Get current date ##
_now=$(date +"%d_%m_%Y")

## Appending a current date from a $_now to a filename stored in $_file ##
_file="/path to file/pinglogger_$_now.txt"

## fping 24h with timestamp to a file with todays date ##
(fping -c 86000 -s google.com 192.168.250.1 | ts) &> "$_file"
networking command-line ping
  • 1 个回答
  • 1248 Views
Martin Hope
Rudah Ximenes
Asked: 2020-07-26 15:39:25 +0800 CST

Qualcomm Atheros QCA9377 连接不稳定,带有 ping 尖峰

  • 2

最近我买了一台笔记本电脑 Acer E15 E5-553G-T4TJ,我运行的是 Ubuntu 20.04。

这台笔记本电脑配备了高通 Atheros QCA9377 作为无线网卡,我多次遇到 ping 尖峰甚至断开连接。

在常规使用中,如 YouTube、Google Meet 等,我感觉不到这个问题,但它确实存在。当我尝试玩任何游戏(又名 Lutris 下的英雄联盟)时,我真的有这种感觉。播放时我的 ping 超过 100 毫秒。

首先,我尝试购买一个新的路由器,但它不起作用。所以我决定在终端检查我的延迟,ping Google.com。令我惊讶的是,我发现了高 ping 峰值。对此很感兴趣,我尝试 ping 我的路由器,瞧,我也有我的 ping 尖峰。

这是我到路由器的 ping 日志:

PING www.mwlogin.net (192.168.1.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.1.1): icmp_seq=1 ttl=64 time=13.2 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=2 ttl=64 time=67.6 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=3 ttl=64 time=114 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=4 ttl=64 time=150 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=5 ttl=64 time=4.63 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=6 ttl=64 time=3.66 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=7 ttl=64 time=23.4 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=8 ttl=64 time=55.4 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=9 ttl=64 time=43.2 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=10 ttl=64 time=73.2 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=11 ttl=64 time=102 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=12 ttl=64 time=126 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=13 ttl=64 time=154 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=14 ttl=64 time=4.36 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=15 ttl=64 time=5.33 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=16 ttl=64 time=85.4 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=17 ttl=64 time=149 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=18 ttl=64 time=157 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=19 ttl=64 time=22.6 ms
64 bytes from _gateway (192.168.1.1): icmp_seq=20 ttl=64 time=11.2 ms
^C
--- www.mwlogin.net ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 19030ms
rtt min/avg/max/mdev = 3.661/68.308/156.966/56.062 ms

话虽如此,我确信问题不在于我的路由器或 ISP,而在于我的 PC,可能与驱动程序有关。

所以我研究了很多发现什么,我发现高通创锐讯无线卡确实有问题。我找到了很多可能的解决方案,并且我已经尝试了很多。我会尝试链接到我尝试过的任何内容,但我不记得所有内容。

我试过了:

  • 禁用硬件加密,遵循这篇 It's FOSS 文章;我从 ath9k 改编为 ath10k(我也在互联网上找到了这个);

  • 修复 Avahi-daemon /etc/nsswitch.conf(https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/);

  • 禁用 ipv6 支持(https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/);

  • 禁用无线适配器上的省电模式

  • 在ath10k_core 上skip_otp=y/etc/modprobe.d/ath10k_core.conf

  • 正确设置注册域/etc/default/crda

  • 禁用 DHCP(我现在使用静态 IP)

  • 我试过这个解决方案:Qualcomm Atheros QCA9377 drop wifi

  • 我尝试安装 backports,但没有解析内核,所以我可以使用make命令

我想这就是我所做的一切,但我不确定。

我注意到当我对 GPU 施加压力时,我的 ping 会出现峰值,所以这可能是相关的。

这是我的日志:

iwconfig:

wlp2s0    IEEE 802.11  ESSID:"Rudah"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 38:6B:1C:7D:3D:D6   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=69/70  Signal level=-41 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:19   Missed beacon:0

dmesg | grep atk10k

[   15.096274] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   16.450335] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[   16.450339] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   16.450954] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[   16.571762] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[   16.646057] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[   16.664790] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   16.810650] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[   32.981113] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[10191.788103] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[10194.311146] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[14252.126988] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536

hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|driver\:|status\:|cmd\:|file\:|detected\:" | grep -v "Config Status"

  Model: "Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter"
  Driver: "ath10k_pci"
  Device File: wlp2s0
  Link detected: yes
    Driver Status: ath10k_pci is active
    Driver Activation Cmd: "modprobe ath10k_pci"
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Driver: "r8169"
  Device File: enp1s0f1
  Link detected: no
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Model: "Lite-On Bluetooth Device"
  Driver: "btusb"
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"

rfkill list all

0: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: acer-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
3: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

我想就是这样。

请问,有人可以帮我吗?我不知道出了什么问题!:(

先感谢您。

networking wireless ping atheros
  • 1 个回答
  • 1820 Views
Martin Hope
Colin Jack
Asked: 2020-07-02 06:54:24 +0800 CST

ping 命令数据包大小

  • 0

当我在 linux 上使用 ping 命令时

我得到以下输出:

    ping google.com
PING google.com (216.58.205.206) 56(84) bytes of data.
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=2 ttl=128 time=490 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=3 ttl=128 time=1209 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=4 ttl=128 time=702 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=5 ttl=128 time=112 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=6 ttl=128 time=320 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=7 ttl=128 time=137 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=8 ttl=128 time=145 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=9 ttl=128 time=281 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=10 ttl=128 time=138 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=11 ttl=128 time=298 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=12 ttl=128 time=194 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=13 ttl=128 time=395 ms
64 bytes from mil04s29-in-f14.1e100.net (216.58.205.206): icmp_seq=14 ttl=128 time=124 ms

所以第一行它说大小是56字节(这是icmp数据的大小对吗?)+ 8(icmp头)+ 20(ipv4头)= 84字节,这是每个发送数据包的大小对吗?

下一行没有,它说 64 字节(数据 + icmp 标头),为什么重播时是 64 字节,为什么不是 84 字节?!

在最后一行

14 packets transmitted, 13 received, 7% packet loss, time 13607ms

时间是什么 ?以及如何计算?

问候

ping
  • 1 个回答
  • 807 Views
Martin Hope
joeller
Asked: 2020-06-29 05:40:00 +0800 CST

无法ping通GitHub

  • 2

我只能在我的 Ubuntu 18.04 机器上访问GitHub,而连接到同一网络的所有其他机器(Windows PC、iPad、电话)都可以访问 GitHub。

当我尝试 ping GitHub 时,我得到

ping github.com 的结果

运行结果nslookup github.com:

Server:     127.0.0.53
Address:    127.0.0.53#53

Non-authoritative answer:
Name:   github.com
Address: 192.30.253.112

如果我尝试sudo route -n:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.178.1   0.0.0.0         UG    600    0        0 wlp4s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp4s0
192.168.178.0   0.0.0.0         255.255.255.0   U     600    0        0 wlp4s0

如果我ping google.com,它的工作原理。

我也无法在浏览器中访问 GitHub。但是,所有其他网站都可以正常工作。另外,我可以在其他设备上访问 GitHub。DNS有什么问题吗?

networking dns ping github
  • 3 个回答
  • 7615 Views
Martin Hope
Maik Verheijen
Asked: 2020-04-18 13:32:54 +0800 CST

不能ping 域名,只能ping ip

  • 1

我正在运行 Ubuntu Server 18.04.4 LTS

我可以 ping 1.1.1.1 和 8.8.8.8 等,但无法 ping 域名。
我尝试了很多东西,但我似乎无法解决这个问题。因此我无法更新我的系统。

我发现的几件事:

  • 我没有/etc/resolv.conf档案
  • 我没有/etc/network/interfaces/档案
  • /etc/NetworkManager/NetworkManager.conf节目dns=default
  • systemd-resolve --status将 1.1.1.1 显示为 DNS
  • 我的网络计划配置显示

    network:
      ethernets:
        enp6s0:
          dhcp4: yes
    version: 2
    

有人能帮我吗?或者给我一些线索?

networking dns ping ip netplan
  • 1 个回答
  • 133 Views
Martin Hope
Zany_Zachary1
Asked: 2020-04-15 06:44:54 +0800 CST

Ping 特定网址?

  • 3

我正在制作一个 bash 脚本来 ping 某个网址。问题是,当我说:
ping https://www.dictionary.com/browse/word 然后 ping 说
ping: https://www.dictionary.com/browse/word: Name or service not known
有人可以帮我解决这个问题吗?什么是我可以用来 ping https 服务器的程序。
我必须在那里有斜线,因为我想 ping 那个特定的页面。
先感谢您。

bash ping https
  • 2 个回答
  • 1721 Views
Martin Hope
Joshua Meyers
Asked: 2020-04-04 23:49:00 +0800 CST

在 Ubuntu 18.04 上无法 ping Brother HL-L2390DW

  • 0

我刚买了一台 Brother HL=L2390DW 打印机/扫描仪,并在 Brother 网站上安装了驱动程序。这是我所拥有的:

# dpkg -l |grep Brother
ii brscan-skey   0.2.4-1   amd64  Brother Linux scanner S-KEY tool
ii brscan4   0.4.8-1   amd64  Brother Scanner Driver
ii hll2390dwpdrv:i386 4.0.0-1   i386 Brother HL-L2390DW printer driver (lpd/cups)
ii printer-driver-brlaser 4-1   amd64  printer driver for (some) Brother laser printers
ii printer-driver-ptouch  1.4.2-3   amd64  printer driver Brother P-touch label printers

计算机和打印机都以无线方式连接到本地网络。

我可以正常打印,但是当我 ping 打印机的 IP 地址时,它会超时。有趣的是,当我在 ping 之前和之后打印出网络报告时,打印机报告“收到的数据包”和“传输的数据包”都增加了,所以这似乎是打印机与我的计算机通信的问题。

我尝试了此处列出的想法来修复它:我尝试重新启动计算机和打印机,并尝试将打印机上的子网掩码从 255.255.255.0 更改为 255.255.0.0。但这些都没有改变任何东西。

对于上下文,我的最终目标是让扫描仪工作。

drivers printing ping scanner brother
  • 1 个回答
  • 496 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve