Go to advanced search

by jj_0
Sat Oct 12, 2019 1:56 pm
Forum: Beginners
Topic: Second Gigabit for PI 4B
Replies: 7
Views: 1335

Re: Second Gigabit for PI 4B

The USB C port on the Pi 4 is strictly a client port (device-only) at USB 2.0 speed No, it can run in Host or Device mode. See https://www.raspberrypi.org/documentation/hardware/raspberrypi/usb/README.md#overview_pi4 That says that it is intended to run in Client mode. Not that it can only run in t...
by jj_0
Sat Oct 12, 2019 12:23 pm
Forum: Beginners
Topic: Second Gigabit for PI 4B
Replies: 7
Views: 1335

Re: Second Gigabit for PI 4B

The USB C port on the Pi 4 is strictly a client port (device-only) at USB 2.0 speed. So you can't use it to connect a USB device, you can only use it to connect to a USB host and let the Pi act as e.g. serial device, ethernet device, mass storage device, MTP device or a combination of those. See htt...
by jj_0
Wed Oct 09, 2019 6:43 am
Forum: Beginners
Topic: Raspberry pi doesn't get ip while ssh is enabled
Replies: 8
Views: 458

Re: Raspberry pi doesn't get ip while ssh is enabled

With the standard configuration the Pi expects to get an IP address via DHCP. Windows 10 also expects to get an IP address via DHCP. So if you connect them together on the ethernet ports they are both going to 'ask for' an IP address but thete's no router providing an answer. So you'd need to either...
by jj_0
Tue Oct 08, 2019 6:17 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 5642

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Or use an USB 3.0 HDMI capture device , slightly cheaper (at the time of writing at €55) and supports 1920x1080@60fps. I have this at home, haven't connected to to an RPI yet but it works fine on my Linux laptop. Allegedly also supports 4K but I've only used it at 1920x1080@60fps. Hey, thanks. Can ...
by jj_0
Tue Oct 08, 2019 3:07 pm
Forum: Media centres
Topic: Raspberry Pi as HDMI wireless transmitter/receiver?
Replies: 15
Views: 5642

Re: Raspberry Pi as HDMI wireless transmitter/receiver?

Or use an USB 3.0 HDMI capture device, slightly cheaper (at the time of writing at €55) and supports 1920x1080@60fps.

I have this at home, haven't connected to to an RPI yet but it works fine on my Linux laptop.
Allegedly also supports 4K but I've only used it at 1920x1080@60fps.
by jj_0
Fri Oct 04, 2019 3:42 am
Forum: Beginners
Topic: Step-by-step method configuring the Ethernet USB adapter
Replies: 10
Views: 597

Re: Step-by-step method configuring the Ethernet USB adapter

Do you expect the workstation to have full access to the same ethernet network as the Pi is on? In that case you would need to bridge the Pi's ethernet port and the USB ethernet port on the Pi that's created by using the USB ethernet adapter. Maybe this link will help. If you want to use the Pi to f...
by jj_0
Thu Oct 03, 2019 9:32 am
Forum: Advanced users
Topic: Is There Some Workaround for Mini Wireless Keyboards that Don't Have a [Del] Key?
Replies: 8
Views: 524

Re: Is There Some Workaround for Mini Wireless Keyboards that Don't Have a [Del] Key?

pcmanbob wrote:
Thu Oct 03, 2019 8:45 am
It does have a delete key , as indicated by the yellow arrow

Image
Would that not be the backspace key? Unless it's DEL in combination with the FN key.
by jj_0
Thu Oct 03, 2019 5:02 am
Forum: Troubleshooting
Topic: Ligin issue
Replies: 2
Views: 131

Re: Ligin issue

Starting with a fresh install would be the best option. But if you have another PC then you can put the Pi's sdcard in it an edit the /etc/shadow file on the Pi's root filesystem, and remove the long encrypted password string.
by jj_0
Tue Oct 01, 2019 7:09 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 4039

Re: Raspbian refuses to use Swap Space

Sorry, that's as far as I can imagine.
by jj_0
Tue Oct 01, 2019 6:14 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 4039

Re: Raspbian refuses to use Swap Space

Hmmm. Can you show the output of:

Code: Select all

 systemctl status dphys-swapfile

Maybe you need to remove the entries you put in fstab?
by jj_0
Tue Oct 01, 2019 5:52 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 4039

Re: Raspbian refuses to use Swap Space

Raspbian uses a different mechanism for configuring the swapfile.
by jj_0
Tue Oct 01, 2019 4:56 am
Forum: Troubleshooting
Topic: My Pi 4 Forces 4K When Desired Output is 1080p
Replies: 7
Views: 2778

Re: My Pi 4 Forces 4K When Desired Output is 1080p

Nintendies wrote:
Mon Sep 30, 2019 11:02 pm
jj_0 wrote:
Mon Sep 30, 2019 8:23 pm
I had some weird results setting a hdmi mode in config.txt on my Pi 4. But after setting the resolution in the 'Screen Configuration Tool' (which I believe is 'arandr' in th CLI) it worked fine.
That seems to have worked, thank you!
You're welcome :)
by jj_0
Mon Sep 30, 2019 8:23 pm
Forum: Troubleshooting
Topic: My Pi 4 Forces 4K When Desired Output is 1080p
Replies: 7
Views: 2778

Re: My Pi 4 Forces 4K When Desired Output is 1080p

I had some weird results setting a hdmi mode in config.txt on my Pi 4. But after setting the resolution in the 'Screen Configuration Tool' (which I believe is 'arandr' in th CLI) it worked fine.
by jj_0
Sun Sep 22, 2019 11:07 am
Forum: Python
Topic: Read serial port using pyserial problem
Replies: 23
Views: 4069

Re: Read serial port using pyserial problem

That's the worst/mozt mysterious kind of problem to have. Glad you managed to figure it out.
by jj_0
Sat Sep 21, 2019 10:01 am
Forum: Beginners
Topic: Get MAC address of USB WiFi adapter
Replies: 12
Views: 796

Re: Get MAC address of USB WiFi adapter

It looks like the MAC address of the ethernet interface is passed as a kernel parameter (smsc95xx.macaddr), so with some additional parsing you could get the OUI from there so you don't need to know what Pi you're on: pi@rpi4b-2:~ $ cat /proc/cmdline coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M...
by jj_0
Fri Sep 20, 2019 9:02 am
Forum: Beginners
Topic: Get MAC address of USB WiFi adapter
Replies: 12
Views: 796

Re: Get MAC address of USB WiFi adapter

My Pi4 has a Mac address beginning DC:A6:32. It's apparently the same for Ethernet and WiFi too. (Is that possible?) My older models all have B8:27:EB WiFi. That's also Raspberry Pi assigned: https://maclookup.app/macaddress/DCA632&ved=2ahUKEwjuxp3GhN_kAhUFblAKHachCYAQFjAAegQIAhAB&usg=AOvVaw0Va8uhf...
by jj_0
Fri Sep 20, 2019 7:13 am
Forum: Beginners
Topic: Get MAC address of USB WiFi adapter
Replies: 12
Views: 796

Re: Get MAC address of USB WiFi adapter

If I remember correctly the onboard WiFi will have a MAC address that is similar (but not the same) as the onboard ethernet interface. You could also check dmesg to see what interface name is assigned to the USB wifi adapter. Also, if you have not switched off predicable interface naming, it should ...
by jj_0
Fri Sep 20, 2019 6:38 am
Forum: Python
Topic: Read serial port using pyserial problem
Replies: 23
Views: 4069

Re: Read serial port using pyserial problem

First of all my compliments on what you've already tried, especially the simultaneous connect to various RX options, I have to remember that trick. Do you have different USB2serial converters that you could try out? Also, when the serial data stops does it restart if you send something 'back' from t...
by jj_0
Thu Sep 19, 2019 10:39 am
Forum: Networking and servers
Topic: How to use a fixed MAC address for usb tethering device?
Replies: 5
Views: 600

Re: How to use a fixed MAC address for usb tethering device?

See https://www.raspberrypi.org/forums/viewtopic.php?t=171791 :D Thanks for reply, but the thing is different, this artile is about how to make fixed mac address for Raspberry device, but my question is how to make fixed mac address for plugged usb device(Such as android). I think it describes how ...
by jj_0
Wed Sep 11, 2019 1:45 pm
Forum: Other
Topic: [Kali] cant SSH into via usb cable
Replies: 11
Views: 2625

Re: [Kali] cant SSH into via usb cable

Doest the usb gadget interface on your PC have an ip address?
by jj_0
Tue Sep 10, 2019 7:54 am
Forum: Other
Topic: [Kali] cant SSH into via usb cable
Replies: 11
Views: 2625

Re: RPi0w cant SSH into via usb cable

Can you ping the raspberrypi.local address?
Did you enable an ssh server on the Pi?
by jj_0
Tue Sep 10, 2019 5:10 am
Forum: Advanced users
Topic: Obtain CPU Temperature in Kernel
Replies: 14
Views: 1307

Re: Obtain CPU Temperature in Kernel

https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/thermal/broadcom/bcm2835_thermal.c is the thermal driver for BCM2835. A naive question, why do we need to get the temperature by a drive? why can't we get access to the on-chip thermal sensor or the register directly? Unix/Linux philosoph...
by jj_0
Mon Sep 09, 2019 10:02 am
Forum: Beginners
Topic: Virtulization on Raspbian.
Replies: 4
Views: 348

Re: Virtulization on Raspbian.

Or systemd-nspawn which is quite easy to set up and use.

Go to advanced search