Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 202

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 314

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 454

Deprecated: Function split() is deprecated in /home/www/web535/html/dokuwiki/inc/auth.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web535/html/dokuwiki/inc/parserutils.php:202) in /home/www/web535/html/dokuwiki/inc/auth.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web535/html/dokuwiki/inc/parserutils.php:202) in /home/www/web535/html/dokuwiki/inc/actions.php on line 128
linux_scripts:linux_mac [wiki.BerndLux.de]
 

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 44

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 236

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 290

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 323

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 560

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/xhtml.php on line 980

Neue-MAC-Adresse:

Es muss beachtet werden, dass MAC-Adressen einem bestimmten Muster entsprechen. Sie sollten dies beachten und die MAC-Adresse nicht willkürlich vergeben, damit dies nicht auffällt. So ist es z.B. bei Funknetzwerkkarten immer so, dass diese mit 00:02: beginnen! Mehr über MAC-Adressen und deren Vergabe unter http://www.cavebear.com/CaveBear/Ethernet/

Unter Linux ist dies ohne zusätzliche Tools zu bewerkstelligen. Man verwendet einfach das Tool ‘ifconfig’ mit den entsprechenden Parametern. Zuerst informieren wir uns über den aktuellen Status (wir nehmen an, eth1 sei dass WLAN-Interface):

ifconfig eth1

Link encap: Ethernet HWAddr 00:02:3F:3A:1C:4A
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:100
RX bytes: 0 (0.0b) TX bytes: 0 (0.0b)
Interrupt: 11 Base Adress:0x100

Nun ändern wir die MAC-Adresse. Das Interface muss vorher heruntergefahren werden, danach starten wir es wieder.

ifconfig eth1 down
ifconfig hw ether 00:02:5C:11:2B:FA
ifconfig eth1 up

Nun betrachten wir die Auswirkung, wir sehen, die Änderung wurde übernommen:

Link encap: Ethernet HWAddr 00:02:5C:11:2B:FA
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:100
RX bytes: 0 (0.0b) TX bytes: 0 (0.0b)
Interrupt: 11 Base Adress:0x100

Weitere Informationen und Parameter des Tools ‘ifconfig’ finden sich unter ‘man ifconfig’.

von Wardriving Artikel

Bernd 2005/11/29 11:42

 
linux_scripts/linux_mac.txt · Zuletzt geändert: 2006/06/07 13:29 von bernd
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki