ich bin ganz neu im hier im Forum und auch relativ neu bei Linux/Debian.
Ein bisschen habe ich mich eingefuchst. Es gab abundzu mal Probleme, aber mit einer ordentlichen Recherche und Geduld konnte ich schon ein paar Probleme lösen...
...doch nun stoße ich allerdings an meine Grenzen! Seit Tagen vergewaltige ich Google. Ich konnte zwar Ansätze finden, aber leider bin ich wohl zu blöde um das Problem zu lösen, weshalb ich hier den Thread eröffne und auf eure Hilfe hoffe!
Ich habe mir einen UltraStick HiLink HUAWEI E3533 Surfstick besorgt und würde gerne diesen in Debian nutzen.
Ich habe Debian "Jessie" 8.5 als 64-bit-Version auf meinem Laptop.
Stecke ich den Surfstick ein, leuchtet zwar die Kontrollleuchte am Surfstick, aber unter Geräte wird nichts angezeigt.
Interessanterweise kann ich aber in "VirtualBox" unter "USB" einen Filter für "HUAWEI Technology HUAWEI Mobile [0102]" anlegen. Also da wird er angezeigt. Funktioniert allerdings auch in der VM nicht.
Ich habe was von "usb-modeswitch" und "usb-modeswitch-data" gelesen, allerdings komme ich da auch nicht weiter.
Ich habe den Ordner mit dem Treiber der sich auf dem Surfstick befindet auf einen anderen USB-Stick kopiert und anschließend in mein Download Ordner in Debian gepackt. Dort habe ich folgende Dateien vorliegen:
ArConfig.dat
AUTORUN.INF
HiLink.app
linux_mbb_install
Startup.ico
AutoRun.exe
autorun.sh
install_linux
MobileBrServ
Bei Doppelklick auf "install_linux" erscheint eine Textdatei, mit der ich leider nichts viel anfangen kann (einer von euch bestimmt schon)... Hier der Inhalt der Textdatei:
Code: Alles auswählen
#!/bin/bash
#VERSION=22.001.03.01.03
install_exit()
{
echo "Preass any key to exit. "
read COMMAND
exit
}
WHEREWHOAMI="`which whoami`"
ROOTORNOT="`$WHEREWHOAMI`"
#echo "$ROOTORNOT"
if [ "$ROOTORNOT" != "root" ]
then
echo "You must run the install process by root."
install_exit
fi
CURRENTPATH="$(dirname "$0")"
#echo "$CURRENTPATH"
TMP_FILE_PATH="/tmp/MobileBrServ_AutoRun"
INSTALL_FILE="/linux_mbb_install"
SYSCONFIG_PATH="/ArConfig.dat"
INSTALL_SHELL="/install"
DATACARD_VERIFY="/DataCard_Verify"
MBB_BIN_FILE="/mbbservice.bin"
MBB_FILE="/mbbservice"
SYSCONFIG_VALUE="VALUE"
INSTALL_PATH="/usr/local/MobileBrServ"
LOG_PATH="/tmp/MobileBrServ_autoinstall_log"
#define the install variable
FIRST_INSTALL="NO"
INSTALL_OR_NOT="NO"
echo "Current path = ${CURRENTPATH}" > ${LOG_PATH}
check_ISO()
{
echo "begin to verify ISO ..." | tee -a ${LOG_PATH} #> /dev/null 2>&1
#TESTFILE="${CURRENTPATH}"
#echo "$TESTFILE"
#read COMMAND
if [ ! -f "${CURRENTPATH}${INSTALL_FILE}${MBB_BIN_FILE}" ]
then
echo "${CURRENTPATH}${INSTALL_FILE}${MBB_BIN_FILE}"
echo "the .bin file is not exist! " | tee -a ${LOG_PATH}
install_exit
fi
if [ ! -f "${CURRENTPATH}${INSTALL_FILE}${SYSCONFIG_PATH}" ]
then
echo "the ArConfig.dat file is not exist! " | tee -a ${LOG_PATH}
install_exit
fi
echo "verify the ISO succeed !" | tee -a ${LOG_PATH}
}
backup_ISO()
{
echo "begin to copy install file..." | tee -a ${LOG_PATH}
if [ -d "${TMP_FILE_PATH}" ]
then
rm -f -R "${TMP_FILE_PATH}"
fi
mkdir -p "${TMP_FILE_PATH}"
cp -f -R "${CURRENTPATH}${INSTALL_FILE}" "${TMP_FILE_PATH}${INSTALL_FILE}"
chmod a+wrx -R "${TMP_FILE_PATH}${INSTALL_FILE}"
sleep 1
}
x_install_mbbservice()
{
echo "now begin to install... " | tee -a ${LOG_PATH}
#read cmo
export DISPLAY=":0"
if which xterm;
then
echo "Run xterm and begin to install" | tee -a ${LOG_PATH}
TERMINAL=`which xterm`
${TERMINAL} '-e' "${TMP_FILE_PATH}${INSTALL_FILE}${INSTALL_SHELL}"
echo "Exit install and remove temporary files" | tee -a ${LOG_PATH}
exit 0
#install_exit
fi
if which gnome-terminal;
then
echo "Run gnome-terminal and begin to install" | tee -a ${LOG_PATH}
TERMINAL=`which gnome-terminal`
${TERMINAL} '-e' "${TMP_FILE_PATH}${INSTALL_FILE}${INSTALL_SHELL}"
echo "Exit install and remove temporary files" | tee -a ${LOG_PATH}
exit 0
#install_exit
fi
if which konsole;
then
echo "Run konsole and begin to install" | tee -a ${LOG_PATH}
TERMINAL=`which konsole`
${TERMINAL} '-e' "${TMP_FILE_PATH}${INSTALL_FILE}${INSTALL_SHELL}"
echo "Exit install and remove temporary files" | tee -a ${LOG_PATH}
exit 0
#install_exit
fi
echo "Run shell and begin to install" | tee -a ${LOG_PATH}
"${TMP_FILE_PATH}${INSTALL_FILE}${INSTALL_SHELL}"
echo "Exit install and remove temporary files" | tee -a ${LOG_PATH}
exit 0
#install_exit
}
check_ISO
#check_first_install
#if [ "${FIRST_INSTALL}" = "YES" ]
#then
backup_ISO
x_install_mbbservice
#else
#verify_version
#fi
#read mo
...also versuche ich es via Terminal:
Code: Alles auswählen
user@debian:~/Downloads/Huawei$ ls
ArConfig.dat AUTORUN.INF HiLink.app linux_mbb_install Startup.ico
AutoRun.exe autorun.sh install_linux MobileBrServ
user@debian:~/Downloads/Huawei$ sudo sh install_linux
[sudo] password for user:
begin to verify ISO ...
verify the ISO succeed !
begin to copy install file...
now begin to install...
/usr/bin/xterm
Run xterm and begin to install
Exit install and remove temporary files
user@debian:~/Downloads/Huawei$ sudo sh install_linux
begin to verify ISO ...
verify the ISO succeed !
begin to copy install file...
now begin to install...
/usr/bin/xterm
Run xterm and begin to install
Exit install and remove temporary files
user@debian:~/Downloads/Huawei$ sudo sh install_linux
begin to verify ISO ...
verify the ISO succeed !
begin to copy install file...
now begin to install...
/usr/bin/xterm
Run xterm and begin to install
*= leider konnte ich den Text nicht kopieren, weswegen ich den Text manuel abgetippt habe und sich u.U. Tipfehler eingeschlichen haben könnten, ich habe es aber mehrmals überprüft und konnte keinen Fehler entdecken
Code: Alles auswählen
install begin...
/usr/local/MobileBrServ/mbbservice '&' /usr/local/MobileBrServ/ArConfig.dat is not exist
begin to copy file...
/tmp/MobileBrServ_AutoRun/linux_mbb-install/install: Zeile 99: /tmp/MobileBrServ_AutoRun/linux_mbb_install/7zr: Datei oder Verzeichnis nicht gefunden
copy end ...
begin to install ...
cp: der Aufruf von stat für "./*" ist nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: der Aufruf von stat für "/usr/local/MobileBrServ/10-Huawei-FlashCard.rules"
ist nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf "etc/udev/rules.d/10-Huawei-FlashCard.rules" nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: der Aufruf von stat für "/etc/udev/rules.d/10-Huawei-FlashCard.rules" ist nicht möglich: Datei oder Verzeichnis nicht gefunden
install success...
run the process...
/usr/local/MobileBrServ/mbbservice
/tmp/MobileBrServ_AutoRun/linux_mbb_install/install: Zeile 513: /usr/local/MobileBrServ/mbbservice: Datei oder Verzeichnis nicht gefunden
install end...
Press any key to exit.
Ich wäre sehr dankbar wenn mir jemand hilft der da durchsteigt.
Grüße