Re: lug-bg: MAC address
- Subject: Re: lug-bg: MAC address
- From: "Doncho N. Gunchev" <mr700@xxxxxxxxxxxx>
- Date: Thu, 19 Aug 2004 16:35:07 +0300
- Cc: dean@xxxxxxxxxxxx, gilmor@xxxxxx
- Organization: Global Net Solutions
On 2004 08 19 (Thursday) 14:08, Dean Stoeff wrote:
>
> >но съобщението за грешка е следното:
> >SIOCSIFHWADDR: Device or resource busy
> >
> >
> То си го пише проблема, такова несхто се прави преди д е вдигнат интерфейса
> та в тоя дух :
>
> ifconfig eth0 down
> и после
>
> ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx up
>
Мисля, че правилния начин наистина е да се установи MAC-а преди да
се вдига интерфейса, но (linux 2.6.7):
[root@server ~]# ip link list dev eth1
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:02:b3:b0:11:c1 brd ff:ff:ff:ff:ff:ff
[root@server ~]# ip link set eth1 address 00:02:b3:b0:11:c0
[root@server ~]# ip link list dev eth1
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:02:b3:b0:11:c0 brd ff:ff:ff:ff:ff:ff
--
Regards,
Doncho N. Gunchev Registered Linux User #291323 at counter.li.org
GPG-Key-ID: 1024D/DA454F79 http://pgp.mit.edu
Key fingerprint = 684F 688B C508 C609 0371 5E0F A089 CB15 DA45 4F79
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|