Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:wr941nd [2015/10/05 11:32]
darron [OpenWRT]
boards:wr941nd [2018/12/04 12:45] (current)
darron
Line 4: Line 4:
 </wrap> </wrap>
  
-=== OpenWRT ===+=== OpenWRT LEDE ===
  
-Check-out+==Check-out ==
 <code> <code>
 mkdir -p /embedded/openwrt/ mkdir -p /embedded/openwrt/
 cd /embedded/openwrt/ cd /embedded/openwrt/
-git clone git://git.openwrt.org/openwrt.git openwrt.git +git clone git://github.com/openwrt/openwrt.git openwrt-wr941.git 
-chown -R nobody:nogroup /embedded/openwrt/openwrt.git +cd /embedded/openwrt/openwrt-wr941.git 
-cd /embedded/openwrt/openwrt.git +git checkout v17.01.6 
-/bin/su nobody+</code> 
 + 
 +==Set up standard feeds== 
 +<code>
 ./scripts/feeds update -a ./scripts/feeds update -a
 </code> </code>
  
-Configure+==Configure==
 <code> <code>
 make menuconfig make menuconfig
 +
  [Target System  = Atheros AR7xxx/AR9xxx]  [Target System  = Atheros AR7xxx/AR9xxx]
- [Target Profile = TP-LINK TL-WR941N/ND]+ [Target Profile = TP-LINK TL-WR941N/ND v3] 
  [Exit] [Yes]  [Exit] [Yes]
 </code> </code>
  
-Build+==Build== 
 +This can take half an hour.
 <code> <code>
-make V=s+chown -R nobody /embedded/openwrt/openwrt-wr941.git 
 +su nobody -c 'make V=s -j 4'
 </code> </code>
  
-Upgrade+==Inspect==
 <code> <code>
-ls -1 bin/ar71xx/*factory+ls -1 bin/targets/ar71xx/generic/*wr941*bin 
-bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v2-squashfs-factory.bin +bin/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin 
-bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin +bin/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin 
-bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin +</code> 
-bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v5-squashfs-factory.bin + 
-bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v6-cn-squashfs-factory.bin +==Install== 
-scp bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin root@192.168.1.1:/tmp/+<code> 
 +scp bin/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin root@192.168.1.1:/tmp/
 ssh root@192.168.1.1 ssh root@192.168.1.1
-cd /tmp +sysupgrade -v /tmp/lede-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin
-sysupgrade -v openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin+
 </code> </code>
 +
 +==Login==
 +<code>
 +ssh root@192.168.1.1
 +
 +BusyBox v1.25.1 () built-in shell (ash)
 +
 +     _________
 +    /        /\      _    ___ ___  ___
 +   /  LE    /  \    | |  | __|   \| __|
 +  /    DE  /    \   | |__| _|| |) | _|
 + /________/  LE  \  |____|___|___/|___|                      lede-project.org
 +        \   DE /
 +  \    LE  \    /  -----------------------------------------------------------
 +    DE    \  /    Reboot (17.01.6, r3979-2252731af4)
 +    \________\/    -----------------------------------------------------------
 </code> </code>
 +
 +==Re-initialise (optional)==
 +<code>
 +firstboot
 +reboot -f
 +</code>
 +
  
 === Resources === === Resources ===
-[[http://wiki.openwrt.org/toh/tp-link/tl-wr941nd|OpenWRT]]\\+[[https://wiki.openwrt.org/toh/tp-link/tl-wr941nd|OpenWRT TP-Link TL-WR941ND]]\\ 
 +[[https://wiki.openwrt.org/doc/recipes/relayclient|OpenWRT bridge]]\\
 [[https://wikidevi.com/wiki/TP-LINK_TL-WR941ND_v3.x|Specifications]] [[https://wikidevi.com/wiki/TP-LINK_TL-WR941ND_v3.x|Specifications]]