BASH   59

inst1

Guest on 29th April 2022 03:11:16 PM

  1. #!/bin/sh
  2.  
  3. hwclock --hctosys --utc
  4.  
  5. mount -oremount,noatime /
  6.  
  7. # tskeys are buggy
  8. killall tskeys
  9. mv /usr/bin/tskeys /usr/bin/tskeys.dist
  10. /etc/init.d/gpe-dm stop
  11. swapon /home/swap
  12.  
  13. # fire wlan0 up manually. You MUST exit for your network.
  14. prism2_srec -rp wlan0 /lib/firmware/rf010704.hex
  15. killall wpa_supplicant
  16. wpa_supplicant -B -i wlan0 -c ~/files/private/etc/wpa_supplicant.conf -D hostap
  17. sleep 1
  18. ifconfig wlan0 up
  19. iwconfig wlan0 essid UTX
  20. iwconfig wlan0 key off
  21. iwconfig wlan0 power 300us
  22. iwconfig wlan0 nick Zaurus
  23. udhcpc -i wlan0

Raw Paste


Login or Register to edit or fork this paste. It's free.