View Single Post
Old 02-11-2012, 06:58 AM   #13
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,037
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Treah View Post
I think it needs to be enabled in the kernel or its possible that the ifconfig command is being run from busybox.... if the kindle is even using that.
Whenever in doubt with a *nix system, remember that the man(ual) command is your friend.
If you don't have a *nix system with the full set of manuals, web search engines recognize it.
Try:
http://linux.die.net/man/

For this thread, try:
man ethtool
http://linux.die.net/man/8/ethtool
man iwconfig
http://linux.die.net/man/8/iwconfig

* Kernel option? No, it comes with the network stack, unless you built the kernel without networking.

* An incomplete version of the command? In some cases, Maybe.

Also keep in mind that it is possible for the ethernet frame to indicate if the MAC being used is the factory unique value, as in:

Code:
Frame 874 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Siara_10:1f:c0 (00:30:88:10:1f:c0), Dst: AsustekC_0e:88:0d (00:1e:8c:0e:88:0d)
    Destination: AsustekC_0e:88:0d (00:1e:8c:0e:88:0d)
        Address: AsustekC_0e:88:0d (00:1e:8c:0e:88:0d)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Source: Siara_10:1f:c0 (00:30:88:10:1f:c0)
        Address: Siara_10:1f:c0 (00:30:88:10:1f:c0)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Type: IP (0x0800)
The reason for that bit is because anything that "looks" like an Ethernet interface may have from 2 to 16 MAC address registers.

So if you don't want your interface to annouce itself as Kindle_bb:aa:dd or whatever...
Play with it, you can only break your own networking.

Keeping in mind, that your automagic IPv4 and IPv6 addresses are generated from the MAC address - you may have to compensate for the change in those when changing your MAC address.

PS: The USB interface, when in Mass Storage mode (at least) identifies itself with the Kindle serial number.
knc1 is offline