LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-08-2005, 11:27 AM   #1
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Rep: Reputation: 15
Wireless Network setup


Hello everyone,

I installed slackware 10.1 a little over a month ago and it looks great but my wireless istn working on it

I upgraded to kernel 2.6.10 and then tried the following to try to fix the problem:


i downloaded ndiswrapper and installed it on my linux to try to get my windows drivers to work

http://www.linksys.com/products/prod...id=36&prid=665
that is the wireless g usb network adapter that I have

so i went to ndiswrapper wiki to download the correct driver
http://ndiswrapper.sourceforge.net/p...List#WUSB54Gv4

here is teh driver I downloaded http://www.linksys.com/download/driv...lid=143&osid=6

i transferred this from my C:\ drive to Linux and went in the correct dir and did

code:

ndiswrapper -i Wlan.ini


it said it was installing it
and I then did

code:

modprobe ndiswrapper


which returned a fatal error

then

code:

ndiswrapper -l


which showed me the error message that it was an invalid driver, I tried same steps w/ setup.ini instead of Wlan.ini but it gave me the same thing.

I then tried with the v4 driver of the adapter, same thing.

Why is this happening?

~slackware1299
 
Old 05-08-2005, 11:29 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
You seem to have installed an ini file. You need to install the inf file.
 
Old 05-08-2005, 12:09 PM   #3
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by XavierP
You seem to have installed an ini file. You need to install the inf file.
yay, I finally got somehwre, I looked at another person's post on these forums and he said to use the ini file which is what was screwing me up then,

so i did

Code:
ndiswrapper -i rt2500usb.inf
and then

Code:
ndiswrapper -l
this gave me the message

Installed ndis drivers:
rt2500usb driver present, hardware presetn

which i neve got before

so I then went on to do


Code:
modprobe ndiswrapper
but this gave me the error

FATAL: Module ndiswrapper not found.



Anyone know why this is?

~slackware1299

Last edited by slackware1299; 05-08-2005 at 04:04 PM.
 
Old 05-08-2005, 12:26 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
When I modprobed it, I did it from within the untarred ndiswrapper directory, don't know if that made a difference but it worked first time. Where are you modprobing from?
 
Old 05-08-2005, 12:35 PM   #5
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
I tried modprobing it from the dir from which I installed the driver

i got driver here
http://www.linksys.com/download/driv...lid=143&osid=6

if you want you could download that and just look through the dirs to get a better understanding of all the files and stuff if you dotn already have it

but I first went to

WUSB54Gv4_20050321>Drivers>WUSB54Gv4

where you can find three files a .cat, .sys , and .inf (all file names are rt2500usb)

