LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-02-2008, 04:57 PM   #16
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48

Hrm, Okay this is getting distro-specific, and I've never used Slackware. Can any of you Slackware users help him get an ndiswrapper module?
 
Old 09-03-2008, 02:35 PM   #17
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
i dont know how i did it but i got the "ndiswrapper -v" to work i get this

Code:
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename:        /lib/modules/2.6.24.5/misc/ndiswrapper.ko
version:         1.53
vermagic:        2.6.24.5 mod_unload 686
but when i type "modprobe ndiswrapper" i get this

Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.24.5/misc/ndiswrapper.ko):
invalid module format
how can i fix this?
 
Old 09-03-2008, 05:52 PM   #18
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Where did you get the module from? Did you build it yourself or get it from a package?
 
Old 09-03-2008, 06:04 PM   #19
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
to be honest i just got really frustrated and started messing with my kernel in "/usr/src/linux-2.6.24.5" i just use "make menuconfig" and messed with stuff and typed "make modules" and "make modules_install" but the bad thing is after i did that i reinstalled ndiswrapper-1.53 and it worked but when i rebooted and logged back in i type "lsmod" to see what modules are running and none are so i dont know what i did wrong.
 
Old 09-03-2008, 07:26 PM   #20
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Yikes. If your kernel is half distro-provided and half compiled from source, you could have bigger troubles than this. Are you sure the source in /usr/src is the same as the one that the kernel was compiled from? I'd get back to distro packages as fast as possible.
 
Old 09-03-2008, 10:53 PM   #21
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
ok i will try to figure something i really appreciate the help man if i have figure something out i will post a reply.
 
Old 09-09-2008, 12:51 AM   #22
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
ok i just reinstall slackware 12.0 and i got the ndiswrapper package it installed right and the module loads but now i need help with setting up wlan0 does anybody know how to do that?
 
Old 09-12-2008, 10:11 PM   #23
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Are you using wpa_supplicant? If so read up on wpa_supplicant, wext, ndiswrapper, and make changes to rc.inet1.conf (located at /etc/rc.d) accordingly.

If you're not using that I'm not sure how you bring up wlan. Maybe try bringing it up as root with:
Code:
ifconfig wlan0 up
iwlist wlan0 scan
If that doesn't show wireless routers, search on how to load ndiswrapper driver in ifconfig and/or iwconfig. They might use wext also. I'm not sure.

Last edited by forum1793; 09-12-2008 at 10:12 PM.
 
Old 09-13-2008, 09:51 PM   #24
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
i got if fixed thanks guys.
 
Old 09-13-2008, 10:46 PM   #25
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by thinice15 View Post
i got if fixed thanks guys.
It would be good if you would tell everyone what you actually did to fix it.
 
Old 09-14-2008, 04:39 AM   #26
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
well i had to use this command to get it working "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant -dd" then i opened another tty and then i checked if wlan0 has the default gateway by using the "route" command usually eth0 has the default gateway if you have a ethernet port so if you have eth0 up type "ifconfig eth0 down" it has to be down for wlan0 but if you dont have eth0 up there will be no default gateway so i used the command "route add default gw YOUR-GATEWAY-HERE wlan0" to make wlan0 the default gateway.then i used "nslookup" and "ping" to test it and it works.
 
  


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
freebsd 7.0 release / need help finding compatible Mini-PCI-E adapters for laptop phinux *BSD 0 03-06-2008 12:57 AM
PCI, PCMCIA adapters mickeyboa Fedora 2 01-15-2007 04:35 PM
802.11 g Client Adapters (PCI) LINUX xraided1 Linux - Hardware 1 10-17-2005 02:16 PM
Supported PCI wireless adapters for Fedora Core 3? adabney Linux - Wireless Networking 8 02-16-2005 11:51 AM
802.11b wireless pci adapters compatible with mandrake 9.0 webman1214 Linux - Hardware 4 04-17-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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