mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-11-16 19:50:31 +01:00
added BT module, comment out wlan0 interface
This commit is contained in:
parent
0949b598e8
commit
9ecf851ad5
1 changed files with 8 additions and 6 deletions
14
build.sh
14
build.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue