LUGRo-Mesh Forum (espaņol/english)
April 20, 2024, 02:40:23 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

Problems to adapt firmware

Pages: 1 [2]  All   Go Down
  Print  
Author Topic: Problems to adapt firmware  (Read 2967 times)
0 Members and 1 Guest are viewing this topic.
PCDOM
Full Member
***
Posts: 105


« Reply #15 on: June 21, 2009, 05:23:08 am »

Ok.
What do you see if you enter this command?

ifconfig eth0 | grep HWaddr | awk '{print $5}'

Do you see your MAC ADDRESS?

Yes, I see the MAC ADDRESS
00:15:6D:AE:CC:00

if I try this command

 ifconfig eth0 | grep HWaddr | awk -F : '{print $1$2$3$4$5$6}'

this is the result

eth0      Link encapEthernet  HWaddr 00156DAECC

and this command

ifconfig eth0 | grep HWaddr | awk -F : '{print $1$2$3$4$5$6$7}'

this is the result

eth0      Link encapEthernet  HWaddr 00156DAECC00

and this command

 ifconfig eth0 | grep HWaddr | awk -F : '{print $3$4$5$6$7}'

this is the result

156DAECC00

is it the command will be

 let NODE_ID=00$(echo $LAN_MAC| awk -F: '{print $3$4$5$6$7}')

Huh
« Last Edit: June 21, 2009, 06:14:48 am by PCDOM » Report Spam   Logged
Pages: 1 [2]  All   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum
Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy