Ubuntu Cinnamon bude od Ubuntu 23.04 oficiální odnoží Ubuntu (návrh, schválení).
Byla vydána nová major verze 5.0 účetního softwaru GnuCash (Wikipedie). Ve formátu Flatpak je již k dispozici na Flathubu.
Na GOG.com běží Spring Sale. Při té příležitosti lze získat zdarma počítačovou hru Alwa's Awakening (ProtonDB).
Byla vydána verze 3.28.0 2D CAD (computer-aided design) softwaru QCAD (Wikipedie). Přehled novinek v Changelogu.
Změna ve vedení společnosti SUSE. Dosavadní CEO Melissa Di Donato odstoupila. Od 1. května je novým CEO Dirk-Peter van Leeuwen, bývalý Senior Vice President a General Manager ve společnosti Red Hat.
CyberChef je webová aplikace pro analýzu dat a jejich kódování a dekódování, šifrování a dešifrování, kompresi a dekompresi, atd. Často je využívaná při kybernetických cvičeních a CTF (Capture the Flag). Vydána byla nová major verze 10 (aktuálně 10.4.0). Přehled novinek v Changelogu.
UBports, nadace a komunita kolem Ubuntu pro telefony a tablety Ubuntu Touch, vydala Ubuntu Touch OTA-1 Focal založené na Ubuntu 20.04 Focal Fossa.
Společnost Red Hat slaví 30 let.
Ve věku 91 let zemřel izraelský informatik Ja'akov Ziv, spolutvůrce bezztrátových kompresních algoritmů LZ77, LZ78 a LZW (Lempel–Ziv–Welch).
Byla představena nová Arduino deska Arduino UNO R4 s 32bitovým MCU RA4M1 (Arm Cortex-M4). Desku lze zatím získat pouze v rámci early access programu.
br0 Link encap:Ethernet HWaddr 00:18:F3:3B:69:BA inet addr:10.10.0.10 Bcast:10.10.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:909 errors:0 dropped:0 overruns:0 frame:0 TX packets:445 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:63578 (62.0 KiB) TX bytes:98144 (95.8 KiB) eth0 Link encap:Ethernet HWaddr 00:18:F3:3B:69:BA UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:911 errors:0 dropped:0 overruns:0 frame:0 TX packets:16813 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:83676 (81.7 KiB) TX bytes:1924087 (1.8 MiB) Interrupt:4 eth2 Link encap:Ethernet HWaddr 00:18:F3:3B:69:BA inet addr:217.112.xxx.xxx Bcast:217.112.xxx.191 Mask:255.255.255.192 UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:8077 TX packets:0 errors:15273 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:2 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:336 (336.0 B) TX bytes:336 (336.0 B) vlan0 Link encap:Ethernet HWaddr 00:18:F3:3B:69:BA UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:913 errors:0 dropped:0 overruns:0 frame:0 TX packets:15480 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:67420 (65.8 KiB) TX bytes:1062164 (1.0 MiB) vlan1 Link encap:Ethernet HWaddr 00:18:F3:3B:69:BB UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1329 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:789426 (770.9 KiB)Otázka zní, musím pracovat s vlan, nebo jde asusu vnutit stav kdy budu mít jen eth0, eth1, eth2 pro dílčí porty a pak se již s tím domluvím. Zkoušel jsem vycházet tady z článku OpenWrt prakticky, stejně tak i s v diskuzi zmíněným Jak nahrát OpenWRT a nic. Dokonce postup, který je zmíněný v drohém článku, přesmě vystihuje můj případ, ale spojení WAN a LAN se mě nedaří, respektive po provedení nastavení viz článek, mě jede jen WiFi (předpokládám), ale WAN a LAN jsou nedostupné na jakékoliv IP adrese. Předpokládám že to způsobuje vlastně duplicitní zápis v souboru /etc/init.d/S05nvram, který pracuje se samotným nastavením ... ale nevím jak dál ?!?! soubor S05nvram je následující (standard openwrt):
#!/bin/sh # NVRAM setup # # This file handles the NVRAM quirks of various hardware. alias debug=${DEBUG:-:} remap () { for type in lan wifi wan pppoe do for s in '' s do eval nvram set ${type}_ifname$s=\"$(nvram get ${type}_ifname$s|sed s/$1/$2/g)\" done done } nvram_default() { [ -z "$(nvram get $1)" ] && nvram set "$1=$2" } nvram_set() { # for the linksys fixup part [ "$(nvram get "$1")" = "$2" -a "$2" != "" ] || { COMMIT=1 /usr/sbin/nvram set "$1=$2" } } fixup_lan() { # fix for wrong lan_ifnames default lan_ifnames="$(nvram get lan_ifnames)" [ "${lan_ifnames%% *}" = "$1" ] || \ nvram set lan_ifnames="$2" } # work around braindead CFE defaults in linksys routers boardtype=$(nvram get boardtype) boardnum=$(nvram get boardnum) boardflags=$(($(nvram get boardflags))) adm_switch="$(( ($boardflags & 0x80) >> 7 ))" [ -n "$(nvram get vxkilled)" ] && boardtype=0 # don't mess with the ram settings on the hacked cfe case "$(( $boardtype ))" in "1800") #0x708 if [ "$adm_switch" = 0 ]; then nvram_set sdram_init "$(printf 0x%04x $(( $(/usr/sbin/nvram get sdram_init) | 0x0100 )))" [ "$COMMIT" = 1 ] && { nvram_set clkfreq 216 nvram_set sdram_ncdl 0x0 nvram_set pa0itssit 62 nvram_set pa0b0 0x15eb nvram_set pa0b1 0xfa82 nvram_set pa0b2 0xfe66 nvram_set pa0maxpwr 0x4e } fi ;; "1127") #0x467 nvram_set sdram_init "$(printf 0x%04x $(( $(/usr/sbin/nvram get sdram_init) | 0x0100 )))" [ "$COMMIT" = 1 ] && { nvram_set sdram_ncdl 0x0 nvram_set pa0itssit 62 nvram_set pa0b0 0x168b nvram_set pa0b1 0xfabf nvram_set pa0b2 0xfeaf nvram_set pa0maxpwr 0x4e } ;; esac [ "$COMMIT" = "1" ] && nvram commit # linksys bug; use 'dhcpclient' or similar as lan_proto if you want to use dhcp [ "$(nvram get lan_proto)" = "dhcp" ] && nvram unset lan_proto nvram_default lan_proto static # hacks for wrt54g 1.x hardware [ "$boardnum" = "42" \ -a "$boardtype" = "bcm94710dev" ] && { debug "### wrt54g 1.x hack ###" remap eth0 vlan2 remap eth1 vlan1 nvram_default vlan1hwname "et0" nvram_default vlan2hwname "et0" nvram_default lan_ifnames "vlan2 eth2" } # hacks for asus wl-500g deluxe [ "$boardnum" = "45" \ -a "$boardtype" = "bcm95365r" ] && { debug "### wl-500g deluxe hacks ###" remap eth0.1 vlan0 remap eth0 vlan1 nvram_default vlan0hwname "et0" nvram_default vlan1hwname "et0" nvram_default lan_ifnames "vlan0 eth1" # set up the vlan*ports variables for the asus wl-500g deluxe # if they don't already exist nvram_default vlan0ports "1 2 3 4 5*" nvram_default vlan1ports "0 5" } # wl-500g premium [ "$boardnum" = "45" \ -a "$boardtype" = "0x042f" ] && { debug "### wl-500g premium hacks ###" remap eth0.1 vlan0 remap eth0 vlan1 nvram_default lan_ifnames "vlan0 eth2" nvram_default wan_ifname "vlan1" nvram_default vlan0hwname "et0" nvram_default vlan1hwname "et0" # set up the vlan*ports variables for the asus wl-500g premium # if they don't already exist nvram_default vlan0ports "1 2 3 4 5*" nvram_default vlan1ports "0 5" } # hacks for asus [ "$boardnum" = "asusX" ] && { debug "### asus hacks ###" case "$(($(nvram get et1phyaddr)))" in 1) # WL-HDD lan=eth1 wan=none ;; *) lan=eth0 [ "$boardtype" = "bcm94710dev" ] && wan=eth1 || wan=none ;; esac fixup_lan "$lan" "$lan eth2" nvram_default wan_ifname "$wan" } # hacks for wap54g hardware [ "$boardnum" = "2" \ -o "$boardnum" = "1024" ] && { debug "### wap54g hack ###" nvram_default wan_ifname "none" nvram_default lan_ifnames "eth0 eth1" } # hacks for buffalo wla2-g54l [ "$boardnum" = "00" \ -a "$product_name" = "Product_name" \ -o "$product_name" = "WLA2-G54L" ] && { debug "### wla2-g54l hacks ###" nvram_default wan_ifname "none" fixup_lan "vlan0" "vlan0 eth1" } # wrtsl54gs vlan defaults [ "$boardtype" = "0x042f" \ -a "$boardnum" = "42" \ -a "$boardflags" = "24" ] && { nvram_default vlan0hwname "et0" nvram_default vlan0ports "0 1 2 3 5u" nvram_default vlan1hwname "et0" nvram_default vlan1ports "4 5" nvram_default lan_proto "static" nvram_default lan_ifnames "eth0 eth2" nvram_default wan_ifname "eth1" nvram_default wan_device "eth1" } # needed at least for wrt54gs v1.1 and wrt54g v2.0, v2.2 [ \! -z "$(nvram get boardrev)" ] && { nvram_default wl0id 0x4320 } # hack for some motorola routers nvram unset wl0gpio0 # defaults, can be overridden by hardware-specific nvram_default commands nvram_default lan_ifname "br0" nvram_default lan_ifnames "vlan0 eth1 eth2" nvram_default wan_ifname "vlan1" nvram_default wan_device "vlan1" nvram_default wan_proto "dhcp" nvram_default wl0_ssid OpenWrt nvram_default wl0_mode ap nvram_default wl0_infra 1 nvram_default wl0_radio 1 WAN_PROTO="$(nvram get wan_proto)" WAN_IFNAME="$(nvram get wan_ifname)" case "$WAN_PROTO" in pp*) [ "${WAN_IFNAME%%[0-9]*}" = "ppp" ] || nvram set wan_ifname=ppp0;; *) [ "${WAN_IFNAME%%[0-9]*}" = "ppp" ] && nvram set wan_ifname="$(nvram get wan_device)";; esac [ "$(nvram get il0macaddr)" = "00:90:4c:5f:00:2a" ] && { # if default wifi mac, set two higher than the lan mac nvram set il0macaddr=$(nvram get et0macaddr| awk '{OFS=FS=":";for(x=7,y=2;--x;){$x=sprintf("%02x",(y+="0x"$x)%256);y/=256}print}') }
nvram set vlan0ports="0 1 2 3 4 5*"
nvram set vlan0ports="5*"
nvram commit
nvram set vlan0ports="0 1 2 3 4 5*"
nvram set vlan1ports="5*"
nvram commit
nvram set lan_ifname=eth0
nvram commit
root@OpenWrt:~# nvram show | sort size: 21304 bytes (11464 left) DD_BOARD=Asus WL-500g Premium lan_gateway=0.0.0.0 lan_hwaddr=00:18:F3:3B:69:BA lan_hwnames= lan_ifname=br0 lan_ifnames=eth2 vlan0 lan_ipaddr=10.10.0.10 lan_lease=86400 lan_netmask=255.255.255.0 lan_proto=static lan_stp=1 lan_wins= landevs=vlan0 wl0 vlan0hwname=et0 vlan0ports=1 2 3 4 5* vlan1hwname=et0 vlan1ports=0 5 vlans=1 wait_time=1 wan_device=vlan1 wan_dns= wan_domain= wan_gateway=0.0.0.0 wan_gateway_buf=0.0.0.0 wan_get_dns= wan_get_domain= wan_hostname= wan_hwaddr=00:18:F3:3B:69:BB wan_hwname= wan_ifname=vlan1 wan_ifnames=vlan1 wan_ipaddr=0.0.0.0 wan_lease=0 wan_mtu=1500 wan_netmask=0.0.0.0 wan_primary=1 wan_proto=dhcp wan_unit=0 wan_vport=4 wan_wins=0.0.0.0 wandevs=et0 wifi_dns=217.112.xxx.xx wifi_gateway=217.112.xxx.129 wifi_ifname=eth2 wifi_ifnames= wifi_ipaddr=217.112.xxx.xxx wifi_netmask=255.255.255.192 wifi_proto=static wk_mode=gateway wl0_afterburner=off wl0_akm=disabled wl0_antdiv=3 wl0_ap_isolate=0 wl0_auth=0 wl0_auth_mode=disabled wl0_bcn=100 wl0_channel=6 wl0_closed=0 wl0_corerev=9 wl0_country=Japan wl0_country_code=JP wl0_crypto=off wl0_dfs_postism=60 wl0_dfs_preism=60 wl0_distance=2000 wl0_dtim=1 wl0_frag=2346 wl0_frameburst=off wl0_gmode=1 wl0_gmode_protection=off wl0_hwaddr=00:18:F3:3B:69:BA wl0_ifname=eth2 wl0_infra=1 wl0_key1= wl0_key2= wl0_key3= wl0_key4= wl0_key=1 wl0_lazy_wds= wl0_lazywds=0 wl0_maclist= wl0_macmode=disabled wl0_maxassoc=128 wl0_mode=sta wl0_mrate=0 wl0_phytype=g wl0_phytypes=g wl0_plcphdr=long wl0_radauth=0 wl0_radio=1 wl0_radioids=BCM2050 wl0_radius_ipaddr= wl0_radius_key= wl0_radius_port=1812 wl0_rate=0 wl0_rateset=default wl0_reg_mode=off wl0_rts=2347 wl0_ssid=xxxxxxxxxxxxx wl0_unit=0 wl0_wds0= wl0_wds1= wl0_wds2= wl0_wds3= wl0_wds4= wl0_wds5= wl0_wds6= wl0_wds7= wl0_wds8= wl0_wds9= wl0_wds= wl0_wep=disabled wl0_wme=off wl0_wme_ap_be=15 63 3 0 0 off off wl0_wme_ap_bk=15 1023 7 0 0 off off wl0_wme_ap_vi=7 15 1 6016 3008 off off wl0_wme_ap_vo=3 7 1 3264 1504 off off wl0_wme_apsd=on wl0_wme_no_ack=off wl0_wme_sta_be=15 1023 3 0 0 off off wl0_wme_sta_bk=15 1023 7 0 0 off off wl0_wme_sta_vi=7 15 2 6016 3008 off off wl0_wme_sta_vo=3 7 2 3264 1504 off off wl0_wpa_gtk_rekey=3600 wl0_wpa_psk= wl0id=0x4320 wl_active_add_mac=0 wl_active_mac= wl_afterburner=off wl_akm=disabled wl_antdiv=3 wl_ap_isolate=0 wl_auth=0 wl_auth_mode=disabled wl_bcn=100 wl_br1_enable=0 wl_br1_nat=0 wl_channel=6 wl_closed=0 wl_corerev= wl_country=Japan wl_crypto=off wl_dfs_postism=60 wl_dfs_preism=60 wl_distance=2000 wl_dtim=1 wl_frag=2346 wl_frameburst=off wl_gmode=1 wl_gmode_protection=off wl_hwaddr= wl_ifname= wl_infra=1 wl_key1= wl_key2= wl_key3= wl_key4= wl_key=1 wl_lazywds=0 wl_mac_deny= wl_mac_list= wl_maclist= wl_macmode1=disabled wl_macmode=disabled wl_maxassoc=128 wl_mode=sta wl_mrate=0 wl_net_mode=mixed wl_passphrase= wl_phytype=g wl_phytypes= wl_plcphdr=long wl_radauth=0 wl_radio=1 wl_radioids= wl_radius_ipaddr= wl_radius_key= wl_radius_port=1812 wl_radmacpassword=0 wl_radmactype=0 wl_radportal=0 wl_rate=0 wl_rateset=default wl_reg_mode=off wl_rts=2347 wl_ssid=dd-wrt wl_unit=0 wl_wds0_if= wl_wds10_desc= wl_wds10_enable=0 wl_wds10_hwaddr= wl_wds10_if= wl_wds10_ipaddr= wl_wds10_netmask= wl_wds10_ospf= wl_wds1_desc= wl_wds1_enable=0 wl_wds1_hwaddr= wl_wds1_if= wl_wds1_ipaddr= wl_wds1_netmask= wl_wds1_ospf= wl_wds2_desc= wl_wds2_enable=0 wl_wds2_hwaddr= wl_wds2_if= wl_wds2_ipaddr= wl_wds2_netmask= wl_wds2_ospf= wl_wds3_desc= wl_wds3_enable=0 wl_wds3_hwaddr= wl_wds3_if= wl_wds3_ipaddr= wl_wds3_netmask= wl_wds3_ospf= wl_wds4_desc= wl_wds4_enable=0 wl_wds4_hwaddr= wl_wds4_if= wl_wds4_ipaddr= wl_wds4_netmask= wl_wds4_ospf= wl_wds5_desc= wl_wds5_enable=0 wl_wds5_hwaddr= wl_wds5_if= wl_wds5_ipaddr= wl_wds5_netmask= wl_wds5_ospf= wl_wds6_desc= wl_wds6_enable=0 wl_wds6_hwaddr= wl_wds6_if= wl_wds6_ipaddr= wl_wds6_netmask= wl_wds6_ospf= wl_wds7_desc= wl_wds7_enable=0 wl_wds7_hwaddr= wl_wds7_if= wl_wds7_ipaddr= wl_wds7_netmask= wl_wds7_ospf= wl_wds8_desc= wl_wds8_enable=0 wl_wds8_hwaddr= wl_wds8_if= wl_wds8_ipaddr= wl_wds8_netmask= wl_wds8_ospf= wl_wds9_desc= wl_wds9_enable=0 wl_wds9_hwaddr= wl_wds9_if= wl_wds9_ipaddr= wl_wds9_netmask= wl_wds9_ospf= wl_wds= wl_wep=disabled wl_wep_bit=64 wl_wep_buf= wl_wep_gen= wl_wep_last= wl_wme=off wl_wme_ap_be=15 63 3 0 0 off off wl_wme_ap_bk=15 1023 7 0 0 off off wl_wme_ap_vi=7 15 1 6016 3008 off off wl_wme_ap_vo=3 7 1 3264 1504 off off wl_wme_apsd=on wl_wme_no_ack=off wl_wme_sta_be=15 1023 3 0 0 off off wl_wme_sta_bk=15 1023 7 0 0 off off wl_wme_sta_vi=7 15 2 6016 3008 off off wl_wme_sta_vo=3 7 2 3264 1504 off off wl_wpa_gtk_rekey=3600 wl_wpa_psk= wlan_hardware_present=yes wlan_ifname=eth1 wlan_ipaddr=192.168.21.1 wlan_netmask=255.255.255.0 wol_enable=0 wol_hostname= wol_interval=86400 wol_macs= wol_passwd= wshaper_dev=WAN wshaper_downlink=0 wshaper_enable=0 wshaper_nopriohostdst= wshaper_nopriohostsrc= wshaper_noprioportdst= wshaper_noprioportsrc= wshaper_uplink=0 zebra_conf= zebra_copt=0 zebra_enable=1 zebra_log=0
lan_ifname="br0" lan_ifnames "vlan0 eth2"... záměrem je mít vlan0 a eth2 jako jediné rozhraní, nebo je možné se obejtí bez zařízení br0 a vlastně to napsat takto:
lan_ifname="vlan0" lan_ifnames "vlan0 eth2"... snahou je nemít zmatek v rozhraních, a mít jen logický vlan0 pro LAN a vlan1 pro WAN a nemít tam další chaotická rozhraní.
Tiskni
Sdílej: