Re: [gentoo-user] How to find the MAC address

2012-04-23 Thread Kfir Lavi
On Thu, Apr 19, 2012 at 10:40 PM, Alex Schuster wrote: > Hi there! > > How am I supposed to find the MAC address of an ethernet interface? I used > to call ifconfig and grep for HWaddr, but this does not work any more. > > I found the 'old-output' USE flag for sys-apps/net-tools, which brings > b

Re: [gentoo-user] How to find the MAC address

2012-04-22 Thread Walter Dnes
On Fri, Apr 20, 2012 at 12:11:08PM +0200, Alex Schuster wrote > Peter Humphrey writes: > > > On Thursday 19 April 2012 20:56:59 Michael Mol wrote: > > > > > The 'ip' command is far and away a nicer tool than ifconfig, once you > > > get a handle on it. > > > > Which package is it in? > > sys-ap

Re: [gentoo-user] How to find the MAC address

2012-04-20 Thread Peter Humphrey
On Friday 20 April 2012 11:11:08 Alex Schuster wrote: > Peter Humphrey writes: > > Which package is it in? > > sys-apps/iproute2 Of course. I should have thought of that - thanks. -- Rgds Peter

Re: [gentoo-user] How to find the MAC address

2012-04-20 Thread Joost Roeleveld
On Thursday, April 19, 2012 04:12:35 PM Michael Mol wrote: > On Thu, Apr 19, 2012 at 4:01 PM, Alex Schuster wrote: > > Michael Mol writes: > >> On Thu, Apr 19, 2012 at 3:40 PM, Alex Schuster > >> > >> wrote: > >> > New output: > >> > eth0: flags=4163 mtu 1500 > >> >inet 192.168.2.42 ne

Re: [gentoo-user] How to find the MAC address

2012-04-20 Thread Alex Schuster
Peter Humphrey writes: > On Thursday 19 April 2012 20:56:59 Michael Mol wrote: > > > The 'ip' command is far and away a nicer tool than ifconfig, once you > > get a handle on it. > > Which package is it in? sys-apps/iproute2 Wonko

Re: [gentoo-user] How to find the MAC address

2012-04-20 Thread Peter Humphrey
On Thursday 19 April 2012 20:56:59 Michael Mol wrote: > The 'ip' command is far and away a nicer tool than ifconfig, once you > get a handle on it. Which package is it in? -- Rgds Peter

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Michael Orlitzky
On 04/19/12 16:40, Alex Schuster wrote: > > Thanks, that's a nice one. But can I expect this command to be available > per default on typical Linux distributions? Some other systems I have > access to have it, but here on Gentoo it belongs to sys-apps/iproute2, > which depends on nothing I have in

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Alex Schuster
Michael Orlitzky writes: > On 04/19/12 15:40, Alex Schuster wrote: > > Hi there! > > > > How am I supposed to find the MAC address of an ethernet interface? I > > used to call ifconfig and grep for HWaddr, but this does not work any > > more. > > > > I found the 'old-output' USE flag for sys-app

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Alex Schuster
Neil Bothwick writes: > On Thu, 19 Apr 2012 21:40:02 +0200, Alex Schuster wrote: > > eth0: flags=4163 > ether bc:5f:f4:19:ad:18 txqueuelen 1000 (Ethernet) > ~ > > here? Aaah! Wonko

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Michael Mol
On Thu, Apr 19, 2012 at 4:01 PM, Alex Schuster wrote: > Michael Mol writes: > >> On Thu, Apr 19, 2012 at 3:40 PM, Alex Schuster >> wrote: > >> > New output: >> > eth0: flags=4163  mtu 1500 >> >        inet 192.168.2.42  netmask 255.255.255.0  broadcast >> > 192.168.2.255 inet6 fe80::be5f:f4ff:fe1

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Alex Schuster
Michael Mol writes: > On Thu, Apr 19, 2012 at 3:40 PM, Alex Schuster > wrote: > > New output: > > eth0: flags=4163  mtu 1500 > >        inet 192.168.2.42  netmask 255.255.255.0  broadcast > > 192.168.2.255 inet6 fe80::be5f:f4ff:fe19:ad18  prefixlen 64  scopeid > > 0x20 > > >        ether bc:5f:

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Michael Mol
On Thu, Apr 19, 2012 at 3:48 PM, Michael Orlitzky wrote: > On 04/19/12 15:40, Alex Schuster wrote: >> Hi there! >> >> How am I supposed to find the MAC address of an ethernet interface? I used >> to call ifconfig and grep for HWaddr, but this does not work any more. >> >> I found the 'old-output'

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Neil Bothwick
On Thu, 19 Apr 2012 21:40:02 +0200, Alex Schuster wrote: > How am I supposed to find the MAC address of an ethernet interface? I > used to call ifconfig and grep for HWaddr, but this does not work any > more. > Here's how the output looked before and now: > > Old output: > eth0 Link encap:E

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Michael Orlitzky
On 04/19/12 15:40, Alex Schuster wrote: > Hi there! > > How am I supposed to find the MAC address of an ethernet interface? I used > to call ifconfig and grep for HWaddr, but this does not work any more. > > I found the 'old-output' USE flag for sys-apps/net-tools, which brings > back the old beh

Re: [gentoo-user] How to find the MAC address

2012-04-19 Thread Michael Mol
On Thu, Apr 19, 2012 at 3:40 PM, Alex Schuster wrote: > Hi there! > > How am I supposed to find the MAC address of an ethernet interface? I used > to call ifconfig and grep for HWaddr, but this does not work any more. > > I found the 'old-output' USE flag for sys-apps/net-tools, which brings > bac

[gentoo-user] How to find the MAC address

2012-04-19 Thread Alex Schuster
Hi there! How am I supposed to find the MAC address of an ethernet interface? I used to call ifconfig and grep for HWaddr, but this does not work any more. I found the 'old-output' USE flag for sys-apps/net-tools, which brings back the old behaviour in order not to break old scripts, but I'd like