Slackware 12.1 RaLink wireless problem. - Slackware

This is a discussion on Slackware 12.1 RaLink wireless problem. - Slackware ; Good Morning - this is the best chance you will get today to save a marriage!! I can't get the wireless link on my wife's machine working. Yesterday I upgraded my wife's machine from Slackware 11 to 12.1 - this ...

+ Reply to Thread
Results 1 to 13 of 13

Thread: Slackware 12.1 RaLink wireless problem.

  1. Slackware 12.1 RaLink wireless problem.


    Good Morning - this is the best chance you will get today to save a
    marriage!!

    I can't get the wireless link on my wife's machine working.



    Yesterday I upgraded my wife's machine from Slackware 11 to 12.1 - this
    was a clean install, wiped everything and started again. The
    installation went like a dream as always.

    Time to set up the wireless link.

    Here's some info:-

    ,----
    | root@peteranna:/home/glyn# uname -a
    |
    | Linux peteranna 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 AMD
    | Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
    |
    | root@peteranna:/home/glyn# lspci
    | 04:0a.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
    `----

    So I downloaded Alien Bob's rt2500-20080517_2.6.24.5_smp-i486-1alien.tgz
    package, which contains the kernel modules for this beauty.


    lsmod shows that the kernel module is loaded

    The relevant section of /etc/rc.d/rc.inet1.conf looks like this

    ## Example config information for wlan0. Uncomment the lines you need and fill
    ## in your info. (You may not need all of these for your wireless network)
    IFNAME[4]="wlan0"
    #IPADDR[4]=""
    NETMASK[4]="255.255.255.0"
    USE_DHCP[4]="yes"
    #DHCP_HOSTNAME[4]="icculus-wireless"
    #DHCP_KEEPRESOLV[4]="yes"
    #DHCP_KEEPNTP[4]="yes"
    #DHCP_KEEPGW[4]="yes"
    #DHCP_IPADDR[4]=""
    WLAN_ESSID[4]=MuNgEd
    WLAN_MODE[4]=Managed
    ##WLAN_RATE[4]="54M auto"
    WLAN_CHANNEL[4]="6"
    WLAN_KEY[4]="mangled"
    ##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7 099495192d44a774fda16"
    #WLAN_WPA[4]="wpa_supplicant"
    #WLAN_WPADRIVER[4]="ndiswrapper"

    The relevant section of rc.wireless.conf looks like this (not sure if I
    need both, but turning off rc.wireless makes no difference)


    # Generic example (decribe all possible settings)
    00:*)
    INFO="settings for peteranna, the family machine"
    # ESSID (extended network name) : My Network, any
    ESSID="MuNgEd"
    # NWID/Domain (cell identifier) : 89AB, 100, off
    #NWID=""
    # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
    MODE="Managed"
    # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
    #FREQ=""
    CHANNEL="6"
    # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
    #SENS=""
    # Bit rate : auto, 1M, 11M
    #RATE=""
    # Encryption key : 4567-89AB-CD, sassword
    KEY="mangled"
    # RTS threshold : off, 500
    #RTS=""
    # Fragmentation threshold : off, 1000
    #FRAG=""
    # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
    #IWCONFIG=""
    # iwspy parameters : + 01:23:45:67:89:AB
    #IWSPY=""
    # iwpriv parameters : set_port 2, set_histo 50 60
    #IWPRIV=""
    ;;

    With all that done, on booting I get

    Polling for DHCP server on interface wlan0:
    dhcpcd: MAC address = 00: etc etc


    then nothing.

    ifconfig -a then shows

    eth0 Link encap:Ethernet HWaddr 00:etc etc
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:19 Base address:0x2000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    wlan0 Link encap:Ethernet HWaddr 00:etc etc
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:39183 (38.2 KiB)
    Interrupt:20

    No joy!!

    Really don't know what to try next - any suggestions?

    Thanks for reading this far!

    atb

    Glyn
    --
    RTFM http://www.tldp.org/index.html
    GAFC http://slackbook.org/ The Official Source :-)
    STFW http://groups.google.com/groups?hl=e...inux.slackware
    JFGI http://jfgi.us/

  2. Re: Slackware 12.1 RaLink wireless problem.

    Glyn Millington wrote:

    >
    > Good Morning - this is the best chance you will get today to
    > save a marriage!!
    >
    > I can't get the wireless link on my wife's machine working.
    >
    >
    >
    > Yesterday I upgraded my wife's machine from Slackware 11 to 12.1
    > - this
    > was a clean install, wiped everything and started again. The
    > installation went like a dream as always.
    >
    > Time to set up the wireless link.
    >
    > Here's some info:-




    > With all that done, on booting I get
    >
    > Polling for DHCP server on interface wlan0:
    > dhcpcd: MAC address = 00: etc etc
    >
    >
    > then nothing.
    >
    > ifconfig -a then shows
    >


    >
    > wlan0 Link encap:Ethernet HWaddr 00:etc etc
    > BROADCAST MULTICAST MTU:1500 Metric:1
    > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 txqueuelen:1000
    > RX bytes:0 (0.0 B) TX bytes:39183 (38.2 KiB)
    > Interrupt:20
    >


    Looks like it is polling but doesn't get any response.

    What does /sbin/route -n give?
    Can you ping your router?
    What about encryption?

    Joerg


    --
    For email use g m x d o t n e t

  3. Re: Slackware 12.1 RaLink wireless problem.

    Joerg writes:

    > Glyn Millington wrote:
    >
    >>
    >> wlan0 Link encap:Ethernet HWaddr 00:etc etc
    >> BROADCAST MULTICAST MTU:1500 Metric:1
    >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    >> TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
    >> collisions:0 txqueuelen:1000
    >> RX bytes:0 (0.0 B) TX bytes:39183 (38.2 KiB)
    >> Interrupt:20
    >>

    >


    Thanks for the swift response


    > Looks like it is polling but doesn't get any response.


    That sounds about right!


    >
    > What does /sbin/route -n give?


    Just the loopback interface

    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo



    > Can you ping your router?


    Network unreachable



    > What about encryption?


    WEP at the moment

    atb

    Glyn
    --
    RTFM http://www.tldp.org/index.html
    GAFC http://slackbook.org/ The Official Source :-)
    STFW http://groups.google.com/groups?hl=e...inux.slackware
    JFGI http://jfgi.us/

  4. Re: Slackware 12.1 RaLink wireless problem.

    On Tue, 05 Aug 2008 08:50:50 +0100, Glyn Millington wrote:

    > | Linux peteranna 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686
    > AMD | Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux |
    > | root@peteranna:/home/glyn# lspci
    > | 04:0a.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI
    > (rev 01) `----
    >
    > So I downloaded Alien Bob's
    > rt2500-20080517_2.6.24.5_smp-i486-1alien.tgz package, which contains the
    > kernel modules for this beauty.


    Did the card fail to work with the modules included with the kernel?

  5. Re: Slackware 12.1 RaLink wireless problem.

    Glyn Millington wrote:

    > Joerg writes:
    >
    >> Glyn Millington wrote:
    >>
    >>>
    >>> wlan0 Link encap:Ethernet HWaddr 00:etc etc
    >>> BROADCAST MULTICAST MTU:1500 Metric:1
    >>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    >>> TX packets:836 errors:0 dropped:0 overruns:0
    >>> carrier:0 collisions:0 txqueuelen:1000
    >>> RX bytes:0 (0.0 B) TX bytes:39183 (38.2 KiB)
    >>> Interrupt:20
    >>>

    >>

    >
    > Thanks for the swift response
    >
    >
    >> Looks like it is polling but doesn't get any response.

    >
    > That sounds about right!
    >
    >
    >>
    >> What does /sbin/route -n give?

    >
    > Just the loopback interface
    >
    > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    >
    >
    >
    >> Can you ping your router?

    >
    > Network unreachable
    >
    >
    >
    >> What about encryption?

    >
    > WEP at the moment
    >


    Can you do
    ifconfig wlan0 up
    or
    ifconfig wlan0 up
    route add default gw

    How did you set your WEP-Key?
    You could try the above commands with encryption disabled, to
    check if it is a problem with WEP

    Joerg
    --
    For email use g m x d o t n e t

  6. Re: Slackware 12.1 RaLink wireless problem.

    On Tue, 05 Aug 2008 08:50:50 +0100
    Glyn Millington wrote:

    >
    > Good Morning - this is the best chance you will get today to save a
    > marriage!!
    >
    > I can't get the wireless link on my wife's machine working.
    >
    >
    >
    > Yesterday I upgraded my wife's machine from Slackware 11 to 12.1 -
    > this was a clean install, wiped everything and started again. The
    > installation went like a dream as always.
    >
    > Time to set up the wireless link.
    >
    > Here's some info:-
    >
    > ,----
    > | root@peteranna:/home/glyn# uname -a
    > |
    > | Linux peteranna 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008
    > i686 AMD | Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
    > |
    > | root@peteranna:/home/glyn# lspci
    > | 04:0a.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI
    > (rev 01) `----
    >
    > So I downloaded Alien Bob's
    > rt2500-20080517_2.6.24.5_smp-i486-1alien.tgz package, which contains
    > the kernel modules for this beauty.
    >
    >
    > lsmod shows that the kernel module is loaded
    >
    > The relevant section of /etc/rc.d/rc.inet1.conf looks like this
    >
    > ## Example config information for wlan0. Uncomment the lines you
    > need and fill ## in your info. (You may not need all of these for
    > your wireless network) IFNAME[4]="wlan0"
    > #IPADDR[4]=""
    > NETMASK[4]="255.255.255.0"
    > USE_DHCP[4]="yes"
    > #DHCP_HOSTNAME[4]="icculus-wireless"
    > #DHCP_KEEPRESOLV[4]="yes"
    > #DHCP_KEEPNTP[4]="yes"
    > #DHCP_KEEPGW[4]="yes"
    > #DHCP_IPADDR[4]=""
    > WLAN_ESSID[4]=MuNgEd
    > WLAN_MODE[4]=Managed
    > ##WLAN_RATE[4]="54M auto"
    > WLAN_CHANNEL[4]="6"
    > WLAN_KEY[4]="mangled"
    > ##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set
    > WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7 099495192d44a774fda16"
    > #WLAN_WPA[4]="wpa_supplicant" #WLAN_WPADRIVER[4]="ndiswrapper"
    >
    > The relevant section of rc.wireless.conf looks like this (not sure if
    > I need both, but turning off rc.wireless makes no difference)
    >
    >
    > # Generic example (decribe all possible settings)
    > 00:*)
    > INFO="settings for peteranna, the family machine"
    > # ESSID (extended network name) : My Network, any
    > ESSID="MuNgEd"
    > # NWID/Domain (cell identifier) : 89AB, 100, off
    > #NWID=""
    > # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary,
    > auto MODE="Managed"
    > # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G
    > (frequency) #FREQ=""
    > CHANNEL="6"
    > # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
    > #SENS=""
    > # Bit rate : auto, 1M, 11M
    > #RATE=""
    > # Encryption key : 4567-89AB-CD, sassword
    > KEY="mangled"
    > # RTS threshold : off, 500
    > #RTS=""
    > # Fragmentation threshold : off, 1000
    > #FRAG=""
    > # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
    > #IWCONFIG=""
    > # iwspy parameters : + 01:23:45:67:89:AB
    > #IWSPY=""
    > # iwpriv parameters : set_port 2, set_histo 50 60
    > #IWPRIV=""
    > ;;
    >
    > With all that done, on booting I get
    >
    > Polling for DHCP server on interface wlan0:
    > dhcpcd: MAC address = 00: etc etc
    >
    >
    > then nothing.
    >
    > ifconfig -a then shows
    >
    > eth0 Link encap:Ethernet HWaddr 00:etc etc
    > BROADCAST MULTICAST MTU:1500 Metric:1
    > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 txqueuelen:1000
    > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    > Interrupt:19 Base address:0x2000
    >
    > lo Link encap:Local Loopback
    > inet addr:127.0.0.1 Mask:255.0.0.0
    > inet6 addr: ::1/128 Scope:Host
    > UP LOOPBACK RUNNING MTU:16436 Metric:1
    > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 txqueuelen:0
    > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    >
    > wlan0 Link encap:Ethernet HWaddr 00:etc etc
    > BROADCAST MULTICAST MTU:1500 Metric:1
    > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
    > collisions:0 txqueuelen:1000
    > RX bytes:0 (0.0 B) TX bytes:39183 (38.2 KiB)
    > Interrupt:20
    >
    > No joy!!
    >
    > Really don't know what to try next - any suggestions?


    If Slackware 12.1 tries to use wpa_supplicant to set up the wireless
    connection (and I suspect it does), then it will not work unless you are
    using the rt2x00 drivers, which although in the kernel from 2.6.24 are
    still a bit ropey up to 2.6.26. I should download the latest backported
    version from http://linuxwireless.org/en/users/Download which may work
    for you. I use these with wicd (see below) and my Ralink rt73 stick
    on Slackware 12.0 and it works fine.

    On the other hand, if Slackware tries to use iwpriv to set up wireless,
    it will not work with either the in-kernel or any subsequent rt2x00
    drivers. You would either have to use the out-of-kernel driver supplied
    on Ralink's website, or (better) use the legacy driver from
    serialmonkey based on the Ralink driver. If that is what you used
    before with Slackware 11 you can always go back to them, and make your
    own start up script using iwpriv, which is trivial to do. (The
    serialmonkey legacy driver gives examples.)

    Setting up wireless using the Slackware configuration scripts is not
    satisfactory anyway because of its lack of flexibility. I should try
    wicd ( http://wicd.sourceforge.net/ ), which will use wpa_supplicant by
    default but used to, and probably also still does, support iwpriv for
    legacy Ralink drivers.

    Chris

  7. Re: Slackware 12.1 RaLink wireless problem.

    On Tue, 5 Aug 2008 11:37:58 +0100
    Chris Vine wrote:
    > If Slackware 12.1 tries to use wpa_supplicant to set up the wireless
    > connection (and I suspect it does), then it will not work unless you
    > are using the rt2x00 drivers, which although in the kernel from
    > 2.6.24 are still a bit ropey up to 2.6.26. I should download the
    > latest backported version from
    > http://linuxwireless.org/en/users/Download which may work for you. I
    > use these with wicd (see below) and my Ralink rt73 stick on Slackware
    > 12.0 and it works fine.


    By the way, you indicated that the wireless card is rt2500 based. I
    think the latest rt2x00 drivers from linuxwireless.org work with
    rt2500pci but do not with rt2500usb. Possibly the vanilla 2.6.24
    kernel rt2500 driver works with rt2500usb, but I suspect not.

    If not, you are stuck with the legacy drivers and iwpriv.

    Chris

  8. Re: Slackware 12.1 RaLink wireless problem.

    On Tue, 05 Aug 2008 11:37:58 +0100, Chris Vine wrote:

    > Setting up wireless using the Slackware configuration scripts is not
    > satisfactory anyway because of its lack of flexibility.


    :-(

    > I should try
    > wicd ( http://wicd.sourceforge.net/ ), which will use wpa_supplicant by
    > default but used to, and probably also still does, support iwpriv for
    > legacy Ralink drivers.


    If you look for Slackware support at the wicd site, you will find from
    their provided link that Robby Workman has already provided a Slackware
    package for wicd (thanks Robby!)

  9. Re: Slackware 12.1 RaLink wireless problem.

    On 2008-08-05, Mark Madsen wrote:
    > On Tue, 05 Aug 2008 11:37:58 +0100, Chris Vine wrote:
    >
    >> Setting up wireless using the Slackware configuration scripts is not
    >> satisfactory anyway because of its lack of flexibility.

    >
    >:-(
    >
    >> I should try
    >> wicd ( http://wicd.sourceforge.net/ ), which will use wpa_supplicant by
    >> default but used to, and probably also still does, support iwpriv for
    >> legacy Ralink drivers.

    >
    > If you look for Slackware support at the wicd site, you will find from
    > their provided link that Robby Workman has already provided a Slackware
    > package for wicd (thanks Robby!)


    unfortnuately, i believe part of the addition of the rt2x00 into the
    2.6.x kernel's wireless stack, has mildy impaired the performance of
    this card. in my experiences, there is a kernel included module for the
    rt2x00 that doesn't fully work with the 2500 series. i had to blacklist
    this kernel included one, so that the one from alien bob's or the SBo
    can function properly.

    additionally, even if and when the card's module gets inserted properly,
    it doesn't seem to be available to search and negotiate when the network
    comes up. wicd, as really great as it is, doesn't work reliably with it.
    :/

    but if the conflicting modules is your problem, and you are only on the
    network, then the first option should do fine, for when rc.wireless is
    being brought up


    hope something in this helps


    vb

  10. Re: Slackware 12.1 RaLink wireless problem.

    On Tue, 05 Aug 2008 08:50:50 +0100, Glyn Millington wrote:

    > Good Morning - this is the best chance you will get today to save a
    > marriage!!
    >

    snip snip

    I know this sounds nutty, but try doing this:

    Don't do any settings in rc.inet1.conf and just use rc.wireless.conf.

    Comment out the generic 5 lines (like it says in the file) and use the
    first batch of settings for your set up (including the first 3 bytes of
    the MAC address. Only fill in what you need.

    My settings:

    00:13:E8:*)
    INFO="intel 4965"
    ESSID="munged"
    MODE="Managed"
    CHANNEL="6"
    RATE="auto"
    KEY="munged"

    ;;

    I only use 64bit WEP and I had the same results as you. After tearing my
    hair out for a while, and breathing deeply, I went back through
    everything. The only mention of WEP that I found was in rc.wireless. So I
    figured to try the config for that.

    Hope this is of some little help to you and your marriage.

    Best
    Paul

  11. Re: Slackware 12.1 RaLink wireless problem.

    Chris Vine wrote:

    > Setting up wireless using the Slackware configuration scripts is not
    > satisfactory anyway because of its lack of flexibility. ...


    Would you care to elaborate on that, please? I use Slackware's
    boot-time configuration scripts to establish wireless connections on
    more than one laptop and have no problem, nor do I find it lacks
    flexibility.

    That's not to say that the software you're advocating doesn't look like
    it would be a good addition to Slackware. I personally think it would
    be great to see that added to the Slackware distribution, but I don't
    think it's likely to happen if advocates make general statements such
    as the one I quoted above without backing them up with details.

    --
    ----------------------------------------------------------------------
    Sylvain Robitaille syl@alcor.concordia.ca

    Network and Systems analyst Concordia University
    Instructional & Information Technology Montreal, Quebec, Canada
    ----------------------------------------------------------------------

  12. Re: Slackware 12.1 RaLink wireless problem.

    On Wed, 6 Aug 2008 16:52:30 +0000 (UTC)
    Sylvain Robitaille wrote:
    > Chris Vine wrote:
    >
    > > Setting up wireless using the Slackware configuration scripts is not
    > > satisfactory anyway because of its lack of flexibility. ...

    >
    > Would you care to elaborate on that, please? I use Slackware's
    > boot-time configuration scripts to establish wireless connections on
    > more than one laptop and have no problem, nor do I find it lacks
    > flexibility.


    It lacks flexibility because they are, as you say, boot time scripts.
    If you visit a client's office, and to use their wireless network you
    have to textually amend your boot-up networking scripts and run them by
    hand, then I think that counts as a lack of flexibility.

    There are plenty of solutions to this - wicd, kwireless (or whatever
    it is now called, I don't use it), and the wpa_supplicant GUI tool, but
    you must be one of a very few number of people using your text editor
    when roaming for that purpose - congratulations for being so hard core.

    Chris

  13. Re: Slackware 12.1 RaLink wireless problem.

    Chris Vine wrote:

    > It lacks flexibility because they are, as you say, boot time scripts.
    > If you visit a client's office, and to use their wireless network you
    > have to textually amend your boot-up networking scripts and run them by
    > hand, then I think that counts as a lack of flexibility.


    wpa_gui permits the configuration of new networks. The boot-time scripts
    simply start up the interface at boot time (and connect to an already
    configured network if one is visible). In fact, they do that very well.

    > There are plenty of solutions to this - wicd, kwireless (or whatever
    > it is now called, I don't use it), and the wpa_supplicant GUI tool, but
    > you must be one of a very few number of people using your text editor
    > when roaming for that purpose - congratulations for being so hard core.


    No, but you might be one of a very few people who feel that configuring
    boot-time events to occur at boot-time, then using already available
    tools (rather than adding new ones) to make run-time changes at run-time
    constitutes "inflexible" ...

    That said, I still think that wicd would be a good addition to
    Slackware, just not for the same reasons you seem to believe.

    --
    ----------------------------------------------------------------------
    Sylvain Robitaille syl@alcor.concordia.ca

    Network and Systems analyst Concordia University
    Instructional & Information Technology Montreal, Quebec, Canada
    ----------------------------------------------------------------------

+ Reply to Thread