Re: [9fans] Perhaps someone can give me an advice ...

2022-03-19 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
ibrahim via 9fans writes:

> While on wait I'm intending to port the freebsd bluetooth stack (netgraph) =
> to plan9. I would be surprised if no one started such a project till now so=
>  if someone shares this goal I would be interested in a cooperative work.=20

Huh. I'd never thought about looking at that ng code as the basis for a
port.  I wouldn't have thought it's even close to being a natural port,
but my netgraph experience is rather limited ...

Bluetooth (and BLE) support woould be *very* nice to have.  It would be
really slick to get my Moolitpass MiniBLE working with factotum.  This
has been on my todo list for a while now, using USB to connect.  I need
to do USB anyway to support the older versions of the authenticator
hardware.

--lyndon

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-M632ad53f8b0181d6cbd89e8e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-19 Thread ibrahim via 9fans
On Friday, 18 March 2022, at 9:07 PM, sirjofri wrote:
> If someone does some work on native 9p stuff for android I'd really love 
some apk. I'm not an android dev, only did very few things on android 
programming-wise.

After testing smb, ftpd and httpd approaches for my current problem I decided 
to use the ftpd and httpd solutions. The httpd solution combined with a uplaod 
html page which contains javascript using the file and xmlhttprequest api works 
on both android and ios without any needs for supplementary apps as long as 
scripting isn't restricted. The ftpd and smb approach also works but makes 
additional apps on the user phone necessary while most of those apps are freely 
available (also perhaps potentially dangerous for the users). 

While for my project there are no benefits doing this its possible to write a 
9p fileserver in javascript only relying on the file and xmlhttprequest using 
html and the js file. It would temporarily make a 9p filesystem available on 
the plan9 side but I'm sure the connection will be closed unexpectedly by the 
browsers on the phone side so this will cause more problems than bring 
benefits. For my project using ftpd and httpd suffice cause my users can now 
transfer data directly to plan9 with tools available for android and ios. 

Instead of opening a new thread : I'm interested in low budget thin client 
solutions with plan9 as an intranet server which than connects to a web server 
for data exchange. 

Currently I have tested my approch on :

Fujitsu S900, Lenovo M32, Igel M340. I didn't get my hands on a HP 610 or 
Fujitsu S920 perhaps someone already tried this and can share his experience. 

Also I prepare a list of low budget USB WLan Sticks which are supported by 
9legacy and 9front enhancements. Currently I mastered support for sticks with 
Realtek RT 8188. I ordered about 20 different models with different chipsets 
for testing and adjusting the drivers. If somebody knows about other chipsets 
working with 9legacy or 9front just telling what works would be nice.

While on wait I'm intending to port the freebsd bluetooth stack (netgraph) to 
plan9. I would be surprised if no one started such a project till now so if 
someone shares this goal I would be interested in a cooperative work. 

Thanks for replies ...

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-Mab42e1f39d27c1ac16d3a01d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-18 Thread sirjofri

Hey,

If someone does some work on native 9p stuff for android I'd really love 
some apk. I'm not an android dev, only did very few things on android 
programming-wise.


Thanks for starting this thread.

sirjofri

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-Me110548929bb1d7c33ce02ae
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-18 Thread Skip Tavakkolian
My memory seems to be faulty. David du Colombier is the original
author of styxbrowser.
I thought Tim did the work, but the check-ins show djc and here's
David's comment on 9fans regarding this code:

https://groups.google.com/g/comp.os.plan9/c/XPIrNsPoRa0/m/F5IcwjgYOPkJ

Sorry about any confusion.

On Thu, Mar 17, 2022 at 11:53 AM Skip Tavakkolian
 wrote:
>
> For android, you could try to resurrect previous work by Tim Newsham
> based on Charles Forsyth's styx Java implementation:
> https://github.com/9nut/styxbrowser/tree/5ed22a9238d7333ff38bc2646aeee2b2f3501136
>
> On Wed, Mar 16, 2022 at 9:37 PM ibrahim via 9fans <9fans@9fans.net> wrote:
> >
> > 1. My problem :
> >
> > I need a way to exchange images, videos and audio with smartphones, 
> > tabletts and usual computers which reside on the same wlan-router.
> >
> > 2. My solutions :
> >
> > All my solutions have in common that I used qr to generate a qr code which 
> > consists of the ip-adress and port on which to connect to plan9 running in 
> > qemu, 9vx or natively.
> >
> > 2.1. httpd
> >
> > I designed a web page which uses  and XMLHttpRequest 
> > inside a script. This makes it possible to select files and transfer them 
> > to plan9. The solution works in chrome and firefox while safari sometimes 
> > causes problems due to the hard coded ip address.
> >
> > 2.2. ftpd
> >
> > I started a ftp server on plan9 which can be used by ftp clients from 
> > mobile devices which have a client app installed and this also works.
> >
> > 3. My question :
> >
> > Do you have any other suggestions how to solve this problem without making 
> > it necessary to write apps for the mobile device by only relying on 
> > standard protocols. Does anybody have any ideas or experience ? Would 
> > websockets be a better solution ?
> >
> > Thanks in advance.
> >
> > 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-M0773a4457ce38416562dbcc1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-17 Thread ibrahim via 9fans
On Friday, 18 March 2022, at 12:19 AM, sirjofri wrote:
> I personally use cifsd (on 9front) and on android totalcommander+smb 
extension. It works perfectly fine without any issues across all my 
android devices. I share some of the files with other users via tcp80 
(behind tlssrv as https).

I'm using totalcommander with ftp extension and didn't try smb. Thanks for the 
hint I'll give it a try.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-Md2fdb49288dd54d9d4a7e16e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-17 Thread ibrahim via 9fans
On Thursday, 17 March 2022, at 7:53 PM, Skip Tavakkolian wrote:
> For android, you could try to resurrect previous work by Tim Newsham
based on Charles Forsyth's styx Java implementation:

Thanks for the tip but I'm looking for a solution where I don't have to provide 
code for android or ios. I want to use built in protocols from these devices 
perhaps by implementing the counterpart on plan9. ftp and http are working 
already but if someone knows other working protocols I would try them ...

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-M31bc71e711e44624e58006cc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-17 Thread sirjofri

Hey,

I personally use cifsd (on 9front) and on android totalcommander+smb 
extension. It works perfectly fine without any issues across all my 
android devices. I share some of the files with other users via tcp80 
(behind tlssrv as https).


On windows I use drawterm for file transfer, but that's no comparison.

sirjofri

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-Mfff0014eef85589f7b3671b2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Perhaps someone can give me an advice ...

2022-03-17 Thread Skip Tavakkolian
For android, you could try to resurrect previous work by Tim Newsham
based on Charles Forsyth's styx Java implementation:
https://github.com/9nut/styxbrowser/tree/5ed22a9238d7333ff38bc2646aeee2b2f3501136

On Wed, Mar 16, 2022 at 9:37 PM ibrahim via 9fans <9fans@9fans.net> wrote:
>
> 1. My problem :
>
> I need a way to exchange images, videos and audio with smartphones, tabletts 
> and usual computers which reside on the same wlan-router.
>
> 2. My solutions :
>
> All my solutions have in common that I used qr to generate a qr code which 
> consists of the ip-adress and port on which to connect to plan9 running in 
> qemu, 9vx or natively.
>
> 2.1. httpd
>
> I designed a web page which uses  and XMLHttpRequest 
> inside a script. This makes it possible to select files and transfer them to 
> plan9. The solution works in chrome and firefox while safari sometimes causes 
> problems due to the hard coded ip address.
>
> 2.2. ftpd
>
> I started a ftp server on plan9 which can be used by ftp clients from mobile 
> devices which have a client app installed and this also works.
>
> 3. My question :
>
> Do you have any other suggestions how to solve this problem without making it 
> necessary to write apps for the mobile device by only relying on standard 
> protocols. Does anybody have any ideas or experience ? Would websockets be a 
> better solution ?
>
> Thanks in advance.
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-Med820fa4842418a9262836ec
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] Perhaps someone can give me an advice ...

2022-03-16 Thread ibrahim via 9fans
1. My problem :

I need a way to exchange images, videos and audio with smartphones, tabletts 
and usual computers which reside on the same wlan-router.

2. My solutions :

All my solutions have in common that I used qr to generate a qr code which 
consists of the ip-adress and port on which to connect to plan9 running in 
qemu, 9vx or natively.

2.1. httpd

I designed a web page which uses  and XMLHttpRequest 
inside a script. This makes it possible to select files and transfer them to 
plan9. The solution works in chrome and firefox while safari sometimes causes 
problems due to the hard coded ip address.

2.2. ftpd

I started a ftp server on plan9 which can be used by ftp clients from mobile 
devices which have a client app installed and this also works. 

3. My question :

Do you have any other suggestions how to solve this problem without making it 
necessary to write apps for the mobile device by only relying on standard 
protocols. Does anybody have any ideas or experience ? Would websockets be a 
better solution ?

Thanks in advance.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tdd262593f40f8018-M4cd5fc72ff668b0a39316036
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription