Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

In Linux Mint 19.1 transferring large numbers of photos can easily be done by activating Developer Options, and the going into the Android phone 'Settings' 'Developer Options,' 'USB Configuration." Then choose PTP (Picture Transfer Protocol) instead of MTP. Now photos will transfer at lightning speed just using the file explorer.


0

Best solution and what worked better for me is to install adb from ubuntu package. This gives you a community-maintained default set of udev rules for all Android devices. example: sudo apt-get install adb


0

I've found that it only works for USB if I use the cable supplied with that device or a similar device. The USB cable from my defunct Samsung tablet works fine with my Android Onix replacement. The only thing that works for my phone is that cable that came with it. Other USB charging / transfer cables don't work or not fully: won't copy .mp3 files for ...


1

This is doable, both as an installed OS or 'Live OS'. YMMV. The best way to determine is to simply try it out. In the past, I had a company provided laptop that was quite powerful but crippled for off-network use by the security configurations. The system had an SDXC slot and I ran various Live *NIX distributions from a high-speed MicroSD card. I tried a ...


-1

Use live operating system to replace your corrupted boot folder


0

Android 8.0 ifconfig usb0 192.168.225.3 netmask 255.255.255.0 ndc network create 9792 ndc network interface add 9792 usb0 ndc network route add 9792 usb0 0.0.0.0/0 192.168.225.1 ndc resolver setnetdns 9792 8.8.8.8 8.8.4.4 ndc network default set 9792


0

What you are doing is creating a bridge on your host so that your network configuration looks something like this: LAN (192.168.1.0/24) ------------------------------ | br0 +----------------+ | enp0s20f0u1 | | | | wlp2s0 | +----------------+ However, when you ...


0

The accepted answer really didn't help me that much. I finally found out a way by probing the idProduct and idVendor if they exist. Here's a shell script #!/bin/bash { cd /sys/bus/usb/devices for i in *; do [ -e $i/idProduct ] && echo $(cat $i/idVendor $i/idProduct) $i done } Here's what I get on my system. $ ./script 0424 2514 1-3 ...


-1

go into developer mode and USB configuration and set MTP on


1

The command to remount the drive with execute allowed goes like sudo mount $THING -o remount,exec but with an apropriate value for $THING. You can use the device name, or the mount point.


0

modules.order is a file that is supposed to be located at /lib/modules/$(uname -r)/modules.order. It is normally generated by the depmod command, which should normally run as part of normal start-up if necessary. Please verify that the disk containing the /lib/modules directory is not 100% full; if necessary, try and find a way to free some space. Then run ...


0

You can extract an ISO to one of your HDD partition (be sure to format as FAT32), for example /dev/sda7, then use easyuefi to set a uefi boot item for this partition. When you boot from this partition, select graphic installation, it will ask you to install from a CD, then you can go to command-line mode by alt + ctrl + F2. then type mount /dev/sda7 /cdrom ...


0

Needed to implement a thing that would react on USB Flash Drive inserted (into autonomous BBB device) - to get device name, mount fs there, rsync stuff to it, unmount. To avoid whatever concurrency issues (i.e. multiple things screwing with device in parallel), proper error logging and other startup things, most obvious thing is to wrap the ...


0

1) USB devices can't be forwarded by X11. 2) USB devices can be used over the network e.g. by usbip. 3) There are various ways to use specific devices, like scanners, printers, or storage, over the network. 4) Your description looks like you are unclear on the terms "X11 server" and "X11 client". The X11 server usually runs on the machine that is ...


0

My answer suggesting to fork will no longer work with newer udev systems: RUN ... Starting daemons or other long running processes is not appropriate for udev; the forked processes, detached or not, will be unconditionally killed after the event handling has finished. You could use a generic systemd servive that wants your mount, the device is mounted, you ...


1

Assuming /home/pi/start.sh has a shebang (has #!/bin/sh on the very first line), sleep 5 on line number 2, and the execute bit set (chmod +x /home/pi/start.sh). Use setsid, it will fork, which means the script execution is performed in the background. The above sleep is there to give your system time to mount the USB device. Udev will not wait for the ...


0

I can't answer all of your questions, but perhaps this will be of some use: I use a Macbook mostly, and I also have a Raspberry Pi (RPi) which I operate in "headless" mode (i.e. no monitor or keyboard connected). I occasionally do Python development for the RPi, and in some instances it's useful to do code development with IDLE in the target environment. I ...


Top 50 recent answers are included