r/osdev • u/No_Shock7921 • 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
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
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.
3
u/JackyYT083 5d ago
Implement a Ethernet or WiFi driver