networking – libvirt on fedora, qemu/kvm guest, guest can ssh to host, but failed to samba or ftp to host

I am running libvirt/qemu-kvm on Fedora32, guest OS is win10 with spice-guest-tool in use.

I use ‘nat’ mode virtual networking.

root@fedora ~)# virsh net-dumpxml default
<network connections='1'>
  <name>default</name>
  <uuid>36ca4070-160a-47bf-b35e-aa7bee028ec1</uuid>
  <forward mode='nat'>
    <nat>
      <port start='1024' end='65535'/>
    </nat>
  </forward>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='52:54:00:e1:1e:c3'/>
  <ip address='192.168.122.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.122.2' end='192.168.122.254'/>
    </dhcp>
  </ip>
</network>

While guest is running, ‘brctl show‘ seems fine.

(root@fedora ~)# brctl show
bridge name bridge id       STP enabled interfaces
virbr0      8000.525400e11ec3   yes     virbr0-nic
                                        vnet0

On host I can ping guest by its ip (192.168.122.159).

On guest, I can access internet, also can ssh to my host,
but failed to access samba and ftp on my host.

For example, I type ‘net view 192.168.122.1‘ on guest,
host ‘tcpdump -i vnet0‘ shows:

15:47:39.041395 IP 192.168.122.159.49717 > fedora.bear.microsoft-ds: Flags (S), seq 160880283, win 64240, options (mss 1460,nop,wscale 8,nop,nop,sackOK), length 0
15:47:39.041526 IP fedora.bear > 192.168.122.159: ICMP fedora.bear tcp port microsoft-ds unreachable, length 60

And ‘net view’ eventually reports ‘System error 53: network path not found‘.
I also checked ‘iptables -L -v‘ (too verbose to paste here), no one got ‘REJECT’ed.

In case of ‘ftp’, it is similar to ‘samba’.

15:54:13.232366 IP 192.168.122.159.49721 > fedora.bear.ftp: Flags (S), seq 669575524, win 8192, options (mss 1460,nop,wscale 0,nop,nop,sackOK), length 0
15:54:13.232468 IP fedora.bear > 192.168.122.159: ICMP fedora.bear tcp port ftp unreachable, length 60

It seems that host can not send package back to guest.

Am I missing something? What could be the cause?
Thanks.

mens fedora hats

They are kangol hat actually also identified as jewelry that would instantly spice up a person’s outfit just because of the respective accent that it provides.As retail merchants, if you desire different areas to add up to your sales, try scouting for the option of marketing hats in your shop. If you have an interest in this chance, you must understand a couple of things about marketing caps in your shop. As soon as it is possible to understand the simple ways that significantly impact the sales growth of your shop hats, you will definitely understand that it is indeed advantageous to do some exploration prior to taking any strategic marketing tactic.

If your faculty isn’t currently using wholesale caps in their classrooms, now may be the perfect time for them to start.Using Wholesale Caps For Safety At Field TripsAsk any student what their favorite school day is and, chances are, they will promptly announce, “field trip day!” From toddlers to teenagers, every child loves an opportunity to get out of the snapback hats building and enjoy a day of learning abroad. While the kids relish these offsite adventures, many educators meet these particular outings with feelings of anxiety and dread knowing that successfully keeping an eye on such a large group of children can often prove stressful and overwhelming.

Utilizing these easy to spot caps can make the stetson hats crowd management process infinitely easier. Best of all, unlike uniform t-shirts, wholesale baseball hats and wholesale straw hats also provide a perfect layer of protection against the sun for outdoor trips where reapplying sunscreen may prove challenging.Purchasing Caps In Bulk Can Also Create Positive Sense Of Team SpiritIn addition to helping keep everyone in your care safe, wholesale caps can also create a sense of team spirit. Have your selected provider customize wholesale baseball hats with your team mascot or any other school specific slogan and/or message for a final look as distinctive as your student body itself.

Where Can You Find Old School Snap Back Hats?If your family happened to keep summer hats clothing and other apparel items from the 1970s and 1980s, you might just be able to find one or two of the treasures in your family’s attic. Vintage shops or charity resale shops are also other places to find an original custom baseball hat of this style. Like all fashion trends, this one started on either coast of the United States and is quickly moving in the middle of the country. How Buying Wholesale Caps Can Help You Save Money On This TrendIf you aren’t able to find one of these unique hats in your family’s attic or a resale shop, you’re in luck. Because this trend is seeing a resurgence, many shop owners are bringing back new, vintage-inspired versions.

Smart business owners know that they should purchase wholesale baseball caps and by doing so, can pass the savings on to their customers. Printing Your Own Wholesale CapsIf you’re looking for more than one or two wholesale baseball caps, consider finding your own distributor that can help you take advantage of this trend. This is ideal for companies or organizations that are having a hat giveaway or selling them to make a profit. It’s possible to have a custom logo embroidered on these wholesale caps, which means you can personalize them according to your company or organization. Old school snap back hats are some of the biggest trends in wholesale caps today.

If you’re looking to get in supreme hat early on a hot trend, consider adding one to your wardrobe. If you’re a business owner who wants to offer the hottest, most popular items to your clients, find a distributor of these hats and add them to your product inventory.This piece of article will talk about five key ways on how to display your caps and hats effectively promising that you will sell your hats very quickly. There are plenty of aspects that one needs to regard in organizing the space of the inner retail space, especially if the a class=”product-image” title=”supreme hat” href=”https://www.nombreya.com/hat/supreme-hat/supreme-hat.html”>[Image: supreme_hat-859vdc.jpg] current space is not really large to start with.

linux – rdesktop from Fedora 31 to Windows 10

Today I installed Fedora 31 on my new SSD. I don’t recall ever being able to RDP into Windows 10 from Linux. I gave up on trying on my old Fedora 20 installation.

But now that I have the latest version of Fedora I should be getting the latest RDP apps which hopefully are Windows 10 Compatible.

Using KRDC, Vinage don’t work. I thought I would try running the rdesktop command and see if that works.

At first it appears OK, I get a prompt to accept/deny the host certificate, but then I get errors:

rdesktop  192.168.1.110
Autoselecting keyboard map 'en-us' from locale
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect, CredSSP required by server (check if server has disabled old TLS versions, if yes use -V option).

Running with the -V option gives a bunch of output on usage so I think it’s not accepting the switch.

linux – Eclipse is randomly delaying the entire Fedora 30 system

