r/plan9

▲ 18 r/plan9

how to access 9front home dir from linux?

I have files on my 9front machine that i would like to access from my linux machine for inclusion with my regular backup, and am unsure how to accomplish this.

I have no internet at home and no router. i've just connected both machines with an ethernet cable. I can successfully ping each from the other, but do not know which commands to run from that point. i am a programmer, but am not familiar with networking, really, and am quite new to plan9

9front machine:

user: glenda

ip: 192.168.50.1

service: terminal

fs: gefs

linux machine:

pop_os 22.04

ip: 192.168.50.2

i am assuming the linux side will use "mount -t 9p". any advice will be greatly appreciated. if i need to provide more info, please do let me know

UPDATE: got files transferred using drawterm for now, but def doesn't seem like a long term solution. I will be exploring all other suggested options over time. thanks all

reddit.com
u/just_wondering_idk — 2 days ago
▲ 48 r/plan9

Writing a display, keyboard and audio driver for 9front uConsole ?

Hello everyone,

A few weeks ago I had made a post (with the same mockup) asking if it was possbile to run 9front on the clockworkpi uConsole, given that it is built around a Raspberry Pi 4 . I managed to flash the image, but as expected nothing happened.

The uConsole needs a specific variety of drivers to work with, both for the display, the keyboard and the speakers. Are there references to write a driver in Plan9 / 9front C ?

u/Any-Fox-1822 — 8 days ago
▲ 12 r/plan9

How to link ANSI C and Plan9 C code together ?

I'm trying to use an ANSI C library (picohttpparser) in a Plan 9 C project (i.e. main function is implemented in Plan9 C). The output of mk is below:

7c -FTVw main.c
pcc -c picohttpparser.c
7l  -o 7.out main.7 picohttpparser.7
_callmain: redefinition: _callmain
(555)	TEXT	_callmain+0(SB),R1,$296
mk: 7l  -o ...  : exit status=7l 17932: error

How should I go about resolving this ?

EDIT: Used NPE, and it now just works without pcc.

Thanks!

reddit.com
u/ArcTanDeUno — 11 days ago
▲ 10 r/plan9

how to make /dev/audio work?

Hello, im running 9front on qemu(-audio pipewire,model=ac97) and i have a problem that even if i enable -audio, /dev/audio doesn't appear. I don't know what the reason of that behavior, but maybe i compiled qemu wrong of sum

reddit.com
u/snchart — 11 days ago