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 - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-15-2006, 08:31 AM   #1
Damien295x
LQ Newbie
 
Registered: Oct 2005
Posts: 20

Rep: Reputation: 0
Angry Tried Everything, Wireless Network Won't Work.. About to give up!!!


I've downloaded Fedora Core 5, seems to be working okay, i've had to hook it up to eth0 (Lan - with a cable) .. because it wont detect the Wireless Network Card.

I did some research online.. and found that my card (Dlink DWL-G510 card ses the Atheros chipset, which is supported by the 'madwifi drivers' .. So, I go and download them,

None of them worked! I updated kernel, everything, got the right ones, and kept getting stupid dependency issues.. Why?! They just don't work. They were RPM format.

So then I decided to try Ndiswrapper (nightmare, took ages to FINALLY figure out how to install it) .. once it was up, i got my windows drivers on there ,installed them.. it came up as 'Driver Installed' 'Hardware Present' .. yet still wouldn't work even once configured in Network Setup.

Then I came across this website, basically a tutorial on how to compile madwifi from kernel into an actual driver.. I follow *ALL* the instructions, exactly like that (Extracted to home/madwifi .. then when I type 'make' from the terminal:- I get get another frickkin error message:

PHP Code:
[root@localhost madwifi]# make
/bin/shline 0cd: /lib/modules/2.6.17-1.2187_FC5/buildNo such file or directory
Makefile
.inc:89: *** /lib/modules/2.6.17-1.2187_FC5/build is missingplease set KERNELPATH.  Stop
I'm so stuffed.. been trying to get it working ALL day and still have gotten nowhere.. I want to scream and smash things, it's really driving me crazy~ does anyone know why nothing is working/would be able to help me.

Thanks in advance.
 
Old 09-15-2006, 11:10 AM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Please take a couple of deep breaths before posting. People on this forum can help you but you need to give us the information to do so.

If ndiswrapper recognized your hardware, you were probably pretty close. What error messages did you get? What did you see when running iwconfig?

Quote:
Then I came across this website,...
What is "this" website? Do you mean linuxquestions.org or madwifi.org?

Your compile error message gives you information about what is wrong: it is not finding a certain directory and asking you to set the KERNELPATH environment variable so that it can find it. The directory probably exists on your system, but has a different name. What do you get if you "ls -l /lib/modules"?

Brian
 
Old 09-15-2006, 11:39 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
I think you don't have the kernel sources installed.
You will find a nice src.rpm on the Fedora Update site then you can start to engage the install of ndiswrapper so that it will function.

Aware! the src kernel has to match to your running kernel.
you know that
Code:
uname -rm
thing
 
Old 09-15-2006, 06:27 PM   #4
Damien295x
LQ Newbie
 
Registered: Oct 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BCarey
Your compile error message gives you information about what is wrong: it is not finding a certain directory and asking you to set the KERNELPATH environment variable so that it can find it. The directory probably exists on your system, but has a different name. What do you get if you "ls -l /lib/modules"?

Brian
When I type "ls -l /lib/modules"?
Into the terminal I get..

PHP Code:
[root@localhost ~]# ls -l /lib/modules
total 16
drwxr
-xr-x 5 root root 4096 Sep 15 22:34 2.6.15-1.2054_FC5
drwxr
-xr-x 5 root root 4096 Sep 15 23:16 2.6.17-1.2187_FC5
[root@localhost ~]
Quote:
Ithink you don't have the kernel sources installed.
You will find a nice src.rpm on the Fedora Update site then you can start to engage the install of ndiswrapper so that it will function.

Aware! the src kernel has to match to your running kernel.
you know that
Okay. so I download the src kernel source to match my running kernel.. go to run it, get *another* error message, its like no mattre what i do it wont work.


Quote:
[root@localhost ~]# rpm -ivh kernel.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@localhost ~]#

Last edited by Damien295x; 09-15-2006 at 06:42 PM.
 
Old 09-15-2006, 11:06 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Then try ls -l /lib/modules/2.6.17-1.2187_FC5 to see if the build subdirectory exists. You should also do "uname -a" to verify which kernel you are running.

Could you also post the output of "iwconfig"?

Brian

Last edited by BCarey; 09-15-2006 at 11:08 PM.
 
Old 09-16-2006, 01:10 AM   #6
Leisy
Member
 
Registered: Sep 2006
Location: Brno, Czech Republic
Distribution: Fedora
Posts: 56

Rep: Reputation: 15
you can also start from scratch. download all kernel rpms and madwifi rpms and install them. I installed from following rpms and everything seems to be working correctly:

kernel-2.6.17-1.2174_FC5.i686.rpm
kernel-2.6.17-1.2174_FC5.src.rpm
kernel-devel-2.6.17-1.2174_FC5.i686.rpm
madwifi-0.9.2-28.at.src.rpm
madwifi-0.9.2-28.fc5.at.i386.rpm
madwifi-devel-0.9.2-28.fc5.at.i386.rpm
madwifi-hal-kmdl-2.6.17-1.2174_1.fc5.cubbi_suspend2-0.9.2-28.fc5.at.i686.rpm
madwifi-kmdl-2.6.17-1.2174_1.fc5.cubbi_suspend2-0.9.2-28.fc5.at.i686.rpm
 
Old 09-16-2006, 11:09 AM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Try Leisy's advice before mine, since she is a Fedora user and I'm not.

Brian
 
Old 09-16-2006, 12:04 PM   #8
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
[root@localhost ~]# rpm -ivh kernel.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@localhost ~]#
If you downloaded the rpm, do yum localinstall *.src.rpm (* is whatever src rpm). That should take care of any dependency problem.
 
Old 09-16-2006, 09:51 PM   #9
KumoriJinsoku
LQ Newbie
 
Registered: Sep 2006
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by Damien295x
PHP Code:
[root@localhost madwifi]# make
/bin/shline 0cd: /lib/modules/2.6.17-1.2187_FC5/buildNo such file or directory
Makefile
.inc:89: *** /lib/modules/2.6.17-1.2187_FC5/build is missingplease set KERNELPATH.  Stop
I was also getting this error. I found a user doc on madwifi's website. In it, it states more or less to create a link of your own. Before doing so, I went and found the link in my GUI interface and saw the link was "broken". I checked the properties to see that the link was still pointing a non-existent directory. I followed the instructions on the website and got that error to disappear.

But now, I have this error coming up.
Code:
[root@localhost madwifi-0.9.2]# make
Makefile.inc:113: *** KERNELCONF: /lib/modules/2.6.17-1.2187_FC5/build/.config does not exist..  Stop.
Obviously, I need some sort of config file and probably need RPMs of BUILD and SOURCE files for my kernel (in my theory anyways). I was wondering if someone could direct me to that website or if someone could tell me if my theory is wrong.

Thanks.
 
Old 09-16-2006, 11:22 PM   #10
beserkjay
Member
 
Registered: May 2006
Posts: 53

Rep: Reputation: 15
You can install madwifi drivers with yum. When I did it on my laptop all I did was...

yum install madwifi.

Not sure if that helps...
 
Old 09-17-2006, 12:10 AM   #11
KumoriJinsoku
LQ Newbie
 
Registered: Sep 2006
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by beserkjay
You can install madwifi drivers with yum. When I did it on my laptop all I did was...

yum install madwifi.

Not sure if that helps...
just tried it now.

Says that there is nothing to do. I also checked the Add/Remove programs under Applications and it says I already have it installed.

So, I'm confused. If it is already installed, how do I use it? What are commands for it? How do I know if it works?
 
Old 09-17-2006, 07:33 AM   #12
Damien295x
LQ Newbie
 
Registered: Oct 2005
Posts: 20

Original Poster
Rep: Reputation: 0
FC5 Networking Problems. Wireless ndiswrapper. Argh help!

Okay, I've got a DLink Wireless Network Card, It runs on The Aeroths chipset.
So i've downloaded/installed the MadWifi RPM's.. that didn't work.
I gave up, got Ndiswrapper and installed the Windows Drivers.
When I type ndiswrapper -l at the terminal I get:-

Installed drivers:
netrt61g driver installed, hardware present

So I know that it's installed. I'm having trouble getting it to connect to the wireless network though. I run a cable via ethernet - no worries, gets the IP & connects. Just like that! But getting this wireless card to work has just been a nightmare for me with one problem after another. Still havent got it to work after like a total week. Grr.

I go into Network Device Controller -> Configure -> New -> Wireless Connection
Then Select ndiswrapper (eth1) as the wireless card I want to configure
Then it comes up with:-
Mode: Managed
Network name (SSID) My SSID is "Home" So I type that in.
Channel is greyed out, as is transmit rate.
I dont write anything in Key, because it's unsecured wireless network (open)
I set it to automatically obtain IP via DHCP as well as auto obtain DNS information from providor.

THEN. When I go to activate eth1 It says 'Determining IP information for eth1... failed.

I try setting the Mode to: Auto
Specifying the SSID to "Home"
Channel 6 (This is the correct channel)
And Transmit rate.. 54Mbps
Once again, I leave the key blank.

Try to activate the decive, and I get:

Error for wireless request "Set Mode" (8b06) SET failed on device eth1; Invalid Argument
Determining IP information for eth1...failed.

So I change it to the final Mode left (Ad-Hoc) (I tried all the Modes cos I dont know which one to choose) .. and I get this error when trying to activate eth1:-

Determining IP information for eth1... failed; no link present. check cable. (what does it mean by check cable. It's frickin wireless! Unfuckingbelievable.

I open KwifiManager, and hit 'scan for networks'
Scan Results:
Network name: Home
Mode: Blank
Quality: 0
WEP: ON (But WEP isn't enabled on my router.. its an UNSECURE network)
I press 'Switch to network' and get this error message:-

'Aboring network switching due to invalid WEP key specification' This happens in both ULTIMATE Mode and Ad-Hoc mode.

I tried also to install 'Wlan Assistant - Wireless Assistant RPM' .. and that also finds the Home network on channel 6, but when I go to connect - I get connection failed. I have no idea why?!

when I type iwconfig at the terminal.

I get this for eth1:- Warning: Driver for device eth1 has been compiled with version 20 of Wireless Extension, while this program supports up to version 19.
Some things may be broken..

^^ Is this why it wont connect, if so how do I go about resolving this problem..?

If I dont get it to work after any suggestions, does anyone know of a cheap WifiCard that IS detected by FC5 Automatically, this is such a pain in the ass.. I'd love to use FC5, everything works, except this - the most important of all - wireless Internet. Thanks in advance
~Damien
 
Old 09-17-2006, 09:39 AM   #13
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by KumoriJinsoku
just tried it now.

Says that there is nothing to do. I also checked the Add/Remove programs under Applications and it says I already have it installed.

So, I'm confused. If it is already installed, how do I use it? What are commands for it? How do I know if it works?
You must not have the right repo enabled. I believe the livna repo has that package. So, make sure you have the livna repo enabled, then do yum install kmod-madwifi. I believe some other repos have that package, but be careful mixing repos. They can seriously screw up your system.
 
Old 09-17-2006, 12:31 PM   #14
Leisy
Member
 
Registered: Sep 2006
Location: Brno, Czech Republic
Distribution: Fedora
Posts: 56

Rep: Reputation: 15
just to make sure...did you inserted ndiswrapper module to kernel via modprobe ndiswrapper?

when I was using ndiswrapper(switched to madwifi, because ndiswrapper was very unstable on my system) after that I copied ifcfg-wlan0 to /etc/sysconfig/network-scripts and run ifconfig wlan0 up. the rest did dhclient wlan0.
 
Old 09-17-2006, 11:33 PM   #15
KumoriJinsoku
LQ Newbie
 
Registered: Sep 2006
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by stormtracknole
You must not have the right repo enabled. I believe the livna repo has that package. So, make sure you have the livna repo enabled, then do yum install kmod-madwifi. I believe some other repos have that package, but be careful mixing repos. They can seriously screw up your system.
I believe it is the right one. When I went to the Package Manager, it said that madwifi was "0.9.2-1.lvn5.i386" version, so I believe it's from the livna repo (I do have the livna repo key on my system too for yum updates and installs as well).

I guess I should give you a run down of what it says from my terminal.

Code:
[root@localhost ~]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

[root@localhost ~]# modprobe ath0
FATAL: Module ath0 not found.

[root@localhost ~]# iwconfig
lo        no wireless extensions.

Warning: Driver for device dev1804289383 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

dev1804289383  IEEE 802.11b  ESSID:""  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.452 GHz  Access Point: None
          Bit Rate:11 Mb/s   Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/92  Signal level=134/153  Noise level=134/153
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

sit0      no wireless extensions.
Also, when I run the ifconfig -a command:

Code:
[root@localhost ~]# ifconfig -a
dev1804289383 Link encap:Ethernet  HWaddr 00:02:2D:87:BF:4C
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x4100

eth0      Link encap:Ethernet  HWaddr :::::
          inet addr:...  Bcast:...  Mask:...
          inet6 addr: ::::: Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1924452 (1.8 MiB)  TX bytes:225653 (220.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3414691 (3.2 MiB)  TX bytes:3414691 (3.2 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
I know this is saying something is wrong, but I have no idea what it is.

A rundown on my hardware. Gateway 600YG2. Fedora Core 5. I have an Ethernet card, an internal Orinoco wireless card (but it's only a B card and worthless in my opinion), and a PCMCIA card SMC2536W-AG (which is the card I am attempting to use).

But, among other gibberish, I haven't got a clue what my computer is telling me.

(I erased the information from eth0 as well so I'm not giving out any "vital" information... I assure you, it's working though.)

EDIT: When all else fails, reboot the metal thing in front of you.

I turned off my computer and when I turned it back on, it started working. Thanks for all of your help.

Last edited by KumoriJinsoku; 09-18-2006 at 03:03 PM.
 
  


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
FC5 Wireless Ndiswrapper jsownz Linux - Wireless Networking 11 05-02-2006 05:15 AM
Ndiswrapper error FC5 intel wireless card installation garfield1228 Linux - Laptop and Netbook 9 04-19-2006 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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