View Full Version : h9s se mac adress change
Hi, could you please help me to change the mac adress of my zgemma h9s se.
i have found a tuto in zgemma.org but it dosent work ,when i type the command "macprog" i get an error message "command unknown"
i have also tried all methodes found in other sites using telnet, and the option in openvix image to change mac adress, but in vaine.
thank you.
in OpenViX:...... menu/setup/network/device/Network setup/Network MAC settings
thank you Twol for your help,but i have already tested this methode but it doesn't work.
i have run the commande " ifconfig" in telnet and i recieved the following report((see image))
thank you Twol for your help,but i have already tested this methode but it doesn't work.
i have run the commande " ifconfig" in telnet and i recieved the following report((see image))
Sorry cannot see the imaeg .. too small
all I can say is that I have used it to switch Mac addresses when testing Stalker and it worked fine.
63474
sorry for small image. try to open it with paint please
Sorry once again for small image .here is another one63475
So why do you want to switch mac addresses
The ViX method of changing the mac only works on wired lan, it looks like the OP is using wireless.
The ViX method of changing the mac only works on wired lan, it looks like the OP is using wireless.
Thanks for clarification
The ViX method for changing mac relies on 2 files both named hwmac.
One lives in etc/enigma2 which is the file created using ViX ui.
The other lives in /etc/network/if-pre-up.d and contains
#!/bin/sh
[ "x$IFACE" != "xeth0" -a "x$IFACE" != "x--all" ] && exit 0
if [ -f /etc/enigma2/hwmac ]; then
macadr=`cat /etc/enigma2/hwmac`
if [ "$macadr" != "" ];then
busybox ip link set addr $macadr dev eth0 2>/dev/null || :
fi
fi
Perhaps this can be modified for wireless and ideally there should be a choice of either selectable from the UI
Over to you @twol :)
thank you all for your help; yes i am using wifi to connect to internet.what should i change in the files HWMAC to change the mac adress.
the reason for me to change mac adress: for one month i have hade an abonnement in supcam on a vuplus solo2;but now i have bought a zgemma h9 s se 4k;i have tried to use my abonnement on this reciever but it doesnt work.i have contacted the provider and he told me that it is not possible because of the mac adress ; an that i should buy another abonnement for the new reciever. i have read in some forums that the providers could reset the mac adress ,but it seems that this one is only a resseller with no knowledge in this domaine.thats why i am trying to change my mac adress but in vain.
If it's IPTV via Mac address there's a way to change Mac address via stalker Qt plugin
https://www.linuxsat-support.com/thread/132830-stalker-portal-on-enigma2/?postID=521750#post521750
That might need editing for py3.
@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.
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.
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
@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.
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
Hi TWOL,
thank you very much for you help,could you please send your code to change mac adress for wifi
I am still testing, …….. a few issues.
@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
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.
@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
@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. :thumbsup:
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/blob/master/src/BackupManager.py
Hi,many thanks for your help, i will try it tonight and give you feed back.
They're in https://github.com/OpenViX/vix-core/blob/master/src/BackupManager.py
.... and have been for at least the last 10 years.
Followed your instructions, wireless connection up on reboot.
Crashes when entering wireless device.
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???
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.
@maxben … I tested using a h9combo so similar to yours (basically same image) - the wifi initialisation on this box is really, really slow, so between pressing OK to change the MAC and the final finished message is at least 90 seconds if not longer….so thats why I asked about the 2 messages, as it doesn‘t stop you changing menu.s while its doing the change.
The error is not in the changed code but in plugin initialisation.
ANyway will test again tomorrow!
So you changed the MAC address, waited for the 2 messages to say network completed and then rebooted? … and then crashed after???
Selecting either of these causes the crash, don't see anyway of selecting any thing other.
I see nowhere to change the mac!
Selecting either of these causes the crash, don't see anyway of selecting any thing other.
I see nowhere to change the mac!
Which version of OpenViX are you on?? Looks like 6.008 ??
Just realised it crashed before changing the MAC address????
.... still works ok for me if I start the process when using wlan. (Other tests started with an active lan.)
Crash now partially understood, so testing can be put on hold for the moment.
Which version of OpenViX are you on?? Looks like 6.008 ??
Just realised it crashed before changing the MAC address????
yes 6.008
Don't get chance to change mac, as above crash happens when trying to enter WLAN or LAN
yes 6.008
Don't get chance to change mac, as above crash happens when trying to enter WLAN or LAN
OK, so it looks as if you need to be on 6.1 to handle this change.
OK, so it looks as if you need to be on 6.1 to handle this change.So you will have to wait a little while.
So you will have to wait a little while.
I don't actually need it so no probs here.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.