this is where I did ndiswrapper -i rt2500usb.inf (which copies all necessary files to /etc/ndiswrapper
and then ndiswrapper -l
to see that it had correctly installed it

I then tried to do modprobe ndiswrapper from this dir which i installed the inf file in but got the fatal error

so I then tried same thing in /etc/ndiswrapper, whcih gave me the same thing

thanks helping me out, its greatly appreciated
 
Old 05-08-2005, 01:26 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
How did you upgrade the kernel? I had similar problems when I tried to do a messy update, rather than d/l a new kernel and compile from scratch. I was missing the kernel source and ndiswrapper needs the sources to work correctly.
 
Old 05-08-2005, 02:24 PM   #7
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 474

Rep: Reputation: 45
Did you follow these instructions when compiling ndiswrapper?

http://ndiswrapper.sourceforge.net/p...p/Installation

Also, you need all the files from your windows driver, not just the .inf file. You should copy the entire driver directory and move it over to your linux box. Then go into that driver directory and do the ndiswrapper -i <drivername.inf> command. See Step 2 on those ndiswrapper installation instructions.
 
Old 05-08-2005, 03:02 PM   #8
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Try running depmod -a. Modprobe may not be picking it up.
 
Old 05-08-2005, 03:17 PM   #9
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by XavierP
How did you upgrade the kernel? I had similar problems when I tried to do a messy update, rather than d/l a new kernel and compile from scratch. I was missing the kernel source and ndiswrapper needs the sources to work correctly.
this is what I did to upgrade kernel, I did it from the installation cd, it came with 2.6.10 in /testing i believe

Quote:

It's simple mate.

Simply insert CD #2 AKA Rescue Disc.

Go Under

/mnt/cdrom/testing/packages/linux-2.6.10

Then do:
Code:
Code:

installpkg kernel-generic-2.6.10-i486-1.tgz
installpkg kernel-modules-2.6.10-i486-1.tgz
installpkg mkinitrd-1.0.1-i486-1.tgz (this last one I didn't do)
Then cd back to /boot/ and do:
Code:
Code:

mkinitrd -c -k 2.6.10 -m <your FS type>
Don't forget to update lilo.

Mine looks like this
1st:
Code:
Code:

pico /etc/lilo.conf
After your regular image enter the following:
Code:
Code:
image = /boot/vmlinuz-generic-2.6.10
initrd = /boot/initrd.gz
root = /dev/hdb3
label = Linux2.6.10
read-only
Save and Exit.
2nd: Back on the console type:
Code:
lilo


3rd: Reboot and pray!

Mental Note: Don't delete your 2.4.* image, it might come in handy!

----- POST UPDATED-----

GL.[/code]
i followed those exactly (they are from another person's post in these forums
only thing I did not do were the parts about "mkinitrd" as this was not necessary for ext2

I had previously tried upgrading kernel by downloading it from kernlel.org (2.6.11.7)
and following shilo's tut, but this crashed the system

can you give me any good links to a good tut, i couldnt find any that went very indepth from google, if the upgrade i just did was bad, or should I just try Shilo's again

~slackware1299

EDIT: and yes I did follow all the instructions when installing it from the wiki guide, and it worked fine, otherwise it would not have worked
o, and also, not sure if this will help since it still works after upgrading, I did install ndiswraper, while on kernel 2.4.9, and hten upgraded not sure if this is helpful

and also, I just tried to reinstall ndiswrapper on 2.6.10 just to test if it cna read the source or whataever, and when I tried first:

make distclean (before make, make install)
that did not work, gave me errors about kernel i believe

Last edited by slackware1299; 05-08-2005 at 03:21 PM.
 
Old 05-08-2005, 04:13 PM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Go here: ftp://ftp.slackware.com/pub/slackwar.../linux-2.6.11/ and read the README file, Patrick has explained how to upgrade the kernel. I have done it several times and it works fine. You should install (in my opinion) all the kernel packages. Uninstall Ndiswrapper first, then reinstall after you have updated the kernel. All should then be well.
 
Old 05-08-2005, 04:17 PM   #11
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
thats exactly what I did, see my previous post on how I upgraded the kernel,
thats the exact same code, and I posted about this in another thread adn everyone told me that it was not necessary for ext2 to do the mkinitrd part

here check it out
http://www.linuxquestions.org/questi...hreadid=318879

Quote:
You don't need the initrd if your root filesystem is in ext2 format
I am pretty sure that ext2 is compiled as built-in in the 2.6.10
kernel package
Quote:
yip, ext2 and ext3 are build in the kernel.
if that was not the case, it would have been a module and found by mkinitrd.

so you can just skip them.

egag

Last edited by slackware1299; 05-08-2005 at 04:21 PM.
 
Old 05-08-2005, 04:34 PM   #12
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
From the README>INITRD file
The generic 2.6 kernel in Slackware supports the ext2 filesystem (which is used by the initrd)
I would strongly suggest running the mkinitrd. I would also strongly suggest that you grab and install kernel-generic, kernel-modules, kernel-headers and kernel-source - your post said you only got generic and source - it doesnt hurt to get the whole thing.
 
Old 05-08-2005, 04:58 PM   #13
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
So, if you have an IDE based system that uses the
ext2 filesystem, then you will not need to use an initrd to boot.
Otherwise, read on.
Is this really the correct way to upgrade?

when i tried this way when I got to the mkinitrd part this is what happened
Quote:
followed the instructions above
but when i got to installpkg mkinitrd-1.0.1-i486-1.tgz

i got the message:
Cannot install mkinitrd-1.0.1-i486-1.tgz: package does not end in .tgz
people told me that the reason was that the ext2 was already built in as I said above, which is why I skipped this step


Would it just be easier to upgrade kernel the normal way? from kernel.org with the 2.6.11.7
do you know any good tuts for this, google did not give me any thorough ones
I followed Shilo's tutorial but when I restarted it had crashed the system causing me to have to restart
 
Old 05-08-2005, 05:13 PM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
http://www.linuxquestions.org/questi...hreadid=127095 should be of help. And now I am off to bed - good luck.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cant setup wireless network:'( lunar-blue Linux - Wireless Networking 2 08-03-2005 01:28 PM
Wireless network almost setup Courthold Slackware 2 05-09-2005 02:20 PM
Wireless Network Setup shaival Linux - Wireless Networking 3 11-01-2004 07:10 PM
Wireless Network....setup.... Gunslinger_ROL Linux - Wireless Networking 0 06-14-2004 05:58 PM
Wireless network setup ws2030 Linux - Wireless Networking 1 05-23-2003 01:00 PM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration