GNU bug report logs - #21019
ifconfig doesn't allow mac change for devices

Previous Next

Package: guix;

Reported by: "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>

Date: Thu, 9 Jul 2015 18:48:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21019 in the body.
You can then email your comments to 21019 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Thu, 09 Jul 2015 18:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 09 Jul 2015 18:48:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>
To: bug-guix <bug-guix <at> gnu.org>
Subject: ifconfig doesn't allow mac change for devices
Date: Thu, 9 Jul 2015 14:16:06 -0400 (EDT)
Hello, I am trying to install guixsd with the installation image, my wireless
internet provider allows me for only one MAC. The command I use to change the
card mac on other distros and installation images is:

ifconfig device hw ether NewMacAdress

But with guixsd ifconfig fails telling me that the device can have only one
address. Interesting to notice that I can put whatever device, even non existent
names like "jlakjdj" and it tells the same thing, the device can only have on
adress. I have an Atheros card.




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Fri, 10 Jul 2015 05:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: info <at> danieleparisi.me
Cc: 21019 <at> debbugs.gnu.org
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Fri, 10 Jul 2015 08:58:13 +0300
info <at> danieleparisi.me info <at> danieleparisi.me (2015-07-09 21:16 +0300) wrote:

> Hello, I am trying to install guixsd with the installation image, my wireless
> internet provider allows me for only one MAC. The command I use to change the
> card mac on other distros and installation images is:
>
> ifconfig device hw ether NewMacAdress
>
> But with guixsd ifconfig fails telling me that the device can have only one
> address. Interesting to notice that I can put whatever device, even non existent
> names like "jlakjdj" and it tells the same thing, the device can only have on
> adress. I have an Atheros card.

As I answered on IRC <https://gnunet.org/bot/log/guix/2015-07-09#T695806>,
my speculative guess is that perhaps ifconfig is patched on other
distros to handle this problem.

Did you try "ip link set <device> address <address>"?

-- 
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Fri, 10 Jul 2015 15:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>
To: Alex Kost <alezost <at> gmail.com>
Cc: 21019 <21019 <at> debbugs.gnu.org>
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Fri, 10 Jul 2015 02:46:39 -0400 (EDT)
> On July 10, 2015 at 1:58 AM Alex Kost <alezost <at> gmail.com> wrote:
> Did you try "ip link set <device> address <address>"?

That command is not in the installation image.




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Fri, 10 Jul 2015 17:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex Kost <alezost <at> gmail.com>
Cc: info <at> danieleparisi.me, 21019 <at> debbugs.gnu.org, bug-inetutils <at> gnu.org
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Fri, 10 Jul 2015 19:30:28 +0200
[+ Cc: bug-inetutils]

Alex Kost <alezost <at> gmail.com> skribis:

> info <at> danieleparisi.me info <at> danieleparisi.me (2015-07-09 21:16 +0300) wrote:
>
>> Hello, I am trying to install guixsd with the installation image, my wireless
>> internet provider allows me for only one MAC. The command I use to change the
>> card mac on other distros and installation images is:
>>
>> ifconfig device hw ether NewMacAdress
>>
>> But with guixsd ifconfig fails telling me that the device can have only one
>> address. Interesting to notice that I can put whatever device, even non existent
>> names like "jlakjdj" and it tells the same thing, the device can only have on
>> adress. I have an Atheros card.
>
> As I answered on IRC <https://gnunet.org/bot/log/guix/2015-07-09#T695806>,
> my speculative guess is that perhaps ifconfig is patched on other
> distros to handle this problem.

I think most other distros use ‘ifconfig’ from net-tools, not from
GNU inetutils.  If think this is just unimplemented.

Can someone at bug-inetutils comment?

> Did you try "ip link set <device> address <address>"?

This is in the ‘iproute2’ package.  Should we add it to the installation
image?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Fri, 10 Jul 2015 18:10:02 GMT) Full text and rfc822 format available.

