Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2022, 04:58 PM   #1
C.Bandicoot
Junior Member
C.Bandicoot began at the beginning.
 
C.Bandicoot's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2022
Device: K5 (Touch)
Finding usb port/interface name on Mac OSX

How do you find the usb interface name on MacOS?

I've been searching through lots of different docs here and been trying several commands from google but unfortunately so far with no success


Quote:
from Linux: ifconfig usb0 192.168.15.201 && ssh root@192.168.15.244
I'm trying to find the equivalent on the above line for Mac but usb0 doesn't exist and commands like
> ls /dev/tty*.*
show no related results. I have the device set-up in the Network settings and I can also connect to it via ssh if its connected via usb,
but as soon as I try to connect via ssh over wifi (after enabling that feature in KUAL) it asks me for a password which is not the password I set for the ssh key
C.Bandicoot is offline   Reply With Quote
Old 02-17-2022, 05:14 PM   #2
wishindo
Member
wishindo began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Oct 2021
Location: Florida, USA
Device: Kindle Keyboard w/ 3G (k3g), Likebook Mars (T80D)
Code:
usb0
isn't a tty, it's a network interface, so you are looking in the wrong place.
What's the output of
Code:
ifconfig
with the device plugged in?
wishindo is offline   Reply With Quote
Advert
Old 02-17-2022, 05:52 PM   #3
C.Bandicoot
Junior Member
C.Bandicoot began at the beginning.
 
C.Bandicoot's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2022
Device: K5 (Touch)
Quote:
Originally Posted by wishindo View Post
Code:
usb0
isn't a tty, it's a network interface, so you are looking in the wrong place.
What's the output of
Code:
ifconfig
with the device plugged in?
ifconfig returns the following (all with lots of other data of course)
lo0
gif0
stf0
en5
api1
en0
awdl0
llw0
en3
en4
en1
en2
bridge0
utun0
utun1
en7

of which en7 shows inet 192.168.15.1
which is the ip I set in network settings for the "RNDIS/Ethernet Gadget"

so maybe its that one?
C.Bandicoot is offline   Reply With Quote
Old 02-17-2022, 06:34 PM   #4
C.Bandicoot
Junior Member
C.Bandicoot began at the beginning.
 
C.Bandicoot's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2022
Device: K5 (Touch)
Update:
I was finally able to connect via ssh over wifi using the following command:
Quote:
ssh -i ~/.ssh/id_myprivatekeysname root@192.168.123.123
where myprivatekeysname is of course my private keys name and the ip address has to be of course, the actual ip address of your device which can be found in your router or with ;711 (in searchbar)

Just in case anyone else has this issue

But I didn't up or down any thing (with ifconfig or so)
it just worked now so I assume that the only issue was that my key might not be registered in my ssh-agent
C.Bandicoot is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface issues under Mac OSX Yosemite Vallora Calibre 2 12-11-2016 03:41 AM
PW1 lost PADs for serial port, but found signals near USB port uniqdom Kindle Developer's Corner 1 04-29-2015 08:45 AM
mac osx open assign ebook viewer to epub files mac osx asllearner Devices 4 09-13-2013 04:17 AM
Finding Calibre Interface on a MAC suee Library Management 1 07-05-2011 12:42 AM
FBReader OSX Port wallcraft Reading and Management 5 03-19-2009 09:41 AM


All times are GMT -4. The time now is 01:23 PM.


MobileRead.com is a privately owned, operated and funded community.