Re: qemu + dnsmasq = no dns resolving on host
On 26/06/2014 07:04 μμ, Pantelis Koukousoulas wrote: > Πιστεύω ότι έχεις εγκατεστημένο και το πακέτο dnsmasq και όχι μόνο > τα dnsmasq-base και dnsmasq-utils. Mπορείς να το δεις αυτό > με > dpkg -l dnsmasq > ή > apt-show-versions dnsmasq > pmik@ktinos:/etc$ dpkg -l dnsmasq Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- rc dnsmasq2.59-4 Small caching DNS proxy and DHCP/TFTP server Είχα την εντύπωση ότι το είχα απεγκαταστήσει, το apt-show-versions δεν δείχνει τίποτα. > Αν είναι έτσι, τότε θα πρότεινα να το απεγκαταστήσεις με > > apt-get remove --purge dnsmasq Jackpot. Το έκανε remove! > > (αυτό θα σβήσει απλά τα configuration files από το /etc/dnsmasq.d > δε θα πειράξει το εκτελέσιμο dnsmasq που χρησιμοποιεί η libvirt) > > Μετά από reboot θα πρέπει να έχεις μόνο ένα dnsmasq process, > αυτό της libvirt που δεν πειράζει τίποτα. > Σε ευχαριστώ πολύ για το χρόνο σου. Μετά το reboot όλα δουλεύουν ρολόι. > Δοκίμασε και αν δε δουλέψει αυτό πες να σου πω άλλες πιθανές > λύσεις. > > Χαιρετισμούς, > Παντελής > -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
Re: qemu + dnsmasq = no dns resolving on host
2014-06-26 18:38 GMT+03:00 Petros Mikos : > Παλιότερα είχα χρησιμοποιήσει το > dns-masq για dns-caching στο μηχάνημα αλλά μου είχε δημιουργήσει > πρόβλημα (και σπάω το κεφάλι μου να θυμηθώ τι αλλά δεν μπορώ) και το > είχα βγάλει. Αυτό είναι που σου δημιουργεί τα προβλήματα κατά 99.9% και όχι ο NetworkManager (ο οποίος δε φαίνεται να χρησιμοποιεί dnsmasq εδώ) ή το dnsmasq της libvirt. > Αν βοηθάει κάπου, έχω εγκατεστημένο και το Virtualbox και τον VMWare > Player στο ίδιο μηχάνημα. > > Επίσης, παραθέτω τα 2 processes που τρέχουν μετά το boot > dnsmasq 1253 1 0 18:37 ?00:00:00 /usr/sbin/dnsmasq.real > -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r > /var/run/dnsmasq/resolv.conf -7 > /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new Εδώ νομίζω είναι το πρόβλημα. Πιστεύω ότι έχεις εγκατεστημένο και το πακέτο dnsmasq και όχι μόνο τα dnsmasq-base και dnsmasq-utils. Mπορείς να το δεις αυτό με dpkg -l dnsmasq ή apt-show-versions dnsmasq Αν είναι έτσι, τότε θα πρότεινα να το απεγκαταστήσεις με apt-get remove --purge dnsmasq (αυτό θα σβήσει απλά τα configuration files από το /etc/dnsmasq.d δε θα πειράξει το εκτελέσιμο dnsmasq που χρησιμοποιεί η libvirt) Μετά από reboot θα πρέπει να έχεις μόνο ένα dnsmasq process, αυτό της libvirt που δεν πειράζει τίποτα. Δοκίμασε και αν δε δουλέψει αυτό πες να σου πω άλλες πιθανές λύσεις. Χαιρετισμούς, Παντελής -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
Re: qemu + dnsmasq = no dns resolving on host
Χρησιμοποιώ το virt-manager , η σύνδεση είναι ethernet (eth0) και χρησιμοποιώ το Network Manager. Παλιότερα είχα χρησιμοποιήσει το dns-masq για dns-caching στο μηχάνημα αλλά μου είχε δημιουργήσει πρόβλημα (και σπάω το κεφάλι μου να θυμηθώ τι αλλά δεν μπορώ) και το είχα βγάλει. Τα πακέτα για το qemu, virt-manager, libvirt κλπ. είναι από τα επίσημα repos του ubuntu 12.04, δεν έχω βάλει κάποιο ppa. Αν βοηθάει κάπου, έχω εγκατεστημένο και το Virtualbox και τον VMWare Player στο ίδιο μηχάνημα. Επίσης, παραθέτω τα 2 processes που τρέχουν μετά το boot dnsmasq 1253 1 0 18:37 ?00:00:00 /usr/sbin/dnsmasq.real -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new 130 1718 1 0 18:37 ?00:00:00 /usr/sbin/dnsmasq.real -u libvirt-dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override pmik 4846 4779 0 18:37 pts/000:00:00 grep --color=auto dnsmasq καθώς και το ifconfig -a eth0 Link encap:Ethernet HWaddr 50:e5:49:52:13:2d inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1472 Metric:1 RX packets:209621 errors:0 dropped:0 overruns:0 frame:0 TX packets:681811 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:121035326 (121.0 MB) TX bytes:887388587 (887.3 MB) Interrupt:43 Base address:0x6000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8698 errors:0 dropped:0 overruns:0 frame:0 TX packets:8698 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:754286 (754.2 KB) TX bytes:754286 (754.2 KB) virbr0Link encap:Ethernet HWaddr ae:5c:be:7f:47:5f inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) vmnet1Link encap:Ethernet HWaddr 00:50:56:c0:00:01 inet addr:192.168.247.1 Bcast:192.168.247.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1099 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) vmnet8Link encap:Ethernet HWaddr 00:50:56:c0:00:08 inet addr:172.16.223.1 Bcast:172.16.223.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1098 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) On 26/06/2014 05:52 μμ, Pantelis Koukousoulas wrote: > Αν μας πεις λίγο περισσότερες λεπτομέρειες θα είναι ευκολότερο να σου > δώσουμε την ιδανική για σένα λύση. > > * Χρησιμοποιείς τον qemu σκέτο (command-line) ή μέσω libvirt/virt-manager? > > * Ο host έχει ethernet σύνδεση, WiFi ή κάτι άλλο; > > * Χρησιμοποιείς τον NetworkManager στο host? > > Χαιρετισμούς, > Παντελής > > > 2014-06-26 16:44 GMT+03:00 Petros Mikos : >> Καλησπέρα >> Ξεκίνησα να κοιτάω το qemu/kvm. Αφού τα εγκατέστησα όλα τα >> συμπαρομαρτούντα, στο επόμενο reboot είδα ότι δεν έχω dns resolving στο >> host μηχάνημα (xubuntu 12.04 x64). Είδα ότι ξεκινάει το dnsmasq (από ότι >> κατάλαβα για dhcp στα VMs) κι αν το σκοτώσω, το host δουλεύει μια χαρά >> αλλά αυτό δεν είναι λύση προφανώς. >> Από που να το πιάσω να βρω μια άκρη; >> >> -- >> Ubuntu-gr mailing list >> Ubuntu-gr@lists.ubuntu.com >> >> If you do not want to receive any more messages from the ubuntu-gr mailing >> list, please follow this link and choose unsubscribe: >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
Re: qemu + dnsmasq = no dns resolving on host
Επίσης ο qemu/kvm/libvirt είναι από τα επίσημα repos ή από κάποιο ppa? Στη 14.04 π.χ., βλέπω ότι έχω 2 instances αυτή τη στιγμή του dnsmasq (μία από το NetworkManager και μία από τη libvirt που δεν τη χρησιμοποιώ απλά είναι εγκατεστημένη) αλλά δεν έχω κάποιο conflict ή πρόβλημα με το resolving γιατί αυτά τα 2 instances έχουν διαφορετικά configurations (ακούν σε διαφορετικά δίκτυα). Χαιρετισμούς, Παντελής 2014-06-26 17:52 GMT+03:00 Pantelis Koukousoulas : > Αν μας πεις λίγο περισσότερες λεπτομέρειες θα είναι ευκολότερο να σου > δώσουμε την ιδανική για σένα λύση. > > * Χρησιμοποιείς τον qemu σκέτο (command-line) ή μέσω libvirt/virt-manager? > > * Ο host έχει ethernet σύνδεση, WiFi ή κάτι άλλο; > > * Χρησιμοποιείς τον NetworkManager στο host? > > Χαιρετισμούς, > Παντελής > > > 2014-06-26 16:44 GMT+03:00 Petros Mikos : >> Καλησπέρα >> Ξεκίνησα να κοιτάω το qemu/kvm. Αφού τα εγκατέστησα όλα τα >> συμπαρομαρτούντα, στο επόμενο reboot είδα ότι δεν έχω dns resolving στο >> host μηχάνημα (xubuntu 12.04 x64). Είδα ότι ξεκινάει το dnsmasq (από ότι >> κατάλαβα για dhcp στα VMs) κι αν το σκοτώσω, το host δουλεύει μια χαρά >> αλλά αυτό δεν είναι λύση προφανώς. >> Από που να το πιάσω να βρω μια άκρη; >> >> -- >> Ubuntu-gr mailing list >> Ubuntu-gr@lists.ubuntu.com >> >> If you do not want to receive any more messages from the ubuntu-gr mailing >> list, please follow this link and choose unsubscribe: >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr
Re: qemu + dnsmasq = no dns resolving on host
Αν μας πεις λίγο περισσότερες λεπτομέρειες θα είναι ευκολότερο να σου δώσουμε την ιδανική για σένα λύση. * Χρησιμοποιείς τον qemu σκέτο (command-line) ή μέσω libvirt/virt-manager? * Ο host έχει ethernet σύνδεση, WiFi ή κάτι άλλο; * Χρησιμοποιείς τον NetworkManager στο host? Χαιρετισμούς, Παντελής 2014-06-26 16:44 GMT+03:00 Petros Mikos : > Καλησπέρα > Ξεκίνησα να κοιτάω το qemu/kvm. Αφού τα εγκατέστησα όλα τα > συμπαρομαρτούντα, στο επόμενο reboot είδα ότι δεν έχω dns resolving στο > host μηχάνημα (xubuntu 12.04 x64). Είδα ότι ξεκινάει το dnsmasq (από ότι > κατάλαβα για dhcp στα VMs) κι αν το σκοτώσω, το host δουλεύει μια χαρά > αλλά αυτό δεν είναι λύση προφανώς. > Από που να το πιάσω να βρω μια άκρη; > > -- > Ubuntu-gr mailing list > Ubuntu-gr@lists.ubuntu.com > > If you do not want to receive any more messages from the ubuntu-gr mailing > list, please follow this link and choose unsubscribe: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr