Comments (5)
Yes, you are right, KTCP cannot start without an available serial port to perform SLIP/CSLIP.
Indeed I won't add a serial device to the QEMU configuration, because I expect KTCP to be modified to switch to Ethernet at startup, and to only require the /dev/eth
device.
The SLIP and CSLIP protocols had value at the time of the serial modems, but now, almost all x86 embedded systems where ELKS could run have an Ethernet chip.
About the fixes in /fs, I am waiting a bit for Jody and Juan to respond to issue jbruchon#55, because despite their modifications brought some regression, they were also intended to fix some other problems (race condition...). So I expect the best mix to go forward.
from elks.
I would leave "-serial pty" in as long as ktcp has not been rewritten for eth0.
As you can see from my paper, I did extensive tests with slip and qemu. At the moment this is the only way to network with the host and works quite convenient since it is all done in software. I also do not like to use a cross-over cable, but to have a virtual cross-over cable between Qemu and the host is quite handy. My plan was to support both eth0 and slip simultaneously. This way you can test routing further.
Yes, the PCs will have an ethernet chip, but not necessarily a NE2000 card. It may be RTL or Intel or whatever - and PCI. So the NE2000 can usually only be used with Qemu too.
You can replace the three files with the versions Jody and Juan may come up with any time. But at the moment this will slow the development waiting for them to do it. I think one should base the development on a platform that works even if improvements are pending. At least I will.
from elks.
After a bit of thinking, I revised my opinion. Almost all embedded systems do have a serial port (typically a 3-wires TTL), not used for networking, but for debugging, especially on headless systems. So I will finally add the missing option as suggested.
from elks.
from elks.
Nice to see you are making progress on ktcp
part ! But please, for better project tracking, try to not mix the topics, and continue the discussion about serial / ethernet switch in the right issue : #10.
from elks.
Related Issues (20)
- /dev/eth HOT 1
- NE2K basic ethernet driver HOT 3
- Serial / Ethernet switch HOT 9
- ARP protocol HOT 49
- Basic IP routing HOT 2
- NE2K test program HOT 2
- DHCP tiny client HOT 1
- ETH test program HOT 3
- QEMU configuration for NE2K HOT 1
- [ne2k] Georg's feedback HOT 1
- Make network card visible on the host HOT 2
- Qemu script HOT 3
- Menuconfig HOT 3
- kill command working? HOT 2
- Move ne2k.h HOT 4
- [eth] Add ioctl() to get / set MAC address
- Telnet test HOT 1
- [romfs] Replace low-level routines by generic code
- Recover ongoing activities from upstream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elks.