LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-02-2007, 12:14 PM   #1
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Rep: Reputation: 15
wireless setup problems (FC6)


Hi Everyone

I'm trying to get my wireless setup on my laptop on Fedora Core 6.

I have an Advent 7109A 1GB.

I'm trying to setup my wireless using ndiswrapper. I might be being really stupid but I can't identify the make of my wireless card. According to the ndiswrapper installation it says identify my card with lspci. When I run this I get:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
06:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
06:04.2 Class 0805: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
06:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
06:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

which I kind of get the jist of, but I can't see which one of these corresponds to my wireless card.

Can anyone help? Again, really sorry if this is blatently obvious!

James
 
Old 05-02-2007, 12:52 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
Are you sure your laptop has wireless (from a google search of that make and model, I found many that do not)?
 
Old 05-02-2007, 12:56 PM   #3
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by osor
Are you sure your laptop has wireless (from a google search of that make and model, I found many that do not)?
Hi

Yeh, I have it working from windows. I would just use windows for the web, but I do a lot of work on linux so it saves me from having to transfer files over.

James
 
Old 05-03-2007, 08:19 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Maybe your wireless is via a USB interface? Try lsusb -v
Somewhere I saw a link to a thread on the ubuntu forums called something like "laptops that work with ubuntu" that included your PC.
Maybe try a (k)ubuntu live disk, and see if that detects your wireless.
 
Old 05-03-2007, 11:50 AM   #5
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar
Maybe your wireless is via a USB interface? Try lsusb -v
Somewhere I saw a link to a thread on the ubuntu forums called something like "laptops that work with ubuntu" that included your PC.
Maybe try a (k)ubuntu live disk, and see if that detects your wireless.
Hi, cheers for the advice. I think you're right with the advice on using lsusb. It comes up with what I want and as a result I have the windows driver ready for use with ndiswrapper.

The only problem is that now I can't get ndiswrapper to work.

I type "make distclean" in the source directory and that works fine, but when I type "make" it says "Can't find kernel build files in /lib/modules/....." I've had a look at this on the net and it suggests making sure that the kernel headers are installed, which I did using:

yum install kernel-devel

which was successful.

However, I still get the message!

One thing that it may be but I'm not sure what it means is that in the INSTALL file it says

"make sure there is a link to the kernel source from the modules directory. The command 'ls /lib/modules/uname -r/build' should have at least 'include' directory and '.config' file."

I type this and just get

/lib/modules/2.6.20-1.2948.fc6/build in white text highlighted in red.

Any ideas?

Cheers

James

P.S. Another weird thing is that I can't ever find ndiswrapper with yum, it can never find it.
 
Old 05-03-2007, 12:08 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Hmm, you posted bad syntax I think, the command is:
Code:
ls -al /lib/modules/`uname -r`/build
On my machine this shows up as a link to /usr/src/linux-2.4.21-0.13mdk
When I ls -al /usr/src/linux-2.4.21-0.13mdk I can then see the include directory and .config file.

If you don't see these files, maybe you still haven't installed the kernel source / headers.
 
Old 05-03-2007, 12:12 PM   #7
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar
Hmm, you posted bad syntax I think, the command is:
Code:
ls -al /lib/modules/`uname -r`/build
On my machine this shows up as a link to /usr/src/linux-2.4.21-0.13mdk
When I ls -al /usr/src/linux-2.4.21-0.13mdk I can then see the include directory and .config file.

If you don't see these files, maybe you still haven't installed the kernel source / headers.
Hi there,

Yeh sorry, its my fault for the bad syntax. I wasn't seeing these files, however I realise why. For some reason the symbolic link "build" was pointing to something that wasn't there, I deleted it and linked it to the actual file that exists. I'll let you know if I get it running.

Many thanks

James
 
Old 05-06-2007, 09:07 AM   #8
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Hi again.

I'm nearly there with this. Just one more problem though.

When I type "ndiswrapper -l" it tells me that both the driver and the device are there.

However, when I type "modprobe ndiswrapper" it tells me that the ndiswrapper module is not there. This is strange as the module is definately located in /lib/modules/`uname -r`/misc/ndiswrapper.ko

I have also typed "ndiswrapper -m" and "depmod" as is suggested in the instructions and on the net. But the modprobe command still can't find it.

Has anyone got an idea why modprobe would not detect the module?

