Re: Wireless card 'ifup: operation failed'
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 14 Apr 2006 18:42:58 GMT
"Lord Vain" <die@xxxxxxxx> writes:
"Robert Harris" <robert.f.harris@xxxxxxxxxxxxxxxx> wrote in message
news:1Gu%f.44802$8Q3.329@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Lord Vain wrote:ra0'
Debian based Linux:
I'm trying to get my RT2500 based wifi card working but it the 'ifup
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?
duringFirst problem is that the interface ra0 doesn't come up automatically
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.
command?
Does anyone know in what script I need to add a 'ifconfig ra0 up'
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?
what
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
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.)
.
- Follow-Ups:
- Re: Wireless card 'ifup: operation failed'
- From: Lord Vain
- Re: Wireless card 'ifup: operation failed'
- References:
- Wireless card 'ifup: operation failed'
- From: Lord Vain
- Re: Wireless card 'ifup: operation failed'
- From: Robert Harris
- Re: Wireless card 'ifup: operation failed'
- From: Lord Vain
- Wireless card 'ifup: operation failed'
- Prev by Date: Problems to connect suse 10 with a novell server
- Next by Date: Re: i cant ping websites only my gateway and internal ips
- Previous by thread: Re: Wireless card 'ifup: operation failed'
- Next by thread: Re: Wireless card 'ifup: operation failed'
- Index(es):
Relevant Pages
|