Forum › Forums › New users › New Users and General Questions › How to enabled USB Tethering ANdroid ?
- This topic has 7 replies, 3 voices, and was last updated Oct 31-8:39 am by Xecure.
-
AuthorPosts
-
October 30, 2020 at 5:51 pm #44079Member
kouroukinos77
Hi, I have xiaomi phone, and I can’t connect USB Tethering, when I enable on my phone. The antix linux doesn’t recognize. But I have gtmp and I can transfert files and folder on my distro (computer)… But for USB Tethering I try to found on Connman System Tray, But I cannot to say How to do that ! If anyone can help me ? Thank you !
I try that but do not work :
$ connmanctl tether gadget on Commands for making a wifi connections in connmanctl ---------------------------------------------------- agent on enable wifi services connect wifi_<tab> [wait for connection to appear] quit ifconfig -s ---------------------------------------------------- Error enabling gadget tethering: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist- This topic was modified 2 years, 6 months ago by kouroukinos77.
$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.frOctober 30, 2020 at 6:42 pm #44086Member
Xecure
::If your xiaomi phone is very new, you need a kernel upgrade.
See this thread:
https://www.antixforum.com/forums/topic/antix-19-base-iso-android-usb-tethering-wont-work/Try first upgrading to 4.19 kernel before moving to a 5.X kernel.
Intructions for USB tethering:As an experiment, I decided to try it out myself on a live USB (no changes, kernel 4.9.212) antiX 19.2.1 base x64.
0. Boot into my antiX 19.2.1 base live USB from my laptop.
1. I made sure connman was running (you should see a corresponding icon in the systemtray). If it isn’t active, Launch it from the COntrol Centre or from App Select (search for connman). Make sure it is running.
2. I connected my phone (Android 9 phone) using a USB cable to the laptop running antiX 19.2.1 base.
3. On my mobile device, I activated “share my connection through USB” (in my language; it probably means “USB Tethering”) in the corresponding section found in “Settings”.
4. After activating it, suddenly my system has internet connection! Success without expecting it at all!antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 30, 2020 at 8:05 pm #44091Member
kouroukinos77
::Does I Need to reinstall my distro ? Or I can upgrade with aptitude or apt-get ?
$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.frOctober 30, 2020 at 8:09 pm #44093Member
Xecure
::Use Package Installer to install a kernel. Once you reboot after installing the kernel, you will boot with the new kernel automatically. If boot fails, reboot and in the grub menu select your previous kernel.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 30, 2020 at 8:18 pm #44094MemberDzhigit
::Does I Need to reinstall my distro ? Or I can upgrade with aptitude or apt-get ?
You can install through apt-get install linux-image-4.19.152-antix.1-amd64-smp (replacing version and architecture with the one you want) or search and install kernels through the CLI APT-based Package Manager in the applications menu, or cli-aptiX in the terminal. On a LiveUSB or Frugal, after installing the kernel using one of the the previous methods, you have to remaster and then run the Live Kernel Updater.
October 30, 2020 at 8:39 pm #44098Member
kouroukinos77
::error : I can’t upgrade :/
say me :
Veuillez sélectionner une action à exécuter = Mettre à niveau 100 paquets maintenant | > Voir une liste des paquets à mettre à niveau | > Ignorer ces mises à niveau pour le moment |a> Mettre à jour l'index des paquets (dernière mise-à-jour vendredi 30 octobr|aAppuyez sur<Entrer> pour choisir l'entrée sélectionnée paUtilisez 'h' pour l'aide, 'r' pour relancer, 'q' pour Revenir au menu principal => apt-get dist-upgrade Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Calcul de la mise à jour... Erreur ! Certains paquets ne peuvent être installés. Ceci peut signifier que vous avez demandé l'impossible, ou bien, si vous utilisez la distribution unstable, que certains paquets n'ont pas encore été créés ou ne sont pas sortis d'Incoming. L'information suivante devrait vous aider à résoudre la situation : Les paquets suivants contiennent des dépendances non satisfaites : cryptsetup : Dépend: cryptsetup-initramfs (>= 2:2.0.3-1) mais ne sera pas installé E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état. dist-upgrade a mis 3.76 secondes Attention: La commande apt-get a échoué Création de la base de données ... génération de la base de données a mis 2.20 secondes Création de la base de données ... génération de la base de données a mis 2.37 secondes Création de la base de données ... génération de la base de données a mis 2.32 secondes =============================================================================== Installateur de paquets en ligne de commande d'antiX =============================================================================== Menu principal > Chercher des paquets à marquer ou à installer > Voir une liste des 83 paquets suggérés Ligne de commande > Voir une liste des 165 paquets suggérés Interface graphique > Rechercher des noyaux pour antiX > Rechercher tous les noyaux > Mettre à jour l'index des paquets (dernière mise-à-jour vendredi 30 octobr| > Editer les fichiers sources du dépôt > Voir ou exécuter 100 mises à niveau maintenant > Quitter Appuyez sur<Entrer> pour choisir l'entrée sélectionnée Utilisez 'h' pour l'aide, 'r' pour relancer, 'q' pour quitter$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.frOctober 30, 2020 at 11:49 pm #44102Member
kouroukinos77
::Not solved but I write
aptitude upgradebefore, and now I can download linux-headers-5.0.9-antix.1-amd64-smp linux-image-5.0.9-antix.1-amd64-smp with cli-aptix …But do you know if I can download realtime kernel with cli-aptix ? For use this kernel of music production … But I don’t know the repos for download free music software like ardour, hydrogen … Thank you !
edit :
ho no say me that error :
Appuyez sur<Entrer> pour choisir l'entrée sélectionnée Utilisez 'h' pour l'aide, 'r' pour relancer, 'q' pour Revenir au menu principal Installation de linux-image-5.0.9-antix.1-amd64-smp => apt-get install linux-image-5.0.9-antix.1-amd64-smp linux-headers-5.0.9-antix.1-amd64-smp Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les NOUVEAUX paquets suivants seront installés : linux-headers-5.0.9-antix.1-amd64-smp linux-image-5.0.9-antix.1-amd64-smp 0 mis à jour, 2 nouvellement installés, 0 à enlever et 5 non mis à jour. Il est nécessaire de prendre 52,7 Mo dans les archives. Après cette opération, 299 Mo d'espace disque supplémentaires seront utilisés. Réception de :1 http://mxlinux.mirrors.uk2.net/packages/antix/buster buster/main amd64 linux-headers-5.0.9-antix.1-amd64-smp amd64 5.0.9-antix.1-amd64-smp-1 [11,2 MB] Réception de :2 http://mxlinux.mirrors.uk2.net/packages/antix/buster buster/main amd64 linux-image-5.0.9-antix.1-amd64-smp amd64 5.0.9-antix.1-amd64-smp-1 [41,6 MB] Err :2 http://mxlinux.mirrors.uk2.net/packages/antix/buster buster/main amd64 linux-image-5.0.9-antix.1-amd64-smp amd64 5.0.9-antix.1-amd64-smp-1 Échec de la connexion [IP : 83.170.94.3 80] 11,2 Mo réceptionnés en 3min 37s (51,3 ko/s) E: Impossible de récupérer http://mxlinux.mirrors.uk2.net/packages/antix/buster/pool/main/l/linux-5.0.9-antix.1-amd64-smp/linux-image-5.0.9-antix.1-amd64-smp_5.0.9-antix.1-amd64-smp-1_amd64.deb Échec de la connexion [IP : 83.170.94.3 80] E: Impossible de récupérer certaines archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?edit 2 : ho My internet was disconnect :
Installation de linux-image-5.8.7-antix.1-amd64-smp => apt-get install linux-image-5.8.7-antix.1-amd64-smp linux-headers-5.8.7-antix.1-amd64-smp Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les NOUVEAUX paquets suivants seront installés : linux-headers-5.8.7-antix.1-amd64-smp linux-image-5.8.7-antix.1-amd64-smp 0 mis à jour, 2 nouvellement installés, 0 à enlever et 5 non mis à jour. Il est nécessaire de prendre 61,1 Mo dans les archives. Après cette opération, 355 Mo d'espace disque supplémentaires seront utilisés. Réception de :1 http://mxlinux.mirrors.uk2.net/packages/antix/buster buster/main amd64 linux-headers-5.8.7-antix.1-amd64-smp amd64 5.8.7-antix.1-amd64-smp-1 [7 896 kB] Réception de :2 http://mxlinux.mirrors.uk2.net/packages/antix/buster buster/main amd64 linux-image-5.8.7-antix.1-amd64-smp amd64 5.8.7-antix.1-amd64-smp-1 [53,2 MB] 61,1 Mo réceptionnés en 4min 21s (234 ko/s) Sélection du paquet linux-headers-5.8.7-antix.1-amd64-smp précédemment désélectionné. (Lecture de la base de données... 208582 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../linux-headers-5.8.7-antix.1-amd64-smp_5.8.7-antix.1-amd64-smp-1_amd64.deb ... Dépaquetage de linux-headers-5.8.7-antix.1-amd64-smp (5.8.7-antix.1-amd64-smp-1) ... Sélection du paquet linux-image-5.8.7-antix.1-amd64-smp précédemment désélectionné. Préparation du dépaquetage de .../linux-image-5.8.7-antix.1-amd64-smp_5.8.7-antix.1-amd64-smp-1_amd64.deb ... Dépaquetage de linux-image-5.8.7-antix.1-amd64-smp (5.8.7-antix.1-amd64-smp-1) ... Paramétrage de linux-image-5.8.7-antix.1-amd64-smp (5.8.7-antix.1-amd64-smp-1) ... Warning: Unable to find an initial ram disk that I know how to handle. Will not try to make an initrd. Error! Bad return status for module build on kernel: 5.8.7-antix.1-amd64-smp (x86_64) Consult /var/lib/dkms/ndiswrapper/1.61/build/make.log for more informationedit 3 :
It work now ! Solved but my ISP internet 4G Data plan is very slow…
You can found my post here : https://www.antixforum.com/forums/topic/antix-19-base-iso-android-usb-tethering-wont-work/#post-44108It’s my old usb cable is defectious or have some damaged. I need to have new USB C cable for my xiaomi phone. But I don’t have money for this time. Thank you for your help all !
- This reply was modified 2 years, 6 months ago by kouroukinos77.
- This reply was modified 2 years, 6 months ago by kouroukinos77.
- This reply was modified 2 years, 6 months ago by kouroukinos77.
$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.frOctober 31, 2020 at 8:39 am #44119Member
Xecure
::It work now ! Solved but my ISP internet 4G Data plan is very slow…
I need to sometimes move myself or my phone to a different location or possition to improve Mobile signal for mobile internet. maybe finding a better spot will help.
antiX Live system enthusiast.
General Live Boot Parameters for antiX. -
AuthorPosts
- You must be logged in to reply to this topic.