Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC adress missconfig #30

Open
yuriysergeev opened this issue Apr 2, 2024 · 1 comment
Open

MAC adress missconfig #30

yuriysergeev opened this issue Apr 2, 2024 · 1 comment

Comments

@yuriysergeev
Copy link

yuriysergeev commented Apr 2, 2024

Screenshot 2024-04-02 at 23 40 26 Hi, man! so sorry to bother you but I faced with some misconfiguration. So, I wanna say thx so much for your utility - it is really help a lot off. I have a case - wanna to remove MEO Portugal router from my home) Just pretty straightforward apply tool with Altice vendor and serial number + MAC Everything done smoothly, no problem When I tried to login to UF-Loco FW v4.3.1 I was ok in UI and terminal. I push ifconfig and receive result: > ifconfig bcmsw Link encap:Ethernet HWaddr 1C:57:3E:22:2A:7F UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7404 multicast:0 unicast:7404 broadcast:0 RX errors:0 dropped:0 overruns:0 frame:0 TX packets:3863 multicast:0 unicast:3863 broadcast:0 TX errors:0 dropped:3 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1114137 (1.0 MiB) TX bytes:2516023 (2.3 MiB) RX multicast bytes:0 (0.0 B) TX multicast bytes:0 (0.0 B) Base address:0xffff

br0 Link encap:Ethernet HWaddr 1C:57:3E:22:2A:7F
inet addr:192.168.3.254 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::1e57:3eff:fe22:2a7f/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1958 Metric:1
RX packets:7310 multicast:128 unicast:7153 broadcast:29
RX errors:0 dropped:0 overruns:0 frame:0
TX packets:3854 multicast:0 unicast:3854 broadcast:0
TX errors:0 dropped:0 overruns:0 carrier:0 collisions:0
txqueuelen:0
RX bytes:991617 (968.3 KiB) TX bytes:2499609 (2.3 MiB)
RX multicast bytes:44828 (43.7 KiB) TX multicast bytes:0 (0.0 B)

br4354 Link encap:Ethernet HWaddr 16:37:C7:C8:BA:C2
inet6 addr: fe80::1437:c7ff:fec8:bac2/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1326 (1.2 KiB)

br4355 Link encap:Ethernet HWaddr 32:64:17:D7:4E:35
inet6 addr: fe80::3064:17ff:fed7:4e35/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1866 (1.8 KiB)

eth0 Link encap:Ethernet HWaddr 1C:57:3E:22:2A:7F
inet6 addr: fe80::1e57:3eff:fe22:2a7f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1958 Metric:1
RX packets:6983 multicast:161 unicast:6822 broadcast:0
RX errors:0 dropped:0 overruns:0 frame:0
TX packets:3763 multicast:83 unicast:3680 broadcast:0
TX errors:0 dropped:0 overruns:0 carrier:0 collisions:0
txqueuelen:1000
RX bytes:1047487 (1022.9 KiB) TX bytes:2486585 (2.3 MiB)
RX multicast bytes:0 (0.0 B) TX multicast bytes:0 (0.0 B)

eth0.0 Link encap:Ethernet HWaddr 1C:57:3E:22:2A:7F
inet6 addr: fe80::1e57:3eff:fe22:2a7f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1958 Metric:1
RX packets:7338 multicast:145 unicast:7162 broadcast:31
RX errors:0 dropped:0 overruns:0 frame:0
TX packets:3860 multicast:0 unicast:3860 broadcast:0
TX errors:0 dropped:0 overruns:0 carrier:0 collisions:0
txqueuelen:0
RX bytes:997174 (973.8 KiB) TX bytes:2499553 (2.3 MiB)
RX multicast bytes:49215 (48.0 KiB) TX multicast bytes:0 (0.0 B)

gpondef Link encap:Ethernet HWaddr 1C:57:3E:21:2A:7F
inet6 addr: fe80::1e57:3eff:fe21:2a7f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

but when I push: wan add service ipoe_veip0 --protocol ipoe

/bin/consoled_launcher:error:617.685:cmsNet_getMacAddrByIfname:316:SIOCGIFHWADDR returns error.
/bin/consoled_launcher:error:617.687:stl_wanIpConnObject:536:Could not get mac address for veip0.1, ret=9002
/bin/consoled_launcher:error:617.756:cmsNet_getMacAddrByIfname:316:SIOCGIFHWADDR returns error.
/bin/consoled_launcher:error:617.761:stl_wanIpConnObject:536:Could not get mac address for veip0.1, ret=9002
[rutGpon_getGponSnChange]snPrefix=PTIN
/bin/consoled_launcher:error:617.766:rutGpon_getGponSnChange:5733:SN state is abnormal
/bin/consoled_launcher:error:617.766:cli_isValidL2IfName:488:wanL2IfName ipoe_veip0 - wrong format
/bin/consoled_launcher:error:617.767:cmdWanAddService:636:ipoe_veip0 is not valid (already in use).

So, looks like something happened with MAC Address.
May I ask you to clarify this cause when I applied everything went fine:

./UFiber.Configurator --host 192.168.3.254 --user ubnt --pw ubnt --serial 50-54-49-4E-3E-21-2A-7F --mac 1C573E212A7F

Original Image

--- NVRAM Information --

  • mtdblock3 hash: a9490ca086a1e2052960d8e8bda17051ba2a2f3074a79eb8e17c73001e2e2b7c
  • NVRAM Version: 6
  • Boot parameters: e=192.168.1.1:ffffff00 h=192.168.1.254 g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
  • Board Id: UBNT_SFU_6848
  • PSI size: 24
  • Total MAC addresses: 5
  • GPON MAC address: 1C:57:3E:21:2A:7F
  • GPON Vendor Id: PTIN
  • GPON Serial Number: 3E212A7F
  • GPON SLID (password): GJ3pKdjq
  • Checksum: 2536286192

Patching fw-02042024-092436.bin...

Patched fw-02042024-092436.bin!

--- NVRAM Information --

  • mtdblock3 hash: 9dce6e2ede6112bbbd68b786733a9278b1fc837d8ebdcd4d96b58f570b2c2164
  • NVRAM Version: 6
  • Boot parameters: e=192.168.1.1:ffffff00 h=192.168.1.254 g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
  • Board Id: UBNT_SFU_6848
  • PSI size: 24
  • Total MAC addresses: 5
  • GPON MAC address: 1C:57:3E:21:2A:7F
  • GPON Vendor Id: PTIN
  • GPON Serial Number: 3E212A7F
  • GPON SLID (password): GJ3pKdjq
  • Checksum: 2536286192

Uploading patched file to the target UFiber device...
Uploaded!

Applying patched file on the target UFiber device...

Applied patch! Please reboot your UFiber device to load the new image.

@fabioneves
Copy link

Hello,
I want to do the same thing as you, did you manage to do it? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants