Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
2 user(s) are online (1 user(s) are browsing Forum)

Members: 1
Guests: 1

Kronos, more...

Browsing this Thread:   1 Anonymous Users





Again about Windows hosted and tap.device

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4358
Offline
Hi. I didn't surrender and I've tried (again) to make the network work under Windows hosted using tap.device: after all, if I find a "compatible" tap nic driver on Windows it should work as like as the Linux one (or am I missing anything?).

I configured the tap.device on AROS as like as I did on Linux hosted, giving the IP 192.168.166.2. I then installed a tap device for Windows I found in the openvpn package. More info about this here (scroll down, and you can download the driver separately as well):

https://openvpn.net/index.php/download/community-downloads.html

I gave the new interface the IP 192.168.166.1. I notice that Windows shows it in "disconnected cable" status.

When I run Icaros Desktop and AROSTCP brings up the interface, this message appears in the (Windows) console:

AROSTCP: OpenDevice: Device or unit failed to open

...and a ifconfig -a returns a 0.0.0.0 address for the first interface.

This puzzles me a little: considering that tap.device in DEVS/Networking is an AROS program, shouldn't it run even if the "outside" environment is not Linux, but Windows? Or have I completely missed some point?


Posted on: 3/2 6:15
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: Again about Windows hosted and tap.device

Joined:
2005/6/16 11:11
Group:
Member
Posts: 611
Offline
never really looked into tun/tap device emulation, but the tap.device is in "all-unix/devs/networks/tap" in the source tree.

So I assume, it is simply not there in the windows-hosted build. Would it be in all-hosted or all-mingw32, it would be built for windows hosted.

If it then works..

Posted on: 3/2 7:22
Transfer the post to other applications Transfer


Re: Again about Windows hosted and tap.device

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4358
Offline
Quote:

o1i wrote:
never really looked into tun/tap device emulation, but the tap.device is in "all-unix/devs/networks/tap" in the source tree.

So I assume, it is simply not there in the windows-hosted build. Would it be in all-hosted or all-mingw32, it would be built for windows hosted.

If it then works..


Hmmm. So I guess that some other component in Windows hosted (being it a kernel part or a library or so), which is present in Linux hosted, is missing. Otherwise the AROS hosted tap.device should do its work also in a different environment. I had some hopes that placing something in the Windows host environment to "listen" would be enough to start communication, but I was plain wrong. :(

Thanks anyway.

Posted on: 3/3 0:33
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: Again about Windows hosted and tap.device

Joined:
2016/8/16 0:09
Group:
Member
Posts: 314
Offline
Quote:

paolone wrote:

Hmmm. So I guess that some other component in Windows hosted (being it a kernel part or a library or so), which is present in Linux hosted, is missing.

Yes, tap.device is missing for window hosted.

Quote:

Otherwise the AROS hosted tap.device should do its work also in a different environment.

I had some hopes that placing something in the Windows host environment to "listen" would be enough to start communication, but I was plain wrong. :(

That is indeed wishful thinking because tap.device 'talks' to the host OS... so it is platform dependent.

see also here:
Quote:


README for tap.device
---------------------

tap.device is a SANA-II-compliant network driver that allows AROS running in
hosted environments to access the network via the host operating system
(currently Linux only).

This driver is early alpha. Its unfinished in places, and there are probably
several groovy bugs about.

Posted on: 3/3 1:22
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4358
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3892
4 nikolaos
nikolaos
3693
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2643
7 mazze
mazze
2214
8 clusteruk
clusteruk
2109
9 Kalamatee
Kalamatee
2024
10 damocles
damocles
1789
© 2004-2017 AROS Exec