Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 39

Thread: h9s se mac adress change

  1. #16

    Title
    Senior Member
    Join Date
    May 2019
    Posts
    110
    Thanks
    14
    Thanked 28 Times in 26 Posts
    Quote Originally Posted by illias28 View Post
    Hi,
    thank you very much for all of you for your help;and specialy to TWOL
    i have finally changed my mac adress after i have used ethernet conexion .but this is impossible with wifi.
    i hope there will be a solution for wifi conexion in the future,because i would like to use my reciever with wifi since the router is far from my reciever.
    buy a set of homeplugs

  2. #17

    Title
    Forum Supporter
    Donated Member
    Join Date
    Nov 2014
    Posts
    347
    Thanks
    107
    Thanked 124 Times in 78 Posts
    Quote Originally Posted by twol View Post
    @illias28 - so I have code now to change teh Mac address for a WiFi connection(still have to test), but as I have now found out (!), there is one MAC Address for the wired (Ethernet) connection and a second MAC for the wireless connection.
    The WiFi Mac address is also much longer than the Lan Mac address - so not sure you can swap them - (maybe linked somehow to WiFi password)
    ... and I am guessing that you have given your supplier the Lan Mac address - as that is the one displayed currently

    So changing the WiFi Mac address may not help you.

    Anyway I will finish testing code and then post for you to try if you want to do this.
    Mac address for wired and wireless is exactly the same length

    root@zgemmah9twin:~# ifconfig

    eth0 Link encap:Ethernet HWaddr 00:1D:EC:xx:xx:xx

    wlan0 Link encap:Ethernet HWaddr 74:EE:2A:xx:xx:xx

    I can also test this when you have it ready.

  3. #18
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    Quote Originally Posted by maxben View Post
    Mac address for wired and wireless is exactly the same length

    root@zgemmah9twin:~# ifconfig

    eth0 Link encap:Ethernet HWaddr 00:1D:EC:xx:xx:xx

    wlan0 Link encap:Ethernet HWaddr 74:EE:2A:xx:xx:xx

    I can also test this when you have it ready.
    Thanks - yes when I check in the debug log, rather than in TV, its exactly same length!
    Plan to test this morning then post the change to test
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  4. #19

    Title
    Junior Member
    Join Date
    Mar 2022
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi TWOL,
    thank you very much for you help,could you please send your code to change mac adress for wifi

  5. #20
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    I am still testing, …….. a few issues.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  6. #21
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    @ALL ... attached are 2 module changes for testing the WiFi MAC reset.
    I would suggest that everyone who tests this, runs a settings backup beforehand .... as far as I can see it should be OK, but ..........
    So to test.
    Please enable debug logs... Menu/setup/system/log/settings ---- enable and save to hdd not flash
    Restart.

    1. putty - login (root and user password) and then type init 4 (space between)
    2. filezilla.
    in /usr/lib/enigma2/python/Components rename Network.pyc to xNetwork.pyc, then copy Network.py (from attachment) to /usr/lib/enigma2/python/Components
    in /usr/lib/enigma2/python/Screens rename NetworkSetup.pyc to XNetworkSetup.pyc, then copy NetworkSetup.py (from attachments) to /usr/lib/enigma2/python/Screens

    3. putty - enter init 6 (space between)

    4. post results and debug logs
    Attached Files Attached Files
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  7. #22
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    I've tried it on 6.1.003.005 (Dev), works ok as far as I can tell. Changing the mac address and rebooting remembers the new version.

    Putting back the original value and wifi still works.

    NB Debug logs will contain encryption keys/passwords.

    My VU Ultimo4k doesn't remember wifi values (by default) after a settings restore, I needed to add /etc/wl.conf.wlan3 to backups ages ago.

    ET10K wifi gets backed up ok without any need for changes.
    Attached Files Attached Files

  8. #23
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    @ccs …. Really appreciate the testing, many thanks.
    does this mean we should be adding more settings to the settings backup if they are present in the image?
    i rarely use the wifi connections, so no knowledge …. Thought it was backed up by default
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  9. #24
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by twol View Post
    @ccs …. Really appreciate the testing, many thanks.
    does this mean we should be adding more settings to the settings backup if they are present in the image?
    i rarely use the wifi connections, so no knowledge …. Thought it was backed up by default
    I mentioned it when I first got the Ultimo4K (it has built in wifi), but moved over to a wired lan a few weeks later, so it kind of got forgotten.

    I worked out what was needed for that specific box when trying out something using wifi, but never reported it.

    The ET10K (USB dongle, RTL8192cu, it comes pre-loaded) backs up /etc/wpa_supplicant.conf and /etc/wpa_supplicant.wlan0.conf. I've never added them.

    They're even in a Hades backup from 7 years ago.
    Last edited by ccs; 24-03-22 at 14:00.

  10. #25
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by ccs View Post
    The ET10K (USB dongle, RTL8192cu, it comes pre-loaded) backs up /etc/wpa_supplicant.conf and /etc/wpa_supplicant.wlan0.conf. I've never added them.
    They're in https://github.com/OpenViX/vix-core/...ckupManager.py

  11. #26

    Title
    Junior Member
    Join Date
    Mar 2022
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,many thanks for your help, i will try it tonight and give you feed back.

  12. #27
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by ccs View Post
    .... and have been for at least the last 10 years.

  13. #28

    Title
    Forum Supporter
    Donated Member
    Join Date
    Nov 2014
    Posts
    347
    Thanks
    107
    Thanked 124 Times in 78 Posts
    Followed your instructions, wireless connection up on reboot.

    Crashes when entering wireless device.
    Attached Files Attached Files

  14. #29
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    Quote Originally Posted by maxben View Post
    Followed your instructions, wireless connection up on reboot.

    Crashes when entering wireless device.
    So you changed the MAC address, waited for the 2 messages to say network completed and then rebooted? … and then crashed after???
    Last edited by twol; 24-03-22 at 16:50.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  15. #30
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    I've just tried again using the changed (new) mac address and all is ok. Also changing from wlan to lan and back again is ok.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.