Re: How to configure fastcgi with httpd?

2024-09-01 Thread Sadeep Madurange
omain socket, you have to put it somewhere > > inside the /var/www chroot; for example > > /var/www/run//fcgi.sock and then instructs httpd to talk > > to it > > > > fastcgi { > > # note that this is relative to the /var/www chroot > > socket "/run//fcgi.sock" > > } That worked! Thank you all very much for the help. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

How to configure fastcgi with httpd?

2024-08-31 Thread Sadeep Madurange
500 internal server error. Not sure what I'm doing wrong, so any help is much appreciated. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Program Arduino Due on OpenBSD?

2024-08-23 Thread Sadeep Madurange
On 2024-08-22 16:12:04, Joseph Olatt wrote: > On Thu, Aug 22, 2024 at 04:23:23PM +0800, Sadeep Madurange wrote: > > Has anyone programmed Arduino Due (ARM Cortex M3 processor) on > > OpenBSD? I compiled the program using the following commands. I'm > > wondering how t

Program Arduino Due on OpenBSD?

2024-08-22 Thread Sadeep Madurange
xt -j .data a.elf a.hex -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: avrdude can't find usbasp

2024-08-10 Thread Sadeep Madurange
On 2024-08-11 00:51:31, kodcode wrote: > Please try to run your command as root. > (I don't need to specify the port with -P) > > On Sat, Aug 03, 2024 at 09:06:33PM +0800, Sadeep Madurange wrote: > > On 2024-08-03 15:39:14, Sadeep Madurange wrote: > > > I'

Re: avrdude can't find usbasp

2024-08-03 Thread Sadeep Madurange
On 2024-08-03 15:39:14, Sadeep Madurange wrote: > I'm trying to flash a atmega328p using avrdude using > > avrdude -p atmega328p -c usbasp -P /dev/cuaU0 -D -U > flash:w:blink.ihex:i > > The command fails with error > > avrdude: error: could not find USB device with

avrdude can't find usbasp

2024-08-03 Thread Sadeep Madurange
uct 0x0043" rev 1.10/0.01 addr 7 umodem0: data interface 1, has no CM over data, has break umodem0: status change notification available ucom0 at umodem0: usb0.0.4.1 ucom0 detached umodem0 detached ugen3 at uhub0 port 4 "www.fischl.de USBasp" rev 1.10/1.04 addr 7 u

Re: Copying files from an Android phone

2024-07-03 Thread Sadeep Madurange
> files into my OpenBSD machine using an FTP client. > > FTP Server is available for Android in FDROID, I think. > > Sadeep Madurange wrote: > > > > I'm trying to backup some files (~1000 photos and two short videos, > > in total about 3GB) from an Android

Copying files from an Android phone

2024-07-02 Thread Sadeep Madurange
Hello, I'm trying to backup some files (~1000 photos and two short videos, in total about 3GB) from an Android phone to OpenBSD. In the past I used Android file transfer (MTP) client. I couldn't find it on OpenBSD. What's the best way to achieve this? -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: How to assign apps to cwm groups?

2024-05-23 Thread Sadeep Madurange
On 2024-05-23 22:07:27, Sadeep Madurange wrote: > I'm trying to assign xterm to group 1 and firefox to group 2. Then, > I'd like to only see a specific group at any given time. > > After logging in, I start xterm. Then I start firefox. Problem is > firefox opens right

How to assign apps to cwm groups?

2024-05-23 Thread Sadeep Madurange
quit" bind-key 4S-q "window-close" bind-key 4-1 "group-only-1" bind-key 4-2 "group-only-2" bind-key 4-3 "group-only-3" # Groups autogroup 1 "xterm,XTerm" autogroup 2 "Firefox" # Mouse bindings bind-mouse M-2 window-lower bind-mouse M-3 window-resize -- Sadeep Madurange PGP: 103BF9E3E750BF7E

How to use the tun0 interface (VPN)?

2024-05-09 Thread Sadeep Madurange
9c:53:22:fc:16:20 UHLch 2 771 - 7 iwx0 192.168.0.14 d8:3b:bf:b5:ea:b9 UHLl 019244 - 1 iwx0 192.168.0.255 192.168.0.14 UHb0 32 - 1 iwx0 -- Sadeep Madurange PGP: 103BF9E3E750BF7E

How to use the tun0 interface (VPN)?

2024-05-09 Thread Sadeep Madurange
2:fc:16:20 UHLch 2 771 - 7 iwx0 192.168.0.14 d8:3b:bf:b5:ea:b9 UHLl 019244 - 1 iwx0 192.168.0.255 192.168.0.14 UHb0 32 - 1 iwx0 -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: How to exit cu?

2024-03-28 Thread Sadeep Madurange
On 2024-03-29 14:56:08, jslee wrote: > On Fri, 29 Mar 2024, at 14:18, Sadeep Madurange wrote: > > I opened a serial terminal using 'cu -l cuaU0 -s 115200', but can't > > exit > > Enter > ~ > . > > Try that > > (It also works for OpenSSH

Re: How to exit cu?

2024-03-28 Thread Sadeep Madurange
On 2024-03-29 15:18:26, jslee wrote: > On Fri, 29 Mar 2024, at 15:09, Sadeep Madurange wrote: > > Same problem: 'Local file?' prompt. I typed it by pressing down on > > Enter, let go of Enter, while pressing down on Shift, pressed ` key > > (for ~) and the . ke

Re: How to exit cu?

2024-03-28 Thread Sadeep Madurange
On 2024-03-29 14:56:08, jslee wrote: > On Fri, 29 Mar 2024, at 14:18, Sadeep Madurange wrote: > > I opened a serial terminal using 'cu -l cuaU0 -s 115200', but can't > > exit > > Enter > ~ > . > > Try that Same problem: 'Local file?' pro

How to exit cu?

2024-03-28 Thread Sadeep Madurange
+ ~ + Ctrl + d If I type 'Shift + ~ + .', I get 'Local file?' prompt, but regardless of what I type (e.g., Ctrl+C, Ctrl+D, Ctrl+]), it just goes back to serial terminal emulator. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-25 Thread Sadeep Madurange
; > With a bit of NFS or sshfs or something to share the files, and > running esptool over ssh (maybe write a dummy esptool script in the > guest to ssh and run from the host) it could be pretty well > integrated. Indeed, you're right. Thanks for the idea! -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-24 Thread Sadeep Madurange
On 2024-03-24 10:51:51, Stuart Henderson wrote: > On 2024-03-24, Sadeep Madurange wrote: > > On 2024-03-24 09:43:07, Stuart Henderson wrote: > >> Any particular reason to not just run esptool on OpenBSD? It's in > >> packages.. > > > > Unfortunately, th

Re: Camera or mic works on video calls, but not both

2024-03-24 Thread Sadeep Madurange
On 2024-03-24 10:44:07, Kirill A. Korinsky wrote: > On Sun, 24 Mar 2024 02:45:16 +0100, > Sadeep Madurange wrote: > > > > Then I tried Zoom on firefox (doesn't work with chromium at all). I > > can both see and hear the other party. They can hear me, but can't &g

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-24 Thread Sadeep Madurange
On 2024-03-24 09:43:07, Stuart Henderson wrote: > On 2024-03-17, Sadeep Madurange wrote: > > I set up a Linux VM on OpenBSD hoping to flash ESP32 programs from > > the Linux VM. However when I plug the MCU in, I can't see it in the > > /dev directory. > > Any p

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-23 Thread Sadeep Madurange
/python_env/idf5.2_py3.11_env/lib/python3.11/site-packages/esptool/reset.py", line 48, in _setDTRandRTS "I", fcntl.ioctl(self.port.fileno(), TIOCMGET, struct.pack("I", 0)) ^^ OSError: [Errno 25] Inappropriate ioctl for device -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Camera or mic works on video calls, but not both

2024-03-23 Thread Sadeep Madurange
d1b drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:116:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwx0: hw rev 0x350, fw 77.2df8986f.0, address d8:3b:bf:b5:ea:b9 ### AML PARSE ERROR (0x279a7): Undefined name: \\_SB_.PCI0.RP09.PEGP.NVDN error evaluating: \\_SB_.PCI0.LPCB.EC__._Q26 -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Mutt shows ? in place of spaces

2024-03-23 Thread Sadeep Madurange
On 2024-03-23 13:51:35, Stuart Henderson wrote: > On 2024-03-23, Sadeep Madurange wrote: > > I see a bunch of question marks instead of spaces (0x20 in ASCII) in > > some emails when viewed in mutt. This happens with emails that > > contains patches, output of commands like i

Mutt shows ? in place of spaces

2024-03-23 Thread Sadeep Madurange
ma 5.27.10 Krita 5.2.2 LLVM/Clang 13.0.0, 16.0.6 and 17.0.6 ???? LibreOffice 24.2.1.2 - End forwarded message - -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Trying to access /dev/ttyUSB0 device from VM

2024-03-17 Thread Sadeep Madurange
to do, e.g., when I start the VM? -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Ctrl+A shortcut not working on the browser

2024-03-16 Thread Sadeep Madurange
tings.ini. > > In an empty settings.ini, it looks like this: > [Settings] > gtk-key-theme-name = "default" That was it! Ctrl+A is working now. Thank you very much! -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Ctrl+A shortcut not working on the browser

2024-03-16 Thread Sadeep Madurange
Hello, I can't use Ctrl+A keys on input elements of Firefox and web pages (e.g., address bar, search bar of search engines)to do a "select all". However, I can select all content of web pages using Ctrl+A. Any ideas what's causing this? -- Sadeep Madurange PGP: 103BF9E3E750BF7E

MCU recommendations to program on OpenBSD?

2024-03-03 Thread Sadeep Madurange
orted by OpenBSD? -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Block HTTP requests from non-browser clients

2024-02-21 Thread Sadeep Madurange
or example, pf to block such requests completely rather than responding with a 403. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: How to set up dev environment for ESP32 MCUs?

2024-02-15 Thread Sadeep Madurange
Hi David, On 2024-02-14 21:43:02, David Demelier wrote: > On Sun, 2024-02-11 at 13:32 +0800, Sadeep Madurange wrote: > > Has anyone set up the ESP-IDF for programming ESP32 MCUs? > > > > Should I install dependencies like libmpc using pkg_add, and then > > install th

How to set up dev environment for ESP32 MCUs?

2024-02-10 Thread Sadeep Madurange
direction by someone doing ESP32 dev on OpenBSD. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

Re: Unable to connect to WiFi on new OpenBSD installation

2024-02-03 Thread Sadeep Madurange
On Sat, 3 Feb 2024 11:23:44 +0100, Stefan Sperling wrote: > On Sat, Feb 03, 2024 at 10:57:37AM +0100, Stefan Sperling wrote: > > On Sat, Feb 03, 2024 at 07:26:33AM +0100, Sadeep Madurange wrote: > > > I installed OpenBSD on a T490. I can't connect to WiFi. I'm not sur

Unable to connect to WiFi on new OpenBSD installation

2024-02-02 Thread Sadeep Madurange
Hello, I installed OpenBSD on a T490. I can't connect to WiFi. I'm not sure if it's because the device is not supported. In the dmesg I see the following line: "Intel Wi-Fi 6 AX201" rev 0x00 at pci0 dev 20 function 3 not configured I ran fw_update, and I can see the iwx-* files under /etc/firmw