Вопросы про porteus
Posted: 24 Sep 2022, 23:28
Code: Select all
<!-- Keybindings for running applications -->
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>PCManFM</name>
</startupnotify>
<command>pcmanfm</command>
</action>
</keybind>
Code: Select all
<keybind key="W-t">
<action name="Execute">
<command>lxterminal</command>
</action>
</keybind>
<keybind key="C-A-t">
<action name="Execute">
<command>xterm</command>
</action>
</keybind>
Code: Select all
openbox --reconfigure
Это актуально для любого Openbox и всех DE, в которыз может использоваться этот WM.
Code: Select all
guest@porteus:$ aplaymidi --help
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Cannot open sequencer - No such file or directory
Code: Select all
su
toor
echo '#!/bin/sh
ffplay -autoexit -nodisp /home/guest/music/start/start.aac' > /opt/porteus-scripts/start_system_music.sh
echo '#!/bin/sh
ffplay -autoexit -nodisp /home/guest/music/stop/poweroff.mp3' > /opt/porteus-scripts/stop_system_music.sh
echo '[Desktop Entry]
Type=Application
Terminal=true
Name=Music_start
Exec=/opt/porteus-scripts/start_system_music.sh' > /etc/xdg/autostart/start_system_music.desktop
chmod +x /etc/rc.d/rc.local_shutdown
echo '/opt/porteus-scripts/stop_system_music.sh' >> /etc/rc.d/rc.local_shutdown
Там же есть папка RU-LOCALES-PORTEUS-5.0 с модулями для локализации.Porteus-5.0 для архитектур x86_64 и i586 - русский репозиторий от Blaze, включающий в себя локализованные образы (все DE, кроме Openbox)
Дополнительные модули доступны по адресу http://porteus.org/porteus-mirrors.html
В списке есть другие wifi сети?
Code: Select all
su
toor
lspci -knn | egrep -i 'eth|net|wir|controller' -A6
iwconfig
iw list
iw dev
dmesg | egrep -i 'rtl|broadcom|wlan|firmware|b43|phy|bcm|fw|wl|error|faile|warn|issue|resolve|found|bug|loaded'
Code: Select all
quest@porteus:~$ su
Password:
root@porteus:/home/guest# lspci -knn | egrep -i 'eth|net|wir|controller' -A6
00:06.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
Subsystem: Gemtek Technology Co., Ltd Device [17f9:0006]
Kernel modules: ssb
00:0c.0 CardBus bridge [0607]: Texas Instruments PCIxx21/x515 Cardbus Controller [104c:8031]
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket
00:0c.2 FireWire (IEEE 1394) [0c00]: Texas Instruments OHCI Compliant IEEE 1394 Host Controller [104c:8032]
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller [1106:3149] (rev 80)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: sata_via
00:0f.1 IDE interface [0101]: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: pata_via
00:10.0 USB controller [0c03]: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038] (rev 81)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: uhci_hcd
00:10.1 USB controller [0c03]: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller [1106:3038] (rev 81)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: uhci_hcd
00:10.4 USB controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 86)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: ehci-pci
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] [1106:3227]
Subsystem: Gemlight Computer Ltd. Device [109b:1734]
Kernel modules: i2c_viapro
00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 60)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: snd_via82xx
Kernel modules: snd_via82xx
00:11.6 Communication controller [0780]: VIA Technologies, Inc. AC'97 Modem Controller [1106:3068] (rev 80)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel modules: snd_via82xx_modem
00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102/VT6103 [Rhine-II] [1106:3065] (rev 78)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
Kernel driver in use: via-rhine
Kernel modules: via_rhine
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 Graphics [S3 UniChrome Pro] [1106:3344] (rev 01)
Subsystem: Fujitsu Technology Solutions Device [1734:109b]
root@porteus:/home/guest#
Code: Select all
root@porteus:/home/guest# iw list
root@porteus:/home/guest# iw dev
root@porteus:/home/guest# dmesg | egrep -i 'rtl|broadcom|wlan|firmware|b43|phy|bcm|fw|wl|error|faile|warn|issue|resolve|found|bug|loaded'
[ 0.000000] BIOS-provided physical RAM map:
[ 0.019406] found SMP MP-table at [mem 0x000f64d0-0x000f64df]
[ 0.022501] ACPI: BIOS bug: multiple APIC/MADT found, using 0
[ 0.150984] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
[ 0.151042] ..... (found apic 0 pin 0) ...
[ 0.294664] ACPI: 3 ACPI AML tables successfully acquired and loaded
[ 0.502586] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.520537] libata version 3.00 loaded.
[ 0.521502] vgaarb: loaded
[ 0.522914] pnp: PnP ACPI: found 5 devices
[ 0.563263] ACPI: \_SB_.PCI0.PIB_.ALKD: Disabled and referenced, BIOS bug
[ 0.580139] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 0.673490] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.681745] ACPI: \_PR_.CPU0: Found 2 idle states
[ 0.700264] loop: module loaded
[ 0.749002] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 0.749322] hub 1-0:1.0: USB hub found
[ 0.750346] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 0.750603] hub 2-0:1.0: USB hub found
[ 0.751172] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 0.751410] hub 3-0:1.0: USB hub found
[ 0.976703] Loaded X.509 cert 'Build time autogenerated kernel key: c4631c8335f24470a169106f274a3a08e2c54419'
[ 0.977816] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 0.980005] No soundcards found.
[ 1.290860] usb 3-2: New USB device found, idVendor=0000, idProduct=0538, bcdDevice= 1.00
[ 8.086676] yenta_cardbus 0000:00:0c.0: CardBus bridge found [1734:109b]
[ 8.920121] via-rhine 0000:00:12.0 eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
[ 9.430079] firewire_core 0000:00:0c.2: created device fw0: GUID 0040ca0134703bd0, S400
[ 10.500206] ACPI: \_SB_.PCI0.PIB_.ALKC: Disabled and referenced, BIOS bug
[ 1978.420714] usb 1-3: New USB device found, idVendor=125f, idProduct=c96a, bcdDevice=11.00
[ 1979.585734] sd 4:0:0:0: [sdb] No Caching mode page found
[ 3363.300757] usb 1-3: New USB device found, idVendor=125f, idProduct=c96a, bcdDevice=11.00
[ 3364.485418] sd 4:0:0:0: [sdb] No Caching mode page found
[ 3437.573703] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3437.575668] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3437.575681] cfg80211: failed to load regulatory.db
root@porteus:/home/guest#
Code: Select all
su
toor
echo 'blacklist wl' > /etc/modprobe.d/broadcom_blacklist.conf
echo 'blacklist wl' > /etc/modprobe.d/b43_blacklist.conf
reboot
Code: Select all
su
toor
dmesg | grep -i b43
modprobe b43