"Lord Vain" <(E-Mail Removed)> writes:
>"Robert Harris" <(E-Mail Removed)> wrote in message
>news:1Gu%f.44802$(E-Mail Removed) k...
>> Lord Vain wrote:
>> > Debian based Linux:
>> >
>> > I'm trying to get my RT2500 based wifi card working but it the 'ifup
>ra0'
>> > command always returns: 'operation failed'
Which "operation failed" You have no idea tht went wrong, but you think
that you can selectively report from the full thing and that your
selection will be an accurate indication of the problem.
>> >
>> > The /etc/network/interaces looks somewhat like this
>> >
>> > auto ra0
>> > iface ra0 inet dhcp
>> > wireless-essid MyESSID
>> > wireless-key 12345678
>> > wireless-channel 5
>> >
On which operating system? And why in the world would you specify the
channel?
>> > First problem is that the interface ra0 doesn't come up automatically
>during
Probably the module is not loaded.
Make sure that th emodule is getting loaded.
lsmod
>> > boot. The script therefore doesn't work and I have to start it by hand:
>> >
>> > ifconfig ra0 up
? ifconfig will do absolutely nothing of any worth. Your system has to load
the module to run your wireless card. That module then selects and
interface. Not you.
>> >
>> > Does anyone know in what script I need to add a 'ifconfig ra0 up'
>command?
None. That is not the problem.
>> >
>> > Once it's up I can check it with the 'ifconfig' and 'iwconfig' commands.
>> > That works fine but the interface isn't configured.
And if you do
iwlist s
do you get any reports of anything?
>> >
>> > Now I do a :
>> >
>> > ifup ra0
>> >
>> > but I it returns (after 10 seconds or so):
>> >
>> > operation failed.
>> >
>> > That's it, no error indication. Is there a log file where I can view
>what
>> > the problem is?
/var/log/messages
dmesg
>> >
>> >
>> > *** Posted via a free Usenet account from http://www.teranews.com ***
>>
>> Does your rt2500 module get loaded? ("make install" should make sure it
>> does)
>>
>> If you change the script in /etc/modprobe.d/wireless by adding the
>There isn't a /etc/modprobe.d/wireless file on my system so I can't take
>your advice.
And your system is what? Almost all distributions use slightly different
ways of setting up . modprobe.d is in Debian based systems. The Linux
kernel people use modprobe.conf
>I think I've figured out that the 'Operation failed' message is actually
>coming from the 'pump' DHCP client. Does that ring a bell with anyone?
If the previous line says
getting dhcp address: Operation failed
then yes, the problem is getting a dhcp address. It may have nothing to do
with your card at all.
lsmod
and look for your module driver for the card
iwlist s
and look for reports of wireless access points.
ifup <name of the interface reported by iwlist to have access points>
Then look at
iwconfig
to see if it is connected to the access point.
If all of the prvious work then it is dhcp. Perhaps you forgot to set up
your wireless router to run dhcp.
(I have found dhclient better than dhcpcd but I have not tried pump.)