New answers tagged

2 votes
Accepted

Optimal scheduler for a raspberrypi only running dnsmasq

the scheduler has no influence on the amount of IO usage your SD card sees. So, that doesn't matter at all – you should just stay with the default. What does matter is whether you write logs to SD ...
Marcus Müller's user avatar
1 vote

Setting PIN code for ZTE USB 4G Modem recognized as CDC Ethernet device in Linux

Apparently this device is more like a small router in USB stick form rather than a traditional USB modem. The only available documentation on the internet for it seems to be a simplistic "quick ...
telcoM's user avatar
  • 94.6k
1 vote
Accepted

USB 4G Modem Not Detected on Raspberry Pi with NetworkManager

Information found in arch-linux wiki: You need the usb-modeswitch package to be installed and the cdc_ether kernel module to be loaded: sudo apt install usb-modeswitch sudo modprobe -v cdc_ether
GAD3R's user avatar
  • 66.3k
1 vote

USB 4G Modem Not Detected on Raspberry Pi with NetworkManager

Look at the output of lspci -k and check if a kernel module is loaded for that device. The hardware support for wireless hardare on RPi is spotty and I had to compile my own kernel modules a few times ...
spoutnik's user avatar
0 votes

Reading keystrokes in C on Linux seems slow and some strokes are missed

Thanks for all your help I found that the line: if ((rd = read(fevdev, ev, size * 64)) < size) { ...was causing the problem. I was using an example of how to use input events from the internet and ...
James Mason's user avatar
0 votes
Accepted

Modem dropped in Raspberry Pi3 and I can find it anymore, despite it is visible with lsusb

You could try resetting the modem with usbreset when you detect it is no longer working. Something like this: ping -q -c 1 1.1.1.1 || usbreset 1bc7:1201 This example sends a ping request to 1.1.1.1 ...
Eduardo Trápani's user avatar
1 vote

How to monitor data usage by each device on a hotspot?

First you need a way to identify your devices so you'll know which is which. Some newer mobile devices will randomize their MAC address for privacy reasons, unless you specifically configure them to ...
telcoM's user avatar
  • 94.6k
0 votes
Accepted

How to connect an ethernet device with an AP and reach the AP's client's from the ethernet's client?

Indeed, there are nftables rules allowing only the right sources from ap0 to itself or to outside (which is then dropped by the additional iptables-nft rule when using wlan0). In particular this rule ...
A.B's user avatar
  • 35.4k

Top 50 recent answers are included