How to change mac on SBG900 (wifi modem)
-
- Junior Member
- Posts: 81
- Joined: Tue Feb 14, 2006 2:26 am
How to change mac on SBG900 (wifi modem)
Hi, any solution to change mac address on this models??
BR. Extrem
BR. Extrem
-
- Junior Member
- Posts: 21
- Joined: Wed Jul 27, 2005 9:16 pm
- Location: NewYork&Chicago
- Contact:
-
- Junior Member
- Posts: 26
- Joined: Wed May 10, 2006 5:15 pm
-
- Junior Member
- Posts: 43
- Joined: Fri Aug 25, 2006 1:20 pm
-
- Junior Member
- Posts: 43
- Joined: Fri Aug 25, 2006 1:20 pm
here u go m8:
4. look up the hfc mac of your cable modem and convert it to an integer number as follows:
4.1 strip the first 2 values and remove colons, for example 00:11:1A:02:CD:14 results in 1A02CD14 or for example 00:11:BA:02:CD:14 results in BA02CD14
4.2 start windows calculator (calc.exe) and select scientific from the view menu and select Hex
4.3 there are 2 different cases:
CASE 1: the first digit is 0,1,2,3,4,5,6 or 7 proceed with step 4.4.1
CASE 2: the first digit is 8,9,A,B,C,D,E, or F proceed with step 4.5.1
CASE1: the first digit is 0,1,2,3,4,5,6 or 7 (E.g. 1A02CD14)
4.4.1 in calculator enter 1A02CD14, now select Dec and note down the integer value (436391188)
CASE 2: the first digit is 8,9,A,B,C,D,E, or F (E.g. BA02CD14)
4.5.1 in calculator type BA02CD14, then the +/- key, then Dec, then the +/- key
regards
4. look up the hfc mac of your cable modem and convert it to an integer number as follows:
4.1 strip the first 2 values and remove colons, for example 00:11:1A:02:CD:14 results in 1A02CD14 or for example 00:11:BA:02:CD:14 results in BA02CD14
4.2 start windows calculator (calc.exe) and select scientific from the view menu and select Hex
4.3 there are 2 different cases:
CASE 1: the first digit is 0,1,2,3,4,5,6 or 7 proceed with step 4.4.1
CASE 2: the first digit is 8,9,A,B,C,D,E, or F proceed with step 4.5.1
CASE1: the first digit is 0,1,2,3,4,5,6 or 7 (E.g. 1A02CD14)
4.4.1 in calculator enter 1A02CD14, now select Dec and note down the integer value (436391188)
CASE 2: the first digit is 8,9,A,B,C,D,E, or F (E.g. BA02CD14)
4.5.1 in calculator type BA02CD14, then the +/- key, then Dec, then the +/- key
regards
-
- Junior Member
- Posts: 10
- Joined: Thu Jul 21, 2005 3:47 pm
There's no problem. Accepted value is _signed_ integer. Signed integer means 4 hexademical bytes.
Decimal values from 0 to 2147483647 are hexademically represented from 0 to 0x7FFFFFFF and represent positive scale(yes, 0 is considered positive).
And values from -1 to -2147483648 are hexademically represented by 0xFFFFFFFF to 0x80000000. So if decimal value of your mac during default unsigned conversion by calc is larger than decimal value 2147483647 it's actually negative decimal value. And since you're trying to feed unsigned version to variable expecting signed one - it doesn't work, probably thinks you're trying buffer overflow or something.
How to convert such mac to usable form? Switch to hexademical mode. MAKE SURE round is next to DWORD or it won't work. Press minus on keyboard or in calc gui. That is, you're going to substract something from 0. Then enter hexademical value of last 4 octets of your mac. Press "=". Take not of resulting value. You'll have to use this value with "-" sign
If your mac last 4 octets were 0x80111213 and we're speaking of signed integer data type decimal analogue would be -2146364909.
like this:
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.1166.1.19.3.1.18.0 i
-2146364909
Para que no te pase lo de las MACs "chungas" con lo del Factory Mode:
1.Abre la calculadora y ponla en modo Hexadecimal y Dword.
2.Pusa el signo "menos" (como si fueras a restar algo a 0).
3.Escribe los 4 ?ltimos octetos de tu mac (pej: 80111213) y dale al "=". Te aparecer?n otros octetos diferentes (en este caso: 7FEEEDED).
4.P?salo a modo decimal y te aparecer? un valor: 2146364909. Pues lo tienes que poner en negativo, o sea: -2146364909.
Decimal values from 0 to 2147483647 are hexademically represented from 0 to 0x7FFFFFFF and represent positive scale(yes, 0 is considered positive).
And values from -1 to -2147483648 are hexademically represented by 0xFFFFFFFF to 0x80000000. So if decimal value of your mac during default unsigned conversion by calc is larger than decimal value 2147483647 it's actually negative decimal value. And since you're trying to feed unsigned version to variable expecting signed one - it doesn't work, probably thinks you're trying buffer overflow or something.
How to convert such mac to usable form? Switch to hexademical mode. MAKE SURE round is next to DWORD or it won't work. Press minus on keyboard or in calc gui. That is, you're going to substract something from 0. Then enter hexademical value of last 4 octets of your mac. Press "=". Take not of resulting value. You'll have to use this value with "-" sign
If your mac last 4 octets were 0x80111213 and we're speaking of signed integer data type decimal analogue would be -2146364909.
like this:
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.1166.1.19.3.1.18.0 i
-2146364909
Para que no te pase lo de las MACs "chungas" con lo del Factory Mode:
1.Abre la calculadora y ponla en modo Hexadecimal y Dword.
2.Pusa el signo "menos" (como si fueras a restar algo a 0).
3.Escribe los 4 ?ltimos octetos de tu mac (pej: 80111213) y dale al "=". Te aparecer?n otros octetos diferentes (en este caso: 7FEEEDED).
4.P?salo a modo decimal y te aparecer? un valor: 2146364909. Pues lo tienes que poner en negativo, o sea: -2146364909.
Who is online
Users browsing this forum: No registered users and 1 guest