1
Tu as deux routes par défaut. C'est possible que cela pose problème, même si elles sont les mêmes.
Essaie voir ceci (en root):
# ip route del default via 192.168.1.1 dev eth0
(il n'y a pas de sortie normalement)
Puis:
ping -c 4 192.168.1.1
poste la sortie avec la balise insérer du code, stp.
Et:
ping -c 4 8.8.8.8
poste la sortie avec la balise insérer du code, stp.
4
Il y aurait il un fichier avec ces éléments ?
Avec opensuse, pour gérer ton réseau, tu utilises soit Networkmanager, soit wicked.
En mode serveur, sans environnement de bureau, c'est wicked.
Avec un environnement de bureau (plasma, gnome, xfce…), c'est plutôt NetworkManager, mais on peut aussi utiliser wicked.
Voilà la doc → Basic networking
Quelques informations importantes:
13.5 NetworkManager
Important:
NetworkManager is only supported by SUSE for desktop workloads with SLED or the Workstation extension. All server certifications are done with wicked as the network configuration tool, and using NetworkManager may invalidate them. NetworkManager is not supported by SUSE for server workloads.
13.5.2 NetworkManager functionality and configuration files
The individual network connection settings created with NetworkManager are stored in configuration profiles. The system connections configured with either NetworkManager or YaST are saved in /etc/NetworkManager/system-connections/* or in /etc/sysconfig/network/ifcfg-*. For GNOME, all user-defined connections are stored in GConf.
In case no profile is configured, NetworkManager automatically creates one and names it Auto $INTERFACE-NAME. That is made in an attempt to work without any configuration for as many cases as (securely) possible. If the automatically created profiles do not suit your needs, use the network connection configuration dialogs provided by GNOME to modify them as desired. For more information, see Section 28.3, “Configuring network connections”.
13.6.2.5 /etc/sysconfig/network/ifcfg-* (il s'agit de wicked ici…)
These files contain the traditional configurations for network interfaces.
NoteNote: wicked and the ifcfg-* files
wicked reads these files if you specify the compat: prefix. According to the openSUSE Leap default configuration in /etc/wicked/client.xml, wicked tries these files before the XML configuration files in /etc/wicked/ifconfig.
The --ifconfig switch is provided mostly for testing only. If specified, default configuration sources defined in /etc/wicked/ifconfig are not applied.
The ifcfg-* files include information such as the start mode and the IP address. Possible parameters are described in the manual page of ifup. Additionally, most variables from the dhcp and wireless files can be used in the ifcfg-* files if a general setting should be used for only one interface. However, most of the /etc/sysconfig/network/config variables are global and cannot be overridden in ifcfg files. For example, NETCONFIG_* variables are global.
For configuring macvlan and macvtab interfaces, see the ifcfg-macvlan and ifcfg-macvtap man pages. For example, for a macvlan interface provide a ifcfg-macvlan0 with settings as follows:
STARTMODE='auto'
MACVLAN_DEVICE='eth0'
#MACVLAN_MODE='vepa'
#LLADDR=02:03:04:05:06:aa
For ifcfg.template, see Section 13.6.2.6, “/etc/sysconfig/network/config, /etc/sysconfig/network/dhcp, and /etc/sysconfig/network/wireless”.
En résumé:
- Avec NetworkManager, les fichiers de configuration des interfaces réseaux sont dans /etc/NetworkManager/system-connections/*
- Avec wicked, c'est /etc/sysconfig/network/ifcfg-*
Un exemple avec Networkmanager:
toto-PC:/etc/NetworkManager/system-connections # ls
192.168.1.0.nmconnection dd-wrt 2.4.nmconnection jp-free-01.protonvpn.com.udp.nmconnection Kabelgebundene Verbindung 2.nmconnection Neue Verbindung IPv6.nmconnection
toto-PC:/etc/NetworkManager/system-connections # cat Kabelgebundene\ Verbindung\ 2.nmconnection
[connection]
id=Kabelgebundene Verbindung 2
uuid=531927d3-c3db-347e-83dd-04b51294a3ef
type=ethernet
permissions=
timestamp=1648662440
zone=home
[ethernet]
mac-address-blacklist=
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
[proxy]
Un exemple avec Leap en mode serveur (avec wicked):
localhost:/etc/sysconfig/network # cat ifcfg-eth0
NAME=''
BOOTPROTO='dhcp'
STARTMODE='auto'
ZONE=public
7
Tout vient à point à qui sait attendre, la RC est disponible.
À la maison:
1424 packages to upgrade, 3 to downgrade, 6 new.
Overall download size: 1.08 GiB. Already cached: 0 B. After the operation, additional 200.9 MiB will be used.
Note: System reboot required.
Continue? [y/n/v/...? shows all options] (y):
Quelques minutes plus tard:
denebe@localhost:~> cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.4"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
@sobkowiak
You can download it or update your beta version, it works very well
8
Que donne:
xrandr --query
Poste aussi le log xorg;
# cat /var/log/Xorg.0.log
Dès fois qu'il y ait une indication savoir où ça bloque.
9
Bonjour,
il a certainement un moyen de se démêler tout ça.
Regarde ici:
man xorg.conf.d
Il y a pas mal d'info.
Xorg uses a configuration file called xorg.conf and files ending in the suffix .conf from the directory xorg.conf.d for its initial setup.
Chez moi, avec leap, j'ai:
thierry@toto-PC:~> ls /etc/X11/xorg.conf.d/
00-keyboard.conf 10-evdev.conf 10-quirks.conf 40-libinput.conf 50-elotouch.conf 50-monitor.conf 70-synaptics.conf 70-wacom.conf
10-amdgpu.conf 10-libvnc.conf 11-evdev.conf 50-device.conf 50-extensions.conf 50-screen.conf 70-vmmouse.conf
Et si tu essayais de créer un fichier xorg.conf dans le dossier /etc/X11/xorg.conf.d/ ?
11
@chalu
je l'avais évoqué ici , après avoir lu le lien d'Archlinux. Ça vaut le coup d'essayer.
avec Opensuse, il y a un '5' à la fin:
LANG=en_US.UTF-8 systemsettings5
Sinon, elle sort quand cette RC ?? Demain ?
12
D'après les man pages le "+" n'existe pas.
un peu plus loin dans le 'man procmailrc' il est aussi écrit
Extended regular expressions
The following tokens are known to both the procmail internal egrep and the standard egrep(1) (beware that some egrep implementations include other non-standard extensions; in particular, the repetition operator { is not supported by
procmail's egrep):
. Any character except a newline.
a+ Any sequence of one or more a's.
\. Matches a single dot; use \ to quote any of the magic characters to get rid of their special meaning. See also $\ variable substitution.
→ C'est une expression régulière.
Quant à
\ To quote any of the above at the start of the line.
Permet de "quoter (échapper)" par exemple le point d'exclamation ! en début de ligne => si tu veux décrire une expression régulière commençant par ! .
Ici, dans une condition (donc après * ), le ! n'est pas à proprement dit une expression régulière, c'est un caractère dont le rôle est propre à procmail:
There are some special conditions you can use that are not straight regular expressions. To select them, the condition must start with:
! Invert the condition.
…
Pour résumer:
- * !regex
Cherche la négation de regex - * \!regex
Cherche l'expression régulière définie par !regex (commençant par ! …)
Regarde le contexte dans le man où est écrit cette remarque…
15
Oui, bizarre, intéressant. Les expressions régulières, selon la situation (bash, python, …), ont parfois des petites différences. Avec procmail par exemple, {n,m} pour décrire une répétition n'existe pas…
Notably absent is the {m,n} construct found in many modern extended regular expression implementations.
Le format d'une recette est:
:0 [flags] [ : [locallockfile] ]
[* reg_exp]
[* reg_exp]
...
action_a_effectuer
Selon ce format, au lieu de grouper mail, news et promotion, tu peux établir trois recettes (une par ligne).
# Spam
:0
* ^From:.*mail.*
* ^From:.*news.*
* ^From:.*promotion.*
$MAILDIR/Poubelle/new
Ensuite, si cela ne filtre pas, il faut plus d'informations. Par exemple un email non filtré au format texte pour voir où ça coince.
autres liens:
https://userpages.umbc.edu/~ian/procmail.html
https://porkmail.org/era/procmail/quickref