So, nachdem Weihnachten hinter uns liegt, alle Geschenke ausgepackt sind,
kann ich nun fortfahren.
Die SW-Analyse erweißt sich als einfach und doch schwierig. Warum ?
Einfach, weil es nur wenige Dateien gibt und schwierig, weil die nicht so laufen,
wie man es von einem Linux gewöhnt wäre.
Hier die
Datei-Liste und Verzeichnis-Liste die auf der Flashdisk/Platte installiert werden:
kbipd
kbipd\bin
kbipd\bin\
dhcpcdkbipd\bin\
ftpdkbipd\bin\
gwaddkbipd\bin\
hdstandkbipd\bin\
hkdkbipd\bin\
ifconfigkbipd\bin\
inetdkbipd\bin\
nmbdkbipd\bin\
rdatekbipd\bin\
remountkbipd\bin\
smbdkbipd\bin\
swatkbipd\bin\
sysbootkbipd\bin\
sysinitkbipd\etc
kbipd\etc\config
kbipd\etc\dhcpc
kbipd\etc\
groupkbipd\etc\
langkbipd\etc\
passwdkbipd\etc\
smb.confkbipd\etc\
sysfilekbipd\etc\
system.confkbipd\home
kbipd\share
kbipd\share\public
kbipd\tmp
kbipd\usr
kbipd\usr\local
kbipd\usr\local\samba
kbipd\usr\local\samba\lib
kbipd\usr\local\samba\private
kbipd\usr\local\samba\private\
smbpasswdkbipd\usr\local\samba\sbin
kbipd\usr\local\samba\swat
kbipd\usr\local\samba\swat\help
kbipd\usr\local\samba\swat\help\
welc-cs.htmlkbipd\usr\local\samba\swat\help\
welc-cs1.htmlkbipd\usr\local\samba\swat\help\
welc-ct.htmlkbipd\usr\local\samba\swat\help\
welc-ct1.htmlkbipd\usr\local\samba\swat\help\
welc-fr.htmlkbipd\usr\local\samba\swat\help\
welc-fr1.htmlkbipd\usr\local\samba\swat\help\
welc-ger.htmlkbipd\usr\local\samba\swat\help\
welc-ger1.htmlkbipd\usr\local\samba\swat\help\
welc-jp.htmlkbipd\usr\local\samba\swat\help\
welc-jp1.htmlkbipd\usr\local\samba\swat\help\
welc-kr.htmlkbipd\usr\local\samba\swat\help\
welc-kr1.htmlkbipd\usr\local\samba\swat\help\
welcome.htmlkbipd\usr\local\samba\swat\help\
welcome1.htmlkbipd\usr\local\samba\swat\include
kbipd\usr\local\samba\swat\include\
footer.htmlkbipd\usr\local\samba\swat\include\
header-cs.htmlkbipd\usr\local\samba\swat\include\
header-ct.htmlkbipd\usr\local\samba\swat\include\
header-fr.htmlkbipd\usr\local\samba\swat\include\
header-ger.htmlkbipd\usr\local\samba\swat\include\
header-jp.htmlkbipd\usr\local\samba\swat\include\
header-kr.htmlkbipd\usr\local\samba\swat\include\
header.htmlkbipd\usr\local\samba\swat\include\images
kbipd\usr\local\samba\swat\include\images\
lang.jpgkbipd\usr\local\samba\swat\include\images\
logo.jpgkbipd\usr\local\samba\swat\include\
sysscript.htmlkbipd\usr\local\samba\swat\photo
kbipd\usr\local\samba\swat\photo\
photo.htmlkbipd\usr\local\samba\swat\photo\
photo1.htmlkbipd\usr\local\samba\swat\photo\
photo2.htmlkbipd\usr\local\samba\var
kbipd\usr\local\samba\var\locks
kbipd\var
kbipd\var\run
Die Dateien sind
fett markiert. Alles andere sind nur Verzeichnisnamen !
Dreh und Angelpunkt für die Standardkonfiguration sind die Dateien system.conf und smb.conf.
smb.conf ist die Konfigurationsdatei für den SAMBA Server:
# Samba config file created using SWAT# from 192.168.0.223 (192.168.0.223)# Date: 1970/01/01 00:13:48# Global parameters[global] dos charset = ISO-8859-1 unix charset = ISO-8859-1 display charset = ISO-8859-1 netbios name = KBIPD server string = IP Drive security = SHARE show add printer wizard = No local master = No domain master = No oplocks = No level2 oplocks = No[homes] valid users = %S read only = No browseable = No[Root] comment = For Administrator only path = /mnt valid users = root read only = No[Public] comment = public share folder path = /mnt/kbipd/share/public read only = No guest ok = YesWie man hier schon erkennen kann, ist das auf der Platte installierte System nicht das eigentliche Linux-System, denn root wird hier mit /mnt angegeben. Eine Recherche ergab, dass es üblich ist auf einem ARM erst aus einem ROMFS zu booten und dann das eigentliche root
bzw. Ergänzungen hinzu zu mounten. Was wir also auf der Platte sehen, ist
nur das hinzu gemaoutete System. Wie sieht wohl das echte aus ?
Die system.conf enthält:
[User]granted users = 5[Network]dhcp enable = yesfixed ip = yesip address = 192.168.0.100network mask = 255.255.0.0gateway address = [Timer]manual setting = yestime server = yesip address = 129.6.15.29
und damit die Systemeinstellungen des Netzwerks und der Uhrzeit.
system.conf ist keine mir bekannte Konfigurationsdatei. Lets google !
CU Fossi