mr3020_with_openwrt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mr3020_with_openwrt [2013/02/15 00:37] – samer | mr3020_with_openwrt [2014/01/11 05:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
With OpenWRT the default IP address of the router is 192.168.1.1. Connect to the router via Ethernet cable using telnet or web GUI. The router should now be configured to connect to the Internet. The following example supposes that the MR-3020 router is connected to a gateway configured with 192.168.1.1. | With OpenWRT the default IP address of the router is 192.168.1.1. Connect to the router via Ethernet cable using telnet or web GUI. The router should now be configured to connect to the Internet. The following example supposes that the MR-3020 router is connected to a gateway configured with 192.168.1.1. | ||
- | < | + | < |
root@OpenWrt: | root@OpenWrt: | ||
config interface ' | config interface ' | ||
Line 61: | Line 61: | ||
< | < | ||
- | root@OpenWrt: | + | root@OpenWrt: |
</ | </ | ||
Update the packages and install the necessary tools to migrate rootfs on external storage | Update the packages and install the necessary tools to migrate rootfs on external storage | ||
- | < | + | < |
- | opkg update && opkg install kmod-usb-core kmod-usb2 kmod-usb-storage kmod-fs-ext4 block-mount kmod-usb-uhci kmod-usb-ohci | + | root@OpenWrt: |
</ | </ | ||
- | On a linux machine, plug a usb external drive or a memory stick. Start by wiping existing partition table from USB memory stick. In order to identify the name of the corresponding device, take a look at ''/ | + | On a linux machine, plug a usb external drive or a memory stick. Start by wiping existing partition table from USB memory stick. In order to identify the name of the corresponding device, take a look at ''/ |
Partition USB memory stick with 64M swap, 256M root and rest as third partition | Partition USB memory stick with 64M swap, 256M root and rest as third partition | ||
Line 85: | Line 85: | ||
p | p | ||
2 | 2 | ||
+ | |||
+256M | +256M | ||
n | n | ||
p | p | ||
3 | 3 | ||
+ | |||
w | w | ||
Line 112: | Line 114: | ||
Create swap and filesystems, | Create swap and filesystems, | ||
+ | |||
< | < | ||
- | mkswap /dev/sda1 -L ow_swap_`dd if=/ | ||
mkfs.ext3 /dev/sda2 -L ow_root_`dd if=/ | mkfs.ext3 /dev/sda2 -L ow_root_`dd if=/ | ||
mkfs.ext3 /dev/sda3 -L ow_data_`dd if=/ | mkfs.ext3 /dev/sda3 -L ow_data_`dd if=/ | ||
+ | </ | ||
+ | |||
+ | Get back to your router and activate swap: | ||
+ | < | ||
+ | root@OpenWrt: | ||
</ | </ | ||
mr3020_with_openwrt.1360885062.txt.gz · Last modified: 2014/01/11 05:25 (external edit)