2014-12-29 81 views
0

我想在我的Raspberry PI B上试用NetBSD。我从here下载了用于RPI的NetBSD安装程序映像。在Raspberry PI上通过HTTP安装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 

我检查正确性这些值在我的本地计算机上,请参阅:

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 

的以太网电缆连接和有效的IP已经经由DHCP被分配(我通过SSH连接到RPI)。

任何想法?

感谢您的帮助! 乔

回答

1

埃里克Schnoebelen先生的暗示终于把我带到了以下解决方法: 而不是使用主机名(nyftp.netbsd.org)我以前使用nslookup本地PC上,我抬头一看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 

这终于摸索...