mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-26 21:58:20 +01:00
usbredirector and wlan0 commented out
This commit is contained in:
parent
5753b9d5b9
commit
0eeb25883e
2 changed files with 19 additions and 38 deletions
38
build.sh
38
build.sh
|
@ -209,15 +209,15 @@ EOT
|
||||||
#EOT
|
#EOT
|
||||||
|
|
||||||
#use wifi-menu wlan0 to configure
|
#use wifi-menu wlan0 to configure
|
||||||
cat > $DEST/output/sdcard/etc/netctl/wlan0 <<EOT
|
#cat > $DEST/output/sdcard/etc/netctl/wlan0 <<EOT
|
||||||
auto wlan0
|
#auto wlan0
|
||||||
allow-hotplug wlan0
|
#allow-hotplug wlan0
|
||||||
iface wlan0 inet dhcp
|
#iface wlan0 inet dhcp
|
||||||
# wpa-ssid SSID
|
# wpa-ssid SSID
|
||||||
# wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
# wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
# to generate proper encrypted key: wpa_passphrase yourSSID yourpassword
|
# 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
|
# create interfaces if you want to have AP. /etc/modules must be: bcmdhd op_mode=2
|
||||||
#cat <<EOT >> $DEST/output/sdcard/etc/network/interfaces.hostapd
|
#cat <<EOT >> $DEST/output/sdcard/etc/network/interfaces.hostapd
|
||||||
|
@ -255,22 +255,22 @@ cp -R $DEST/linux-sunxi/output/lib/modules $DEST/output/sdcard/lib/
|
||||||
cp -R $DEST/linux-sunxi/output/lib/firmware/ $DEST/output/sdcard/lib/
|
cp -R $DEST/linux-sunxi/output/lib/firmware/ $DEST/output/sdcard/lib/
|
||||||
|
|
||||||
# USB redirector tools http://www.incentivespro.com
|
# USB redirector tools http://www.incentivespro.com
|
||||||
cd $DEST
|
#cd $DEST
|
||||||
wget http://www.incentivespro.com/usb-redirector-linux-arm-eabi.tar.gz
|
#wget http://www.incentivespro.com/usb-redirector-linux-arm-eabi.tar.gz
|
||||||
tar xvfz usb-redirector-linux-arm-eabi.tar.gz
|
#tar xvfz usb-redirector-linux-arm-eabi.tar.gz
|
||||||
rm usb-redirector-linux-arm-eabi.tar.gz
|
#rm usb-redirector-linux-arm-eabi.tar.gz
|
||||||
cd $DEST/usb-redirector-linux-arm-eabi/files/modules/src/tusbd
|
#cd $DEST/usb-redirector-linux-arm-eabi/files/modules/src/tusbd
|
||||||
make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=$DEST/linux-sunxi/
|
#make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=$DEST/linux-sunxi/
|
||||||
# configure USB redirector
|
# configure USB redirector
|
||||||
sed -e 's/%INSTALLDIR_TAG%/\/usr\/local/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1
|
#sed -e 's/%INSTALLDIR_TAG%/\/usr\/local/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1
|
||||||
sed -e 's/%PIDFILE_TAG%/\/var\/run\/usbsrvd.pid/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1 > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
#sed -e 's/%PIDFILE_TAG%/\/var\/run\/usbsrvd.pid/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1 > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
||||||
sed -e 's/%STUBNAME_TAG%/tusbd/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1
|
#sed -e 's/%STUBNAME_TAG%/tusbd/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1
|
||||||
sed -e 's/%DAEMONNAME_TAG%/usbsrvd/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1 > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
#sed -e 's/%DAEMONNAME_TAG%/usbsrvd/g' $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd1 > $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
||||||
chmod +x $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
#chmod +x $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd
|
||||||
# copy to root
|
# copy to root
|
||||||
cp $DEST/usb-redirector-linux-arm-eabi/files/usb* $DEST/output/sdcard/usr/local/bin/
|
#cp $DEST/usb-redirector-linux-arm-eabi/files/usb* $DEST/output/sdcard/usr/local/bin/
|
||||||
cp $DEST/usb-redirector-linux-arm-eabi/files/modules/src/tusbd/tusbd.ko $DEST/output/sdcard/usr/local/bin/
|
#cp $DEST/usb-redirector-linux-arm-eabi/files/modules/src/tusbd/tusbd.ko $DEST/output/sdcard/usr/local/bin/
|
||||||
cp $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd $DEST/output/sdcard/etc/modules-load.d/
|
#cp $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd $DEST/output/sdcard/etc/modules-load.d/
|
||||||
# started by default
|
# started by default
|
||||||
|
|
||||||
# hostapd from testing binary replace.
|
# hostapd from testing binary replace.
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
ssid=CUBIE
|
|
||||||
interface=wlan0
|
|
||||||
hw_mode=g
|
|
||||||
channel=1
|
|
||||||
bridge=br0
|
|
||||||
|
|
||||||
logger_syslog=0
|
|
||||||
logger_syslog_level=0
|
|
||||||
|
|
||||||
wmm_enabled=0
|
|
||||||
wpa=2
|
|
||||||
preamble=1
|
|
||||||
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
|
|
||||||
wpa_passphrase=12345678
|
|
||||||
wpa_key_mgmt=WPA-PSK
|
|
||||||
wpa_pairwise=TKIP
|
|
||||||
rsn_pairwise=CCMP
|
|
||||||
auth_algs=1
|
|
||||||
macaddr_acl=0
|
|
Loading…
Reference in a new issue