====== TFTP 工具推荐 ====== TFTP 是路由器救砖最常用的传输协议,以下是各平台推荐工具。 ===== macOS 平台 ===== == 🔥 Router-Recovery TFTP Server == 专为 macOS 设计的 TFTP 服务器,界面简洁,一键启动。 **下载地址**:https://apps.apple.com/app/id6758904382 **特点**: - 原生 macOS 应用 - 界面简洁,一键启动 - 自动检测网卡 - 支持 IPv6 **使用步骤**: - 下载并打开应用 - 选择固件所在文件夹 - 点击"启动服务器" - 开始 TFTP 救砖 --- == 内置 tftp 命令 == macOS 自带 TFTP 服务(命令行方式)。 **启动服务**: sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist **使用方式**: # 将固件放入 /private/tftpboot/ # 从路由器下载固件 tftp 192.168.1.1 tftp> get firmware.bin tftp> quit # 向路由器上传固件 tftp 192.168.1.1 tftp> put firmware.bin tftp> quit ===== Windows 平台 ===== == TFTPD64 == 免费、轻量的 TFTP 服务器。 **下载地址**:https://ttfpd64.com/ **特点**: - 完全免费 - 界面简洁 - 单文件无需安装 - 支持 IPv6 **使用方法**: - 下载后直接运行 - 设置固件所在目录 - 选择正确的网络接口 - 点击 "Server" 开始监听 --- == Win32DiskImager == 适合刷写 img 镜像文件。 **下载地址**:https://sourceforge.net/projects/win32diskimager/ **使用场景**: - 树莓派镜像 - 软路由镜像 - U盘启动盘制作 --- == Solar-PuTTY == 增强版 PuTTY,支持 TFTP。 **下载地址**:https://www.solarwinds.com/free-tools/solar-putty **特点**: - 标签式界面 - 内置 TFTP 客户端 - 免费使用 ===== Linux 平台 ===== == atftp == 命令行 TFTP 服务器。 **安装**: # Ubuntu/Debian sudo apt install atftp # CentOS/RHEL sudo yum install atftp **使用方式**: # 启动 TFTP 服务器 sudo atftpd --daemon --port 69 /tftpboot # 将固件放入 /tftpboot/ --- == 内置 tftp 命令 == Linux 自带 TFTP 客户端。 # 安装 sudo apt install tftp # 使用 tftp 192.168.1.1 tftp> get firmware.bin tftp> quit ===== 工具对比 ===== | 工具 | 平台 | 难度 | 推荐度 | |------|------|------|--------| | Router-Recovery TFTP | macOS | ⭐ 简单 | 🔥🔥🔥 | | 内置 tftp | macOS/Linux | ⭐⭐ 中等 | ⭐⭐ | | TFTPD64 | Windows | ⭐ 简单 | 🔥🔥🔥 | | Win32DiskImager | Windows | ⭐ 简单 | ⭐⭐ | | Solar-PuTTY | Windows | ⭐⭐ 中等 | ⭐⭐ | | atftp | Linux | ⭐⭐ 中等 | ⭐⭐ |