LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-21-2006, 03:36 PM   #1
darkalien_fc5
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
ndiswrapper not working under FC5


Hey everyone, I installed FC5 64-bit a couple of days ago,
and I'm tired of having to use my intergrated ethernet card for net access.

Therefore, I'm trying to make my wireless card work.
Here are my specs:

CPU : AMD 64 3200+
RAM : 1GB
FC5 Kernel : 2.6.16-1.2111_FC5-x86_64
Wireless card: Ovilink (Chipset: RTL8180L)

I installed ndiswrapper with YumEX, and I installed successively (I think) the 64-bit driver for it.

When I do
Code:
ndiswrapper -l
it says:

Code:
Installed drivers:
netrtw          driver installed, hardware present
I did a lot of searching, and here's where I am at.

In the Network Configuration admin tool, it list my ethernet card (onboard) as eth0 and my wireless card (PCI) as wlan0.

I notice that the card is inactive, so I try to activate it.

It says:

Code:
ndiswrapper device wlan0 does not seem to be present, delaying initialization.
So the first thing I do is make sure the system sees it.
I type in "lspci -v | grep Ethernet" and it gives me:

Code:
00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
The wireless and the onboard cards are recognized, but only one can be activated. Hmmm. So I go to /etc/sysconfig/network-scripts/ and open up ifcfg-wlan0

Here's what it says:

Code:
DEVICE=wlan0
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BOOTPROTO=
PEERDNS=yes
ONBOOT=yes
DHCP_HOSTNAME=Wireless
IPADDR=192.168.1.58
DOMAIN=
HWADDR=
TYPE=Wireless
ESSID=
CHANNEL=1
MODE=Auto
RATE=Auto
USERCTL=no
IPV6INIT=no
Now, usually, since eth0 has a config similar to that one, I type in "ifconfig".

And nothing shows up about wlan0.
I try "ifconfig wlan0 up" and it says "wlan0: unknown interface: No such device".

Help me! I've spent the day searching on google and still no luck!

Last edited by darkalien_fc5; 05-21-2006 at 03:38 PM.
 
Old 05-21-2006, 03:51 PM   #2
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: 62
Number one, why are you messing around with ndiswrapper when there is a perfectly good native Linux driver for that card. http://rtl8180-sa2400.sourceforge.net/
 
Old 05-21-2006, 05:00 PM   #3
darkalien_fc5
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Because:

1)I already tried them
2) I heard ndiswrapper was very good
 
Old 05-21-2006, 05:12 PM   #4
darkalien_fc5
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
This is what I get when doing a "make" with those drivers.

Code:
make -C /lib/modules/2.6.16-1.2111_FC5/build SUBDIRS=/home/robin/Desktop/rtl8180-0.21 MODVERDIR=/home/robin/Desktop/rtl8180-0.21 modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2111_FC5-x86_64'
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_rx.o
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c: In function ‘auth_parse’:
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c:55: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c: In function ‘auth_rq_parse’:
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c:68: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c: In function ‘assoc_rq_parse’:
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c:119: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c: In function ‘assoc_parse’:
/home/robin/Desktop/rtl8180-0.21/ieee80211_rx.c:134: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_tx.o
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_wx.o
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_module.o
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_crypt.o
  CC [M]  /home/robin/Desktop/rtl8180-0.21/ieee80211_crypt_wep.o
/home/robin/Desktop/rtl8180-0.21/ieee80211_crypt_wep.c:27:2: warning: #warning CONFIG_CRYPTO_ARC4 is required to build this module.
  CC [M]  /home/robin/Desktop/rtl8180-0.21/r8180_core.o
/home/robin/Desktop/rtl8180-0.21/r8180_core.c: In function ‘check_tx_ring’:
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:771: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:771: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:772: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:772: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c: In function ‘alloc_tx_desc_ring’:/home/robin/Desktop/rtl8180-0.21/r8180_core.c:1611: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:1611: warning: cast to pointer from integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c: In function ‘alloc_rx_desc_ring’:/home/robin/Desktop/rtl8180-0.21/r8180_core.c:1767: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:1767: warning: cast to pointer from integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c: In function ‘rtl8180_pci_probe’:
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:3632: error: ‘struct pci_dev’ has no member named ‘slot_name’
/home/robin/Desktop/rtl8180-0.21/r8180_core.c: In function ‘rtl8180_tx_isr’:
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:3884: warning: cast from pointer to integer of different size
/home/robin/Desktop/rtl8180-0.21/r8180_core.c:3884: warning: cast to pointer from int
 
Old 05-21-2006, 05:36 PM   #5
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Rep: Reputation: 15
Which is the output of lsmod?

regards
 
Old 05-22-2006, 02:39 AM   #6
darkalien_fc5
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I get:

