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 - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-07-2004, 05:40 PM   #901
coindood
Member
 
Registered: Jan 2004
Distribution: FreeBSD, Slackware
Posts: 121

Rep: Reputation: 15

UPDATE:
To any newcomers to this thread seeing it for the first time, use ndiswrapper. You wil be very, very happy at the outcome.
 
Old 11-12-2004, 10:41 AM   #902
klopex
LQ Newbie
 
Registered: Nov 2004
Location: USA
Distribution: Redhat, Mandrake
Posts: 9

Rep: Reputation: 0
add the following to your gcc command line. It appears to fix the error for me. There will still be a warning about there being no license and therefore it might taint the kernel, but the kernel version problem seems to go away.

(You might need to put some version information after linux in the path. Search your filesystem to see what the correct path would be.)
-isystem /usr/src/linux/include

This is the command line that worked for me in the hello world module from "Linux Device Drivers" 2nd Edition. ( I defined __KERNEL__ and MODULE in the code.)
gcc -c -isystem /usr/src/linux/include hello.c
 
Old 12-25-2004, 10:39 PM   #903
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
help

Hey folks!, first of all sorry for my bad english, it isn't my first language. Once i have told that i can tell u my problem. I have a Xterasys XN-2411b wireless card, im using Gentoo on a Toshiba satellite. I really need to configure the wireless card, i have tried a lot of things, it uses the realtek controlers, so i download them and try to install, but i couldn't . Then i tried with the ndiswrapper, following the instructions above and everything go ok, until the part of "iwconfig" , because it says "command not found".
What have i do rong?, the problem is that in the insallation i din't do something?, or i have bad compile the kernel? or i have to install something with the livecd?
Please be explicit with the explanaitions because im a EXTREM NEWB
Any help will be apreciated

, jeje thats me!
 
Old 12-26-2004, 07:38 AM   #904
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
u need to be come root in order to use that command
you can type "su -" into ur terminal and then type the root's passwd.
now, try again
it should work out
if not, go to the site that's in my signature
there is a tutorial about it
hope that helps
 
Old 12-26-2004, 09:51 AM   #905
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
thx man, i went to the web page and follow the instructions, everythig goes ok until i have to write
"
ndiswrapper -l
Installed ndis drivers:
inffile] invalid diver!
net8180 driver present, harware present
"
What the hell is the "inffile]" thing?, i tried ti unistall it with "ndiswrapper -e inffile" but the next time i put again "ndiswrapper -l" y tell me it was there again. What should i do about it, is it ok or is an error?

Well then i restar and put "modprobe ndiswrapper" as a root, and nothing happend, well the lights of the card didn't go on, not even one. Any idea?

Any help will be apreciated
 
Old 12-26-2004, 10:55 AM   #906
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
please post the original error as it is
code it if u will
now i think i need the output of dmesg before and after you do modprobe ndiswrapper and the error it gives whenever u do "ndiswrapper -l"
also, which window driver did u use?
if it's the one i linked, there should be any problem.
but the "net8180 driver present, harware present" means ndiswrapper had recognize ur physical hardware and u had installed the right driver
 
Old 12-26-2004, 01:26 PM   #907
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
ok here we go, first of all, i follow all ur instructions, step by step, y download everything from ir links, and everithing goes ok until:

Code:
 ndiswrapper -l
Installed ndis drivers:
inffile]        hardware NOT present
net8180 hardware present
i think that "inffile]" shouldn't be there, but ok,lets move on:
here goes the dmesg before modprobe ndiswrapper
Code:
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded********
PCI: Setting latency timer of device 04:00.0 to 64
RTL8180: 04:00.0: region #0 IS a PIO resource!
RTL8180: request_region(0x00004000,0x00000100) ! 
Unable to handle kernel paging request at virtual address 000e0109
 printing eip: 
b0afbd88 
*pde = 00000000 
Oops: 0002 
CPU:    0 
EIP:    0010:[<b0afbd88>]    Tainted: P 
EFLAGS: 00010206 
eax: aca60000   ebx: aca60000   ecx: 00000000   edx: 00000000 
esi: adb4fc00   edi: 000e0001   ebp: acccfe68   esp: acccfe40 
ds: 0018   es: 0018   ss: 0018 
Process modprobe.old (pid: 10093, stackpage=acccf000)
Stack: aca60000 00000000 0001b0ac 00000286 00000001 00000286 8015c391 adb4fc00
        00004000 adb4fe67 acccfe88 b0afa954 adb4fc00 af23785c af251b20 adb4fc00  
      af237800 adb4fc00 acccfec8 b0afa266 adb4fc00 00004000 00000100 b0b318a0
 Call Trace:    [<b0afa954>] [<b0afa266>] [<b0b318a0>] [<b0b318c0>] [<b0b31900>]
   [<8030a687>] [<b0b318c0>] [<b0b31900>] [<8030a717>] [<b0b31900>] [<b0afa48e>]
   [<b0b31900>] [<801e4305>] [<b0afa060>] [<801ce263>]  
Code: 89 9f 08 01 00 00 89 da 81 c3 ec 93 01 00 89 1a 81 c3 04 03 
 <6>8139cp: 10/100 PCI Ethernet driver v1.1 (Aug 30, 2003)
 eth0: no IPv6 routers present 
SCSI subsystem driver Revision: 1.00 
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: Detected Intel i845 chipset
agpgart: AGP aperture is 256M @ 0xe0000000
this isn't all the "dmesg" message,but i think that is what u need if it isn't that let me know
then i put
Code:
modprobe ndiswrapper
this is the dmesg aftter the modprobe
Code:
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded********
PCI: Setting latency timer of device 04:00.0 to 64 
RTL8180: 04:00.0: region #0 IS a PIO resource! 
RTL8180: request_region(0x00004000,0x00000100) !
Unable to handle kernel paging request at virtual address 000e0109  
 printing eip: 
