Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Am following another thread to install onto my Toshiba laptop A215-S7428. I get to the point where I issue the command:
sudo ndiswrapper -i WUSB54GSC.inf
I get this back:
couldn't find SourceDiskFiles section - continuing anyway...
couldn't create /etc/ndiswrapper/wusb54gsc: File exists at /usr/sbin/ndiswrapper line 194
You will need the .inf file and the .sys file from the windows driver files located in the same directory you are working from. What I have always done is place these files in my home directory (but it can be any directory you want to create as long as that is the directory you are install from.) I've never seen this error in ndiswrapper, but it appears as though it is not finding the .inf file. In any case, remove the driver that is already installed with:
sudo ndiswrapper -r WUSB54GSC
and start again, making sure your files are in your working directory.
You will need the .inf file and the .sys file from the windows driver files located in the same directory you are working from. What I have always done is place these files in my home directory (but it can be any directory you want to create as long as that is the directory you are install from.) I've never seen this error in ndiswrapper, but it appears as though it is not finding the .inf file. In any case, remove the driver that is already installed with:
sudo ndiswrapper -r WUSB54GSC
and start again, making sure your files are in your working directory.
Bob
Thanks for your response. I put WUSB54GSC.inf in my home directory as well as ndiswrapper 1.52, usb8023.sys and rndismp.sys
issued the command:sudo ndiswrapper -i WUSB54GSC and got this:
couldn't open WUSB54GSC.inf: No such directory at /usr/sbin/ndiswrapper line 219
In my home folder should I have a folder for ndiswrapper 1.52and then the files by themselves also in the home folder? I had made a seperate folder(drivers) that contained the 3 files before.
I could be wrong, but I think the issue is with your installation of ndiswrapper. You do not need the ndiswrapper program files in your home directory if it is installed correctly. How did you install it? You can install the correct version of ndiswrapper from the command line with:
This will not only install the correct version of ndiswrapper (1.50 though the latest is the one you mention 1.52), but will also install a neat little GUI into your System menu called Windows Wireless Drivers. This is just a frontend for ndiswrapper, but makes it much easier for someone new to the program to use it. It allows you to use graphical instructions to browse to the location of your .inf file and install it. I will post another link when I find it for further instructions on your particular chipset.
Here is a very lengthy thread in the SuSe forum regarding this same chipset. Even though the instructions are for another distro, they will also work for Ubuntu. First make sure you have the ndiswrapper installed correctly.
How can I be sure that ndiswrapper is installed correctly?
Now I get:
couldn't open /home/edv/drivers/wusb54gsc.inf: No such file or directory at usr/sbin/ndiswrapper line 219
The .inf file is in the drivers folder.
I appreciate all that you're giving me, but it's still not clicking....
After following your reply w/this command line:
sudo apt-get install ndiswrapper-common && sudo apt-get install ndisgtk && sudo apt-get install ndiswrapper-utils-1.9
This will not only install the correct version of ndiswrapper (1.50 though the latest is the one you mention 1.52), but will also install a neat little GUI into your System menu called Windows Wireless Drivers. This is just a frontend for ndiswrapper, but makes it much easier for someone new to the program to use it. It allows you to use graphical instructions to browse to the location of your .inf file and install it. I will post another link when I find it for further instructions on your particular chipset.
I now have the GUI under System. It states I have an invalid driver. When I point to the folder and highlight the file, the messsage I keep receiving is "error while installing"
Sorry so long between replies....working a lot of hours.
There is another thread about this Linksys wireless chipset. This one is about Ubuntu 7.04. After reading this thread, and the problems you are having, I believe the problems is some alterations which need to be made to the Windows drivers. This thread includes instructions on downloading and installing ndiswrapper, but since you already have it installed, you can ignore that part. The interesting part is the instructions on making changes to the .sys file in the driver folder.
Sorry so long between replies....working a lot of hours.
There is another thread about this Linksys wireless chipset. This one is about Ubuntu 7.04. After reading this thread, and the problems you are having, I believe the problems is some alterations which need to be made to the Windows drivers. This thread includes instructions on downloading and installing ndiswrapper, but since you already have it installed, you can ignore that part. The interesting part is the instructions on making changes to the .sys file in the driver folder.
Bob thanks for all your replies, but I'm stuck at this point:
Step 3 - Getting the drivers
The driver files needed are WUSB54GSC.inf, usb8023.sys and rndismp.sys. Have the MS Windows 2000 or XP driver CD needed for the wireless hardware, or download from the Linksys site. The .inf file is located in the 'Drivers' folder. The .sys files will need to be stripped from the data1.cab and data2.cab files found under the 'Utilities' directory. To do this, you need to get unshield. Run:
sudo apt-get install unshield
In the terminal, change to the "Utilities' directory containing the .cab files and run;
It says to "change to the utilities directory"
I'm confused at this point. Where is the utilities directory and what command do I issue to get to it. I've already made a folder(drivers) inside my home folder and it contains WUSB54GSC.inf, usb8023.sys and gsc with a red x thru it sayng invalid driverrndismp.sys. files
When I look at my currently installed drivers, it displays wusb54gsc with a red x thru it saying invalid driver. It asks to install a new inf driver and I'll point to the file right from the folder on the cd, but it says error while installing.......
If you have any suggestions to work from, please advise. Some of these threads speak of older versions. Should I uninstall 8.04 and go to an older version? I'm ready to steal my old Acer from my daughter, it found the wireless card right away. I'm not ready to let this Toshiba beat me down yet.
Well, mistered39, I think I have run out of any ideas. All of the things I would have tried myself with this problem, I have shared. You seem to have ndiswrapper installed ok, and apparently the drivers you have are the correct ones. The truth is,I have mainly used ndiswrapper with pcmia cards and the only time I have used it with a usb card is in my own internal usb wireless in my Toshiba A210, but it is a Realtek 8187B and not a Linksys. I have NEVER been successul on my first try any time I have used ndiswrapper, but, eventually it worked.
One more thing you might try is to open the .inf file with a text editor. This is simply to look inside it and see if there are any obvious answers. Also might try with just the .inf, the .sys. If there is more than one version in the driver folder (i.e. one for WinXP and Win98) try them both. I had to use the Win98 driver with the Realtek in my Tosiba because the WinXP drivers would not work.
Sorry I was not able to help you solve this, but there many more on this forum with much more knowledge and experience than I have. Hopefully one of them will take notice.
Bob you've done more than I could expect without actually being here to hold my hand. Now my Toshiba has the 8187b inside it. Reading all the threads on it, it seemed harder to configure it. Playing with it is another story. The computer finds the driver, but not the hardware. could you tell me what your steps were for it?. If nothing works I can still use it as a desktop, plugged in. Thanks again Ed
Download the windows drivers, unzip them and put the the folder in your home directory or any other directory you want to access. I just put them in a folder in my home directory called downloads. The drivers you want are, believe it or not, the Win98 drivers, not the XP. You want the net8187b,inf and the rtl8187B.sys. Open the .inf file in a text editor. You will see these two lines about half way down:
This line you add is identical to the ones above it except for the last "8197". You see, for some reason, Toshiba decided to make the internal wireless a USB connection instead of PCI. So this line is needed because if you run
Code:
sudo lsusb
it will return this:
Code:
Bus 006 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
So, to access this address you need this additional line.
Now, run ndiswrapper with these files and you will be able to use your wireless. I can confirm it works and works well.
edv@edv-laptop:~$ ndiswrapper -l
net8187b : driver installed
wusb54gsc : driver installed
device (13B1:0026) present
edv@edv-laptop:~$ lsusb
Bus 006 Device 004: ID 13b1:0026 Linksys
Bus 006 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
edv@edv-laptop:~$
In the wireless network window it shows both drivers installed, but no hardware for net8187b. When I manually look for wireless connections nothing shows up other than my ethernet connection. How do I get either device to show so I can use my wireless?
Well, it looks like the original USB device (the linksys) is installed and ndiswrapper is working. Have you run, as root:
# modprobe ndiswrapper
This loads the ndiswrapper module if you have not already done so. after you have loaded the ndiswrapper module, the lights on the external device should light up, but the connection will not have yet been configured. If you have already ran
modprobe ndiswrapper, try your wireless with ifconfig. See what shows up. You are almost there! If you want to use the internal wireless (the realtek) you might need to remove the wusb drive because they may conflict since they both run from usb.
Let me know what running the modprobe command does for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.