iPhone on Windows 10: “Device is unreachable” SOLVED [Debug]

本文介绍如何更改iOS设备设置,以便在不使用iTunes的情况下,将照片和视频从iPhone或iPad直接传输到Windows 10电脑。通过调整照片传输选项,可以确保文件在不同设备间兼容并顺利传输。
  1. Disconnect your iPhone/iPad from your computer
  2. Go to Settings on your iOS device
  3. Open Photos and scroll to the bottom
  4. Under ‘Transfer to Mac or PC’, chang efrom Automatic to Keep Originals (“Automatically transfer photos and videos in a compatible format, or always transfer the original file without checking for compatibility.”)

Now connect again the device to the Windows 10 computer and copy/paste the files again; it should work fine now!

iPhone connected to Windows 10 computer. iTunes is not a necessity to be installed when copying files from one to the other.

### **解决 `tftp: sendto: Network is unreachable` 错误** 当使用 `tftp` 上传/下载文件时,如果出现以下错误: ``` tftp: sendto: Network is unreachable ``` 说明 TFTP 客户端无法连接到目标服务器。以下是 **完整解决方案**: --- ## **1. 检查网络连接** 首先确认 **TFTP 客户端** 和 **TFTP 服务器** 是否在同一网络,并可以互相访问: ```sh ping <TFTP服务器IP> ``` 如果 `ping` 不通: - 检查 **网线/Wi-Fi** 连接是否正常。 - 检查 **防火墙/iptables** 是否阻止网络: ```sh iptables -L -n | grep DROP ``` - 确保 **IP 地址和子网掩码** 配置正确: ```sh ifconfig ``` --- ## **2. 确认 TFTP 服务器是否运行** 在 **TFTP 服务器** 上执行: ```sh netstat -anu | grep 69 ``` 预期输出: ``` udp 0 0 0.0.0.0:69 0.0.0.0:* ``` 如果没有,启动 TFTP 服务: ```sh systemctl start tftpd-hpa # Debian/Ubuntu service tftpd start # OpenWrt/其他系统 ``` --- ## **3. 检查 TFTP 客户端命令格式** 正确命令格式: ```sh tftp <服务器IP> -c get <远程文件> [本地文件] tftp <服务器IP> -c put <本地文件> [远程文件] ``` **常见错误**: - 忘记加 `-c`(命令模式): ```sh tftp 192.168.1.1 -c get firmware.bin ``` - 文件名错误(TFTP 默认目录通常是 `/var/lib/tftpboot`)。 --- ## **4. 检查 TFTP 服务器权限** 在 **TFTP 服务器** 上: ```sh chmod 777 /var/lib/tftpboot # 临时开放权限 ls -l /var/lib/tftpboot # 检查文件是否可读/可写 ``` 如果仍然不行,修改 `/etc/default/tftpd-hpa`(Debian/Ubuntu): ``` TFTP_OPTIONS="--secure --create" ``` --- ## **5. 使用 `busybox tftp`(嵌入式设备常见)** OpenWrt 等嵌入式系统可能使用 `busybox tftp`,命令稍有不同: ```sh busybox tftp -g -r firmware.bin -l /tmp/firmware.bin 192.168.1.1 ``` 选项: - `-g` = 下载(get) - `-r` = 远程文件名 - `-l` = 本地保存路径 --- ## **6. 使用 `tftp-hpa` 替代(推荐)** 如果系统自带 `tftp` 不可靠,可以安装 `tftp-hpa`: ```sh opkg update && opkg install tftp-hpa # OpenWrt apt install tftp-hpa # Debian/Ubuntu ``` 然后使用: ```sh tftp -v <服务器IP> -m binary -c get firmware.bin ``` --- ### **常见问题排查** | 错误原因 | 解决方案 | |----------|----------| | **网络不通** | `ping` 测试,检查路由 | | **TFTP 服务未启动** | `systemctl start tftpd-hpa` | | **权限不足** | `chmod 777 /var/lib/tftpboot` | | **防火墙阻止** | `iptables -A INPUT -p udp --dport 69 -j ACCEPT` | | **busybox tftp 兼容性问题** | 改用 `tftp-hpa` | ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值