#cmd "startss"
Done executing startup script /tffs/ss1130_10M_usb.sh
-> int mac_changer(void) {
tsyntax errorr
-> uct ifreq ifr;
nt s;
s = socket(AF_INET, SOCK_DGRAM, 0);
assert(s != -1);
strcpy(ifr.ifr_name, "InterfaceX");
ifr.ifr_hwaddr.sa_data[0] = 0x02;
ifr.ifr_hwaddr.sa_data[1] = 0x00;
ifr.ifr_hwaddr.sa_data[2] = 0x5E;
ifr.ifr_hwaddr.sa_data[3] = 0xAE;
ifr.ifr_hwaddr.sa_data[4] = 0x01;
ifr.ifr_hwaddr.sa_data[5] = 0x09;
ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER;
assert(ioctl(s, SIOCSIFHWADDR, &ifr) != -1);
return EXIT_SUCCESS;
} /* En d mac_changer */und efined symbol: ifreq
->
Hi,This is not a script code. it is C code.best regards
--
You received this message because you are subscribed to the Google Groups "wimax hacking" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wimax-hackin...@googlegroups.com.
To post to this group, send email to wimax-...@googlegroups.com.
Visit this group at http://groups.google.com/group/wimax-hacking?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Juse use below function or command
ifconfig ("qfec0 lladdr 00:11:22:33:44:55")
ifconfig qfec0 lladdr 00:11:22:33:44:55