I have problems with my Eclipse 2020-03 (with the previous version it was the same), which I am running on fedora 30. At some random points, it seems that the whole system is overloaded. It turns out that the PC is working properly, I can perform all the actions, but they take 30 seconds each, and I want to see the result of saving by pressing Ctrl + s or switching between two windows (even while changing it (happens in slow motion). I know it's saved, and I even assume it's saved right away. It almost seems like there is a problem with just the graphics.
The problem occurs only while using eclipse, and not always (although 95% of the time after using eclipse for 2-15min). The closing eclipse doesn't solve it! It persists until restart. There are also times when everything starts working properly for a few seconds, but then it always comes back to delay. Today, for the first time, the system froze completely and I had to restart it by pressing a button instead of the console.

I increased the values ​​in eclipse.ini from -Xms and -Xmx and that helped a bit. Increased the time before the delay occurs.

I didn't find anything useful except that. It is very annoying and I can't encode anything while I'm on Linux because of that please help me. If I can provide additional information, please let me know.

linux – How to debug problems with Wayland in Fedora 32

I recently did a massive cleanup of my Fedora 32 system which included a lot of packages that were removed from the system, by the way, it removed the desktop environment I was using. Before, I was using Deepin DE (Deepin OS desktop environment, compatible with Fedora), but decided to go back to Fedora's default Gnome. The only problem I am experiencing now is that Gnome uses X11 instead of Wayland, which it has to use by default. I have a suspicion that while cleaning my system I might have accidentally removed some kind of package required for Gnome to work with Wayland. I tried to Google information on how to manage Wayland. Based on the information I found, I tried:

  1. Set /etc/gdm/custom.conf var & # 39; WaylandEnable & # 39; in true
WaylandEnable=true
  1. Set /etc/gdm/custom.conf var WaylandEnable to false and comment it out
#WaylandEnable=false

BTW, in GDM session list, I don't have Gnome in Xorg variant. I only have Gnome and Gnome Classic variants.
I'm not very good at understanding how to professionally manage graphics subsystems like Xorg or Wayland on Linux, so I don't know where to look.

Please help me figure out what I'm missing to get the gnome to use wayland or where to see if the gnome rolls back from Wayland to X11 (if so).

Thank you

networking: Fedora in VMWare requires sudo dhclient on restart

I am running fedora 31 inside a vmware box on a Windows 10 host as my development machine (I am a software developer). Every time I reboot, my box doesn't have internet access and I have to run $ sudo dhclient. Any ideas on how to fix this? I don't even know where to start.

I run the box in NAT, but none of the network options makes the difference (for example, bridged, host only, etc.).

Apparently, it also started happening randomly. One day, there is simply no internet.

Thank you!

$  uname -a
Linux localhost.localdomain 5.5.11-200.fc31.x86_64 #1 SMP Mon Mar 23 17:32:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

linux – Problems installing Fedora 31

I am facing strange problems while installing Fedora 31 on a PC.

Something went wrong

After a few seconds, the installation options appear (the mouse pointer is invisible but as I move, the mouse options are highlighted)

Try fedora window

If I select & # 39; try fedora & # 39 ;, the screen gets stuck in the window & # 39; something went wrong & # 39 ;.
If & # 39; install fedora & # 39; is selected, I can continue with the installation
installer window 1
installer window 2

journalctl output

journalctl -b _COMM = gdm-x-session output

lspci output

I've tried installing all the Fedora twists and they all work fine.
I also tried to install the workstation package in a Fedora twist, but the same problem when switching to the workstation (something with wrong error)
KDE spin output workstation installation

Using safe graphics mode solves the problem but then problems like half of the window visible at once, large text size, etc. they don't allow it to work easily.
So how can i solve this and thanks for the help in advance!

fedora: systemctl cannot start a service due to lack of permission to write the log file

I am trying to start a service using systemctl on a Fedora 31 machine, but it fails due to lack of permission to write the log file:

$ sudo systemctl start wildfly.service

Job for wildfly.service failed because the control process exited with error code.
See "systemctl status wildfly.service" and "journalctl -xe" for details.
$ journalctl -xe
Mar 22 10:42:34 fedora audit(27213): AVC avc:  denied  { create } for  pid=27213 comm="wildfly" name="console.log" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_log_t:>
Mar 22 10:42:34 fedora wildfly(27192): Starting wildfly: /etc/rc.d/init.d/wildfly: line 154: /var/log/wildfly/console.log: Permission denied
Mar 22 10:42:34 fedora audit(27192): AVC avc:  denied  { create } for  pid=27192 comm="wildfly" name="console.log" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_log_t:>
Mar 22 10:42:34 fedora wildfly(27192): /etc/rc.d/init.d/wildfly: line 159: /var/log/wildfly/console.log: Permission denied

The / var / log / wildfly folder belongs to the wildfly user and has full access rights:

ls -al /var/log/wildfly/
total 8
drwxrwxrwx.  2 wildfly wildfly 4096 Mar 22 10:13 .
drwxr-xr-x. 27 root    root    4096 Mar 21 17:50 ..

When editing the /etc/rc.d/init.d/wildfly file to write to / tmp it works, I just can't understand why it works on the expected path (/ var / log / wildfly).
Any ideas?

boot – Fedora UEFI and BIOS

I'm a bit confused with that BIOS / UEFI thing in Fedora.
I have dual boot Windows 10 (on my SSD) and a newly installed Fedora 31 workstation (on my HDD).
When I check that BIOS mode in Windows shows & # 39; Legacy & # 39 ;, also my motherboard specification (MSI Z370-A PRO) shows it has BIOS. Also, the BIOS menu title says & # 39; MSI Click BIOS 5 & # 39 ;.
But when I had been installing Fedora and created a /boot partition I got a warning that I need to have /boot/efi divide. So in addition to /boot, I believe /boot/efi the same size (250 MiB).
After PC installation and restart, it turned out that Fedora had automatically changed a boot order and set UEFI Hard Drive Fedora first
Now when I am using Windows there is a new local disk (F 🙂 (249 MB) containing EFI Y System directories and match_kernel archive.
Apparently my BIOS can handle UEFI devices like UEFI Hard Drive, UEFI CD / DVD, UEFI Flashdrive etc.
Also, my SSD containing Windows 10 is not marked as a UEFI device.

Did I do something wrong? Do I have UEFI or BIOS? And which partition of a free space of my HDD for Fedora is correct: /boot, /boot/efi Or both?

fedora – Restic backups: so I spoiled it … How can I fix it? frowning [very sad face]

I receive many messages from my personal backup / repository:

$ restic statistics

repository 6d9f087d opened successfully, password is correct
scanning…
walking tree 02c2b5841d2202398c02535dd549fa17291f10a22eb0ac3ee9fc6a435dd216c6: tree 02c2b5841d2202398c02535dd549fa17291f10a22eb0ac3ee9fc6a435dd216c6 not found in repository

$ restic find

repository 6d9f087d opened successfully, password is correct
Unable to load tree a3d42dfe1be29734192ca3865d3c7b28ac2118f5fde86a9576d4e411da4141be
… which belongs to snapshot e187bb0ba0d142deb715d19dbac80f164479c21493c99d6970b3409a09f7f8e7.
Unable to load tree 2646df869fb727d3a12215c8d8d921443bbad00e3b3bd589065e5fe3c16be7f8
… which belongs to snapshot e3d2f3f25426ce96cd568adf70893a6d2248a2008f08a67c2754c0f797902106.
Unable to load tree d017dfebfde1b7f1e472127394e072c0756ba81e14e28490c201e5586372f10c
… which belongs to snapshot e7dd95f98846dc947b63b2d5edba1f83b8628204ce6db117eb39a19dc48c1d0d.
Unable to load tree b3c1933de9bf26ab4ac1a429dd1cd0c1e70e9ed4259c128a10d0a72e170ad50d
… which belongs to snapshot ebcbdfa386d8ad4ce254a53346d39cc11466f84ceb3b5e72b01eb6d1c7b73e6c.
Unable to load tree 40e31ba3eeda5dfb26fecba20b53b785bdb6fe5dd4a9497af74f28a66a1b2096
… which belongs to snapshot f4021a24a4d2cd672fca025872165ddbdae71131b159c5a78c3f8352066e2ae9.

… and so

$ restic check

error for tree 742d8ed6:
tree 742d8ed6: file “README” blob 0 size could not be found
tree 742d8ed6: file “init.py” blob 0 size could not be found
tree 742d8ed6: file “do_example.py” blob 0 size could not be found
tree 742d8ed6: file “do_exchain.py” blob 0 size could not be found
tree 742d8ed6: file “do_exploitable.py” blob 0 size could not be found
tree 742d8ed6: file “do_symfix.py” blob 0 size could not be found
tree 742d8ed6, blob 8efd4ce2: not found in index
tree 742d8ed6, blob 85961b36: not found in index
tree 742d8ed6, blob 422a93fd: not found in index
tree 742d8ed6, blob ea4f6931: not found in index
tree 742d8ed6, blob 735ff9b5: not found in index
tree 742d8ed6, blob c7552590: not found in index
error for tree e738a765:
tree e738a765: file “init.py” blob 0 size could not be found
tree e738a765: file “pydevd_helpers.py” blob 0 size could not be found
tree e738a765: file “pydevd_plugin_numpy_types.py” blob 0 size could not be found
tree e738a765: file “pydevd_plugins_django_form_str.py” blob 0 size could not be found
tree e738a765, blob 037628a5: not found in index
tree e738a765, blob 366f60d7: not found in index
tree e738a765, blob 4662789d: not found in index
tree e738a765, blob 8d03d5a2: not found in index
error for tree 7db25783:
tree 7db25783: file “README” blob 0 size could not be found
tree 7db25783: file “init.py” blob 0 size could not be found
tree 7db25783: file “do_example.py” blob 0 size could not be found
tree 7db25783: file “do_exchain.py” blob 0 size could not be found
tree 7db25783: file “do_exploitable.py” blob 0 size could not be found
tree 7db25783: file “do_symfix.py” blob 0 size could not be found
tree 7db25783, blob 8efd4ce2: not found in index
tree 7db25783, blob 85961b36: not found in index
tree 7db25783, blob 422a93fd: not found in index
tree 7db25783, blob ea4f6931: not found in index
tree 7db25783, blob 735ff9b5: not found in index
tree 7db25783, blob c7552590: not found in index
… and so on

$ prune

counting files in repo
building new index for repo
(5:08) 100.00% 18058 / 18058 packs

tree 02c2b5841d2202398c02535dd549fa17291f10a22eb0ac3ee9fc6a435dd216c6 not found in repository
…github.com/restic/restic/internal/repository.(*Repository).LoadTree
/restic/internal/repository/repository.go:713
…github.com/restic/restic/internal/restic.FindUsedBlobs
/restic/internal/restic/find.go:11
main.pruneRepository
/restic/cmd/restic/cmd_prune.go:191
main.runPrune
/restic/cmd/restic/cmd_prune.go:85
main.glob…func18
/restic/cmd/restic/cmd_prune.go:25
…github.com/spf13/cobra.(*Command).execute
/restic/vendor/github.com/spf13/cobra/command.go:762
…github.com/spf13/cobra.(*Command).ExecuteC
/restic/vendor/github.com/spf13/cobra/command.go:852
…github.com/spf13/cobra.(*Command).Execute
/restic/vendor/github.com/spf13/cobra/command.go:800
main.main
/restic/cmd/restic/main.go:86
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
repository contains 18058 packs (531155 blobs) with 83.220 GiB
processed 531155 blobs: 36506 duplicate blobs, 716.422 MiB duplicate
load all snapshots
find data that is still in use for 59 snapshots
… and so on

$ restic rebuild-index

counting files in repo
(0:05) 100.00% 18058 / 18058 packs

finding old index files
saved new indexes as (4fecbd8d fa3c4282 c86b7b4e 384ba6dc a2045f82 b887f2c9 38d1891a)
remove 7 old index files
… and the same each time

I am sure that what I did was disconnect the external unit during pruning. Actually, I disconnected the USB3 HUB and didn't even notice.

Is there any way to fix it?

I forgot to mention that I can add to the repository without errors.

$ restic backup ~ /

Files: 3474 new, 1908 changed, 122746 unmodified
Dirs: 0 new, 7 changed, 5 unmodified
Data Blobs: 1246 new
Tree Blobs: 7 new
Added to the repo: 142.538 MiB

processed 128128 files, 27.028 GiB in 1:13
snapshot 2cb85d11 saved

I posted it on the Restic forums without answers yet:
https://forum.restic.net/t/so-i-did-mess-it-up-how-can-i-fix-it-very-sad-face/2553/1

Health!