LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-03-2005, 09:02 AM   #1
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Rep: Reputation: 15
FC3/Linksys WPC54G/Newbie/H E L P


Returning to Linux - FOR GOOD. With that said - last time I fumbled around w/Linux was Red Hat 7. I'm a WIN geek but Linux newbie. Loaded FC3 last night on an old laptop (NEC Ready) and is up an operational. Don't seem to have power to my Linksys WPC54G v2. Again, very new to this - I believe that FC3 recognized my PCMCIA slot but surely not the card. Researched this fine forum and got pointed in the right direction. I need NDIS Wrapper and the win driver. No worries - but the instructions that are made available to get ndis wrapper installed seem too confusing to me - I really don't know where to start. I'm hoping one of you pro's out there will help me get this going as I want to RUN AWAY from WINDOWS for good. I want to start w/my LAPTOP - get it good to go and then my two desktops - then my neighborhood/friends. But figured I would start with the hardest to configure - so I would learn more.

Appreciate any feedback/direction that your willing to offer. thanks.
 
Old 02-03-2005, 10:33 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hehe,
Pro eh? Well, no. But I've done a few ndiswrapper installs in my time. Pretty much what you do is try and figure it out for yourself and holler if you get stuck - its the bets way to learn. However because I'm a softie here it is in brief. Get the driver for your card from
ftp://ftp.linksys.com/pub/network/wp...lity_v2.02.zip
Copy across the inf and sys files for Windoze XP and put them in your home folder.
Then,as root, run
make install
followed by
/usr/sbin/ndiswrapper -i <the path to the driver here e.g. /home/chris/driver.inf>
/usr/sbin/ndiswrapper -l
will then confirm the driver is installed
/sbin/modprobe ndiswrapper
will insert the correct module and then you can use the network gui to configure your wireless connection. Post back if any hassles.
Cheers
Chris
 
Old 02-03-2005, 10:51 AM   #3
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
Tks Chris. I'm at work right now but will do as suggested as soon as I can this evening.
Appreciate your help - will post back w/results (hopefully good).
 
Old 02-03-2005, 10:53 AM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Lets hope so. Check my sig for more help as well as the ndiswrapper wiki.
 
Old 02-03-2005, 05:47 PM   #5
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
OK. Using the installation guide for ndiswrapper I ran into the following problem:
I went thru the prerequisites and linked the kernel to the source - no errors.
I downloaded ndiswrapper 1.0 and extracted it with no errors.
cd ndiswrapper-1.0
Ran make distlcean - no errors.
changed to su and ran make - following errors: line 11: gcc: command not found
line 12 same
it continues to run with several errors..error 127, error 2 and returns to the prompt
i went ahead and continued for grins and ran make install with same errors noted above.


I downloaded the ndiswrapper from sourceforge and the drivers from the link you provided.
I'm not too sure which driver to utilize but read in one of the forums here to use LSTINDS.inf
w/LSTINDS4.sys (is that correct) - I know i haven't gotten to that point yet but figured i'd ask
in advance.

Oh - Fedora Core 3
kernel is linux-2.6.9-1.667
ndiswrapper-1.0

Hopefully this will help you help me

thanks
 
Old 02-03-2005, 06:08 PM   #6
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
been searchin and found this post which is exactly the error I'm getting vice its on Fedora and not suse and my home directory is gil vice andrew.

I trying to install the 1.0 version but there is no guide to suse except telling u to install the version that came with suse.
anyway when i type "make" I get this error:


