找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 7599|回复: 4

debian12更新+总线主站

[复制链接]

77

主题

11

回帖

494

积分

管理员

积分
494
发表于 2024-2-4 21:14:02 | 显示全部楼层 |阅读模式
主站安装
https://forum.linuxcnc.org/ether ... to-step-by-stepURI:

#查通信状态
ethercat slaves

#查驱动器 vid pid
sudo ethercat cstruct


这里开始更新国内数据源
#打开源文件
sudo nano /etc/apt/sources.list

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

#deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware

sudo apt update
sudo apt upgrade

#下面不要安装(方法过期)
(sudo  apt install linuxcnc-uspace linuxcnc-uspace-dev

sudo apt install geany grub-customizer

sudo geany /etc/lightdm/lightdm.conf
修改格式
autologin-user=matt 用户名
autologin-user-timeout=0
#######



注意
如果安装好linuxcnc 打开gmoccapy界面字体错乱问题
安装字体   sudo apt-get install ttf-wqy-zenhei

安装git
sudo apt-get install git

隔离cpu
quiet isolcpus=2,3

安装软件
sudo dpkg - i +软件名

一键生成xml
lcec_configgen > xml

查看内核版本
uname - r

查看CPU
lscpu

查看并口
lspci - v

更新时间
sudo date -s “2025-12-30 15:31:00”
sudo hwclock -w







77

主题

11

回帖

494

积分

管理员

积分
494
 楼主| 发表于 2024-3-25 08:25:57 | 显示全部楼层
2024.04.10编辑
2025.12.17 修改

77

主题

11

回帖

494

积分

管理员

积分
494
 楼主| 发表于 2024-7-16 17:27:42 | 显示全部楼层
#debian
GNU nano 7.2                  /etc/apt/sources.list                           
#deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary>

deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmwa>
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-fi>

deb http://security.debian.org/debian-security bookworm-security main contrib n>
deb-src http://security.debian.org/debian-security bookworm-security main contr>

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manua ... 02.en.html#_updates>
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-fre>
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non>

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

77

主题

11

回帖

494

积分

管理员

积分
494
 楼主| 发表于 2024-10-6 20:16:23 | 显示全部楼层
deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary>

deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmwa>
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-fi>

deb http://security.debian.org/debian-security bookworm-security main contrib n>
deb-src http://security.debian.org/debian-security bookworm-security main contr>

deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-fre>
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non>

1

主题

20

回帖

53

积分

注册会员

积分
53
发表于 2025-11-16 09:31:10 | 显示全部楼层
已安装更新
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|LinuxCNC 中文站 ( 苏ICP备2025155256号-1 )

GMT+8, 2026-1-9 07:22 , Processed in 0.086331 second(s), 20 queries .

Powered by Linuxcnc X3.5

© 2001-2025 Discuz! Team.

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