b0afbd88 
*pde = 00000000 
Oops: 0002 
CPU:    0 
EIP:    0010:[<b0afbd88>]    Tainted: P 
EFLAGS: 00010206
 eax: aca60000   ebx: aca60000   ecx: 00000000   edx: 00000000 
esi: adb4fc00   edi: 000e0001   ebp: acccfe68   esp: acccfe40
 ds: 0018   es: 0018   ss: 0018 
Process modprobe.old (pid: 10093, stackpage=acccf000)
 Stack: aca60000 00000000 0001b0ac 00000286 00000001 00000286 8015c391 adb4fc00
        00004000 adb4fe67 acccfe88 b0afa954 adb4fc00 af23785c af251b20 adb4fc00
        af237800 adb4fc00 acccfec8 b0afa266 adb4fc00 00004000 00000100 b0b318a0
Call Trace:    [<b0afa954>] [<b0afa266>] [<b0b318a0>] [<b0b318c0>] [<b0b31900>]
   [<8030a687>] [<b0b318c0>] [<b0b31900>] [<8030a717>] [<b0b31900>] [<b0afa48e>]
   [<b0b31900>] [<801e4305>] [<b0afa060>] [<801ce263>]  
Code: 89 9f 08 01 00 00 89 da 81 c3 ec 93 01 00 89 1a 81 c3 04 03  
 <6>8139cp: 10/100 PCI Ethernet driver v1.1 (Aug 30, 2003) 
eth0: no IPv6 routers present 
SCSI subsystem driver Revision: 1.00 
Linux agpgart interface v0.99 (c) Jeff Hartmann 
agpgart: Maximum main memory to use for agp memory: 690M 
agpgart: Detected Intel i845 chipset 
agpgart: AGP aperture is 256M @ 0xe0000000 
ndiswrapper version 0.10 loaded (preempt=yes,smp=no)
now the one ligth of the card should go on, isn't it?, well it didn't.
Sorry about the "window driver" cause i have no idea what are u talking about, but if u tell me how to know it, i tell you as fast as i can
THX for al the help u have give man
 
Old 12-26-2004, 06:47 PM   #908
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
it's no problem
but it seems that ndiswrapper is loading alright, but lights not turnin on it's not right, but like i said it's not really necessary to see the lights come on
carry on the follow the finaly step, see if that will straight everything out
also, please give me the brand and serial code of ur pcmcia wireless card
 
Old 12-26-2004, 11:05 PM   #909
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
Its nice to know that until this moments there are no troubles, but i think here comes one:
Code:
/sbin/iwconfig wlan0 mode Managed 
-bash: /sbin/iwconfig: No such file or directory
Evidently it shouldn't say that, it says the same thing with all the comands that need "/sbin/iwconfig". I am like root, so the problem isn't that.
Next problem:
Code:
/sbin/ifconfig wlan0 up
wlan0: unknown interface: No such device
ok, is really bad that i dont have a "wlan0" what do i have to do for making it?
im so sorry man, but i have no idea what is the brand and the serial code of my card. All i can give u is this:
Xterasys
Wireless LAN CardBus PC Card
IEEE802.11b XN-2411b
here is the info about the card(http://xterasys.com/xn2411b.htm)
And again, thx for all the help man.
 
Old 12-27-2004, 09:27 AM   #910
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
hm... what did u do to be come root?
if u used "su" then try "su -" next time u do it
if you used "su -" in the first place, then it's possible that you don't have iwconfig installed by default
you can check it by typing this command with root privilege, "rpm -qa | grep iwconfig"
 
Old 12-27-2004, 12:08 PM   #911
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
in fact to become root i use "su -" so the problem is not that. Here are the results of what u asked:
Code:
# rpm -qa | grep iwconfig
 -bash: rpm: command not found
im sure that is not good. I think the problem is deep inside, but if u want to help me any way, i will apreciated it so much.
First, what do i have to install to have "rpm"?
Is there another way to check "iwconfig" or is only rpm way?
I have gentoo, and im using Gnome, hope this is usefull for u.
thx for everything
 
Old 12-27-2004, 02:40 PM   #912
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
OH!!1 what kind dist. of linux do u use?
because different dist. use different command, all i know is the old red hatlinux's command
 
Old 12-27-2004, 08:17 PM   #913
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
ohh damn, i use Gentoo, its a shame we dont use the same. Well any way, thax so much for all the help, can u give me an advice about how to configure mi wireless card?, i mean here can i ask? well any way thx for all ur help.
 
Old 12-27-2004, 10:29 PM   #914
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
well i am going to seach on that a bit
so don't give up on ME YET!
rofl...
it's my pleasure to help as long as u appreciate it
 
Old 12-28-2004, 10:16 PM   #915
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
THX MAN!, i really apreciate ur help, i have weeks tring to make my card works, maybe even a month. I really need to get it working soon, or i'll have to return to windows
Well anyway, thx again for all ur help, if u find out anything, just let me know!
 
  


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
Linksys WPC11 version 4 aover25 Linux - Wireless Networking 5 02-12-2006 10:01 PM
WPC11 version 3 chiatello Linux - Networking 0 10-28-2003 08:32 PM
Linksys WPC11 version 4 kronixx Linux - Networking 1 06-07-2003 09:25 PM
WPC11 Version 4 StarCat Linux - Networking 1 05-03-2003 11:13 AM
Linksys WPC11 Version 3 haqtiq Linux - Networking 3 01-15-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:43 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
Open Source Consulting | Domain Registration