software:linux:opensuse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
software:linux:opensuse [2020/12/26 19:18] – [Bridging networks] superwizard | software:linux:opensuse [2021/03/05 18:23] – superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Configuring firewall ports ====== | ||
+ | |||
+ | |||
+ | <WRAP center round box > | ||
+ | **Command line open ports in firewall** | ||
+ | |||
+ | sudo firewall-cmd --zone=public --add-port=5000/ | ||
+ | |||
+ | |||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP center round box > | ||
+ | **Use Yast to configure open ports in firewall or turn firewall off** | ||
+ | |||
+ | * what ports are open using vsftpd | ||
+ | * firewall-cmd --permanent --service=vsftpd --get-ports | ||
+ | * 21/tcp 30000-30100/ | ||
+ | * what ports are open using Samba | ||
+ | * firewall-cmd --permanent --service=samba --get-ports | ||
+ | * 137/udp 138/udp 139/tcp 445/tcp | ||
+ | * Reference: man firewall-cmd | ||
+ | </ | ||
+ | |||
+ | ====== Hyper-v Video Resolution ====== | ||
+ | |||
+ | <WRAP center round box > | ||
+ | 2021-01-23 | ||
+ | |||
+ | Works on grub | ||
+ | |||
+ | Set resolution | ||
+ | |||
+ | Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT (line is highlight on image) and add video=hyperv_fb: | ||
+ | ex:- video=hyperv_fb: | ||
+ | you may need to change the above value several time to achieve better screen size. 1200×700 is the value which is worked on my 1366×768 resolution windows server. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
+ | [[https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | ====== Hyper-V Synthetic Video Frame Buffer Driver ====== | ||
+ | |||
+ | |||
+ | <WRAP center round box > | ||
+ | This is the driver for the Hyper-V Synthetic Video, which supports | ||
+ | * screen resolution up to Full HD 1920x1080 with 32 bit color on Windows | ||
+ | * Server 2012, and 1600x1200 with 16 bit color on Windows Server 2008 R2 | ||
+ | * or earlier. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Configures video settings for virtual machines PowerShell ====== | ||
+ | |||
+ | |||
+ | Set-VMVideo | ||
+ | |||
+ | Module: | ||
+ | Hyper-V | ||
+ | |||
+ | Configures video settings for virtual machines. | ||
+ | Syntax | ||
+ | PowerShell | ||
+ | |||
+ | Set-VMVideo | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
====== Resilio Sync ====== | ====== Resilio Sync ====== | ||
Line 30: | Line 113: | ||
====== Bridging networks ====== | ====== Bridging networks ====== | ||
- | 2020-07-16 | + | 2020-07-16 |
<WRAP center round box > | <WRAP center round box > | ||
Line 48: | Line 131: | ||
echo 0 > / | echo 0 > / | ||
- | </ | ||
From < | From < | ||
From < | From < | ||
+ | </ | ||
<WRAP center round box > | <WRAP center round box > | ||
Line 65: | Line 148: | ||
post-up ( echo 0 > / | post-up ( echo 0 > / | ||
- | </ | ||
From < | From < | ||
+ | </ | ||
<WRAP center round box > | <WRAP center round box > | ||
Line 81: | Line 164: | ||
- | </ | ||
From < | From < | ||
+ | </ | ||
<WRAP center round box > | <WRAP center round box > | ||
Line 95: | Line 178: | ||
ip link set dev eth0 down | ip link set dev eth0 down | ||
- | </ | ||
From < | From < | ||
+ | </ | ||
<WRAP center round box > | <WRAP center round box > | ||
Line 105: | Line 188: | ||
ip link set [interface] promisc on | ip link set [interface] promisc on | ||
- | </ | ||
From: https:// | From: https:// | ||
+ | </ | ||
<WRAP center round box > | <WRAP center round box > | ||
- | D.3. tcpdump: | + | |
+ | {{ : | ||
+ | |||
+ | **D.3. tcpdump: | ||
It’s often more useful to capture packets using tcpdump rather than wireshark. For example, you might want to do a remote capture and either don’t have GUI access or don’t have Wireshark installed on the remote machine. | It’s often more useful to capture packets using tcpdump rather than wireshark. For example, you might want to do a remote capture and either don’t have GUI access or don’t have Wireshark installed on the remote machine. | ||
Older versions of tcpdump truncate packets to 68 or 96 bytes. If this is the case, use -s to capture full-sized packets: | Older versions of tcpdump truncate packets to 68 or 96 bytes. If this is the case, use -s to capture full-sized packets: | ||
Line 118: | Line 204: | ||
From < | From < | ||
- | Comments | + | **Comments**\\ |
https:// | https:// | ||
tshark -T json -r file.pcap | tshark -T json -r file.pcap | ||
tshark -T json -j "http tcp ip" -x -r file.pcap | tshark -T json -j "http tcp ip" -x -r file.pcap | ||
- | From < | + | From: < |
Line 135: | Line 221: | ||
+ | <WRAP center round box > | ||
http:// | http:// | ||
Line 141: | Line 228: | ||
http:// | http:// | ||
+ | |||
+ | </ | ||
=== Properties === | === Properties === | ||
+ | <WRAP center round box > | ||
http:// | http:// | ||
+ | |||
+ | </ | ||
=== Changes to setup a log for mediatrix === | === Changes to setup a log for mediatrix === | ||
Line 529: | Line 621: | ||
[[fedoraproject.org wiki Systemd>> | [[fedoraproject.org wiki Systemd>> | ||
- | = Systemd_Cheatsheet | + | **Systemd_Cheatsheet** |
+ | |||
From: http:// | From: http:// | ||
Line 560: | Line 653: | ||
From < | From < | ||
+ | ====== Graphic Cards ====== | ||
+ | |||
+ | <WRAP center round box > | ||
+ | 2019-01-27 | ||
+ | |||
+ | openSUSE Graphic Card Practical Theory Guide for Users | ||
+ | |||
+ | |||
+ | Look for occurrences of: | ||
+ | (==) NOUVEAU(0): | ||
+ | which would indicate open source NOUVEAU driver in use.The following command may work (note syntax/ | ||
+ | Code: | ||
+ | cat / | ||
+ | |||
+ | From: < | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </ | ||
software/linux/opensuse.txt · Last modified: 2021/03/05 18:28 by superwizard