Code:
Module                  Size  Used by
ppdev                  42441  0
autofs4                55241  1
hidp                   83137  2
rfcomm                104801  0
l2cap                  91585  10 hidp,rfcomm
bluetooth             116933  5 hidp,rfcomm,l2cap
sunrpc                192137  1
ip_conntrack_ftp       41361  0
ip_conntrack_netbios_ns    36033  0
ipt_REJECT             38977  1
xt_state               35265  11
ip_conntrack           92669  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_stat e
nfnetlink              40073  1 ip_conntrack
xt_tcpudp              36545  13
iptable_filter         36289  1
ip_tables              48385  1 iptable_filter
x_tables               48201  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
dm_mirror              54593  0
dm_mod                 90768  1 dm_mirror
video                  50505  0
button                 40545  0
battery                43337  0
ac                     38473  0
ipv6                  398817  12
lp                     47633  0
parport_pc             62697  1
parport                74061  3 ppdev,lp,parport_pc
floppy                100617  0
nvram                  42441  0
ehci_hcd               65229  0
ohci1394               67993  0
uhci_hcd               65505  0
sg                     69097  0
ieee1394              391897  1 ohci1394
snd_ca0106             66757  0
snd_ens1371            62305  1
gameport               50385  1 snd_ens1371
snd_rawmidi            61249  2 snd_ca0106,snd_ens1371
snd_ac97_codec        136089  2 snd_ca0106,snd_ens1371
snd_seq_dummy          37061  0
snd_seq_oss            66241  0
snd_seq_midi_event     41025  1 snd_seq_oss
snd_seq                89825  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         42833  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            85457  0
nvidia               5458132  12
snd_mixer_oss          50881  1 snd_pcm_oss
via_rhine              58565  0
snd_pcm               126409  4 snd_ca0106,snd_ens1371,snd_ac97_codec,snd_pcm_os s
snd_ac97_bus           35777  1 snd_ac97_codec
mii                    38849  1 via_rhine
snd_timer              59465  2 snd_seq,snd_pcm
snd                    97129  13 snd_ca0106,snd_ens1371,snd_rawmidi,snd_ac97_cod ec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_time r
soundcore              44129  1 snd
snd_page_alloc         44497  2 snd_ca0106,snd_pcm
i2c_viapro             42713  0
i2c_core               57409  2 nvidia,i2c_viapro
ext3                  164177  1
jbd                    93545  1 ext3
sata_via               42437  2
libata                 93913  1 sata_via
sd_mod                 50753  3
scsi_mod              181137  3 sg,libata,sd_mod
Is that good or bad?
 
Old 05-22-2006, 02:44 AM   #7
darkalien_fc5
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
In general, how would I setup these drivers?

Above is what I get doing the "make" command and the "lsmod" command.

I saw the realtek site had drivers for my kernel for my chipset, how would I install these?

This is what I get doing make with the Realtek 2.6.x drivers:

Code:
[root@localhost rtl8180_1.5_release26]# make
make -C /lib/modules/2.6.16-1.2111_FC5/build SUBDIRS=/home/robin/Desktop/Stuff/rtl8180_1.5_release26 MODVERDIR=/home/robin/Desktop/Stuff/rtl8180_1.5_release26 modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2111_FC5-x86_64'
  CC [M]  /home/robin/Desktop/Stuff/rtl8180_1.5_release26/r8180_pci_init.o
/home/robin/Desktop/Stuff/rtl8180_1.5_release26/r8180_pci_init.c: In function ‘rtl8180_pci_probe’:
/home/robin/Desktop/Stuff/rtl8180_1.5_release26/r8180_pci_init.c:146: error: ‘struct pci_dev’ has no member named ‘slot_name’
/home/robin/Desktop/Stuff/rtl8180_1.5_release26/r8180_pci_init.c:150: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[2]: *** [/home/robin/Desktop/Stuff/rtl8180_1.5_release26/r8180_pci_init.o] Error 1
make[1]: *** [_module_/home/robin/Desktop/Stuff/rtl8180_1.5_release26] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2111_FC5-x86_64'
make: *** [modules] Error 2
 
Old 05-22-2006, 11:32 AM   #8
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Rep: Reputation: 15
I cannot see ndiswrapper loaded as a module in your output and should be. So try "modprobe ndiswrapper" and post the result
 
  


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 can't find FC5 Kernel build NLawrence Linux - Software 1 05-16-2006 06:55 PM
FC5 Wireless Ndiswrapper jsownz Linux - Wireless Networking 11 05-02-2006 06:15 AM
ndiswrapper in FC5 downsys Fedora 1 04-22-2006 08:44 PM
ndiswrapper and FC5 jtravnick Fedora 3 04-01-2006 06:14 PM
FC5 and Ndiswrapper Hangetsu Fedora 1 03-24-2006 11:33 AM

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

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