Comments (4)
Thank you for reporting this bug.
We have switched the default Leda network setup to a DHCP-based setup for the ethernet interface, but the run-leda.sh script for qemu has not been updated properly yet.
As a workaround, until this is fixed, you may run a DHCP-daemon on your host, binding to the "tap0" interface (which is the one for qemu) - or manually configure the IP address once the system is booted.
If you are using user-level networking for qemu ("slirp"), qemu would provide the DHCP server already.
The network interface names, whether it is eth0 or enp0s2, is controlled by a kernel parameter. I'll have a look why this is different, but it should not make any difference. The problem is the missing DHCP server on the network or that Leda does not have a local fallback-IP configured in case that there is no DHCP server available.
from leda-distro.
Thanks @mikehaller, I don't want to deal with a local DHCP server, it is not appreciated by any company's IT :)
I did the following, and it fixes my problem
root@qemux86-64:~# ifconfig enp0s2 192.168.7.2
root@qemux86-64:~# ip route add default via 192.168.7.2
root@qemux86-64:~# ping 8.8.8.8
64 bytes from 8.8.8.8: seq=0 ttl=115 time=2.322 ms
64 bytes from 8.8.8.8: seq=0 ttl=115 time=2.322 ms
from leda-distro.
Understandable that you don't want to run a DHCP server on the company network. One option may be to bind it only to the tap0 interface, so it wouldn't interfere with the corporate network.
Anyway, setting up static IP is easy enough. We'll see if we can provide the static IP address as a fallback in our quickstart distro, if DHCP is not available.
from leda-distro.
This should be fixed now, as the new runner script will just always use the QEMU SLIRP networking, which includes built-in DHCP.
from leda-distro.
Related Issues (20)
- No WiFi on raspberry4 HOT 3
- Short SPDX file headers for basefiles
- Evaluate Eclipse Ankaios
- Image for legacy 32bit ARM SoC, such as RaspberryPI 3b 3 2b or zero.. HOT 1
- Additional debug tools in default image, e.g. strace HOT 2
- Cloud connector does not connect to Azure IoT Hub HOT 3
- Document installation on Debian, Ubuntu, RasperryPi OS HOT 1
- CAN J1939 Setup HOT 1
- Default hostname should be device specific
- Zeroconf for Leda (e.g. Avahi, Bonjour) HOT 1
- Tools for serial ports as container HOT 4
- High-Level Package Manager HOT 1
- Leda on Red Hat In-Vehicle OS (RHIVOS) HOT 2
- [ISSUE] The latest cannot work on Leda v0.1.0-M1 based on QEMU X86_64. HOT 2
- Support for WasmEdge WebAssembly HOT 3
- eclipse-leda-raspberrypi.tar.xz file containing image with boot partition is FAT16 and not FAT32 HOT 5
- How to connect Leda on Raspberry Pi to wifi-network HOT 1
- UDS Server HOT 1
- Cloud connector stopped working HOT 1
- Include version name in released assets
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 leda-distro.