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 10-17-2007, 08:04 PM   #1
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
Doing something wrong with driver install, don't know what


I have slackware 12.0 running and am having difficultly running the driver makefile. I don't know exactly where to point it. I have the exact driver (linux!) for my card, but I don't quite know what the driver wants when it says to point it to the kernel. I've tried usr/src/linux but that didn't work, as it ran several errors, including one saying that it couldn't find config.h


The website is here: http://rt2x00.serialmonkey.com/wiki/...lackware_Howto
but the readme states thus:

"For 2.6 series kernel:
a. run 'cd STA/Module'
'cp ./2.6.x/Makefile .'
'cp ./2.6.x/load .'"

*****I have completed this copying portion above, step b is where I have no clue
*****I have tried "make -C /usr/src/linux SUBDIRS=$PWD modules" on the command line but that results in the error I mentioned above

"b. $make -C /path/to/source SUBDIRS=$PWD modules
Where /path/to/source is the path to the source directory for the (configured and built) target kernel.

c. run '/sbin/insmod rt2500.ko' (as root)
'/sbin/ifconfig ra0 inet YOUR_IP up'"




Did I need to do any kind of kernel configuration before I started working on this wireless driver. The only things I've done aside from run the first two distro cds and the installation was run KDE a few times and fool around moving the necessary files into location. I have run no additional configuration of any kind. The slackbook mentioned something about compiling the kernel, or choosing the kernel, but wasn't that chosen already in the installation process?
 
Old 10-17-2007, 11:13 PM   #2
ray_80
Member
 
Registered: Oct 2007
Posts: 75

Rep: Reputation: 15
It is asking for the directory in which the kernel headers are located. This means you need the kernel source installed. As for the driver, I am surprised it is not already supplied with your kernel. Try a

modprobe rt2500

and see if it loads:

lsmod

After that, please post the results of

ls -laR /lib/modules/

Regards
 
Old 10-18-2007, 01:07 AM   #3
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ray_80 View Post
It is asking for the directory in which the kernel headers are located. This means you need the kernel source installed. As for the driver, I am surprised it is not already supplied with your kernel. Try a

modprobe rt2500

and see if it loads:

lsmod

After that, please post the results of

ls -laR /lib/modules/

Regards
If I had a way of posting it I would, I have to switch OS's to XP to access the internet. I've tried both wireless and ethernet with Slackware and can't get it to work.

I searched the /lib/modules directory (running ls -laR /lib/modules exceeds the display buffer) and found the wireless drivers, but I did not find rt2500.

modprobe rt2500 results in a fatal error of the not found variety


On another note, I try running modprobe eepro100 (driver for my ethernet card), which seems to run okay, but then after running netconfig with the appropriate values I can't ping anything. I'm going to try to continue fooling around with the netconfig settings to get my ethernet to work, but so far no dice.

thank you
 
Old 10-18-2007, 01:57 AM   #4
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
I get the error siocsifaddr eth0 no such device exists
when trying to run ifconfig eth0 <add> netmask 255.255.255.0
I tried eth1,eth2, etc. with the same result
 
Old 10-18-2007, 09:53 AM   #5
ray_80
Member
 
Registered: Oct 2007
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by aeroegnr View Post

On another note, I try running modprobe eepro100 (driver for my ethernet card), which seems to run okay, but then after running netconfig with the appropriate values I can't ping anything.

thank you
What does your /etc/resolve say? Are the values correct? Is the gateway set up? If the module loads, then it appears that configuration tweaks are in order. The nic card is active, but DNS is not (if I understand your issue correctly).

Regards
 
Old 10-18-2007, 05:16 PM   #6
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ray_80 View Post
What does your /etc/resolve say? Are the values correct? Is the gateway set up? If the module loads, then it appears that configuration tweaks are in order. The nic card is active, but DNS is not (if I understand your issue correctly).

Regards
my /etc/resolv.conf lists the DNS that I supplied it. If I modify the configuration and set DHCP to yes it's empty.

I also went and checked /etc/rc.d/rc.inet1.conf and the ipaddress, netmask, and gateway for eth0 are correct according to what I entered in netconfig. Using static IP or DHCP (I have a router) doesn't work, and I'm grabbing all of the relevant information under the command prompt in windows XP using netconfig /all

also, when running ifconfig -a, it doesn't list eth0, only lo which gets me nowhere. I can't even run a ping on my router, but I can do it under XP with no problems.

Also, I used modprobe and then lsmod to ensure that eepro100 was loaded and it is.

Thank you

Last edited by aeroegnr; 10-18-2007 at 05:17 PM. Reason: added info
 
Old 10-19-2007, 09:40 AM   #7
ray_80
Member
 
Registered: Oct 2007
Posts: 75

Rep: Reputation: 15
Are you sure the driver is loaded? Do a

modprobe eepro100

Regards,
 
Old 10-19-2007, 12:08 PM   #8
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ray_80 View Post
Are you sure the driver is loaded? Do a

modprobe eepro100

Regards,
Yup, before I did any of this I ran modprobe eepro100 then I ran lsmod, and eepro100 was listed.
 
Old 10-20-2007, 06:50 PM   #9
ray_80
Member
 
Registered: Oct 2007
Posts: 75

Rep: Reputation: 15
Did you configure the device with ifconfig? What does your config for eth0 say? Check inside

/etc/sysconfig/network-scripts/

and please post it.

Regards,
 
Old 11-24-2007, 08:16 PM   #10
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ray_80 View Post
Did you configure the device with ifconfig? What does your config for eth0 say? Check inside

/etc/sysconfig/network-scripts/

and please post it.

Regards,
Sorry for the long delay, but I finally got back to trying to get Slackware to work.

The only file in that directory is ifconfig-lo, there is no configuration for eth0.


I'm currently online in slackware using firefox and an ethernet cable after successfully installing the network card driver that I had to download for my pc. To do that I had to hack an extra linksys router so that it would act as a repeater (I have no ethernet in my room and no cable long enough to reach the jack across my apartment) and plug a cable into the repeater. I still have no luck with the wireless card, it works fine in winXP.

Aside from that, I managed to finally get the correct nVidia driver installed, along with my scrollwheel working, and figured out how to manually recover from fouled-up xorg.conf files.


I'd like to get wireless working, but right now I have a workaround (which requires the hacked router, hahaha).

Thank you!
 
Old 11-25-2007, 12:42 AM   #11
aeroegnr
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Another wrinkle in my install is I can't get sound to work. I've enabled/disabled integrated audio, run alsaconf and alsamixer and it detects my onboard sound. I play with the volume and still can't get a peep out of my speakers. I've got a soundblaster live 24.

Any ideas?


Edit: I got sound to work by setting my system to full duplex. At least I think that's the setting that did it.

Last edited by aeroegnr; 11-25-2007 at 02:55 AM.
 
  


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
ndiswrapper using wrong driver labelmicro Linux - Wireless Networking 2 11-12-2006 04:38 PM
ATI Driver install gone wrong nismoman Linux - Newbie 2 09-30-2005 02:02 PM
Wrong Graphics Driver!!! Nubsicles Red Hat 2 09-06-2004 10:39 PM
"Failed to initialize the NVIDIA graphics device" WTH went wrong with driver install Ohmn Mandriva 3 06-29-2004 11:29 PM
driver exists... what's wrong spux Linux - Newbie 2 03-06-2003 04:34 PM


All times are GMT -5. The time now is 10:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration