From 04938faa17146669877fab3a25b9231ad0887b23 Mon Sep 17 00:00:00 2001 From: Jules Winnfield Date: Sat, 25 Jan 2014 12:10:05 +0100 Subject: [PATCH] clean --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7e7c8e0..47a7219 100644 --- a/build.sh +++ b/build.sh @@ -255,11 +255,13 @@ echo cubie > $DEST/output/sdcard/etc/hostname # load modules cat > $DEST/output/sdcard/etc/modules-load.d/cubieModules.conf + cat <> $DEST/output/sdcard/etc/modules-load.d/cubieModules.conf hci_uart gpio_sunxi bcmdhd #sunxi_gmac + EOT # edit this to your personal needs/network configs @@ -270,7 +272,9 @@ allow-hotplug eth0 iface eth0 inet dhcp # hwaddress ether AE:50:30:27:5A:CF # change this # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 + EOT + cat <> $DEST/output/sdcard/etc/netctl/interfaces/wlan0 auto wlan0 allow-hotplug wlan0 @@ -278,8 +282,8 @@ iface wlan0 inet dhcp # wpa-ssid SSID # wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword -EOT +EOT # create interfaces if you want to have AP. /etc/modules must be: bcmdhd op_mode=2 #cat <> $DEST/output/sdcard/etc/network/interfaces.hostapd