ubuntu@ubuntu:~/Desktop/OPEL$ sudo -s
root@ubuntu:~/Desktop/OPEL# df
Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
udev 4010252 0 4010252 0% /dev
tmpfs 806284 1788 804496 1% /run
/dev/sdb1 15547392 1908496 13638896 13% /cdrom
/dev/loop0 1820800 1820800 0 100% /rofs
/cow 4031420 372220 3659200 10% /
tmpfs 4031420 0 4031420 0% /dev/shm
tmpfs 5120 8 5112 1% /run/lock
tmpfs 4031420 0 4031420 0% /sys/fs/cgroup
tmpfs 4031420 0 4031420 0% /tmp
tmpfs 806284 64 806220 1% /run/user/999
/dev/loop1 89088 89088 0 100% /snap/core/4917
/dev/loop2 35584 35584 0 100% /snap/gtk-common-themes/319
/dev/loop3 144384 144384 0 100% /snap/gnome-3-26-1604/70
/dev/loop4 2432 2432 0 100% /snap/gnome-calculator/180
/dev/loop5 13312 13312 0 100% /snap/gnome-characters/103
/dev/loop6 14848 14848 0 100% /snap/gnome-logs/37
/dev/loop7 3840 3840 0 100% /snap/gnome-system-monitor/51
/dev/sdd1 22864 20709 2155 91% /media/ubuntu/5BF2-B4C4
/dev/sdc1 7743956 9904 7734052 1% /media/ubuntu/snl
/dev/mmcblk0p1 31157760 128 31157632 1% /media/ubuntu/E02F-6E3B
root@ubuntu:~/Desktop/OPEL# ls -l /sys/block | grep mmc
Der Befehl ' ls' wurde nicht gefunden, meinten Sie:
Befehl 'ols' aus dem deb speech-tools
Befehl 'ils' aus dem deb sleuthkit
Befehl 'als' aus dem deb atool
Befehl 'ls' aus dem deb coreutils
Befehl 'bls' aus dem deb bacula-sd
Befehl 'fls' aus dem deb sleuthkit
Befehl 'hls' aus dem deb hfsutils
Befehl 'jls' aus dem deb sleuthkit
Versuche: apt install <deb name>
root@ubuntu:~/Desktop/OPEL# ls -l /sys/block | grep mmc
lrwxrwxrwx 1 root root 0 Nov 9 13:54 mmcblk0 -> ../devices/pci0000:00/0000:00:1c.5/0000:03:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0
root@ubuntu:~/Desktop/OPEL# chmod +x change_CID_32
root@ubuntu:~/Desktop/OPEL# ll
insgesamt 32
drwxr-xr-x 2 ubuntu ubuntu 100 Mai 18 11:48 ./
drwxr-xr-x 3 ubuntu ubuntu 100 Nov 9 13:00 ../
-rwxr-xr-x 1 ubuntu ubuntu 13234 Sep 6 2016 change_cid*
-rwxr-xr-x 1 ubuntu ubuntu 11873 Sep 8 2016 change_CID_32*
-rw-r--r-- 1 ubuntu ubuntu 640 Sep 9 2016 cid_opel_sd.txt
root@ubuntu:~/Desktop/OPEL# ll
insgesamt 32
drwxr-xr-x 2 ubuntu ubuntu 100 Mai 18 11:48 ./
drwxr-xr-x 3 ubuntu ubuntu 100 Nov 9 13:00 ../
-rwxr-xr-x 1 ubuntu ubuntu 13234 Sep 6 2016 change_cid*
-rwxr-xr-x 1 ubuntu ubuntu 11873 Sep 8 2016 change_CID_32*
-rw-r--r-- 1 ubuntu ubuntu 640 Sep 9 2016 cid_opel_sd.txt
root@ubuntu:~/Desktop/OPEL# sudo ./change_CID_32 /dev/mmcblk0 5d5342303031364712aa7bf45b011600
sudo: ./change_CID_32 kann nicht ausgeführt werden: Datei oder Verzeichnis nicht gefunden
root@ubuntu:~/Desktop/OPEL# chmod +x change_cid
root@ubuntu:~/Desktop/OPEL# ll
insgesamt 32
drwxr-xr-x 2 ubuntu ubuntu 100 Mai 18 11:48 ./
drwxr-xr-x 3 ubuntu ubuntu 100 Nov 9 13:00 ../
-rwxr-xr-x 1 ubuntu ubuntu 13234 Sep 6 2016 change_cid*
-rwxr-xr-x 1 ubuntu ubuntu 11873 Sep 8 2016 change_CID_32*
-rw-r--r-- 1 ubuntu ubuntu 640 Sep 9 2016 cid_opel_sd.txt
root@ubuntu:~/Desktop/OPEL# sudo ./change_cid /dev/mmcblk0 5d5342303031364712aa7bf45b011600
Usage: ./evoplus_cid <device> <cid> [serial]
device - sd card block device e.g. /dev/block/mmcblk1
cid - new cid, must be in hex (without 0x prefix)
it can be 32 chars with checksum or 30 chars without, it will
be updated with new serial number if supplied, the checksum is
(re)calculated if not supplied or new serial applied
serial - optional, can be hex (0x prefixed) or decimal
and will be applied to the supplied cid before writing
Warning: use at own risk!
root@ubuntu:~/Desktop/OPEL# sudo ./change_cid /dev/mmcblk1 5d5342303031364712aa7bf45b011600
Usage: ./evoplus_cid <device> <cid> [serial]
device - sd card block device e.g. /dev/block/mmcblk1
cid - new cid, must be in hex (without 0x prefix)
it can be 32 chars with checksum or 30 chars without, it will
be updated with new serial number if supplied, the checksum is
(re)calculated if not supplied or new serial applied
serial - optional, can be hex (0x prefixed) or decimal
and will be applied to the supplied cid before writing
Warning: use at own risk!
root@ubuntu:~/Desktop/OPEL#