Re: Question concerning ifconfig

From: Ben Greear (greearb@candelatech.com)
Date: Fri Jul 05 2002 - 12:20:16 EST


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 : Sun Jul 07 2002 - 22:00:15 EST