wikiroute

networking recipes

User Tools

Site Tools


mr3020_with_openwrt

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
mr3020_with_openwrt [2013/09/11 21:16]
samer
mr3020_with_openwrt [2014/01/11 05:28] (current)
Line 114: Line 114:
  
 Create swap and filesystems,​ also set unique label in addition to automatically generated uuid Create swap and filesystems,​ also set unique label in addition to automatically generated uuid
 +
 <​code>​ <​code>​
-mkswap /dev/sda1 -L ow_swap_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6` 
 mkfs.ext3 /dev/sda2 -L ow_root_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6` mkfs.ext3 /dev/sda2 -L ow_root_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6`
 mkfs.ext3 /dev/sda3 -L ow_data_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6` mkfs.ext3 /dev/sda3 -L ow_data_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6`
 +</​code>​
 +
 +Get back to your router and activate swap:
 +<​code>​
 +root@OpenWrt:​~#​ mkswap /dev/sda1 -L ow_swap_`dd if=/​dev/​urandom bs=1k count=1|tr -dc "​a-f0-9"​|cut -c1-6`
 </​code>​ </​code>​
  
mr3020_with_openwrt.txt ยท Last modified: 2014/01/11 05:28 (external edit)