LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-04-2008, 10:53 AM   #1
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Rep: Reputation: 0
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?
 
Old 05-04-2008, 02:49 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-04-2008, 05:15 PM   #3
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BobNutfield View Post
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.
 
Old 05-04-2008, 05:53 PM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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.
 
Old 05-04-2008, 05:59 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-04-2008, 06:04 PM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Sorry, don't the link posted properly. Here it is again.

http://forums.suselinuxsupport.de/in...howtopic=65781
 
Old 05-04-2008, 06:21 PM   #7
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BobNutfield View Post
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....
 
Old 05-05-2008, 09:47 AM   #8
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BobNutfield View Post
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?
 
Old 05-05-2008, 01:48 PM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-07-2008, 10:50 AM   #10
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BobNutfield View Post
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.
 
Old 05-07-2008, 04:14 PM   #11
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-08-2008, 08:21 AM   #12
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 05-09-2008, 02:20 PM   #13
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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.
 
Old 05-10-2008, 12:09 PM   #14
mistered39
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Question

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?
 
Old 05-10-2008, 02:01 PM   #15
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Usb Wusb54gsc andrew40 Linux - Hardware 7 09-25-2007 02:11 AM
Wireless setup help WUSB54GSC OpenSUSE 10.2 WRXHokie SUSE / openSUSE 4 02-08-2007 07:36 PM
Wireless setup help WUSB54GSC OpenSUSE 10.2 WRXHokie Linux - Wireless Networking 1 01-07-2007 08:18 PM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Ubuntu 0 06-13-2006 07:33 AM


All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration