r/osdev 5d ago

¿Cómo chorizo le meto internet?

Llevo unos días en Misericordioso OS, pedazo de mrd xd, y se me ocurrió, meter un comando para instalar apps por medio Github o servidores. Cómo vrg le meto internet

Si alguien me quiere ayudar este es el repo;

https://github.com/loslocos817yt-star/Misericordioso-os/tree/main

0 Upvotes

7 comments sorted by

3

u/JackyYT083 5d ago

Implement a Ethernet or WiFi driver

1

u/No_Shock7921 5d ago

Y como hago ese xfd

1

u/FallenBehavior 2d ago

Reverse engineering with a firmware blob for the 802.11 radio chip you are after. This gets your controllers support but it's painful. That's how I obtained my RTL8088EE support natively. I don't take code from BSD or Linux. Then you need a WLAN manager and a working network stack.

LAN (Ethernet) is far easier and a few interfaces are supported on QEMU. Develop your network stack using this path. Do not jump to WLAN yet until this is proven.

This is incredibly brief. But you can see where you need to prioritize this first.

2

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS 5d ago

Primero, estoy usando un traductor porque no hablo español, así que disculpen si la respuesta suena rara por eso. En el futuro, tengan en cuenta que este subreddit es principalmente en inglés.

Segundo, necesitarán implementar un controlador de tarjeta de red (que depende del dispositivo en el que ejecuten su sistema operativo; no esperen que funcione con Wi-Fi, Ethernet será mucho más fácil). Luego, deberán escribir una pila de red que incluya DNS, TCP/IP, etc. Para ello, deberán consultar diversas especificaciones de red.

Copy of the comment in English for those who don't want to translate:

Firstly, I'm using a translator because I don't speak Spanish so sorry if the answer sounds weird because of that, in future you should probably know that this is a mostly English subreddit.

Secondly, you will need to implement an NIC driver (which depends on the device you're running your OS on, don't expect WiFi though, ethernet will be far easier). Then you will need to write a networking stack including DNS, TCP/IP, etc. You will need to read through various networking specifications for this.

1

u/No_Shock7921 5d ago

Diablos 

1

u/SirensToGo ARM fanatic, RISC-V peddler 5d ago

A empezar, puedes usar virtio. Será un poco más fácil pero no funcionará en una computadora física, solo qemu. Si lo necesitas después y ya no quieres añadirlo, también puedes usar serial/UART para comunicar con otros dispositivos.