FB Twitter YouTube LinkedIn GitHub G+
Wireless?

Community Forum

Resolved
0 votes
Is it possible to install a wireless card and ClearOS act as a wireless hotspot / access point?

Thanks! :lol:
Tuesday, November 10 2009, 08:33 PM
Share this post:
Responses (73)
  • Accepted Answer

    oLdciTy
    oLdciTy
    Offline
    Saturday, April 04 2015, 05:04 PM - #Permalink
    Resolved
    0 votes
    :cheer: :) nice baby steps,. . . hehehehee eee
    The reply is currently minimized Show
  • Accepted Answer

    Intelliant
    Intelliant
    Offline
    Thursday, October 07 2010, 12:43 PM - #Permalink
    Resolved
    0 votes
    Confirmed. It works. Thanks Tony. Need to just fine tune things now and a bit of 'immutation' care.
    The reply is currently minimized Show
  • Accepted Answer

    Intelliant
    Intelliant
    Offline
    Saturday, October 02 2010, 03:59 PM - #Permalink
    Resolved
    0 votes
    Thanks Tony, Will get time to try this tomorrow. Shall revert with results.
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, September 29 2010, 03:51 AM - #Permalink
    Resolved
    0 votes
    Fortunately the machine came up straigt away once connected.. so here you go. Pretty standard, sorry for the length. Key has been sanitised - XX for the real Hex characters. "/etc/sysconfig/network-scripts/ifcfg-wlan0" and "/etc/modprobe.conf" have the immutable bit set so Webconfig cannot change them. "/etc/firewall" is edited by hand as Webconfig cannot handle the device names for the USB Wireless adaptors that are occasionally enabled.


    [root@via-epia ~]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0
    DEVICE=wlan0
    TYPE="Wireless"
    ONBOOT="yes"
    USERCTL="no"
    ESSID="sraellis.no-ip.com"
    CHANNEL="1"
    MODE="Managed"
    KEY="XXXXXXXXXXXXXXXXXXXXXXXXXX"
    RATE="auto"
    BOOTPROTO="static"
    IPADDR="192.168.2.15"
    NETMASK="255.255.255.0"
    #GATEWAYDEV="wlan0"
    GATEWAY="192.168.2.254"
    HWADDR="00:11:d8:8a:f1:78"
    [root@via-epia ~]#

    [root@via-epia ~]# cat /etc/modprobe.conf
    # Network
    alias eth0 tulip
    alias eth1 via-rhine
    alias eth2 rtl8150
    alias wlan0 rt2500pci
    #alias rausb0 rt2570
    #alias eth3 asix
    # I2C module options for sensors
    alias char-major-89 i2c-dev
    # Sound
    alias snd-card-0 snd-via82xx
    options snd-card-0 index=0
    options snd-via82xx index=0
    remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
    [root@via-epia ~]#

    [root@via-epia ~]# iwconfig wlan0
    wlan0 IEEE 802.11bg ESSID:"sraellis.no-ip.com"
    Mode:Managed Frequency:2.412 GHz Access Point: 0:22:B0:8E:E9:05
    Bit Rate=54 Mb/s Tx-Power=20 dBm
    RTS thr:off Fragment thr:off
    Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
    Power Management:off
    Link Quality=47/70 Signal level=-63 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    [root@via-epia ~]#

    [root@via-epia ~]# ifconfig wlan0
    wlan0 Link encap:Ethernet HWaddr 00:11:D8:8A:F1:78
    inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::211:d8ff:fe8a:f178/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3234 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1303 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1006270 (982.6 KiB) TX bytes:191461 (186.9 KiB)

    [root@via-epia ~]#

    [root@via-epia ~]# lspci -v
    ... cut ...
    00:14.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
    Subsystem: ASUSTeK Computer Inc. WL-130g
    Flags: bus master, slow devsel, latency 32, IRQ 5
    Memory at e7000000 (32-bit, non-prefetchable) [size=8K]
    Capabilities: [40] Power Management version 2
    ... cut ...

    [root@via-epia ~]# cat /etc/firewall
    ...cut ...
    MODE="gateway"


    # Interface roles
    #----------------

    EXTIF="wlan0 eth2"
    LANIF="eth0 eth1"
    DMZIF=""
    WIFIF=""
    HOTIF=""
    DNSIF="eth2"
    ... cut...
    The reply is currently minimized Show
  • Accepted Answer

    Intelliant
    Intelliant
    Offline
    Tuesday, September 28 2010, 07:21 PM - #Permalink
    Resolved
    0 votes
    Tony, I did not do anything to /etc/firewall. Yet it may not be an issue at this stage when 'iwconfig wlan0' itself does not return satisfactory results.

    Tim, I did try with WEP 128-bit key as well. I issued the following :
    iwconfig wlan0 essid <essid>
    iwconfig wlan0 mode Managed
    iwconfig wlan0 channel 6
    iwconfig wlan0 key <128-bit WEP key>
    iwconfig wlan0 ap 00:08:5C:9D:AD:58

    Thereafter restarted the network. Also added the above lines to ifcfg-wlan0, but all to no avail even on a reboot.

    Found something confusing as well - http://linuxwireless.org/en/users/Devices/PCI
    Herein the Linksys WMP54G PCI card seems to be supported by b43 driver and is supposed to have a Broadcom chipset. Will be able to confirm the exact chipset tomorrow after checking in a Windows system which has a similar card installed and configured properly.

    Also do you think this is possible, that a Ralink driver is picked up for a Broadcom chipset? APAIK, not possible as I even observed the link to be working,although for a very short period only. May be I will give the new kernel a shot as well. But want to rule out everything else prior to that.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 28 2010, 02:32 PM - #Permalink
    Resolved
    0 votes
    P.S- you might also be intersted in trying wireless in the newer kenel i've been testing (2.6.32) which has support for more hardware out of the box
    http://download.clearfoundation.com/community/timb80/kernel/
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 28 2010, 02:30 PM - #Permalink
    Resolved
    0 votes
    Just for information the webconfig only supports WEP and parameters that can be configured by the tool iwconfig. To this extent it relies heavily on the driver functionality of your card...try each parameter one by one using iwconfig on the command line.

    So if you card and driver combo requires any others (such as using iwpriv to set the channel or rate etc) or third party binary to construct the interface (such as madwifi) then you'll need to setup manual commands in /etc/rc.d/rc.local so that you card is configured on boot. I eventually setup WPA2-PSK this way

    You will then have to maintain it outside of the webconfig, as updating the webconfig will pontetially overwrite your working config. I have found more success by keeping the parameters in ifcfg-wlan0 to a minimum.

    Oh and wireless support is flagged for ClearOS6.0 :)
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Tuesday, September 28 2010, 02:00 PM - #Permalink
    Resolved
    0 votes
    From memory (not necessarily trustworthy) the following were setup by hand...

    /etc/modprobe.conf, /etc/firewall and /etc/sysconfig/network-scripts/ifcfg-wlan0
    The reply is currently minimized Show
  • Accepted Answer

    Intelliant
    Intelliant
    Offline
    Tuesday, September 28 2010, 01:42 PM - #Permalink
    Resolved
    0 votes
    Can you as of now confirm if the only file with any config changes is ifcfg-wlan0 or are there other files as well?

    Patience is something I would like to practice but herein after 6 hours of reading and hunting I am clueless as I am not getting any errors in the logs as well.

    Looking forward to the config file dump as well. :)
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Tuesday, September 28 2010, 12:37 PM - #Permalink
    Resolved
    0 votes
    You will have to be patient...

    This machine is not currently in use, but still intact. Maybe I can find time
    to fire it up sometime soon and extract the information you want. The wireless link between my office and the cable modem has been replaced by a pair of Netgear Powerline AV+ 200 adapters that are about 3x + faster than what the wireless link was...
    The reply is currently minimized Show
  • Accepted Answer

    Intelliant
    Intelliant
    Offline
    Tuesday, September 28 2010, 12:20 PM - #Permalink
    Resolved
    0 votes
    Tony,

    Could you please post a copy of the config files involved?

    I am using the Linksys WMP54G PCI card and the rt2500pci seems to be all loaded fine and have configured it for the external link on a COS 5.2

    Just after a first re-boot for a random moment the connection seemed to work but soon after it dropped and doesn't seem to connect for any reason.

    As you rightfully pointed out the webconfig w.r.t. the wireless cards seems to be buggy (would like to know if anyone differs with this opinion and how have they configured it.) The ifcfg-wlan0 has an entry TYPE="Ethernet" instead of "Wireless" as well as the iwconfig commands are missing (I think they should be there, isn't it?).

    I was using a WPA2-PSK TKIP key but have switched to WEP key now for sake of simplicity and elimination.
    Looking forward to your config files for further clues or pointers to the right solution.

    Thanks.

    PS: May be it is worth mentioning that wlan0 is consistent across modprobe.conf and ifcfg-wlan0
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Thursday, February 18 2010, 10:32 AM - #Permalink
    Resolved
    0 votes
    I lost the disk drive on one of my Atoms which was running CC 5.0. Rather than restoring, then doing an upgrade to ClearOS 5.1, decided it was cleaner to do a fresh install.

    So I can now confirm that the rt2570 compiled driver works with my D-Link USB Wireless stick using the "rausb0" device name and using the standard ClearOS kernel which is currently 2.6.18-164.6.1.v5. All set up as per the readme file from RT25USB-SRC-V2.0.8.0.ta..gz and manually editing config files as per previous appends...
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Thursday, January 21 2010, 05:32 AM - #Permalink
    Resolved
    0 votes
    rausb0 is what is expected to be used, hence this is what I used...
    look at the Make file for instance...


    [root@atomii RT25USB-SRC-V2.0.8.0]# grep rausb0 Makefile
    ## NDDIR/ifcfg-rausb0
    ND_CONF=/etc/sysconfig/network-scripts/ifcfg-rausb0
    echo "Create 'ifcfg-rausb0' in $(NDDIR)/"; \
    cp ifcfg-rausb0 $(NDDIR)/ ; \
    @if ! grep -q 'rausb0' $(MOD_CONF) ; then \
    echo "append 'alias rausb0 rt2570' to $(MOD_CONF)"; \
    echo "alias rausb0 rt2570" >> $(MOD_CONF) ; \
    [root@atomii RT25USB-SRC-V2.0.8.0]#


    Looks easy to change - this is only for the /etc/modprobe.conf file and the ifcfg file (they obviously must match)

    The other hits with grep all seemed to be text files - but I did a rather quick scan so you need to double check.

    Actaully the text files in the source are full of good information - you might find it beneficial to read them if you haven't done so already...
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Thursday, January 21 2010, 05:03 AM - #Permalink
    Resolved
    0 votes
    ok my last question then would be. Does the link have to be formatted rausb0? As in can it be wlan0 instead? If so would this only be to update the ifcfg-wlan0 file and the firewall file?
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Thursday, January 21 2010, 03:25 AM - #Permalink
    Resolved
    0 votes
    The connection details above is a connection using 128 bit WEP. I blanked the actual key in the append showing the iwconfig output with 'XXXX-XXXX etc. I never run my Wireless without some form of encryption.

    I do not run WPA (unfortunately I have some wireless clients that don't support it) to try.

    As for Webconfig - my experience has been that it does not support Wireless very well, so that is the reason I manually update all the relevant config files manually (I find that quicker plus I am more sure of how it is setup!). I had no problem connecting thru the rausb0 wireless interface and transferring data...

    I am not sure what else I can do... The machine I tested this on will be upgraded from CC 5.0 to ClearOS 5.1 - but current plans show that is still some weeks away - there are more pressing things that need doing first.
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Thursday, January 21 2010, 03:08 AM - #Permalink
    Resolved
    0 votes
    Ok dabbled a bit more today from where we left off last...


    My ifcfg-rausb0 file:

    DEVICE='rausb0'
    TYPE="Wireless"
    ONBOOT='yes'
    BOOTPROTO='dhcp'
    HWADDR="00:17:9A:C7:75:81"
    iwconfig rausb0 mode Managed
    iwconfig rausb0 key off
    iwconfig rausb0 essid "WM2"

    I can make that connect!!!! :woohoo:


    But when it does connect i lose internet connectivity though the ClearOS box. I see in the hardware report the rausb0 data stats. But I do not see the rausb0 in the IP Settings page, or the MultiWAN page. I assume this is due to my ifcfg-rasub0 file not specifying one of the External/Lan/HotLan/DMZ???? If not where would I go/do to get rausb0 to show up in the IP Settings & MultiWAN pages?

    Also when I try to connect with WEP it fails, same with WPA. Tony can you see if you can connect to these types of network to confirm?
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, January 20 2010, 11:48 AM - #Permalink
    Resolved
    0 votes

    Error for wireless request "Set Encode" (8B2A) Set failed on device rausb0; invalid argument.


    Maybe a parameter specified incorrectly in the ifcfg-rausb0 file?

    see for example http://www.knoppix.net/forum/viewtopic.php?p=15585

    also try this... look at "man iwconfig" and go thru all the parmeters one by one to find the culprit

    eg "iwconfig rausb0 mode managed"

    no response indicates it worked

    however, to make a shortcut, I think the "8B2A" response comes from an invalid "key" parameter, as I can force that error by using something like


    [root@atomii html]# iwconfig rausb0 key XXXX
    Error for wireless request "Set Encode" (8B2A) :
    invalid argument "XXXX".
    [root@atomii html]#


    which is obviously incorrect

    other parameters that are incorrect provided a different code when I tried them with something invalid

    eg

    [root@atomii html]# iwconfig rausb0 mode muddy
    Error for wireless request "Set Mode" (8B06) :
    invalid argument "muddy".
    [root@atomii html]#
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 10:39 AM - #Permalink
    Resolved
    0 votes
    edited /etc/firewall by hand to add the new interface and a <-- I replaced the old wlan0 with rausb0 hope this was right
    service firewall restart


    Then in the ClearOS GUI (IP Settings) I removed the wlan0 interface

    Then rebooted

    Upon reboot, all came up ok except for RAUSB0
    I saw 4 errors similar to this pertaining to setting bit rates, SSID, etc..

    Error for wireless request "Set Encode" (8B2A) Set failed on device rausb0; invalid argument.




    And this is what i see now after the reboot.

    - There is no rausb0 in the clearos IP Settings page either.


    lsmod | grep rt2
    rt2570 161920 0
    rt2x00usb 16512 0
    rt2x00lib 24960 1 rt2x00usb
    mac80211 137992 2 rt2x00usb,rt2x00lib
    cfg80211 30728 2 rt2x00lib,mac80211

    uname -r
    2.6.18-164.6.1.v5PAE

    cat /etc/release
    ClearOS Enterprise Edition release 5.1

    iwconfig rausb0
    rausb0 RT2500USB WLAN ESSID:""
    Mode:Managed Frequency=24.12 MHz Bit Rate=11 Mb/s
    RTS thr:off Fragment thr:off
    Encryption key:off
    Link Quality=0/70 Signal level:-120 dBm Noise level:-85 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    ifconfig rausb0
    rausb0 Link encap:Ethernet HWaddr 00:17:9A:C7:75:81
    inet6 addr: fe80::217:9aff:fec7:7581/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:36 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1178682 (1.1 MiB) TX bytes:21570 (21.0 KiB)



    I am totally baffled....???? :side: But its going on 3am here, I thank you all for so much help. Will have to bang my head on the desk a bit more in a few hours.
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 10:30 AM - #Permalink
    Resolved
    0 votes
    yes exact same stick
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, January 20 2010, 08:57 AM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, January 20 2010, 08:54 AM - #Permalink
    Resolved
    0 votes
    Used the source from here... http://www.ralinktech.com/support.php?s=2

    Downloaded RT25USB-SRC-V2.0.8.0.ta..gz

    untar and did a make

    did "touch /etc/sysconfig/network-scripts/ifcfg-rausb0"

    ran make install - I didn't put the driver in where I like them so did a
    cp /lib/modules/2.6.18-128.2.16.v5/extra/rt2570.ko /lib/modules/2.6.18-128.2.16.v5/kernel/drivers/net/wireless/rt2x00/rt2570.ko

    to stop the old driver from loading I did this...


    mv /lib/modules/2.6.18-128.2.16.v5/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko /lib/modules/2.6.18-128.2.16.v5/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko.old

    I then edited /etc/sysconfig/network-scripts/ifcfg-rausb0 with my wireless settings

    plugged in usb wireless stick

    did "ifup rausb0"

    edited /etc/firewall by hand to add the new interface and a
    service firewall restart

    then this (sanitized)


    [root@atomii /# iwconfig rausb0
    rausb0 RT2500USB WLAN ESSID:"grassmere" Nickname:"atomii.sraellis.com"
    Mode:Managed Frequency=24.72 MHz Access Point: 00:12:17:2F:49:02
    Bit Rate=54 Mb/s
    RTS thr:off Fragment thr:off
    Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
    Link Quality=74/70 Signal level:-63 dBm Noise level:-98 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    [root@atomii /]# ifconfig rausb0
    rausb0 Link encap:Ethernet HWaddr 00:13:46:79:A4:A7
    inet addr:192.168.2.17 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:405 errors:0 dropped:0 overruns:0 frame:0
    TX packets:503 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:939505 (917.4 KiB) TX bytes:549496 (536.6 KiB)

    [root@atomii etc]#


    Here is the kernel and OS

    [root@atomii /]# uname -r
    2.6.18-128.2.16.v5
    [root@atomii /]# cat /etc/release
    ClarkConnect Community Edition release 5.0
    [root@atomii /]#


    I have no reason to believe this will not run under ClearOS 5.1

    oh! one last thing


    [root@atomii /]# lsmod | grep rt2
    rt2x00usb 16512 0
    rt2x00lib 25344 1 rt2x00usb
    rt2570 161792 0
    mac80211 137864 2 rt2x00usb,rt2x00lib
    cfg80211 30728 2 rt2x00lib,mac80211
    [root@atomii /]#
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 08:20 AM - #Permalink
    Resolved
    0 votes
    yes exact same stick
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, January 20 2010, 08:16 AM - #Permalink
    Resolved
    0 votes
    OK - so you had already got it loaded by the time you ran the insmod command...

    As I have one of these sticks, let me see if I can run it under CC 5.0. I don't have a ClearOS system available with the standard kernel.

    With the Redhat 5.5 kernel I can run both the usb2500 and the pci2500 together as external interfaces with MultiWan...

    I assume you are still using this one?
    D-Link Corp. [hex] DWL-G122 802.11g rev. B1 [ralink]
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 08:04 AM - #Permalink
    Resolved
    0 votes
    insmod /lib/modules/2.6.18-164.6.1.v5/kernel/drivers/usb/net/rt2570.ko
    insmod: error inserting '/lib/modules/2.6.18-164.6.1.v5/kernel/drivers/usb/net/rt2570.ko': -1 File exists
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 08:03 AM - #Permalink
    Resolved
    0 votes
    None for 2.6.18-183. ... Then I do not know what driver that kernel is using for the USB to work
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 07:57 AM - #Permalink
    Resolved
    0 votes
    locate rt2570.ko
    /home/RT25USB-SRC-V2.0.8.0/.rt2570.ko.cmd
    /home/RT25USB-SRC-V2.0.8.0/rt2570.ko
    /lib/modules/2.6.18-164.6.1.v5/extra/rt2570.ko
    /lib/modules/2.6.18-164.6.1.v5/kernel/drivers/usb/net/rt2570.ko

    and the rt2570.ko is suposto work, but i have yet to get it to work with the 2.6.18-164.6.1.v5 Kernel :S
    The reply is currently minimized Show
  • Accepted Answer

    Tony Ellis
    Tony Ellis
    Offline
    Wednesday, January 20 2010, 07:54 AM - #Permalink
    Resolved
    0 votes
    You must run "updatedb" before doing a locate for new files..

    Does

    insmod /lib/modules/2.6.18-164.6.1.v5/kernel/drivers/usb/net/rt2570.ko

    work?
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 07:47 AM - #Permalink
    Resolved
    0 votes
    if that is a command, it didnt work.

    locate rt2570.ko
    locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory

    But it is located where I extracted / made it:
    /home/RT25USB-SRC-V2.0.8.0/rt2570.ko
    and
    /lib/modules/2.6.18-164.6.1.v5/kernel/drivers/usb/net/rt2570.ko
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 07:43 AM - #Permalink
    Resolved
    0 votes
    locate rt2570.ko
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 07:40 AM - #Permalink
    Resolved
    0 votes
    I just rebooted the machine with the other kernel 2.6.18-183.el5.jwltest.99.i686 (this is the kernel when the wifi works) and did a lsmod again.


    rt2500usb 25669 0
    rt2x00usb 16833 1 rt2500usb
    rt2x00lib 34753 2 rt2500usb,rt2x00usb
    mac80211 139329 2 rt2x00usb,rt2x00lib
    cfg80211 142217 2 rt2x00lib,mac80211



    if that helps...????
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 07:33 AM - #Permalink
    Resolved
    0 votes
    :( nope, still dead
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 07:17 AM - #Permalink
    Resolved
    0 votes
    well here's hoping, its rebooting.....
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 07:03 AM - #Permalink
    Resolved
    0 votes
    Yep I think so. Now how to add it? I understand the concepts but this is not an area that I am very familiar with. I did a quick search and found this but I am not sure if this example is the best way to enable this type of driver for this situation.
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 06:49 AM - #Permalink
    Resolved
    0 votes
    lsmod
    rt2500usb 26368 0
    rt2x00usb 16512 1 rt2500usb
    rt2x00lib 24960 2 rt2500usb,rt2x00usb

    ^^^ Shouldn't these show the rt2570.ko?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 06:47 AM - #Permalink
    Resolved
    0 votes
    It is getting late I am making stupid mistakes. This is a new driver. Did kudzu recognize the hardware ? Is the driver loaded ?
    lsmod
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 06:31 AM - #Permalink
    Resolved
    0 votes
    The driver I got in the form of source not an rpm... Can be found here http://www.ralinktech.com/support.php?s=2 ---> RT2500USB(RT2571/RT2572) (source Code)


    In etc/depmod.d there is just one file: depmod.conf.dist it contains:


    # depmod.conf
    #

    # override default search ordering for kmod packaging
    search updates extra built-in weak-updates
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 06:26 AM - #Permalink
    Resolved
    0 votes
    why would they be overwritten?

    The installation of an RPM would create an entry in etc/depmod.d with a weak reference associated to the driver
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 06:23 AM - #Permalink
    Resolved
    0 votes
    rt2570.ko
    Oops I did not see this is a new driver
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Wednesday, January 20 2010, 06:22 AM - #Permalink
    Resolved
    0 votes
    Well would ya look at that...

    ls -l
    total 248
    -rwxr--r-- 1 root root 21868 Dec 2 10:00 rt2400pci.ko
    -rwxr--r-- 1 root root 25448 Dec 2 10:00 rt2500pci.ko
    -rwxr--r-- 1 root root 31772 Dec 2 10:00 rt2500usb.ko
    -rwxr--r-- 1 root root 28332 Dec 2 10:00 rt2x00lib.ko
    -rwxr--r-- 1 root root 16532 Dec 2 10:00 rt2x00pci.ko
    -rwxr--r-- 1 root root 19152 Dec 2 10:00 rt2x00usb.ko
    -rwxr--r-- 1 root root 28616 Dec 2 10:00 rt61pci.ko
    -rwxr--r-- 1 root root 34824 Dec 2 10:00 rt73usb.ko


    They were compiled just the other day....


    why would they be overwritten?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2010, 06:11 AM - #Permalink
    Resolved
    0 votes
    I would far prefer to get it to work with the stock 2.6.18-164.6.1.v5PAE Kernel
    I agree
    Please double check:
    The date for rt2500usb.ko driver corresponds to your compile time
    /lib/modules/2.6.18-164.6.1.v5PAE/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
    also check in: /etc/depmod.d that your driver is not being overridden:
    The reply is currently minimized Show
Your Reply