I have no idea about any other realtek drivers other than then one stated the 8188CUS, many of the newer wifi adaptors are fine with the default configand api hooks offered by the modern hostapd package.
There is a check part way through the script that assuming I got the logic right will fail if and exit the script if it finds that the normal api hooks are found when an iw list command is executed.
The first example you give (../install-rtl8188cus.sh) I would say would not work as I think there are two 'dots' before the forward slash, and the lack of sudo would not help if you did not have permission to run.
however the second command you show in the P.S looks ok; hmm lets do some basics
Are you changed to the correct directory? Try doing a
You should see a row similar to this:
Code: Select all
-rwxr-xr-x 1 root root 9182 Apr 26 13:04 install-rtl8188cus.sh
The important bits are,
did you see the row? if not try following the instructions once more from top to bottom.
if you saw the row, did you see the X's in the 'rwxr-xr-x' sequence? if not you had a problem with the 'chmod command. try again and read any outut messages carefully.
A good tip is if you 'cd' to the directory with the script and type:
then press the TAB key twice and a list of all the commands in the current directory that start with a lower case 'i' will be displayed, entering more characters of the filename and pressing TAB again will show an updated list of commands that still match the growing prefix you have typed, in this way you can be sure not to have a typo.
Let us know how you get on.