added BT module, comment out wlan0 interface

This commit is contained in:
igorpecovnik 2014-01-10 09:22:30 +01:00
parent 0949b598e8
commit 9ecf851ad5

View file

@ -213,22 +213,24 @@ echo cubie > $DEST/output/sdcard/etc/hostname
# load modules # load modules
cat <<EOT >> $DEST/output/sdcard/etc/modules cat <<EOT >> $DEST/output/sdcard/etc/modules
hci_uart
gpio_sunxi gpio_sunxi
bcmdhd bcmdhd
sunxi_gmac #sunxi_gmac
EOT EOT
# create interfaces configuration # create interfaces configuration
cat <<EOT >> $DEST/output/sdcard/etc/network/interfaces cat <<EOT >> $DEST/output/sdcard/etc/network/interfaces
auto eth0 wlan0 auto eth0
allow-hotplug eth0 allow-hotplug eth0
iface eth0 inet dhcp iface eth0 inet dhcp
hwaddress ether AE:50:30:27:5A:CF # change this 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 pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
allow-hotplug wlan0 #auto wlan0
iface wlan0 inet dhcp #allow-hotplug wlan0
wpa-ssid SSID #iface wlan0 inet dhcp
wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # wpa-ssid SSID
# wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# to generate proper encrypted key: wpa_passphrase yourSSID yourpassword # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword
EOT EOT