1 / 18

Week 5 專題報告

Week 5 專題報告. 陳昱光 黃健瑋 黃志揚. 目標. Enable tftp run in server Make kernel and run in ap. Setup tftp. 遇到的問題 : 1. 不能 put 檔案至 AP , 產生的錯誤有以下幾種 I . Only absolute filenames allowed II. Forbidden directory III . 偶爾 shell 會壞掉 出現 input/output error 等錯誤訊息. Setup tftp (cont).

enoch
Download Presentation

Week 5 專題報告

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. Week 5專題報告 陳昱光 黃健瑋 黃志揚

  2. 目標 • Enable tftp run in server • Make kernel and run in ap

  3. Setup tftp • 遇到的問題: 1. 不能 put 檔案至AP ,產生的錯誤有以下幾種 I. Only absolute filenames allowed II. Forbidden directory III . 偶爾 shell會壞掉 出現 input/output error等錯誤訊息

  4. Setup tftp (cont) • 解決方法: • 因為一開始都將AP設為server,然後主機設成client,然後經過無數種嘗試都失敗,後來將server端與client端對調後 ,就可以成功的get檔案到AP上了

  5. Get file by tftp

  6. Make kernel • Unzip to /opt • tar –xf /data/GPL/GPL_1927.zip –C /opt

  7. Make kernel (cont) • Setup tool chain • hndtools-mipsel-uclibc-3.2.3-full • Move to /opt/brcm/ /opt/brcm/hndtools-mipsel-uclibc-3.2.3-full • Unlink old link, re-link.

  8. Make kernel (cont)

  9. Make kernel (cont) • Link tool chain • rm -rf /opt/brcm/hndtools-mipsel-uclibc • mv /data/toolschain/opt/brcm/hndtools-mipsel-uclibc-3.2.3-full /opt/bcrm/ • ln -s hndtools-mipsel-uclibc-3.2.3-full hndtools-mipsel-uclibc

  10. Make kernel (cont)

  11. Make kernel (cont) • tar wl500g-1.9.2.7-8 • mv wl500g-1.9.2.7-7g /opt/broadcom/src/ • cd /opt/broadcom/src/wl500g-1.9.2.7-7g • Setup environment variable /opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin:$PATH export PATH=/opt/broadcom/tools:$PATH

  12. Make kernel (cont)

  13. Make kernel (cont) • 接下來 make kernel 和make • 起初我們把一些make kernel所需要的檔案放在router的隨身碟上進行make,卻發現缺少某些指令如find... 後來問基傑 他說他們是在本機下make的,所以就改在主機上make • 但在主機上make kernel 之後的make 卻出現了跟gcc 有關的error,起初以為是套件沒裝,但是經過了無數的嘗試之後,最後在看過錯誤訊息的config.log檔之後,才知道原來是在make途中,它好像會有測試有關gcc的功能,但是這個gcc是在hndtools-mipsel-uclibc-3.2.3-full中的,所以我們不管怎樣對本機的gcc作啥改變 也不會有什麼結果,然後發現是解壓縮後檔案有缺,所以跟另一組copy ndtools-mipsel-uclibc-3.2.3-full和hndtools-mipsel-linux這兩個檔就OK了

  14. Make kernel (cont) • 產生gateway • 然後 • cd /opt/broadcom/src/gateway • 再 make ; make install • 產生 WL500gp-1.9.2.7-8g.trx

  15. Make kernel (cont)

  16. 祝老師 生 日 快 樂

  17. 幕後花絮 • jerryZ 回文:老師 你是好人 • yddet41 回文:祝老師每天都快樂一點都不煩~~氣宇非凡!!!! • ht19880723 回文:上老師的課一點都不煩~~ 我不煩 • Father 回文:老師真的很好 • stevensun 回文:老師人超好的 不凡~ 生日快樂XD

More Related