『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
12
返回列表 发新帖
楼主: tty228

[经验分享] PVE 下的虚拟机网络唤醒开关机(伪 wake_on_lan)

[复制链接]

0

主题

19

帖子

226

积分

中级会员

Rank: 3Rank: 3

积分
226
金钱
207
HASS币
0
发表于 2023-10-4 14:14:22 | 显示全部楼层
justion 发表于 2022-5-10 17:03
启动这部好像出错了,启动不了?

大佬解决了吗,我也遇到了这个问题
回复

使用道具 举报

32

主题

285

帖子

1811

积分

金牌会员

Rank: 6Rank: 6

积分
1811
金钱
1526
HASS币
0
发表于 2023-10-4 18:05:32 | 显示全部楼层
zhouxingchi 发表于 2023-10-4 14:14
大佬解决了吗,我也遇到了这个问题

没,我放弃了
回复

使用道具 举报

0

主题

19

帖子

226

积分

中级会员

Rank: 3Rank: 3

积分
226
金钱
207
HASS币
0
发表于 2023-10-5 18:43:53 | 显示全部楼层
我解决这个问题了,我把那些往里边添加的文件都删除,然后重启pve主机,然后重新添加,按照这个顺序之后就不会出现这个问题了,但是依然不能唤醒其他的虚拟机……
回复

使用道具 举报

2

主题

95

帖子

984

积分

高级会员

Rank: 4

积分
984
金钱
889
HASS币
0
 楼主| 发表于 2023-10-7 16:58:57 | 显示全部楼层
zhouxingchi 发表于 2023-10-5 18:43
我解决这个问题了,我把那些往里边添加的文件都删除,然后重启pve主机,然后重新添加,按照这个顺序之后就 ...

只需要开机的话,试试这个集成
https://github.com/dougiteixeira/proxmoxve
回复

使用道具 举报

1

主题

38

帖子

250

积分

中级会员

Rank: 3Rank: 3

积分
250
金钱
212
HASS币
0
发表于 2023-10-31 15:23:52 | 显示全部楼层
安装到这一步的时候 apt install gawk socat xxd,提示:Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package xxd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package gawk
E: Package 'xxd' has no installation candidate
怎么处理
回复

使用道具 举报

2

主题

95

帖子

984

积分

高级会员

Rank: 4

积分
984
金钱
889
HASS币
0
 楼主| 发表于 2023-11-1 13:38:56 | 显示全部楼层
本帖最后由 tty228 于 2023-11-1 13:40 编辑
kissme57 发表于 2023-10-31 15:23
安装到这一步的时候 apt install gawk socat xxd,提示:Reading package lists... Done
Building dependen ...

你的软件源大概有问题,我拿另一台没安装过的主机试了一下没有问题
另外,装不上没必要强求,只需要开机的话,试试这个集成
https://github.com/dougiteixeira/proxmoxve

apt install gawk socat xxd
Hit:1 http://deb.debian.org/debian bookworm InRelease               
Hit:2 http://ftp.debian.org/debian bookworm InRelease               
Hit:3 http://security.debian.org bookworm-security InRelease        
Get:4 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:5 http://security.debian.org/debian-security bookworm-security InRelease   
Get:6 http://ftp.debian.org/debian bookworm-updates InRelease [52.1 kB]        
Hit:7 http://download.proxmox.com/debian/pve bookworm InRelease
Hit:8 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Fetched 104 kB in 3s (30.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
socat is already the newest version (1.7.4.4-2).
The following package was automatically installed and is no longer required:
  proxmox-kernel-6.2.16-6-pve
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libmpfr6 libsigsegv2
Suggested packages:
  gawk-doc
The following NEW packages will be installed:
  gawk libmpfr6 libsigsegv2 xxd
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,495 kB of archives.
After this operation, 4,391 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian bookworm/main amd64 libmpfr6 amd64 4.2.0-1 [701 kB]
Get:2 http://ftp.debian.org/debian bookworm/main amd64 libsigsegv2 amd64 2.14-1 [37.2 kB]
Get:3 http://ftp.debian.org/debian bookworm/main amd64 gawk amd64 1:5.2.1-2 [673 kB]
Get:4 http://ftp.debian.org/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2 [83.7 kB]
Fetched 1,495 kB in 1s (1,924 kB/s)
Selecting previously unselected package libmpfr6:amd64.
(Reading database ... 67675 files and directories currently installed.)
Preparing to unpack .../libmpfr6_4.2.0-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.2.0-1) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../libsigsegv2_2.14-1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.14-1) ...
Setting up libmpfr6:amd64 (4.2.0-1) ...
Setting up libsigsegv2:amd64 (2.14-1) ...
Selecting previously unselected package gawk.
(Reading database ... 67695 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a5.2.1-2_amd64.deb ...
Unpacking gawk (1:5.2.1-2) ...
Selecting previously unselected package xxd.
Preparing to unpack .../xxd_2%3a9.0.1378-2_amd64.deb ...
Unpacking xxd (2:9.0.1378-2) ...
Setting up gawk (1:5.2.1-2) ...
Setting up xxd (2:9.0.1378-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...
root@pve:~# 


回复

使用道具 举报

1

主题

5

帖子

32

积分

新手上路

Rank: 1

积分
32
金钱
27
HASS币
0
发表于 2024-9-28 11:28:24 | 显示全部楼层
mark一下,回头研究研究
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-21 16:38 , Processed in 1.992471 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表