1 / 16

Ubuntu 作業系統下 NEMO Platform for Linux(NEPL) 的架設流程

Ubuntu 作業系統下 NEMO Platform for Linux(NEPL) 的架設流程. 陳建豪 指導教授:張英超 國立彰化師範大學 資訊工程學系. 大綱. NEPL 安裝 影片展示 FAQ. NEPL 安裝 - 架設環境. 硬體 筆記型電腦 * 3 DLink DWL-G650 無線網卡 * 2 軟體 作業系統: Ubuntu 8.04 LTS Desktop Version 無線網卡驅動程式 : Madwifi-ng radvd 1.0

yates
Download Presentation

Ubuntu 作業系統下 NEMO Platform for Linux(NEPL) 的架設流程

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ubuntu作業系統下NEMO Platform for Linux(NEPL)的架設流程 陳建豪 指導教授:張英超 國立彰化師範大學 資訊工程學系

  2. 大綱 NEPL安裝 影片展示 FAQ

  3. NEPL安裝-架設環境 硬體 筆記型電腦 * 3 DLink DWL-G650 無線網卡 * 2 軟體 作業系統:Ubuntu 8.04 LTS Desktop Version 無線網卡驅動程式: Madwifi-ng radvd 1.0 the UMIP kernel patch for 2.6.23(only for kernel 2.6.23) UMIP userland:mipv6-daemon-umip-0.4.tar NEPL patch for UMIP:mipv6-daemon-umip-0.4-nepl-20071105.patch

  4. NEPL安裝-架設環境圖 eth1 eth0 eth0 eth0 ath0 ath0 MR subnet Network eth1 eth0 eth0 eth0 eth0 家網路 遠端網路

  5. NEPL安裝-架設環境圖 網路連接 有線:HA-Router 無線:HA-Home Network Router-Foreign Network 有線連接建議使用跳線,但目前網卡普遍支援AUTO-MDIX技術,所以可先用一般網路線先行測試,若不支援再換成跳線 當無線網卡運行Madwifi模擬AP時,經常性的無端中途錯誤,但燈號及訊息等等皆正常,所以建議將網路相關設定寫成script,方便重複執行。

  6. NEPL安裝-軟體 HA, MR Kernel for NEPL Madwifi RADVD NEPL Router Madwifi RADVD

  7. NEPL安裝-前置作業(1) HA, MR, Router 安裝Ubuntu作業系統 HA, MR修改/etc/apt/sources.list 加入(按照Ubuntu版本修改) deb http://software.nautilus6.org/packages/ubuntu gutsy/ deb-src http://software.nautilus6.org/packages/ubuntu gutsy/ #apt-get update HA, MR安裝kernel安裝包 #apt-get install linux-image-mip6 and linux-headers-mip6 HA, Router已經正確安裝Madwifi

  8. NEPL安裝-RADVD 在HA, MR, Router安裝RADVD #apt-get install radvd 目的:週期性發送Router advertisement 設定檔位置:/etc/radvd.conf 輔助工具;radvdump可觀測發送狀況

  9. NEPL安裝-NEPL HA, MR, Router的Network Manager關閉 #/etc/dbus-1/event.d/25NetworkManager close 利用套件包安裝 #apt-get install mipv6-daemon-umip 關閉mip6d, radvd的開機啟動 /etc/rc3.d/ 按照NEPL網站所撰寫的設定檔給予設定 http://www.nautilus6.org/doc/nepl-howto/

  10. NEPL安裝-啟動 硬體啟動順序HA → Router → MR 啟動步驟 關閉Network Manager 開啟Madwifi 開啟RADVD 開啟NEPL

  11. NEPL安裝-觀察(HA) 安裝結束後,可以利用virtual terminal觀察 HA #telnet localhost 7777 mip6d> bc hoa2001:a:b:0:0:0:0:1 status registered coa 2001:a:d:1:212:f0ff:fe08:72ce flags AH— local 2001:a:b:0:0:0:0:1000 lifetime 23 / 60 seq 25503 unreach 0 mpa 6967 / 7002 retry 0 MNP: 2001:a:b:1:0:0:0:0/64

  12. NEPL安裝-觀察(MR) MR #telnet localhost 7777 mip6d> bul == BUL_ENTRY == Home address 2001:a:b:0:0:0:0:1 Care-of address 2001:a:d:1:212:f0ff:fe08:72ce CN address 2001:a:b:0:0:0:0:1000 lifetime = 60, delay = 57000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR ack ready lifetime 16 / 60 seq 25510 resend 0 delay 57(after 14s) mps 2332358 / 2332798

  13. NEPL安裝-輔助軟體 可利用的測試指令: ifconfig、ping6、tcpdump 可利用的額外軟體(可利用套件庫安裝): radvdump、wireshark 此網卡的IPv6的傳輸能力是否有正常可以利用ifconfig觀察介面卡是否有自動設置Link Local Address迅速得知。 如何取得介面卡的Link Local Address Link Local Address是由介面卡的MAC address換算得來,可利用公式,或者執行ifconfig觀察介面卡下是否有網域為”fe80::”的IPv6Address

  14. 影片展示

  15. FAQ 1.可否使用其他作業系統? 可,之所以選用Ubuntu,是因為官方網站曾對Ubuntu出過安裝包 2.HA接收不到 來自MR的BU? 可利用traceroute6查看目前是那一個區段為斷網 madwifi是否正常運作(有時運作失敗,燈號仍閃爍) mip6d, radvd是否有被開機時啟動,有的話關閉 3.影片中的輔助程式從何而來? 此程式是自寫的GUI輔助程式,並不包涵於NEPL中 4.為什麼要關閉Network Manager 在Ubuntu下,Network Manager為預設網路管理程式,同時間只允許一張網卡正常運行,但NEPL需要使用到兩張網卡以上(對外以及對內網卡),且網卡需要設定為AP模式,Network Manager並不支援,所以關閉Network Manager避免干擾。或者修改網卡設定中auto的設定,讓使用的網卡不在Network Manager管轄範圍內。

  16. Page 19 Thank you

More Related