LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
LinkBack Search this Thread
Old 03-21-2005, 07:55 PM   #1
raxxal
Member
 
Registered: Jul 2004
Location: Los Angeles
Distribution: Mandrake 2007
Posts: 109

Rep: Reputation: 15
Post DISCUSSION: Linux Wireles LAN


This thread is to discuss the article titled: Linux Wireles LAN
 
Old 04-18-2005, 08:54 AM   #2
nlugenga
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Question ndiswrapper compiled with older version of C++ compiler?

Hei,
I am grateful for all the instructions you gave on installaing the ndiswrapper for my network card,
but the command
modeprobe ndiswrapper gives an error:
"
root@nlugenga-lnx driver]# modprobe ndiswrapper
/lib/modules/2.4.21-20.EL/misc/ndiswrapper.o: The module you are trying to load (/lib/modules/2.4.21-20.EL/misc/ndiswrapper.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.21-20.EL/misc/ndiswrapper.o: insmod /lib/modules/2.4.21-20.EL/misc/ndiswrapper.o failed
/lib/modules/2.4.21-20.EL/misc/ndiswrapper.o: insmod ndiswrapper failed

"
However the second command to list the driver, i.e. ndiwrapper -l shows the driver and hardware to be present.
can you give soem idea on how too solv this problem?

regards,

Lugenga
 
Old 04-18-2005, 04:28 PM   #3
Dee
LQ Newbie
 
Registered: Apr 2005
Location: Orgeon
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
Re: DISCUSSION: Linux Wireles LAN

[QUOTE]Originally posted by raxxal
This thread is to discuss the article titled: Linux Wireles LAN [/QUOTE

I'm a newbie

When I boot my linux box up after following all the directions: I get a error message that the mac address isn't correct............I've double check to make sure that there's know typo in my ifcfg-wlan0 but it keeps giving error about mac address not being right...............what I'm thinking is it could be conflicting with my nic card eth0 because I get a error for this as well.................So with that said is there away to disable it for testing purposes..............Also can you point me in the right direction for download ndiswrapper, the exact link to download .....................I'm running fedora

Thanks for your help...................if anymore info is needed please remember I'm a newbie

Last edited by Dee; 04-19-2005 at 04:32 PM.
 
Old 04-18-2005, 05:53 PM   #4
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: SimplyMEPIS 8.0
Posts: 109

Rep: Reputation: 15
I think it is very clear, and I was able to follow it through without great Linux knowledge. I've installed the package already a couple of times, and this seems clear--complex, but clear.

The question I have is: WHY IN THE WORLD DON'T ALL DISTROS COME WTH NDISWRAPPER ALREADY INSTALLED?

And a bunch of the most common drivers already present?

And a simple dialogue box that pops up when the hardware detected is not covered by the installed driver list, telling the newbie how to open a console and install the correct driver?

What am I missing here? Does the Linux community really want people migrating from Windoze to go through this? My vision of converting people is to enable them to use the OS first, then teach them how to manipulate it.
 
Old 09-08-2005, 02:18 AM   #5
workingthepenguin
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Hi,

I followed the instructions to the word, however Iam having this problem: When Linux is starting I get messages: Bringing up Device Wlan0 [Failed] Different Physical address than expected. Then when linux has loaded completely, I open the terminal and do the following:


[root@localhost ~]# /etc/rc.local
Loading ndiswrapper...
Setting mode Managed...
Setting up wireless interface wlan0...
-- Setting ESSID
--Setting to cchannel 11...
--Turning on managed mode...
Bringing up interface wlan0...
Activating UP address via DHCP...
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0b:cd:75:c7:5a
Sending on LPF/wlan0/00:0b:cd:75:c7:5a
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
SIOCADDRT: File exists
bound to 192.168.2.30 -- renewal in 1021319845 seconds.
[root@localhost ~]#


OR


[root@localhost ~]#modprobe ndiswrapper
[root@localhost ~]# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0b:cd:75:c7:5a
Sending on LPF/wlan0/00:0b:cd:75:c7:5a
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
SIOCADDRT: File exists
bound to 192.168.2.30 -- renewal in 1021321553 seconds.
[root@localhost ~]#

and everything works fine. Can anyone please tell me how to avoid doing this time and again?
 
Old 10-25-2005, 04:00 AM   #6
U4ea
LQ Newbie
 
Registered: Oct 2005
Posts: 19

Rep: Reputation: 0
Why bother making a script? You have all the settings in ifcfg-wlan0, you can just run "ifup wlan0"...

...however this still leaves a problem with the ndiswrapper module not being loaded on boot - to solve this either edit your /etc/modprobe.conf to include the module, or run "ndiswrapper -m" to edit the file automatically.

Re: the incorrect mac address problem above, just remove the HWADDR line from ifcfg-wlan0 file.

Regards,

Haydn.
 
Old 11-12-2005, 02:25 AM   #7
raxxal
Member
 
Registered: Jul 2004
Location: Los Angeles
Distribution: Mandrake 2007
Posts: 109

Original Poster
Rep: Reputation: 15
No encryption key?

For those with routers without encryptions keys, they need to modifie the scripts a little bit.


echo "Loading ndiswrapper..."
modprobe ndiswrapper

echo "Setting mode Managed..."
iwconfig wlan0 mode Managed

echo " -- Setting ESSID"
iwconfig wlan0 essid default <------ Not ESSID, still "default" need to be used.

echo " --Setting to cchannel 11..."
iwconfig wlan0 channel 11

#echo " --Setting encryption key" <--- Not encription key, comment out both lines.
#iwconfig wlan0 key restricted 7DC0E6358666EEFA3B0628888 <-- Your security key

echo "Bringing up interface wlan0..."
ifconfig wlan0 up

echo "Activating UP address via DHCP..."
dhclient wlan0
 
Old 01-05-2006, 02:49 AM   #8
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
Quote:
Originally Posted by JerryNew2Linux

What am I missing here? Does the Linux community really want people migrating from Windoze to go through this? My vision of converting people is to enable them to use the OS first, then teach them how to manipulate it.
First off, linux is NOT windows. Much of Windoze is essentially bloat. Linux purposefully does not include every possible driver, because it is unnecessary, and will slow down your system. Certain distros, such as Suse, Gentoo, Ubuntu, Xandros and the like may tend to have more newbie friendly drivers and automation than a more core-based distro like slackware.

Believe it or not, the goal of Linux is not to suck people from the Windows community. Rather, to give them choices in what they do. If you want a distro that 'just works', try Ubuntu, Knoppix, Xandros....use it until it breaks, then learn how to build a system from scratch, if you so desire.
 
Old 01-31-2006, 08:40 PM   #9
Roger Vardon
LQ Newbie
 
Registered: Jan 2006
Location: San Antonio
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
This is all old stuff. Or, am I missing something? What version and which Linux are you doing this on? Fedora Core 4 does not go this route.

Q.E.D.
 
Old 01-31-2006, 09:46 PM   #10
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
Sorry to interject negativity here, and I happily admit to not reading the article, but,

... Wireless cards have gotten low enough in price that encouraging people to use ndiswrappers is shameful. If your card doesn't have a native driver available, get a different one. That said getting a wireless card going can be a frustrating experience, especially on a laptop. But it feels so good when you finally get it working ...
 
Old 10-26-2007, 05:43 PM   #11
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Rep: Reputation: 15
inserting ndiswrapper

Hi,

I know this is a very old topic here in LQ but I just used it on my Slackware 12 and is so much faster to load on boot than to use what the kernel has prepared configurations. I am so happy. My questions are... 1)how am I going to insert wpa_supplicant in either of the script created here and where?
2) should I download wpa_supplicant from source or just use the one that comes with the Kernel(Slackware 12 I know there is).

can I just insert this somewhre in the script?

wpa_supplicant -c /etc/wpa/wpa.conf -D wext -dd -i wlan0 -B

if I had created a configuration file in /etc/wpa/wpa.conf?


Thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Newbie's Guide to Small Home LAN echo77 LinuxAnswers Discussion 56 03-05-2012 10:27 PM
Suse 10.0 wireles problem Donic Linux - Hardware 0 10-26-2005 08:51 PM
Problem with wireles keyboarddddd Orkie Linux - Hardware 2 04-18-2005 02:51 PM
SuSE patched out my wireles card brundles Linux - Newbie 3 04-22-2004 05:23 AM
Wireles Mouse ebrown27 Linux - Hardware 0 07-04-2003 08:34 PM


All times are GMT -5. The time now is 03:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration