[SOLVED] Need help installing libs To establish initial Internet connection using USB iPhone tethering for Odroid XU Lite running Debian Bullseye
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need help installing libs To establish initial Internet connection using USB iPhone tethering for Odroid XU Lite running Debian Bullseye
Hello. I need help setting up the initial Internet connection for my Odroid running Debian Bullseye which was offered by a third party individual in the form of an image. This image appears to be missing basic features and is extremely barebones. This device has no connection to the Internet. I know that it has an ethernet port I just wanted to make it clear that ethernet connectivity is not possible for any reason. I am trying to download the Debian packages to a USB thumb drive connected to my notebook, so I can then connecte it to the Odroid to install the packages using possibly dpkg. since I have no useful libraries installed such as build-essential, or kernel headers, I probably would need to install pre-compiled binaries for this arm architecture. I am a novice Linux user, so I would need step-by-step instructions to make this happen. Once I have succeeded in enabling iPhone USB tethering, I can then proceed installing packages and other libraries directly on the Odroid. I have been performing massive research for over a week now, and I have discovered that several libraries would need to be installed in order to enable USB iPhone tethering such as USBmux. I do have two USB wireless adapters here that I am going to compile drivers for once I have established the initial connection to the Internet via USB iPhone tethering because this appears to be the easiest method in order to accomplish, because several other libraries would need to be installed first, including the aforementioned build-essential and kernel headers. since this image is so barebones because the person who packaged it assumed that everyone has connection to the Internet via ethernet, which I do not, it is impossible, they did not include the libraries necessary to enable Internet access utilising other methods. I do not know how to proceed beyond this point, which is why I am making this post here. Thank you very much for reading my post, and understanding my frustration.
I have more information to provide to explain the research I have done for this situation. I do apologise for not doing this earlier as I had problems making my first post.
I was referring to this website here for the guide to help me install the libraries to enable USB connection tethering for my iPhone to the odroid here:
You may notice it was written for a raspberry pi, but those devices are so similar any, that it would most likely apply to my situation as well.
as I was reading the guide, I noticed that it directed me to download these packages via apt-get install, which was a massive problem because my odroid has no internet connectivity. The good thing is, however, is that it listed the libraries that are needed to enable USB tethering for my iPhone. So I referred to the link here, which had a list of all the packages which are able to be downloaded. Since the website is really weird, I could not search the package mane directly, but google was able provide an accurae hit. As I was scrolling though the architectures, I noticed that there were different arm listings, and though deduction I discovered that armf applied to my situation since my Odroid has an arm7 processor, which is 32-bit. I had never heard o armf before, and arm64 is obvious. I know that packages that are downloaded here could be installed using the dpkg function, but would this apply to my situation if I have no other libraries installed? I am sure that there are going to probably be a ridiculous number of prerequisites . But also since I do not have libs like build-essential nor the kernel headers installed, would any of this even work? I imagine that the biold-essential lib is massive large and I hope it would be available in a separate package for installation to. What I mean to ask is, are these packages available to be installed or are they all source code that would needed to be compiled? This is why I was asking about pre compiled binaries which would be much easier to install with no compilation in between .
I was continuing my research and I read in some articles that they are referring people to the install CD for files and use dpkg to install the packages within. Would that apply to my situation a well? I am more concerned whether or not these packages would even be compatible with my build. I wish I could use apt-get update so I can discover where the compatible packages are maintained so I can go to those address directly and find the packages that I need.
And so according to that website, , here is the list of the libraries that I would need to install on this Odroid to enable USB tethering for my iPhone so I can establish internet connectivity:
gvfs ipheth-utils
libimobiledevice-utils
gvfs-backends
gvfs-bi
n gvfs-fuse
ifuse -y
This is great information, but I am not sure where the compatible sources are for my Odroid. If I could run apt-get update, I could see some errors that would provide a link to the package repository, or whatever it is called, which would give me an idea to ensure that they would work for my build. It seems like only a few packages need to be installed, if I could discover a method of ensuring compatibility and the correct location of the sources, it would put me in the correct direction so that I could download them and attempt to install them using -dpkg
If you have sufficient package lists already setup, then "apt install --print-uris PACKAGE_NAME" should give you the URLs to download for your current version. (Note the command uses lowercase URI not URL, because people got confused.)
If that results in "E: Unable to locate package PACKAGE_NAME" or "E: Package 'PACKAGE_NAME' has no installation candidate", check in /var/lib/apt/lists - you may have local mirror lists that you need to configure apt to use.
thank you so very much for responding to my message! I tried the command that you gave me, but it did not display any useful information except for zero newly installed, zero upgraded, and what not. I do have this information about the operating system and version that I am running that is displayed every time I login with the user and password:
bullseye login: root
roid-bullseye5.18.10-armmp-ipae #exynos SMP PREEMPT Sun Jul 10 16:01:27 UTC 2022 armu71
ams included with the Debian GNU/Linux system are free software:
distribution terms for each program are described in the
files in usr/share/doc/*/copyright
Itnux comes with ABSOLUTELY NO WARRANTY, to the extent
y applicable law.
Fri Jun 17 21:56:24 UTC 2022 on tty1
bullseye:
I do apologise for any typos that you may see, I am using image to text transcribing, since there is no other way to get this information.
it did not display any useful information except for zero newly installed, zero upgraded, and what not.
That suggests the package you tried is already installed.
Quote:
I do apologise for any typos that you may see, I am using image to text transcribing, since there is no other way to get this information.
Then how are you intending to get the package files onto the device in the first place?
If you have a method to copy data onto the device (USB drive/SD card/etc), you can presumably save files to that and use it to extract the output via "command > /mnt/command-output.txt" or similar.
Oh that was my mistake, I typed it exactly as you told me, including package name. I also tried it blank without the packages. I then tried it with the packages that I listed above and they all gave not found. I was expecting to get a uri that would tell me where the compatible package repository was located so I could research those packages there, download them on my laptop, transfer them to my USB drive, then plug the usb drie into my odroid and then install the packages using the dpkg command.
You're still using OCR (image to text) and it's not good enough.
Either redirect the command output to text files and copy them via USB/equivalent, or save the image for web (i.e. ensure filesize is under 200KB) and use the forum's attachments feature.
based on the link you provided, I was able to google for a link that would provide a nice method of getting this knowledge so I could bookmark it for reference e how to output a command to a file. Most appreciated. Here's the answers to the commands you requested earlier, from direct output from the operating system:
Linux odroid-bullseye 5.18.10-armmp-lpae #exynos SMP PREEMPT Sun Jul 10 16:01:27 UTC 2022 armv7l GNU/Linux
total 8
drwxr-xr-x 2 _apt root 4096 Nov 19 2020 auxfiles
-rw-r----- 1 root root 0 Nov 19 2020 lock
drwx------ 2 _apt root 4096 Jun 17 21:56 partial
I am pleased I will b able to give direct and accurate responses to questions that require bash output in the future.
Last edited by Sabotender; 12-05-2022 at 05:48 PM.
Well that confirms there's no existing lists in there that can be used to get started, so you'll need to download them first.
If you just need to know the filenames for packages (as opposed to setting up a local mirror / offline proxy) you can probably get away with only downloading Packages files and searching manually.
I don't know enough about ARM to be sure, but I think "armmp-lpae" comes under "armhf", so that means the following:
Download and extract those, but start with the "main" one because that might be the only one needed, and search inside for "Package: PACKAGE_NAME" (where PACKAGE_NAME is "gvfs" or whatever) and then go down about a dozen lines you'll find something like "Filename: pool/main/g/gvfs/gvfs_1.46.2-1_amd64.deb" (except it wont say amd64 on yours).
The download URL is then that filename added to the debian mirror URL - e.g. "https://deb.debian.org/debian/pool/main/g/gvfs/gvfs_1.46.2-1_amd64.deb"
However, on mine there appears to be more gvfs dependencies than you listed, so if those aren't already installed it might be necessary to take the more involved path to get apt to tell you which dependencies it already has and which ones it needs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.