RE: Question concerning ifconfig

From: Bloch, Jack (Jack.Bloch@icn.siemens.com)
Date: Mon Jul 08 2002 - 06:37:08 EST


Thanks for the quick response, but in the mean time I figured it out through
trial and error. My driver did not have a set_mac_address method. There must
have been some sort of default method in 2.2

Jack Bloch
Siemens Carrier Networks
e-mail : jack.bloch@icn.siemens.com
phone : (561) 923-6550

-----Original Message-----
From: Ben Greear [mailto:greearb@candelatech.com]
Sent: Friday, July 05, 2002 1:20 PM
To: Bloch, Jack
Cc: 'linux-kernel@vger.kernel.org'
Subject: Re: Question concerning ifconfig

Bloch, Jack wrote:
> I am running a Red Hat 7.2 load (Kernel version 2.4.7-10). I am trying to
> enter the following command to change the MAC address on my device.
>
> ifconfig ifp0 hw ether A2:A5:A5:01:00:00
>
> ifp0 is my own device which replaces eth0. The system gives me a response
> "SIOCSIFHWADDR : device or resources busy"
> The same exact command works on my 2.2.16 Kernel. Any ideas why the error.
> Please CC me directly in any responses.

ifconfig ifp0 down

first, then it should work.

Ben

>
> Thanks in advance,
>
> Jack Bloch
> Siemens Carrier Networks
> e-mail : jack.bloch@icn.siemens.com
> phone : (561) 923-6550
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:12 EST