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 revisionPrevious revision
Next revision
Previous revision
mr3020_with_openwrt [2013/09/11 21:15] samermr3020_with_openwrt [2014/01/11 05:28] (current) – external edit 127.0.0.1
Line 90: Line 90:
 p p
 3 3
 +
  
 w w
Line 113: 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.1378926935.txt.gz · Last modified: 2014/01/11 05:25 (external edit)