LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem w/wusb54gsc in Ubuntu 8.04 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-w-wusb54gsc-in-ubuntu-8-04-a-639797/)

mistered39 05-04-2008 09:53 AM

Problem w/wusb54gsc in Ubuntu 8.04
 
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

Where do I go from here?

BobNutfield 05-04-2008 01:49 PM

Hello,

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

mistered39 05-04-2008 04:15 PM

Quote:

Originally Posted by BobNutfield (Post 3142433)
Hello,

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.

BobNutfield 05-04-2008 04:53 PM

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:

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.

BobNutfield 05-04-2008 04:59 PM

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.

http://http://forums.suselinuxsuppor...howtopic=65781

BobNutfield 05-04-2008 05:04 PM

Sorry, don't the link posted properly. Here it is again.

http://forums.suselinuxsupport.de/in...howtopic=65781

mistered39 05-04-2008 05:21 PM

Quote:

Originally Posted by BobNutfield (Post 3142627)
Sorry, don't the link posted properly. Here it is again.

http://forums.suselinuxsupport.de/in...howtopic=65781

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....

mistered39 05-05-2008 08:47 AM

Quote:

Originally Posted by BobNutfield (Post 3142627)
Sorry, don't the link posted properly. Here it is again.

http://forums.suselinuxsupport.de/in...howtopic=65781

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"

Am I getting any closer to solving this?

BobNutfield 05-05-2008 12:48 PM

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.

This sounds like it will work for you.

Here is the link:

http://ubuntuforums.org/archive/index.php/t-459617.html

mistered39 05-07-2008 09:50 AM

Quote:

Originally Posted by BobNutfield (Post 3143621)
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.

This sounds like it will work for you.

Here is the link:

http://ubuntuforums.org/archive/index.php/t-459617.html

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.

BobNutfield 05-07-2008 03:14 PM

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.

Best regards

Bob

mistered39 05-08-2008 07:21 AM

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

BobNutfield 05-09-2008 01:20 PM

Ahhh! The good ol' 8187B! Now, that one I can help you with....

Go here:

http://www.realtek.com.tw/downloads/...Downloads=true

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:

Quote:

%RTL8187B.DeviceDesc% = RTL8187B.ndi, USB\VID_0BDA&PID_8187&REV_0200

%RTL8187B.DeviceDesc% = RTL8187B.ndi, USB\VID_0BDA&PID_8189&REV_0200
Directly under these lines, add this one:

Quote:

%RTL8187B.DeviceDesc% = RTL8187B.ndi, USB\VID_0BDA&PID_8197&REV_0200
and save the file.

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.

Let me know how it works out.

mistered39 05-10-2008 11:09 AM

Well Bob, here is what I now have:

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?

BobNutfield 05-10-2008 01:01 PM

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.

Bob


All times are GMT -5. The time now is 03:44 AM.