0

我想在我的 Raspberry PI B 上试用 NetBSD。我从这里下载了 RPI 的 NetBSD 安装程序映像。

不幸的是,我在安装每日快照目录中的集合时遇到了一些麻烦。我遵循12中给出的建议。正如建议的那样,我使用了具有以下配置的 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

我的网络设置如下:Internet ----- 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)。

有任何想法吗?

谢谢你的帮助!乔

4

1 回答 1

1

Eric Sc​​hnoebelen 先生的提示最终将我带入了以下工作:我没有使用主机名 (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

这终于奏效了...

于 2014-12-31T03:51:03.170 回答