Tiny Core Linux
Tiny Core Extensions => TCE News => TCE 2.x => Topic started by: Jason W on November 11, 2009, 05:32:48 PM
-
Thanks to ZhaoChunsheng for:
Title: macchanger-1.5.0.tcz
Description: This is a GNU/Linux utility for viewing/manipulating the MAC address of network interfaces.
Version: 1.5.0
Author: Alvaro Lopez Ortega <alvaro@alobbs.com>
Original-site: http://www.alobbs.com/macchanger
http://www.gnu.org/software/macchanger
Copying-policy: -
Size: 92 KB
Extension_by: ZhaoChunsheng
Comments: Welcome to the GNU MAC Changer Utilities package!
Change-log: ----
Current: 2009/11/11 - First version
-
Hi dude.
But where download link for macchanger 1.5.0.tcz ?
-
It was last available in tc-4.x:
http://tinycorelinux.net/4.x/x86/tcz/macchanger-1.5.0.tcz.info
You could download it manually and try it in later versions of tinycore
-
but this is .txt file !
How download .tcz ?
-
Hi mic
Leave out the .info extension.
-
Th. guys
downloaded successfully .... BUT install not !
Say "could not find mcchanger package " . (/home/myname/macchanger)
-
Hi mic
You need to save it to your tce/optional/ directory.
-
Install in Tiny Core and lubuntu 18.4
About TC got it ... but about lubuntu can't . If not difficult, please tell ... I install at the same time
p.s. I thought no problems were expected - since one core!
-
Hi mic
Lubuntu does not use .tcz packages. You will need to unpack it first if you want to try it on Lubuntu.
First install squashfs-tools.tcz.
Then run unsquashfs macchanger-1.5.0.tcz
You will find a new directory called squashfs-root that contains all of the macchanger files.
-
but in which directory should the folder with files be placed?
-
Hi mic
If you look under squashfs-root you will find usr/local/bin/macchanger.
Copy that macchanger file to your Lubuntu /usr/local/bin/ directory.
-
unfortunaly, squashfs-tools.tcz file can't have in internet
-
Which version (12.x ?) and which architecture (x86 ?) are you using?
-
Lubuntu 18.4 LTS .... yes, x86
-
Hi mic
unfortunaly, squashfs-tools.tcz file can't have in internet
So load the extension:
tce-load -i macchanger-1.5.0.tcz
Then copy the file to a USB thumb drive:
cp /tmp/tcloop/macchanger-1.5.0.tcz/usr/local/bin/macchanger /mnt/YourThumbDrive
And copy the file from your thumb drive to your Lubuntu computer.
-
Th. you pal .
But problem in macchanger ! After reboot the computer, MAC values are reset to Permanent MAC !
-
Hi mic
You will have to place your macchanger command in a script that runs at startup.
-
Hi Rich.
That is, it is normal for macchanger?
Can I ask you for some link to the script creation guide ... and where to put it ?!
-
Hi mic
To the best of my knowledge, all network devices have their MAC address hardcoded in firmware and will revert to
that address when rebooted.
For Tinycore, create a file in /home/tc/.X.d/ containing the following:
sudo ifconfig eth0 down
sudo macchanger -m xx:xx:xx:xx:xx:xx eth0
sudo ifconfig eth0 up
For Lubuntu, I don't know. It's a little dated, but maybe this will help:
https://askubuntu.com/questions/166777/how-can-you-make-a-sh-file-come-on-at-startup-in-lubuntu-12-04
-
Thanks a lot, Rich! I roughly understood what it was about!
-
Hi mic
If the system uses ifconfig to bring up the network, the hw ether option can also set the MAC address:
ifconfig eth0 192.168.1.45 netmask 255.255.255.0 broadcast 192.168.1.255 hw ether xx:xx:xx:xx:xx:xx up
-
Hi Rich.
18.4 LTS uses "ip" ( sudo ip link set dev name address XX:XX:XX:XX:XX:XX ) ( but i thought macchanger is setting the address permanently! )