Message #17 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: ams <at> gnu.org (Alfred M. Szmidt)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: info <at> danieleparisi.me, alezost <at> gmail.com, 21019 <at> debbugs.gnu.org,
 bug-inetutils <at> gnu.org
Subject: Re: [bug-inetutils] bug#21019: ifconfig doesn't allow mac change
 for devices
Date: Fri, 10 Jul 2015 14:09:21 -0400
   >> Hello, I am trying to install guixsd with the installation image, my wireless
   >> internet provider allows me for only one MAC. The command I use to change the
   >> card mac on other distros and installation images is:
   >>
   >> ifconfig device hw ether NewMacAdress
   >>
   >> But with guixsd ifconfig fails telling me that the device can have only one
   >> address. Interesting to notice that I can put whatever device, even non existent
   >> names like "jlakjdj" and it tells the same thing, the device can only have on
   >> adress. I have an Atheros card.
   >
   > As I answered on IRC <https://gnunet.org/bot/log/guix/2015-07-09#T695806>,
   > my speculative guess is that perhaps ifconfig is patched on other
   > distros to handle this problem.

   I think most other distros use ‘ifconfig’ from net-tools, not from
   GNU inetutils.  If think this is just unimplemented.

   Can someone at bug-inetutils comment?

That  is  correct, GNU  ifconfig  does  not  support setting  the  MAC
address.




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Fri, 10 Jul 2015 23:14:01 GMT) Full text and rfc822 format available.

Message #20 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: info <at> danieleparisi.me
Cc: Ludovic Courtès <ludo <at> gnu.org>, 21019 <at> debbugs.gnu.org,
 alezost <at> gmail.com
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Fri, 10 Jul 2015 19:13:12 -0400
ams <at> gnu.org (Alfred M. Szmidt) writes:
> That  is  correct, GNU  ifconfig  does  not  support setting  the  MAC
> address.

Guix also includes the 'iproute2' package, which includes a program
called 'ip' that can do the same kinds of jobs as 'ifconfig'.  I've
successfully used it in the past to set the MAC address of my network
devices.  IIRC, the command would be something like this:

ip link set <device> address <mac-addr>

      Mark




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sat, 11 Jul 2015 10:28:02 GMT) Full text and rfc822 format available.

Notification sent to "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>:
bug acknowledged by developer. (Sat, 11 Jul 2015 10:28:03 GMT) Full text and rfc822 format available.

Message #25 received at 21019-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "info\@danieleparisi.me info\@danieleparisi.me" <info <at> danieleparisi.me>
Cc: Alex Kost <alezost <at> gmail.com>, 21019 <21019-done <at> debbugs.gnu.org>
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Sat, 11 Jul 2015 12:27:16 +0200
"info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>
skribis:

>> On July 10, 2015 at 1:30 PM Ludovic Courtès <ludo <at> gnu.org> wrote:
>> This is in the ‘iproute2’ package.  Should we add it to the installation
>> image?
>
> Yes please

Done in commit d43002f, which will be in 0.8.3.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#21019; Package guix. (Sat, 11 Jul 2015 17:49:02 GMT) Full text and rfc822 format available.

Message #28 received at 21019 <at> debbugs.gnu.org (full text, mbox):

From: "info <at> danieleparisi.me info <at> danieleparisi.me" <info <at> danieleparisi.me>
To: Alex Kost <alezost <at> gmail.com>, 
 Ludovic Courtès <ludo <at> gnu.org>
Cc: bug-inetutils <bug-inetutils <at> gnu.org>, 21019 <21019 <at> debbugs.gnu.org>
Subject: Re: bug#21019: ifconfig doesn't allow mac change for devices
Date: Sat, 11 Jul 2015 05:22:54 -0400 (EDT)
> On July 10, 2015 at 1:30 PM Ludovic Courtès <ludo <at> gnu.org> wrote:
> This is in the ‘iproute2’ package.  Should we add it to the installation
> image?

Yes please




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Aug 2015 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.