小编dpe*_*can的帖子

如何设置首选 wlan dhcp 接口作为默认路由的路由表?

eth0 有一个静态IP设置 /etc/interfaces

wlan0 动态获取IP

如何更改我的路由表以及将命令放在哪里以始终使 wlan0 成为默认路由,以便 Internet 访问正常工作?现在我可以使用 eth0 或 wlan0 ssh 进入盒子,但互联网访问总是通过 eth0 路由,这不起作用。

另外, auto 和 allow-hotplug 是矛盾的选项吗?

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.20.1    0.0.0.0         UG    0      0        0 eth0
192.168.10.0    *               255.255.255.0   U     0      0        0 wlan0
192.168.20.0    *               255.255.255.0   U     0      0        0 eth0

source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
        address 192.168.20.2
        netmask 255.255.255.0
        gateway 192.168.20.1 …
Run Code Online (Sandbox Code Playgroud)

linux networking debian

6
推荐指数
1
解决办法
7859
查看次数

日志文件和夏令时

Linux 日志文件如何处理夏令时?当您回退时,您不仅会得到乱序值,而且可能会出现重复值。

我想我应该将系统时间设置为 UTC,然后将日志文件处理到本地时区,然后再交给日志文件查看器。

linux logs timestamps dst

3
推荐指数
1
解决办法
1443
查看次数

标签 统计

linux ×2

debian ×1

dst ×1

logs ×1

networking ×1

timestamps ×1