Comments (12)
Networking newb here:
- where you able to get any networking working at all? E.g.:
wget google.com
or a direct IPwget 216.58.211.78
or something else? Neither worked for me. - What would DNS allow us to do? It would allow to do
wget google.com
instead of just the direct IP?
from minimal.
The DNS issue is due to very old architectural issues with static linking of "glibc" and unfortunately this issue affects directly the DSN functionality. There may be other broken bits which are affected due to this issue.
The only reasonable solution is to migrate to another C library like "uclibc" or "musl". Until then we have LAN network support on IP level which is sufficient for DHCP.
from minimal.
I managed to get around the nasty DNS problem. I had to use musl-libc instead of glibc and I had to apply several hacks both in BusyBox and musl-libc. The good news is that all of this stuff can be automated but two or three of these hacks might not work on all environments.
Here is what I've got so far:
Looks good to me! :)
from minimal.
Great news!!
from minimal.
I just pushed my latest changes which solve the DNS resolution issue. The whole build process now includes 3 more steps:
- Get musl-libc from the official website.
- Build musl-libc and install it locally.
- Patch musl-libc in order to build BusyBox smoothly.
The idea is to use the kernel headers from the newly downloaded kernel but this approach currently doesn't work. Another possible solution is to use the headers which are already available on the host machine. However, this might not work well on all environments. Third possible approach is to patch BusyBox and leave musl untouched.
The build process for BusyBox has been changed as well and two applets have been disabled due to compilation issues (this should be double-checked).
from minimal.
The experimental folder "musl-busybox" reuses the headers from the downloaded kernel and the generated ISO image is fully functional, including the network functionality. You should try using the scripts from this experimental folder.
from minimal.
I just built from musl-busybox. Will not ping google.com
from minimal.
- Did you try any other network functionality, e.g. wget and traceroute?
- Do you have some kind of firewall? If you are running from VM, there might be some firewall restrictions.
- Are you sure your "Minimal Linux Live" distro gets its own IP address via DHCP?
from minimal.
I am in the middle of another build right now. I am running vbox. Will post
screen shots.
On Apr 1, 2016 10:48 AM, "Ivan Davidov" [email protected] wrote:
- Did you try any other functionality, e.g. wget and traceroute?
- Do you have some kind of firewall? If you are running from VM, there
might be some firewall restrictions.- Are you sure your "Minimal Linux Live" distro gets its own IP address
via DHCP?—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)
from minimal.
Seems to be working now. Thanks
from minimal.
The experimental folder 'glibc-busybox' solves the DNS issue and there are no kernel header collisions. However, the overall build is now ~32MB and it takes ~256MB RAM to run. And it may not work on 64bit machines (I've tested it on 32bit machine).
from minimal.
The latest published stable release '03-Apr-2016' fixes the problem and I'm closing the issue.
from minimal.
Related Issues (20)
- Migrate Travis CI workflow to GitHub workflow HOT 1
- Implement Xorg with FLWM onto MLL HOT 3
- Missing CRC32 at the rootfs compression HOT 3
- Missing gpg and or at least sha256 hash check against MtM attacks HOT 2
- Grouping of the log output / missing logs HOT 1
- Fails to build on Ubuntu 20.04.2 LTS HOT 3
- [Package Request] jwm HOT 1
- pulling in bundles from web...live HOT 2
- Your linker does not support HOT 1
- yo HOT 1
- Update v86 HOT 2
- How to get 32-bit version? HOT 2
- Build, Compile errors and package download file was missing... HOT 2
- can't build the iso. HOT 1
- Files not available
- make[2]: *** [scripts/Makefile.build:357: arch/x86/entry/thunk_64.o] Error 1 HOT 2
- How to add minimal GUI HOT 1
- Dead links in README.md
- All builds end up with Kernel panic - not syncing: No working init found HOT 4
- Possible issues with connecting tty / ttyS0, qemu, virtual console
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 minimal.