Konference LinuxDays 2023 proběhne již tento víkend 7. a 8. října v prostorách Fakulty informačních technologií Českého vysokého učení v Praze (FIT ČVUT). Na programu je spousta zajímavých přednášek a workshopů.
Netflix v pátek 29. září odeslal poslední film na DVD (YouTube). Společnost dnes známá jako streamovací služba začala před 25 lety jako půjčovna filmů na DVD. Zákazník si DVD objednal na webových stránkách, odesláno mu ale bylo klasickou poštou. Po zhlédnutí jej vložil do obálky a poslal zpět.
Zero Day Initiative zveřejnila informace o 6 bezpečnostních chybách (1, 2, 3, 4, 5, 6) v MTA Exim. Nejvážnější z nich CVE-2023-42115 má CVSS 9.8. Na opravě chyb se pracuje.
Knihovna libvpx byla vydána ve verzi 1.13.1. Řešena je kritická bezpečnostní chyba CVE-2023-5217 (heap buffer overflow in vp8 encoding). Chyba je již opravena také v Chrome / Chromium 117.0.5938.132 a Firefoxu 118.0.1.
Balíček kmod s nástroji pro práci s linuxovými moduly byl vydán ve verzi 31. Nově umí modprobe zavést modul nacházející se v libovolném adresáři (# modprobe ./drivers/gpu/drm/i915/i915.ko).
Adventura Trüberbrook je na portále GOG.com zdarma, akce trvá do 2. října.
Sound Open Firmware, projekt Linux Foundation, open source audio DSP firmware a SDK, byl vydán ve verzi 2.7.0. Z novinek lze vypíchnout podporu platformy AMD Van Gogh.
Richard Stallman v den oslav 40. výročí GNU oznámil, že má rakovinu (YouTube).
DIY trackball Ploopy má novou variantu Adept, na rozdíl od předchozích používá 44mm kouli, má symetrický tvar a šest tlačítek, snímač zůstává PMW-3360, novinkou je použití Raspberry Pi Pico, na kterém běží firmware QMK s podporou grafické konfigurační aplikace VIA. Předobjednávky jsou otevřeny za ceny 80-105 CAD.
Probíhá Meta Connect 2023. Společnost Meta představuje své novinky v oblasti AI a virtuální, smíšené a rozšířené reality. Představeny byly nové chytré brýle Ray-Ban | Meta a headset Meta Quest 3.
Při nastavování připojení k Wifi (Windowsí stroje) jde vše ok, stačí nastavit web šifrování otevřené a potom stačí nainstalovat vygenerované certifikáty a vše jede.
Pod linuxem je vše jinak. Podle adminů máme používat wpa_supplicant a nakonfigurovat ho takto:
nastavíme a zeditujeme soubor /etc/wpa supplicant.conf dle níže uvedeného vzoru: network={ ssid="faro" scan_ssid=1 key_mgmt=IEEE8021X group=WEP40 eap=TLS identity="vas\_login" ca_cert="/etc/1x/certs/root.pem" client_cert="/etc/1x/certs/user-vas_login.pem" private_key="/etc/1x/certs/user-vas_login.pem" private_key_passwd="heslo" priority=1 } Na závěr restartujeme wpasupplicant příkazem /etc/init.d/wpasupplicant restart Tím je instalace sítě Faro dokončena.Ale script /etc/init.d/wpasupplicant neexistuje a pokud použiji místo toho /etc/init.d/wpa-ifupdown tak se nic neděje. Také jsem zkoušel :
iwconfig eth1 mode managed iwconfig eth1 essid "faro" wpa_supplicant -dd -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D ndiswrapperSe stejným výsledkem. Opravdu moc budu děkovat za jakékoliv naťuknutí.
Co ti vyhodi toto? jakoze napise ti to neco?wpa_supplicant -dd -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D ndiswrapper
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=4): 66 61 72 6f faro scan_ssid=1 (0x1) key_mgmt: 0x8 group: 0x2 eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 identity - hexdump_ascii(len=6): 78 72 65 6d 65 73 xremes ca_cert - hexdump_ascii(len=26): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 72 6f 6f 74 2e 70 65 6d t/root.pem client_cert - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key_passwd - hexdump_ascii(len=8): [REMOVED] priority=1 (0x1) Priority group 1 id=0 ssid='faro' Initializing interface (2) 'eth1' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:14:a5:2d:5f:57 wpa_driver_wext_set_wpa wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures wpa_driver_wext_set_drop_unencrypted Setting scan request: 0 sec 100000 usec Added interface eth1 Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added State: DISCONNECTED -> SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=4): 66 61 72 6f faro Trying to get current scan results first without requesting a new scan to speed up initial association Received 776 bytes of scan results (4 BSSes) Scan results: 4 Selecting BSS from priority group 1 0: 00:0d:29:ac:d5:b5 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 1: 00:0d:65:bb:79:f6 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 2: 00:12:da:e5:1f:70 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 3: 00:12:da:e5:1a:c0 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Scan timeout - try to get results Received 710 bytes of scan results (4 BSSes) Scan results: 4 Selecting BSS from priority group 1 0: 00:0d:29:ac:d5:b5 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 1: 00:0d:65:bb:79:f6 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 2: 00:12:da:e5:1a:c0 ssid='faro-free' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 skip - no WPA/RSN IE 3: ca:25:3f:8d:05:58 ssid='hpsetup' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - no WPA/RSN IE No suitable AP found.
/etc/wpa_supplicant/wpa_supplicant.conf
dat pred definici site ap_scan=1
.Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=4): 66 61 72 6f faro scan_ssid=1 (0x1) key_mgmt: 0x8 group: 0x2 eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 identity - hexdump_ascii(len=6): 78 72 65 6d 65 73 xremes ca_cert - hexdump_ascii(len=26): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 72 6f 6f 74 2e 70 65 6d t/root.pem client_cert - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key_passwd - hexdump_ascii(len=8): [REMOVED] priority=1 (0x1) Line 13: unknown network field 'ap_scan'. Line 14: failed to parse network block. Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'. Failed to add interface eth1 Cancelling scan requesttakže mám takový pocit že ten řádek nepomáhá. Před tím, když jsem ho tam neměl to wpa sice nic nedělalo, ale ten příkaz se neukončil, dokud jsem ho nezkončil sám.
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ap_scan=0 Line: 2 - start of a new network block ssid - hexdump_ascii(len=4): 66 61 72 6f faro scan_ssid=1 (0x1) key_mgmt: 0x8 group: 0x2 eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 identity - hexdump_ascii(len=6): 78 72 65 6d 65 73 xremes ca_cert - hexdump_ascii(len=26): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 72 6f 6f 74 2e 70 65 6d t/root.pem client_cert - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key - hexdump_ascii(len=33): 2f 68 6f 6d 65 2f 72 65 6d 65 6f 6e 2f 63 65 72 /home/remeon/cer 74 2f 75 73 65 72 2d 78 72 65 6d 65 73 2e 70 65 t/user-xremes.pe 6d m private_key_passwd - hexdump_ascii(len=8): [REMOVED] priority=1 (0x1) Priority group 1 id=0 ssid='faro' Initializing interface (2) 'eth1' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:14:a5:2d:5f:57 Driver does not support WPA. wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 Setting scan request: 0 sec 100000 usec Added interface eth1 Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
ap_scan = 1
network={
ssid="faro"
...
Starting wpasupplicant: ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported Failed to enable WPA in the driver. ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported Failed to disable WPA in the driver. ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported rmdir[ctrl_interface]: Bad address
- nakopíroval jsem certifikáty root.pem a user-vas_login.pem do adresáře /etc/wpa_supplicant/certs/ (nutno vytvořit) a tuto cestu (path) uvést i do konfiguračního souboru /etc/wpa_supplicant.conf.
- v souboru /etc/wpa_supplicant.conf oproti návodu je nutno uvést ne "vas\_login" ale "vas\_login@mendelu.cz"/p>
- poté přidat nebo upravit řádek v /etc/network/interfaces:
auto eth1
iface eth1 inet dhcp
wireless-essid faro
Následně spustit:wpa_supplicant -BDwext -ieth1 -c/etc/wpa_supplicant.conf
- wifi manager po chvilce načetl správnou IP adresu a síť začala fungovat. Pokud by někdo chtěl požívat síť eduroam na jiných univerzitách tak by měl používat konfiguraci viz.
http://www.eduroam.cz/doku.php?id=cs:uzivatel:sw:nix:uvodještě jsem to prakticky nezkušel.
Pokud používáte KDE tak výborná utilitka je kromě kwifimanger i kwlan
Ještě oprava a doplněk:
správně:
- v souboru /etc/wpa_supplicant.conf oproti návodu je nutno uvést ne "vas\_login" ale "vas\_login@mendelu.cz" Doplněk:Pro automatické připojení hned po startu je nutné doplnit soubor /etc/network/interfaces
auto eth1 iface eth1 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant.conf wireless-essid faro
Driver does not support WPA
. To hovoří za vše.
wpa_supplicant -dd -c /etc/wpa_supplicant.conf -i eth1 -D ndiswrapper
hlasi toto:private_key_pass -hexdump_ascii(len=17): /REMOVED/
priority=1 (0x1)
Priority group 1
id=0 ssid="faro"
Filed to read or prase configuration "/etc/wpa_supplicant.conf".
Failed to add interface eth1
Canceling scan request
Cancelling authentication timeout
Tiskni
Sdílej: