0

**So, after doing a little digging, I got it to work. You do get far enough in the install using WINE for this to work properly. Here are the steps:

  1. Open the shell, and type in cd .wine
  2. cd drive_c
  3. cd Program\ Files\ (x86)/
  4. cd NETGEAR
  5. cd A6200
  6. cd Drivers
  7. sudo diswrapper -i nameoffile .inf
  8. sudo modprobe diswrapper
  9. sudo ndiswrapper -m

And that got it to work. Note: The adapter did NOT work until after the command sudo modprobe diswrapper

– thechemEnt May 3 '14 at 22:52**

The text above is concerning a netgear wifi USB adapter I am trying to get functioning on Linux Mint 17.4.

I am using the cd change directory command and entering the appropriate directory he is stating in sequence (I have the exact directories available on my install) as he states it. When I get to the Program Files (x86) folder I get an error:

bash: syntax error near unexpected token '(' 

I can't, rather, I have no idea how to get to the next folder because of this error. What is causing this? What syntax do I need to use to get into that folder so I can dig deeper as required to get to the driver.

6
  • Sorry, I'm using the terminal for this
    – DarodG8R
    CommentedFeb 21, 2016 at 22:36
  • We only support official releases of Ubuntu.
    – Rinzwind
    CommentedFeb 21, 2016 at 22:45
  • May we assume you are using Windows XP driver files? ndiswrapper won't work otherwise.
    – chili555
    CommentedFeb 21, 2016 at 23:04
  • I used the drives from the link provided from the original post on askubuntu. I don't know if they are xp drivers or something else. I did however follow through on all the directions on that original post and I believe it still is not working. I'm trying to remember the command to see the info for the devices. I am so sorry everyone. I'm really green. Been on Linux for about 3 hours. :-)
    – DarodG8R
    CommentedFeb 21, 2016 at 23:14
  • You may get valuable clues from two commands: ndiswrapper -l and also: dmesg | grep ndis.
    – chili555
    CommentedFeb 22, 2016 at 2:03

2 Answers 2

7

You need to quote the directory name

"Program Files (x86)" 

or

'Program Files (x86)' 

or escape the spaces AND parentheses using backslashes

Program\ Files\ \(x86\) 

Steps 1 to 6 can also be done in one, as you can directly go into the subdirectories with cd:

cd .wine/drive_c/Program\ Files\ \(x86\)/NETGEAR/A6200/Drivers #or cd .wine/drive_c/"Program Files (x86)"/NETGEAR/A6200/Drivers 
    3

    You can type:

    cd 

    Then, the first character of the directory name and hit TAB key. The shell interpreter (like bash shell) will complete the path in the current directory. Hit TAB to show all options which start with the character.

    cd "Program Files (x86)" 

    You can also change dir (cd) to other paths:

    cd ~/ 

    Then, hit TAB key to see all your home directories.

      You must log in to answer this question.

      Start asking to get answers

      Find the answer to your question by asking.

      Ask question

      Explore related questions

      See similar questions with these tags.