2014-12-29 79 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 

這終於摸索...