unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21019: ifconfig doesn't allow mac change for devices
@ 2015-07-09 18:16 info@danieleparisi.me info@danieleparisi.me
  2015-07-10  5:58 ` Alex Kost
  0 siblings, 1 reply; 8+ messages in thread
From: info@danieleparisi.me info@danieleparisi.me @ 2015-07-09 18:16 UTC (permalink / raw)
  To: 21019

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
  2015-07-09 18:16 bug#21019: ifconfig doesn't allow mac change for devices info@danieleparisi.me info@danieleparisi.me
@ 2015-07-10  5:58 ` Alex Kost
  2015-07-10  6:46   ` info@danieleparisi.me info@danieleparisi.me
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alex Kost @ 2015-07-10  5:58 UTC (permalink / raw)
  To: info; +Cc: 21019

info@danieleparisi.me info@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
  2015-07-10  5:58 ` Alex Kost
@ 2015-07-10  6:46   ` info@danieleparisi.me info@danieleparisi.me
  2015-07-10 17:30   ` Ludovic Courtès
       [not found]   ` <87zj33c43v.fsf@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: info@danieleparisi.me info@danieleparisi.me @ 2015-07-10  6:46 UTC (permalink / raw)
  To: Alex Kost; +Cc: 21019

> On July 10, 2015 at 1:58 AM Alex Kost <alezost@gmail.com> wrote:
> Did you try "ip link set <device> address <address>"?

That command is not in the installation image.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
  2015-07-10  5:58 ` Alex Kost
  2015-07-10  6:46   ` info@danieleparisi.me info@danieleparisi.me
@ 2015-07-10 17:30   ` Ludovic Courtès
       [not found]   ` <87zj33c43v.fsf@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-07-10 17:30 UTC (permalink / raw)
  To: Alex Kost; +Cc: info, 21019, bug-inetutils

[+ Cc: bug-inetutils]

Alex Kost <alezost@gmail.com> skribis:

> info@danieleparisi.me info@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’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: [bug-inetutils] bug#21019: ifconfig doesn't allow mac change for devices
       [not found]   ` <87zj33c43v.fsf@gnu.org>
@ 2015-07-10 18:09     ` Alfred M. Szmidt
  2015-07-10 23:13       ` Mark H Weaver
  2015-07-11  9:22     ` info@danieleparisi.me info@danieleparisi.me
       [not found]     ` <500058978.590533.1436606574412.JavaMail.open-xchange@app2.ox.privateemail.com>
  2 siblings, 1 reply; 8+ messages in thread
From: Alfred M. Szmidt @ 2015-07-10 18:09 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: info, alezost, 21019, bug-inetutils

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

   >> 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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
  2015-07-10 18:09     ` bug#21019: [bug-inetutils] " Alfred M. Szmidt
@ 2015-07-10 23:13       ` Mark H Weaver
  0 siblings, 0 replies; 8+ messages in thread
From: Mark H Weaver @ 2015-07-10 23:13 UTC (permalink / raw)
  To: info; +Cc: 21019, alezost

ams@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
       [not found]   ` <87zj33c43v.fsf@gnu.org>
  2015-07-10 18:09     ` bug#21019: [bug-inetutils] " Alfred M. Szmidt
@ 2015-07-11  9:22     ` info@danieleparisi.me info@danieleparisi.me
       [not found]     ` <500058978.590533.1436606574412.JavaMail.open-xchange@app2.ox.privateemail.com>
  2 siblings, 0 replies; 8+ messages in thread
From: info@danieleparisi.me info@danieleparisi.me @ 2015-07-11  9:22 UTC (permalink / raw)
  To: Alex Kost, Ludovic Courtès; +Cc: bug-inetutils, 21019

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

Yes please

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#21019: ifconfig doesn't allow mac change for devices
       [not found]     ` <500058978.590533.1436606574412.JavaMail.open-xchange@app2.ox.privateemail.com>
@ 2015-07-11 10:27       ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-07-11 10:27 UTC (permalink / raw)
  To: info@danieleparisi.me info@danieleparisi.me; +Cc: Alex Kost, 21019

"info@danieleparisi.me info@danieleparisi.me" <info@danieleparisi.me>
skribis:

>> On July 10, 2015 at 1:30 PM Ludovic Courtès <ludo@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’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-11 17:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 18:16 bug#21019: ifconfig doesn't allow mac change for devices info@danieleparisi.me info@danieleparisi.me
2015-07-10  5:58 ` Alex Kost
2015-07-10  6:46   ` info@danieleparisi.me info@danieleparisi.me
2015-07-10 17:30   ` Ludovic Courtès
     [not found]   ` <87zj33c43v.fsf@gnu.org>
2015-07-10 18:09     ` bug#21019: [bug-inetutils] " Alfred M. Szmidt
2015-07-10 23:13       ` Mark H Weaver
2015-07-11  9:22     ` info@danieleparisi.me info@danieleparisi.me
     [not found]     ` <500058978.590533.1436606574412.JavaMail.open-xchange@app2.ox.privateemail.com>
2015-07-11 10:27       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).