我想在我的Raspberry PI B上尝试NetBSD。我从here下载了RPI的NetBSD安装程序映像。
不幸的是,我在日常快照目录中安装这些集时遇到了一些麻烦。我遵循1和2中给出的建议。 正如所建议的那样,我使用了以下配置的http:
Your disk is now ready for installing the kernel and the distribution sets.
As noted in your INSTALL notes, you have several options. For ftp or nfs,
you must be connected to a network with access to the proper machines.
Sets selected 10, processed 0, Next set kern-RPI.
┌─────────────────────────┐
│ Install from │
│ │
│ a: CD-ROM / DVD │
│ b: FTP │
│>c: HTTP │
│ d: NFS │
│ e: Floppy │
│ f: Unmounted fs │
│ g: Local directory │
│ h: Skip set │
│ i: Skip set group │
│ j: Abandon installation │
└─────────────────────────┘
The following are the http site, directory, user, and password that will be
used. If "user" is "ftp", then the password is not needed.
>a: Host nyftp.NetBSD.org
b: Base directory pub/NetBSD-daily/HEAD/201412290640Z
c: Binary set directory /evbarm-arm/binary/sets
d: Source set directory /source/sets
e: User ftp
f: Password
g: Proxy
h: Transfer directory /usr/INSTALL
i: Delete after install No
j: Configure network
k: Exit
x: Get Distribution
网络配置定义如下:
DNS Domain: Speedport_W_504V_Typ_A
Host Name: rpi
Nameserver: 192.168.2.1
Primary Interface: usmsc0
Media type: autoselect
Host IP: 192.168.2.106
Netmask: 255.255.255.0
IPv4 Gateway: 192.168.2.1
我在本地PC上检查了这些值的正确性,请参阅:
nmcli dev list iface eth0 | grep IP4
IP4.ADDRESS[1]: ip = 192.168.2.102/24, gw = 192.168.2.1
IP4.DNS[1]: 192.168.2.1
IP4.DOMAIN[1]: Speedport_W_504V_Typ_A
我的网络设置如下: 互联网----- DSL路由器(192.168.2.1。)--- PC(192.168.2.102),Raspberry PI(192.168.2.106)。
sysinst的输出如下:
Status: Command failed
Command: /usr/bin/ftp -a http://nyftp.NetBSD.org/pub/NetBSD-daily/HEAD/20141
2290640Z/evbarm-arm/binary/sets/kern-RPI.tgz
Hit enter to continue
--------------------------------------------------------------------------------
ftp: Can't LOOKUP `nyftp.NetBSD.org:http': Temporary failure in name resolution
以太网电缆已连接,并且已通过DHCP分配了有效的IP(我通过SSH连接到RPI)。
有什么想法吗?
感谢您的帮助! 乔
答案 0 :(得分:1)
Eric Schnoebelen先生的暗示终于让我做了以下工作: 我没有使用主机名(nyftp.netbsd.org),而是使用我在本地PC上使用nslookup查找的IP地址:
nslookup nyftp.netbsd.org
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
nyftp.netbsd.org canonical name = netbsd3.cs.columbia.edu.
Name: netbsd3.cs.columbia.edu
Address: 128.59.23.63
这终于奏效了......