Many thanks

James
 
Old 05-07-2007, 05:31 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Maybe the module is in the wrong place.

locate .ko will tell you where your distro keeps it modules. If the path to ndiswrapper is different from the rest, then it is in the wrong place.

Where did you get the source code for ndiswrapper from?

Different distros put things in different places (Eg my kubuntu has modules in /lib/modules/.... )

In an earlier post I saw that you had managed to do yum install kernel-devel so cannot you just yum install ndiswrapper and have FC go off and fetch the right version and install it in the right place? If this doesn't work, maybe try yum install ndiswrapper-source and compile from that, rather than the source from sourceforge or somewhere else like that.

ndiswrapper is already installed on my kubunbtu 6.06.1 (although I do not need it, and lsmod tells me it is not loaded) and it is in /lib/modules/2.6.15-28-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko


Hope this helps.
 
Old 05-20-2007, 12:21 PM   #10
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Hi

I tried "yum install ndiswrapper" but for some bizzare reason it doesn't find it! However, I did go to sourceforge and found that there was a slightly newer version (1.44). Now when I type "modprobe ndiswrapper" I get:

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.20-1.2948.fc6/misc/ndiswrapper.ko): Invalid module format

I've had a search on the net and there are suggestions that the maybe there's some incompatability with the kernel and the version of ndiswrapper?

Any ideas?

James
 
Old 05-20-2007, 05:00 PM   #11
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I tried "yum install ndiswrapper" but for some bizzare reason it doesn't find it!
Your side-panel says you are running Fedora Core 4. This is old - I think they are up to 6 now.

Maybe yum doesn't find it because ndiswrapper was invented after FC4? So your kernel, upgrade repositories and whatnot might just be too old.

Time for an upgrade or change of distro?

Edit: Here's a link, choose one (or several, if you wish) from the top ten:
http://distrowatch.com/
/Edit:

Last edited by tredegar; 05-20-2007 at 05:04 PM.
 
Old 05-21-2007, 06:13 AM   #12
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar
Your side-panel says you are running Fedora Core 4. This is old - I think they are up to 6 now.

Maybe yum doesn't find it because ndiswrapper was invented after FC4? So your kernel, upgrade repositories and whatnot might just be too old.

Time for an upgrade or change of distro?

Edit: Here's a link, choose one (or several, if you wish) from the top ten:
http://distrowatch.com/
/Edit:
Sorry that's my fault, I'm running FC6 now, I'll update this now.
 
Old 05-21-2007, 08:52 AM   #13
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
A little more information for you. When I use the command "dmesg" it returns:

"ndiswrapper: version magic '2.6.20-1.2948.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.20-1.2948.fc6 SMP mod_unload 586 4KSTACKS '"

at the bottom of the output. Is this the cause of the problem?

Cheers

James
 
Old 05-21-2007, 10:26 AM   #14
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
I'm sorry - I do not use ndiswrapper (my wireless "just works"), and I am not familiar with FC -so I am probably the worst person to help you at this stage. I was happy to help you discover where your wireless thingy is (it was USB).
Maybe try searching this board for "ndiswrapper FC6 your-wireless-chip".
If that fails perhaps start a new "ndiswrapper" thread, and hope someone better qualified than I am turns up.
Don't forget to mention your hardware, distro, version of ndiswrapper, and type of wireless (you haven't put that in this thread either!)
Good luck
 
Old 05-21-2007, 06:37 PM   #15
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Hi There,

Thanks for all your help but sorted it in the end. It turns out that my Kernel was i586, so had to compile as i686. Turns out that this was due to a bug on the original FC6 installation disk which installs a 586 kernel. After recompiling it worked.

Cheers

James
 
  


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
wireless setup on FC6 for Broadcom Corp. BCM4306 AndresGuevara Linux - Laptop and Netbook 13 02-09-2007 03:31 AM
Problems setting up a wireless conection (FC6) odiseo77 Linux - Wireless Networking 2 01-21-2007 06:24 PM
Wireless problems, Acer 3100, FC6 English_Man Linux - Laptop and Netbook 1 01-20-2007 11:37 AM
Problems with setting Wireless Testbed in FC6 kwlim27 Linux - Wireless Networking 0 11-14-2006 03:05 AM
HP Printer Setup (Wireless) in FC6 wc5b Fedora 2 11-13-2006 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 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