Changes for page Openwrt Notes

Last modified by Leon Poon on 2019/11/02 17:53

From version 14.1
edited by Leon Poon
on 2019/01/06 10:00
Change comment: There is no comment for this version
To version 18.1
edited by Leon Poon
on 2019/01/06 13:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -47,7 +47,8 @@
47 47  * set hostname
48 48  * set root password
49 49  * /etc/network/interfaces (TODO: swconfig while still in openwrt initramfs space?)
50 -* apt-get install file ntp openssh-server gcc
50 +* apt-get install net-tools file ntp openssh-server gcc
51 +** net-tools for ifconfig
51 51  ** gcc for?
52 52  * read-only root
53 53  
... ... @@ -74,3 +74,11 @@
74 74  ip link set eth0 up
75 75  ip route add default via GW
76 76  {{/code}}
78 +
79 += Network =
80 +
81 +{{code language="bash"}}
82 +sed -re 's/^boot_run_hook/#\0/g' -i /etc/preinit
83 +PREINIT=1 . /etc/preinit
84 +for pi_ifname in eth0.1 eth0.2; do preinit_ip; done
85 +{{/code}}