Comments (7)
from busybear-linux.
@michaeljclark Sorry to mention you I think you just answer my second question . For this question I follow your steps and works now I can see eth0 again even I force to kill busybear-linux.
My first quetion is : my host bridge(br0) is 192.168.80.73 but eh0 in busybear is always 192.168.100.2 , why does it happened ? Anything else I can do ?
Thx
from busybear-linux.
192.168.100.2 is set inside guest:
root@ucbvax:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.100.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.100.1
I could ssh to guest, but my guest always report:
ntpd: bad address '1.pool.ntp.org'
ntpd: bad address '0.pool.ntp.org'
Still not resolved
from busybear-linux.
I am having the same problems with the network as the previous two comments ie no network connectivity as shown by the "ntpd: bad address '1.pool.ntp.org'" errors. I believe I have set up the bridge correctly and can see that tap0 is being attached by the startup script. On the host (Ubuntu 20.04)
macd@macd-lp:~$ brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.9ecf16a76bb0 yes enp9s0
tap0
On the guest
root@busybear:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.122.2
netmask 255.255.255.0
broadcast 192.168.122.255
gateway 192.168.122.1
Doing the ifdown eth0 ifup eth0 did not help. Also the scripts do have access to ifconfig.
Perhaps this is only a problem with documentation, but after reading a half a dozen blog posts and the Ubuntu documentation on bridged networking, I still do not have a solution. Any pointers (or fixes?) would be appreciated.
from busybear-linux.
OK, maybe this should be obvious, but a couple of changes to the /etc/network/interfaces file will make this work. On the host, use ifconfig to get the ip address. In my case this is 192.168.1.113. Use this for the gateway address in interfaces file. Then choose an ip address that won't clash, in my case I chose 192.168.1.123. Then use ifdown eth0
followed by ifup eth0
(on the guest busybear linux)
root@busybear:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.123
netmask 255.255.255.0
broadcast 192.168.122.255
gateway 192.168.1.113
Finally, I changed ntp.conf to that below. But still getting timeouts although system clock has been updated. Probably ntp still needs better config info.
root@busybear:~# cat /etc/ntp.conf
server 0.north-america.pool.ntp.org
server 1.north-america.pool.ntp.org
from busybear-linux.
from busybear-linux.
I installed libvirt-bin
(via pkg manager), and this solved my issues: busybear could use eth0
even though there was no eth0
on the host, via the virbr0
network interface (from libvirt-bin
).
This is w.r.t. booting via busybear-linux/scripts/start-qemu.sh
.
from busybear-linux.
Related Issues (20)
- Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. HOT 2
- stubs-lp64.h HOT 7
- File transfer between riscv-qemu and host. HOT 5
- /sbin/init: error while loading shared libraries: libm.so.6: HOT 1
- *** failed to create busybear.bin HOT 5
- trying to create busybear.bin but it is giving error HOT 2
- qemu riscv installation issue related to busybear HOT 2
- getting tap interface to work... HOT 1
- Network doesn't work on Ubuntu HOT 2
- There are some mistakes in the README
- Replace bridged networking with QEMU user networking emulation
- Link error
- change_dir "/opt/riscv/sysroot/lib64" failed HOT 1
- how to build on Ubuntu w/ their version of GCC for RISCV HOT 1
- Failed to build Linux due to wrong toolchain HOT 2
- dropbear does not recognize riscv architecture HOT 2
- .Trying to build busybear in Linux Mint. HOT 13
- Consider add an updated release
- A problem in scripts/build.sh
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 busybear-linux.