inux:/home/andrew/ndiswrapper/ndiswrapper-1.0 # make
make -C driver
make[1]: Entering directory `/home/andrew/ndiswrapper/ndiswrapper-1.0/driver'
make -C /lib/modules/2.6.8-24-default/build SUBDIRS=/home/andrew/ndiswrapper/ndiswrapper-1.0/driver \
NDISWRAPPER_VERSION=1.0 \
EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make -C ../../../linux-2.6.8-24 O=../linux-2.6.8-24-obj/i386/default modules
/usr/src/linux-2.6.8-24/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.8-24/scripts/gcc-version.sh: line 12: gcc: command not found
CC [M] /home/andrew/ndiswrapper/ndiswrapper-1.0/driver/hal.o
/bin/sh: gcc: command not found
make[5]: *** [/home/andrew/ndiswrapper/ndiswrapper-1.0/driver/hal.o] Error 127
make[4]: *** [_module_/home/andrew/ndiswrapper/ndiswrapper-1.0/driver] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/andrew/ndiswrapper/ndiswrapper-1.0/driver'
make: *** [all] Error 2

He lists later in the thread that he fixed it by running
the solution was this :
rm /lib/modules/$(uname -r)/extra/ndiswrapper.ko
cp /lib/modules/$(uname -r)/misc/ndiswrapper.ko /lib/modules/$(uname -r)/extra

However when i run it i get no such file or directory....
fyi what in the hell is (uname -r)..i tried it exactly as that and then by replacing uname with my home dir of gil...same
error either way....thanks.
 
Old 02-03-2005, 07:45 PM   #7
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15
You might try installing gcc--at least I had to do that before I could get ndiswrapper installation to work, since it was not supplied. It looks like the install is looking for it but not finding it.
 
Old 02-03-2005, 07:49 PM   #8
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
where can i find gcc and how do i install it?
 
Old 02-03-2005, 08:09 PM   #9
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
OK I found gcc-3.4.2-6.fc3.i386.rpm and am downloading it. Could you tell me how to install that puppy so I can continue on my MAD journey into linux?
 
Old 02-04-2005, 12:12 AM   #10
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Just go to add/remove applications and check the development tools box. I dont know why it isnt checked by default - so many times you need it. Anyway, as you'll see it contains gcc. Hopefully then you'll be goog to go.
Regards
Chris
 
Old 02-04-2005, 08:23 PM   #11
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
Moving along. Installed the rpm just fine. Run Make and get errors just after the MODPOST portion - get a warning about 4k stack size then goes into make -C utils and errors out til completion...all about loadndisdriver.

I'm thinking thats ok I'm gonna use a win driver with ndiswrapper so continue

run make install - same errors...still think its ok so continue

run ndiswrapper -i to path of driver (LSTINDS.INF)...ok
run ndiswrapper -l it states lsinds invalid driver!

so is the problem with the 4 stack thing and/or invalid drivers. I thought i read a post to use LSTINDS for the Linksys
WPC54G? I can try the others but dont want to proceed til i get confirmation.

Thanks for your time.
 
Old 02-05-2005, 12:31 AM   #12
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hi Gil,

It'd be great to have thos errors but if you want to make certain it isnt a kernel stack error then go to
http://www.linuxant.com/driverloader...ernel-i686.php
and get the latest kernel for FC3. They are basically just a recompile FC3 kernel but with 16k stacks. However if its sending back errors about loadndisdriver it may be becuase you aren't root?
Check these both and if you can, copy and paste the error into a file and post it back.
Cheers
Chris
 
Old 02-06-2005, 03:36 PM   #13
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
WOw - what a night.

I downloaded http://www.linuxant.com/driverloade...kernel-i686.php and ignored the warning at the top of the page abou checking what version you have previously....all hell broke loose. I downloaded and installed the kernel. Machine ceased to exist. I had to reload FC3 in text mode vice graphic (big deal - but in the graphic mode it would crash when it searched for previous installations of fc3.

My orig kernel is i386 - this one is i686 - is that the problem? I think it is but I'm new around here right. So I'm back to the orig install - wheres a good place to find the upgraded kernel and if 7 upgrades are avail - or severn versions - do i need to load them in sequence?

thanks...good learning last night...
 
Old 02-06-2005, 03:48 PM   #14
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
You dont need to load them in sequence - you can go straight to the latest one. Did you download the multiple processor kernel version (the one with the smp tag) by accident? An i386 kernel is for intel architecture. The questions is whether your machine is i686 or i586. Unless its really old it'll probably be i686. Anyway, something went wrong there. Sorry to hear you had some hard learning to do - it happens to us all.
Regards
Chris
 
Old 02-06-2005, 04:37 PM   #15
Sparks_ITCS
Member
 
Registered: Feb 2005
Location: Norfolk, Virginia
Distribution: Fedora Core 3
Posts: 32

Original Poster
Rep: Reputation: 15
ORig kernel is linux-2.6.9-1.667.... I loaded kernel-2.6.10-1.760_FC3.stk16.i686 and when i reboot it does a
constant reboot....laptop is bout 5 yrs old?
 
  


Reply



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
Linux newb - Help: Linksys WPC54G Wireless on Laptop FC3 Moodamultani Linux - Wireless Networking 2 06-30-2005 09:39 PM
Suse 9.2 and Linksys WPC54G V2 RebootKid SUSE / openSUSE 9 06-30-2005 06:01 PM
Linksys WPC54G under Knoppix 3.8, Help? worldgnat Linux - Wireless Networking 1 05-17-2005 04:48 AM
Linksys WPC54G Dolamite777 Linux - Wireless Networking 65 03-16-2005 04:38 AM
Linksys wpc54g phalaaxx Linux - Hardware 1 09-05-2003 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:30 AM.

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
Open Source Consulting | Domain Registration