diff --git a/build.sh b/build.sh index f913509..6c1d554 100644 --- a/build.sh +++ b/build.sh @@ -209,15 +209,15 @@ EOT #EOT #use wifi-menu wlan0 to configure -cat > $DEST/output/sdcard/etc/netctl/wlan0 < $DEST/output/sdcard/etc/netctl/wlan0 <> $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/ # USB redirector tools http://www.incentivespro.com -cd $DEST -wget http://www.incentivespro.com/usb-redirector-linux-arm-eabi.tar.gz -tar xvfz 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 -make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=$DEST/linux-sunxi/ +#cd $DEST +#wget http://www.incentivespro.com/usb-redirector-linux-arm-eabi.tar.gz +#tar xvfz 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 +#make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=$DEST/linux-sunxi/ # 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/%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/%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 +#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/%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 +#chmod +x $DEST/usb-redirector-linux-arm-eabi/files/rc.usbsrvd # 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/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/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/rc.usbsrvd $DEST/output/sdcard/etc/modules-load.d/ # started by default # hostapd from testing binary replace. diff --git a/config/hostapd.conf b/config/hostapd.conf deleted file mode 100755 index 184d1d3..0000000 --- a/config/hostapd.conf +++ /dev/null @@ -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 \ No newline at end of file