Posted 26 August 2003 - 03:28 PM
i'm a somewhat experienced (not a total n00b) user.
i can get my way around.....
i picked up a $20 wireless nic based on the realtek 8180 chipset.
i'm having a helluva time getting the running.
i was running redhat 9, but am now running mandrake 9.1
i'm on a sony vaio laptop
p3 650 with 128 megs of ram
if someone can lend me some advice.....
i've recompiled the driver with for my kernel and have insmod'd it.
but i can't get the dang thing to light up and connect!
i know i'm being a little vague right now, but i don't wanna run through the whole narrative of my experiences with this card unless someone thinks they can help.
i've done a lot of reading on the various boards and discovered that getting this card to work under linux is bitch, but it is doable.
works fine under xp....but i'd rather not go there
Posted 26 August 2003 - 03:32 PM
Also, I will never ever buy from a company which the hardware doesn't have support any more. I am sick of being stuck in windows just to use some new fangled device that looks cool, but in reality just plain sucks.
Posted 26 August 2003 - 04:22 PM
product info: "Realtek", "Rtl8180"
manfid: 0x0000, 0x024c
function: 6 (network)
realtek supplies redhat and suse drivers.
i tried running redhat 9 and got nowhere
i switched over to mandrake and recompiled the driver.
that worked fine.
also insmod -f reported no errors.....
but now what?
i still need to config the card and get it running.
but nothin seems to work.
its very frustrating!
thankfully i have a land-lan-line (say that 10times fast) that works under linux so i can post this w/o booting into winblows.
but that doesn't do me much good
Posted 26 August 2003 - 05:19 PM
To actually connect, you would use something like this...
iwconfig ethX(or wifiX or wlanX) option setting.
iwconfig eth1 channel 3
Also, the last setting you should make is setting the essid. Once you set the essid, it "goes live"
and then you ifconfig eth1 up
but in order to set it up, the device must not be up.
What kernel are you running?
Posted 26 August 2003 - 05:37 PM
it took me a while... but ....
download the redhat9 drivers (as they use gcc3) and recompile it after adding the kernel to the makefile.
it should compile and give you the driver.
then /sbin/insmod -f should do it.
now to try yer suggestion.
maybe between the 2 of us,we'll figure this damn thing out
Posted 26 August 2003 - 07:18 PM
but when i ls /usr/local/sbin the directory is empty.
what the hell?
Posted 26 August 2003 - 10:17 PM
so i finally got wireless_tools to install and ran iwconfig.
here's what i got:
lo no wireless extensions.
eth0 no wireless extensions.
Warning: Driver for device wlan0 has been compiled with version 0
of Wireless Extension, while this program is using version 15.
Some things may be broken...
wlan0 IEEE 802.11-DS ESSID:off/any Nickname:""
NWID:off/any Frequency:infGHz Access Point: FF:BF:21:00:00:00
Bit Rate=-1.07375e+06kb/s Tx-Power=-1073745692 dBm Sensitivity=1162167625/0
Retry:on RTS thr=-1073745692 B Fragment thr=-1073745692 B
some things may be broken?
how do fix it????
Posted 27 August 2003 - 06:43 PM
No, seriously, I am not too sure, let me ask around. I tried those drivers, but I shall try them again. On a side note, got my cisco 350 working with kismet finally (updated to firmware 4.25.30) and using the sources from the 2.4.19 kernel in the pcmcia-cs package, which is quite fun to do in gentoo, manually modifying packages as you emerge them.
Posted 27 August 2003 - 08:18 PM
this thing is driving me batty.
i messed with it all day. the driver compiles, i can force load it ...
but nothin beyond that.
the card doesn't light up or anything.
lsmod says the driver is loaded.
Posted 27 August 2003 - 09:13 PM
i recompiled the driver (hoping some kind of voodoo would kick and fix things)
and ran the wlanup script that came with the drivers....
the card lit up!!!!
then, before i can do anything....
here's the wlanup script
/sbin/insmod -f rtl8180_24x.o
/sbin/iwpriv wlan0 enable
/sbin/ifconfig wlan0 172.20.14.180
echo "$(/sbin/ifconfig wlan0)"
not sure what caused the crash.
Posted 27 August 2003 - 10:11 PM
Posted 27 August 2003 - 10:24 PM
thanx for letting me gripe.
perhaps i'll cave and buy a name brnad card with real support
i just hate not being able to do something that 'should' work
i'll probably keep fighting it
Posted 27 August 2003 - 10:35 PM
You know you are close, not sure what is causing the kernel panic, have you tried checking the log? or what the KP says when it happens?
Posted 03 September 2003 - 03:56 PM
When I ran 2.4.40, I could use the pre-compiled rtl8180_24x.o with no problem. The moment that I upgraded to 2.4.21 it stopped working. Interestingly, it will insmod but is not reachable after that.
A recompile gave me the same error reported here: No problem insmod'ing, but no luck accessing. I did *not* get a kernel panic, though.
Hope this helps someone!
Posted 06 September 2003 - 04:28 AM
However, I've got the best experiences (in stability) with that card under linux-2.4.21-pre3. What you have to do:
1) download linux-2.4.20 sources (e. g. from here: www.at.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2)
2) download the linux-2.4.21-pre3 patch (e. g. from here: kernel.atnet.at/pub/linux/kernel/v2.4/testing/old/patch-2.4.21-pre3.bz2)
3) patch the kernel, configure and compile it
4) use the SuSE 8.2 driver from Realtek and compile it with that kernel (don't forget to edit the Makefile to point to the right kernel directory)
attention: it can be that the driver reports an error during compile (something like that timer_t is already declared). To fix that open the rtl8180_type.h and comment the line out where the error was reported (with "//")
5) edit the wlanup and wlandown scripts provided with the driver
That should it be...
if you have further questions or need help you can contact me under firstname.lastname@example.org
Posted 08 September 2003 - 05:50 AM
It's just mysterious what I found while trying to get it work.
I took the drivers from realtek (2003-09-04) for the gcc3.2.2 and compiled it as described in the readme. (On Gentoo with 2.4.20-gentoo-r1)
After "iwpriv wlan0 enable" I got it work, but with about 75% Packet loss. My dmesg repeated a message like
RTL8180: Select a BSS and Join it at channel 6.
RTL8180: wlan_sta_tbl_add return false!
RTL8180: wlan0 Link status:
RTL8180: Channel number = 6
RTL8180: beacon period = 100
RTL8180: BSSID = 0x00:0x02:0x72:0x03:0x2e:0x63
RTL8180: SSID = local
RTL8180: Capability = 0x11
RTL8180: AID = 0x01
RTL8180: Operational rate = 0x0F <bit 0~3 = 1~11 Mbps>
in almost the same interval as my router's traf-LED is lights up.
for me the wlan_sta_tbl_add function seems to have a prob to log in the right BSS.
But why? I tried to change some values with iwpriv to set the channel etc. but there's always the dmesg-answer:
RTL8180: Use RTL private command [channel]
My english is not that good, but I thought that the driver tells me to USE the private command, but what's wrong with "iwpriv wlan0 wlan_para channel=6" ???
And why is there no way to view the things I've configured ?
Das anyone know if the support becomes better the next weeks?
Posted 13 September 2003 - 10:39 PM
That 'Use RTL private command' message tells you that you are using that command. It tells you you have done something that works. This took me a while to figure out but I could see the results when I enabled the card.
It has no public configuration, for which reason iwconfig does not work. One must use iwpriv for all purposes.
One must also set the ssid, for example:
iwpriv wlan0 ssid=MyHomeNetwork
the docs nor the help screen tell one this.
BinRev is hosted by the great people at Lunarpages!