LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2018, 09:40 PM   #1
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Rep: Reputation: Disabled
Two Questions - USB tethering problem & VM software for USB passthrough


I have a samsung galaxy s8 AT&T phone. USB tethering is not working on it. I have the Android tools slackbuild installed, ADB works, but my download speeds remain unchanged. I am using DHCPD (or however it's spelled), because my PC uses an ethernet cable instead of wireless.

dmesg shows the USB device connecting, but no further messages.
what must I do to get USB tethering working?

in addition I need some advice when it comes to picking some VM software for USB passthrough. I wish to use it to install a VM of windows 7, so I can run odin and flash a custom rom to my phone. I do not trust wine to work smoothly with odin, so I am opting to use a VM.

I used to use Virtualbox, but I'm wondering if there's something else- like QEMU or some kind of addon that would be more straightforward to setup.

should I stick with virtualbox or pick something different?
 
Old 01-24-2018, 05:31 AM   #2
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 781
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Your question has more to do with linux networking than with slackware, and might be more suited for LQ's linux-networking forum. If there's an issue with slackware that prevents usb-tethering then you are at the right place, but for anyone to be of assistance, you would have to provide heaps more information, such as what version of slackware you are running for starters. Since you are already here, however, I would suggest that if you are more comfortable in a GUI configuration environment, go for virtualbox; if you are more comfortable in a CLI configuration environment, then fire up qemu. As far as your usb tethering, assuming that your phone is connected to your computer via usb, and that the phone has had tethering enabled on it, does the "usb0" interface show up in the results of the "ifconfig" command, when run on your computer? Sounds like it must if dmesg sees it. Have you tried merely "dhclient -v usb0"," or configuring /etc/rc.d/rc.inet1.conf and running /etc/rc.d/rc.inet1?
 
Old 01-24-2018, 08:26 AM   #3
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Instead of Odin on a VM with USB pass through have you considered Heimdall? I've used it for years to root Samsung Galaxy phones. Rooting a Google Pixel is next on my todo list so I hope Heimdall works on that too.

Last edited by Chuck56; 01-24-2018 at 08:36 AM. Reason: changed link to SBo instead of Homepage
 
Old 01-24-2018, 12:17 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Chuck56 View Post
Instead of Odin on a VM with USB pass through have you considered Heimdall? I've used it for years to root Samsung Galaxy phones. Rooting a Google Pixel is next on my todo list so I hope Heimdall works on that too.
As far as I know, heimdall is just used for Samsung devices. You use fastboot to unlock the bootloader, which is part of the android-tools package found on SBo.

You boot into the bootloader mode (press and hold volume down while starting up the phone), then issue fastboot flashing unlock and then agree to your phone being wiped. However, prior to doing that, you need to boot up the phone, enabled developer mode (tapping on Build ID 7 times), then enable bootloader unlocking under the developer options.
 
Old 01-24-2018, 08:27 PM   #5
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by slac-in-the-box View Post
...Have you tried merely "dhclient -v usb0"," or configuring /etc/rc.d/rc.inet1.conf and running /etc/rc.d/rc.inet1?
running "dhclient -v usb0" gets it working, thank you! would I need to run this every time I start up slackware? if yes, how would I set this up to run on boot so I don't need to set anything else up further?

Quote:
Originally Posted by Chuck56
Instead of Odin on a VM with USB pass through have you considered Heimdall? I've used it for years to root Samsung Galaxy phones. Rooting a Google Pixel is next on my todo list so I hope Heimdall works on that too.
bassmadrigal is right, heimdall is samsung exclusive. I'm trying to install this rom here. I'm gonna go check and ask there if heimdall works with it, but I'm a little leery on using heimdall because there's this nagging doubt in my mind that says something might get screwed up and my phone'll get bricked if I use it.

Last edited by lawnm0wer; 01-24-2018 at 08:28 PM. Reason: typo
 
Old 01-24-2018, 08:45 PM   #6
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
It was just a suggestion to use Heimdall. Always use the tool(s) you're most comfortable with.
 
Old 01-25-2018, 01:19 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by lawnm0wer View Post
running "dhclient -v usb0" gets it working, thank you! would I need to run this every time I start up slackware? if yes, how would I set this up to run on boot so I don't need to set anything else up further?
If it is always hooked up, you would just need to adjust your /etc/rc.d/rc.inet1.conf file to change one of the devices from ethX to usb0 and set DHCP to yes. This should connect to it automatically during bootup.
 
  


Reply

Tags
passthrough, tethers, usb, virtual machine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB tethering with slackware 14 g4ry Slackware 6 03-04-2019 07:48 AM
[SOLVED] 13.04 and iPhone4 usb tethering.. jeijei Ubuntu 1 06-19-2013 04:30 PM
Networking usb tethering modem pvalley_67 Slackware 3 04-30-2013 09:09 PM
USB Passthrough Problem with KVM/QEMU on FC12 wdsnyc Linux - Virtualization and Cloud 1 02-23-2010 09:49 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration