Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-17-2004, 12:56 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Rep:
|
Belkin F5D6020v3 card not configuring in MDK 9.2
Ok, so here is the story. I have a Toshiba Tecra 9100 running MDK (Mandrake) 9.2. I also possess a Belkin F5D6020 Version 3 802.11b WiFi card. Version 1 cards use the onico prism drivers, and Version 2 cards use the AMTEL drivers. However, there are no drivers for Version 3 cards. I did a cardctl ident and got the following message:
Code:
Socket 0:
product info: "Realtek", "Rtl8180"
manfid: 0x0000, 0x024c
function: 6 (network)
Socket 1:
no product info available
So, I went to the RealTek site (A Taiwanese company) and downloaded the only drivers they had available (RealTek Rtl8180l) and did what was described in the README file and got this error:
Code:
[root@localhost rtl8180_1.5]# insmod -f rtl8180_24x.o
Warning: kernel-module version mismatch
rtl8180_24x.o was compiled for kernel version 2.4.20-8
while this kernel is version 2.4.22-10mdk
Warning: loading rtl8180_24x.o will taint the kernel: forced load
rtl8180_24x.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
[root@localhost rtl8180_1.5]#
Ok, that's interesting......let's look at dmesg....
Code:
devfs_register(0): could not append to parent, err: -17
floppy0: no floppy controllers found
cs: cb_free(bus 4)
cs: cb_alloc(bus 4): vendor 0x1799, device 0x6020
PCI: Enabling device 04:00.0 (0000 -> 0003)
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded********
rtl8180: No devices found, RTL8180 Wireless Lan Driver 2003-11-24 unregistered
Ok, so now I am stumped. Any suggestions?
|
|
|
03-17-2004, 03:58 AM
|
#2
|
Member
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410
Rep:
|
|
|
|
03-17-2004, 11:55 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
Thanks for the info. I already knew about the 1st 2 suggestions, but the 3rd is really interesting. I d/l'd the driverLoader software and was able to get my WiFi card to connect to the router, but cannot seem to get an IP address. I have followed everything that I can find on thier site, but still no IP address.
I have sent an email to their techsupport dept and hopefully they will get back with me. I am more than willing to pay the $20 US for their product if I can get it to work.
Also, I sent an email to RealTek and got this reply from them:
Code:
Dear Sir,
Thanks for your e-mail.
RTL8180 support Linux driver 2.6x schedule : mid April
|
|
|
03-17-2004, 01:12 PM
|
#4
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
I was thinking....could it be that even though I have what appears to be a connection to the Router that I am not getting an IP address because the card is not configured properly (ie. the system does not know that the interface eth1 is up)? I cannot configure this card through KDE, but here is what I get from using dmesg, iwlist and iwconfig (I have blocked out the MAC Addresses for security reasons):
Code:
dmesg:
eth1: WEP128, WEP64 supported
eth1: Belkin 11Mbps Wireless Notebook Network Card at 04:00.0 (MAC address XX:XX:XX:XX:XX:XX) ready
eth1: New link status: Disconnected (0002)02:E0:2B:B6:ED:50
eth1: New link status: Connected (0001)
iwconfig:
eth1 IEEE 802.11-DS ESSID:"myNet" Nickname:"unknown"
Mode:Ad-Hoc Frequency:2.462GHz Cell: AA:AA:AA:AA:AA:AA
Bit Rate=11Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwlist scan:
lo Interface doesn't support scanning : Operation not supported
eth0 Interface doesn't support scanning : Operation not supported
eth1 Scan completed :
Cell 01 - Address: AA:AA:AA:AA:AA:AA
ESSID:"myNet"
Mode:Auto
Frequency:2.462GHz
Quality:1/1 Signal level:-156 dBm Noise level:-200 dBm
Encryption key:off
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Extra:bcn_int=100
Can you assist with this (I am still a newbie to hardware configs in LINUX)?
|
|
|
03-18-2004, 01:47 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
So, here is some further information:
DriverLoader from LINUXANT actually did install, but the WiFi card cannot be set into AUTO mode, but it can be set to Ad-Hoc, which does make a connection. I can also see on the router that a DHCP address is assigned to the MAC address of the card, but the card does not receive it.
The card is set to Ad-Hoc mode (which conflicts with AUTO mode of the router), and Belkin tech support verified that there is no way to change the mode of the router to Ad-Hoc, nor can the card be set for AUTO mode (see above). Belkin also mentioned that they do not have any plans to support any OS other than M$  (You would think that a company would want to support it users).
So, hopefully someone will be able to solve this. The card must be run in Ad-Hoc and the Router cannot be changed from Auto.
|
|
|
03-18-2004, 06:03 PM
|
#6
|
Member
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410
Rep:
|
Make like a Belkin switch and switch to something else 
|
|
|
03-18-2004, 06:31 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
Yeah, no kidding - except I already paid for it awhile ago and can't send it back (same with the card).
I did find out more information though. Apparently driverLoader may be the culprit, or possible wireless-tools v26. When the driver is loaded via driverLoader and configured via the web interface, I can see a selection for mode of Infrastructure, Auto sense, Ad-hoc. However, when I change these, they appear to take no effect on the system.
So, the driver supplies the parameters and driverloader sees them, but how are they confiugured? /etc/sysconfig/network-scripts/ifcfg-eth1 doesn't get touched, so what is happening????
I double-checked my config for XP and it is set for Infrastructure, so the driver is correct, just not the configuration. iwconfig does not accept the mode Infrastructure, so what now???
I have an email into driverLoader tech support, but they are S---L---O---W to respond. The last email basically left me hanging that if I could not set the card to Auto, I was on my own....(some tech support), but I will keep waiting patiently for a reponse.
Got any more suggestions?
|
|
|
03-18-2004, 06:44 PM
|
#8
|
Member
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410
Rep:
|
Yes, the thread WPC11 Version 4! is good example of how much a headache that Realtek chip is.
|
|
|
03-18-2004, 06:56 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
You would think too that a manufacturer like Belkin would provide better support and not be locked-in to a specific company like Microsoft. I thought that the world had enough of things like WinModems.
|
|
|
03-19-2004, 04:48 AM
|
#10
|
LQ Newbie
Registered: Mar 2004
Distribution: Redhat/Fedora
Posts: 9
Rep:
|
I had similar problems with my belkin f5d6001 pci wireless. It uses the rtl8180 chipset, but belkin have changed the id's in it and the realtek drivers don't know where to find it. I have no idea why belkin don't have theri own drivers released for it, but oh well.
If you're interested in trying the realtek drivers, I got my card going by putting the id's of my card into the source of the realtek drivers off their site. Have a look at this thread, detailing it:
http://www.linuxquestions.org/questi...hreadid=131276
where I had to put in 0x1799 and 0x6001 it looks like your card will need 0x0000 and 0x024c
The realtek driver's didn't work for me under 2.4.22, although wht yu've posted look like they might be working on yours, it looks like the driver was loading alright. I could never get to the stage where it showed:
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded********
rtl8180: No devices found, RTL8180 Wireless Lan Driver 2003-11-24 unregistered
until I downgraded my kernel back to 2.4.20
The realtek drivers do let you use the card in any mode, ad-hoc, infrastructure or even ap (make your own access point), and if you follow the guides linked in the other thread, you should be able to get it going.
Corona
|
|
|
03-19-2004, 10:56 AM
|
#11
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
Thank you for your information, I have loaded the sources and want to compile, but I am getting a ton of errors!!!!
Here is what I have done:
* I installed the Kernel Sources and verified their location in the system (/usr/src/linux-2.4.2-10MDK)
* I made a symlink in /lib/modules called build which points to the above referenced location
When I compile, I get the following:
Code:
[root@localhost rtl8180_1.5]# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.22-10mdk/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o r8180_pci_init.o r8180_pci_init.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from r8180_pci_init.c:21:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from r8180_pci_init.c:21:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from r8180_pci_init.c:21:
/usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE"
In file included from /usr/include/linux/mm.h:12,
from /usr/include/linux/slab.h:14,
from r8180_pci_init.c:28:
/usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/mmzone.h:44: error: requested alignment is not a constant
In file included from r8180_pci_init.c:29:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from /usr/include/linux/netdevice.h:461,
from r8180_pci_init.c:29:
/usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from /usr/include/linux/netdevice.h:461,
from r8180_pci_init.c:29:
/usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from /usr/include/linux/netdevice.h:461,
from r8180_pci_init.c:29:
/usr/include/linux/interrupt.h:129: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:129: error: requested alignment is not a constant
In file included from r8180_pci_init.c:29:
/usr/include/linux/netdevice.h:517: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:517: error: requested alignment is not a constant
In file included from r8180_pci_init.c:40:
r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
<command line>:11:1: warning: this is the location of the previous definition
make: *** [r8180_pci_init.o] Error 1
[root@localhost rtl8180_1.5]#
What am I doing wrong? I am still a newbie and don't really know much about C programming (yet).
|
|
|
03-19-2004, 10:02 PM
|
#12
|
LQ Newbie
Registered: Mar 2004
Distribution: Redhat/Fedora
Posts: 9
Rep:
|
hmm....Not sure, but have you got a symlink linux in /usr/src pointing to linux-2.4.22-10MDK folder?
ie. ln -s /usr/src/linux-2.4.22-10mdk /usr/include/linux
|
|
|
03-19-2004, 10:03 PM
|
#13
|
LQ Newbie
Registered: Mar 2004
Distribution: Redhat/Fedora
Posts: 9
Rep:
|
oops ln -s /usr/src/linux-2.4.22-10mdk /usr/src/linux
|
|
|
03-20-2004, 12:07 AM
|
#14
|
LQ Newbie
Registered: Mar 2004
Location: Houston, Texas
Distribution: Fedora Core 1
Posts: 15
Original Poster
Rep:
|
Yup. It is there /usr/src/linux points to /usr/src/linux-2.4.22-10mdk
|
|
|
03-20-2004, 03:00 AM
|
#15
|
LQ Newbie
Registered: Mar 2004
Distribution: Redhat/Fedora
Posts: 9
Rep:
|
I'm not too sure, my next suggestion would be getting a copy of the redhat 9 kernel and running off that. You could probably get the rpm for it and it's source off rpmfind.net
As I said, I've only had success so far using the specified 2.4.20 kernel, so that might be the problem. If you got the kernel and kernel-source packages, you would have to use the --force arguement when running rpm to install them. I downgraded from the 2.4.22 kernel that came with fedora back to the redhat 9 one to make mine work.
|
|
|
All times are GMT -5. The time now is 09:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|