Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo 'diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
- index 7bec566..51e24a3 100755
- --- a/package/base-files/files/bin/config_generate
- +++ b/package/base-files/files/bin/config_generate
- @@ -53,7 +53,7 @@ EOF
- lan) uci -q batch <<EOF
- set network.$1.type='\''bridge'\''
- set network.$1.proto='\''static'\''
- -set network.$1.ipaddr='\''192.168.1.1'\''
- +set network.$1.ipaddr='\''192.168.61.1'\''
- set network.$1.netmask='\''255.255.255.0'\''
- set network.$1.ip6assign='\''60'\''
- EOF
- diff --git a/package/base-files/files/etc/shadow b/package/base-files/files/etc/shadow
- index 4b4154f..cd2cd2d 100644
- --- a/package/base-files/files/etc/shadow
- +++ b/package/base-files/files/etc/shadow
- @@ -1,4 +1,4 @@
- -root::0:0:99999:7:::
- +root:$1$0Pnb7rBU$gE5y0qFLtkelOdLQlT.C7/:16303:0:99999:7:::
- daemon:*:0:0:99999:7:::
- ftp:*:0:0:99999:7:::
- network:*:0:0:99999:7:::
- diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
- index 0b662eb..51a83cb 100644
- --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
- +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
- @@ -109,14 +109,12 @@ config wifi-device radio$devidx
- option hwmode 11${mode_band}
- $dev_id
- $ht_capab
- - # REMOVE THIS LINE TO ENABLE WIFI:
- - option disabled 1
- config wifi-iface
- option device radio$devidx
- option network lan
- option mode ap
- - option ssid OpenWrt
- + option ssid VoCore
- option encryption none
- EOF
- diff --git a/target/linux/ramips/dts/VOCORE.dts b/target/linux/ramips/dts/VOCORE.dts
- index e6288b0..29867ed 100644
- --- a/target/linux/ramips/dts/VOCORE.dts
- +++ b/target/linux/ramips/dts/VOCORE.dts
- @@ -46,7 +46,7 @@
- partition@50000 {
- label = "firmware";
- - reg = <0x50000 0x7b0000>;
- + reg = <0x50000 0xfb0000>;
- };
- };
- ' > patch.txt
- apt-get update
- apt-get install -y zlib1g-dev libncurses5-dev gawk subversion libssl-dev git gcc g++ make unzip bzip2 python wget file xz-utils
- git clone git://git.openwrt.org/15.05/openwrt.git vocorechaoscalmer
- cd vocorechaoscalmer
- mv ../patch.txt .
- patch -p1 < patch.txt
- ./scripts/feeds update -a && ./scripts/feeds install -a
- make menuconfig
- export BR2_JLEVEL=2
- make V=1
Add Comment
Please, Sign In to add comment