mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

fix_ux330u (532B)


      1 #!/bin/bash
      2 
      3 # work around some quirks with the Asus Zenbook UX330U hardware
      4 
      5 # previously, needed to load 8723au, NOT r8723au
      6 # and recompile and install ~/apps/rtl8723*
      7 # but it looks like this is no longer true
      8 
      9 if [ `hostname` = gamma -o `hostname` = gamma.a3nm.net ]
     10 then
     11   # somehow the mouse pointer doesn't always work
     12   (sudo modprobe -r psmouse; sudo modprobe psmouse) &
     13 
     14   # somehow wifi is not properly initialized
     15   (sudo ifconfig wlan0 up; sudo iwconfig wlan0 mode managed; sudo service network-manager restart) &
     16 fi
     17