You are not logged in.
Hello,
I've tried SliTaz on live USB and was impressed with its good looks. I was expecting to see s.th. like TinyCore, but it looks like well designed LXDE.
I was only a bit disappointed that openchrome driver wasn't preinstalled. And I don't understand the package management here. I have experience with Manajro, Porteus, LXLE and antiX/MEPIS MX-14. (On the last two openchrome works on my machine with Via Chrome9 HC GPU.) I would guess SliTaz is more like Porteus, you need to download a package, maybe convert it and place in a directory for modules to load at boot.
So, I would appreciate a brief guidance, where to get and how to install openchrome on SliTaz.
Thanks
eugen-b
Offline
Slitaz use its own tazpkg program to install <pkgname>.tazpkg
Post a download link for the openchrome video driver source code.
I'll try to build a tazpkg for it.
Offline
That would be really nice! I hope some day I will learn myself to create a .tazpkg, but for now your help would be invaluable!!
Here is the link to the Debian xserver-xorg-video-openchrome (1:0.2.906-2+deb7u1) package for Wheezy:
https://packages.debian.org/wheezy/xserver-xorg-video-openchrome
It works with xserver-xorg-core >= 1.12.3.901 and SliTaz also uses 1.12 series afaik. Newer xorg-core >= 1.13. wouldn't work on my machine with openchrome driver.
And here is the link to the source code (I suppose):
https://packages.debian.org/source/wheezy/xserver-xorg-video-openchrome
Here is my $ inxi -G
Graphics: Card: VIA VX800/VX820 Chrome 9 HC3 Integrated Graphics
Display Server: X.Org 1.12.4 driver: openchrome
Resolution: 1366x768@60.0hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 0x209)
GLX Version: 2.1 Mesa 8.0.5
Offline
http://cook.slitaz.org/undigest/cooker.cgi?pkg=xorg-xf86-video-openchrome
http://download.tuxfamily.org/slitaz/packages/undigest/xorg-xf86-video-openchrome-0.2.905.tazpkg
Offline
Ok, thank you very much!! But, please, help me with one more step. What am I supposed to do with these links?
- Let's assume I burn Rolling ISO on a USB stick with dd, then boot with it, then install. How do I install this package? Download and then issue: tazpkg get-install /path/to/xorg-xf86-video-openchrome-0.2.905.tazpkg
-Let's assume I burn Packages 4GB ISO on a USB stick. I did it already, but when I booted I couldn't find it. How would I find it if it was there? Is it there or will it be there on one of the next versions of Packages ISO?
Thanks for helping me!
Offline
@az_ua
Thanks for the link, I forgot to check the undigest repo.
@eugen-b
Booting into slitaz,connect to the internet.
Open terminal.
Type
su
Hit Enter key
Passwd:
Type
root
Hit Enter key
Type this command and hit Enter to fetch the tazpkg:
[c]wget http://download.tuxfamily.org/slitaz/packages/undigest/xorg-xf86-video-openchrome-0.2.905.tazpkg[/c]
Type this command hit Enter key to install:
[c]tazpkg install xorg-xf86-video-openchrome-0.2.905.tazpkg[/c]
Logout/in to restart Xorg to see if it will use the new driver.
Check xorg log to verify its using the driver and for errors if there are problems.
[c]less /var/log/Xorg.0.log[/c]
Offline
It worked, thank you both! Cпасибо, az_ua!
I post here my xorg.conf, because I have a problem being sent back to login screen after a short glimpse at the panel. This happens when I activate the "exa" settings, but it works with "xaa":
Section "Monitor"
Identifier "Configured Monitor"
Option "PreferredMode" "1366x768"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "openchrome"
Option "AccelMethod" "xaa"
Option "XaaNoImageWriteRect"
# Option "AccelMethod" "exa"
# Option "ExaScratchSize" "8192"
# Option "MaxDRIMem" "16384"
# Option "MigrationHeuristic" "greedy"
Option "DRI" "true"
Option "ActiveDevice" "DFP"
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
I also attached the Xorg.0.logs in case you want take a look. Otherwise other users may profit from my info.
Offline
Both Xorg.0.logs have 2 errors (EE) due to missing files.
Use tazpkg to find the package that owns the missing file and install it.
This should get rid of the error and may improve the video performance.
[ 128.429] [drm] failed to load kernel module "via"
[ 128.429] (EE) [drm] drmOpen failed.
[ 128.429] (EE) CHROME(0): [dri] DRIScreenInit failed. Disabling DRI.
[c]root@slitaz:/home/tux# tazpkg search-pkgname via.ko.xz | grep -i drm[/c]
[c]linux-drm[/c]
[c]linux64-drm[/c]
[c]root@slitaz:/home/tux# tazpkg get-install linux-drm[/c]
[ 128.683] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[c]root@slitaz:/home/tux# tazpkg search-pkgname /usr/lib/dri/swrast_dri.so[/c]
[c]Search result for package "/usr/lib/dri/swrast_dri.so"[/c]
================================================================================
[c]mesa-dri[/c]
================================================================================
1 package
[c]root@slitaz:/home/tux# tazpkg get-install mesa-dri[/c]
Offline
Thank you so much! It makes sense, I always install on other distros sth. with mesa, dri and drm for graphics.
But I have a problem now. Initially I could connect to WLAN but now I cannot. I made a mistake to try it without reading the handbook. I changed some settings in /etc/network.conf
[c]#
# Wi-Fi settings.
#
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Set "yes" if you don't want to store networks you're already connected.
WIFI_BLANK_NETWORKS="yes"
#
# Wi-Fi settings for iwconfig.
#
# Wi-Fi interface. It can auto-search interface if value below is fail.
WIFI_INTERFACE="wlan0"
# WPA driver; default is "wext" (Wireless Extension).
WIFI_WPA_DRIVER="wext"
# Set the operating mode of the device. The mode can be "Ad-Hoc", "Managed",
# "Master", "Repeater", "Secondary", "Monitor" or "Auto".
WIFI_MODE="managed"
# Set the operating channel in the device. Empty by default.
WIFI_CHANNEL=""
# Force the card to register to the Access Point given by the address, if it's
# possible. Empty by default to automatic mode.
WIFI_AP=""
#
# Wi-Fi settings for wpa_supplicant (for given network).
#
# SSID (network name)
WIFI_ESSID="WLAN-890929"
# BSSID (optional), use this block to associate with the AP
WIFI_BSSID=""
# Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods;
# "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP.
WIFI_KEY_TYPE="WPA"
# Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form.
WIFI_KEY="********" # in clear text, right?
# Method for EAP: "PEAP", "TLS", "TTLS", "PWD".
WIFI_EAP_METHOD=""
# File path to CA certificate file (PEM/DER).
WIFI_CA_CERT=""
# File path to client certificate file (PEM/DER).
WIFI_CLIENT_CERT=""
# Identity string for EAP.
WIFI_IDENTITY=""
# Anonymous identity string for EAP.
WIFI_ANONYMOUS_IDENTITY=""
# Inner authentication parameters: "", "PAP", "MSCHAP", "MSCHAPV2", "GTC".
WIFI_PHASE2=""[/c]
I'm getting the error at boot that "wlan0" is not a wireless interface. I attached the part from boot log. For some reason I cannot attach it, so I have to copy ot here:
[c]Processing: /etc/init.d/network.sh
Loading network settings from /etc/network.conf
Setting hostname to: slitaz [ Done ]
Configuring loopback... [ Done ]
ifconfig: SIOCGIFFLAGS: No such device
wlan0 is not a Wi-Fi interface, changing it.
Configuring Wi-Fi interface ...lo no wireless extensions.
tunl0 no wireless extensions.
dummy0 no wireless extensions.
[ Done ]
Creating new /etc/wpa/wpa.conf
Starting wpa_supplicant for WPA/WPA2-PSK...
wpa_supplicant: option requires an argument -- 'i'
wpa_supplicant v2.1
Copyright (c) 2003-2014, Jouni Malinen and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
usage:
wpa_supplicant [-BddhKLqqtuvW] [-P] [-g] \
[-G] \
-i -c [-C] [-D] [-p] \
[-b] [-e] \
[-o] [-O] \
[-N -i -c [-C] [-D] \
[-p] [-b] [-I] ...]
drivers:
nl80211 = Linux nl80211/cfg80211
wext = Linux wireless extensions (generic)
wired = Wired Ethernet driver
options:
-b = optional bridge interface name
-B = run daemon in the background
-c = Configuration file
-C = ctrl_interface parameter (only used if -c is not)
-i = interface name
-I = additional configuration file
-d = increase debugging verbosity (-dd even more)
-D = driver name (can be multiple drivers: nl80211,wext)
-e = entropy file
-g = global ctrl_interface
-G = global ctrl_interface group
-K = include keys (passwords, etc.) in debug output
-t = include timestamp in debug messages
-h = show this help text
-L = show license (BSD)
-o = override driver parameter for new interfaces
-O = override ctrl_interface parameter for new interfaces
-p = driver parameters
-P = PID file
-q = decrease debugging verbosity (-qq even less)
-u = enable DBus control interface
-v = show version
-W = wait for a control interface monitor before starting
-N = start describing new interface
example:
wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf
Starting udhcpc client on: ...
udhcpc: SIOCGIFINDEX: No such device
Connecting to WLAN-890929...
.....Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
[ Failed ][/c]
First time I got wireless it was after I used a GUI app from menu->settings->forgot_the_name. It has a radio tower icon. There I could choose between several WLAN signals. And it worked with mine. Now I don't see any signals there.
I checked firmware, rt2860.bin is there. Do I need to modprobe rt2860.so or rt2800pci.ko?
Is it a good strategy to set network.conf to default and then follow a guide from handbook?
Fyi I installed slitaz-rolling.iso
I found this topic, does it still apply? http://forum.slitaz.org/topic/wifi-trouble-possibly-through-update#post-38690
Offline
I guess the WiFi trouble through update post still applies, because you reference it one day ago: http://forum.slitaz.org/topic/wireless-works-but-cant-connect-if-no-encryption
Bad timing to start using SliTaz now.
But I'm going to try to fix it following the direction in that post.
Offline
WiFi doesn't work. I downloaded the boot-script packages from that post,
http://forum.slitaz.org/topic/wifi-trouble-possibly-through-update#post-38690
copied them to /home/eugen, installed thrm deleting network.conf before (because it was not overwritten), configured network.conf as before and got the same boot result. While newer boot-scripts tried to connect, older ones didn't.
I also installed mesa, mesa-dri and linux-drm. Now the screen looks less fuzzy, quite sharp and clear, same as on Debian derivatives.
What is the best to do about wireless now??
Would it perhaps make more sense now to install a different release, not rolling?
Offline
Follow this driver troubleshooting procedure replacing rtl8192se with the correct driver name for your network adapter.
[c]ls /sys/class/net[/c] should output the correct alias for the network adapter to add to INTERFACE="" variable in /etc/network.conf
If you need more help post the output of [c]lspci -nn[/c] in addition to any errors from dmesg, /var/log/messages
Offline
Well, I tried but encountered some unexpected things.
My wlan0 was renamed to dummy0. But with dummy0 I got the same boot log.
Here is my lspci -nn output:
[c]eugen@slitaz:~$ lspci -nn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VX800 Host Bridge [1106:0353] (rev 14)
00:00.1 Host bridge [0600]: VIA Technologies, Inc. VX800/VX820 Error Reporting [1106:1353]
00:00.2 Host bridge [0600]: VIA Technologies, Inc. VX800/VX820 Host Bus Control [1106:2353]
00:00.3 Host bridge [0600]: VIA Technologies, Inc. VX800 PCI to PCI Bridge [1106:3353]
00:00.4 Host bridge [0600]: VIA Technologies, Inc. VX800/VX820 Power Management Control [1106:4353]
00:00.5 PIC [0800]: VIA Technologies, Inc. VX800/VX820 APIC and Central Traffic Control [1106:5353]
00:00.6 Host bridge [0600]: VIA Technologies, Inc. VX800/VX820 Scratch Registers [1106:6353]
00:00.7 Host bridge [0600]: VIA Technologies, Inc. VX800/VX820 North-South Module Interface Control [1106:7353]
00:01.0 VGA compatible controller [0300]: VIA Technologies, Inc. VX800/VX820 Chrome 9 HC3 Integrated Graphics [1106:1122] (rev 11)
00:02.0 PCI bridge [0604]: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port [1106:c353]
00:03.0 PCI bridge [0604]: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port [1106:e353]
00:03.1 PCI bridge [0604]: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port [1106:f353]
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. VX800 Serial ATA and EIDE Controller [1106:5324]
00:10.0 USB controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev a0)
00:10.1 USB controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev a0)
00:10.2 USB controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev a0)
00:10.4 USB controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 90)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VX800/VX820 Bus Control and Power Management [1106:8353]
00:11.7 Host bridge [0600]: VIA Technologies, Inc. VX8xx South-North Module Interface Control [1106:a353]
00:13.0 PCI bridge [0604]: VIA Technologies, Inc. VX855/VX875/VX900 PCI to PCI Bridge [1106:b353]
00:14.0 Audio device [0403]: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller [1106:3288] (rev 20)
02:00.0 Network controller [0280]: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe [1814:0781]
04:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)[/c]
After stopping network.sh I did [c]modprobe -r rtl8192se[/c] and got module not found, [c]modprobe rtl8192se[/c] the same. I also looked at my running system on that machine what is the driver. It is rt2800pci with corresponding libraries. I tried [c]modprobe -r rt2800pci[/c] and [c]modprobe rt2800pci[/c] with the same result, module not found.
Should I try copying the rt2800* files from antiX/MEPIS MX-14 to SliTaz?
Offline
tux@slitaz:~$ tazpkg search-pkgname rt2800pci.ko.xz
Search result for package "rt2800pci.ko.xz"
================================================================================
linux-wireless
linux64-wireless
================================================================================
2 packages
Re-install linux-wireless with this command if slitaz is connected to the internet:
[c]tazpkg get-install[/c] linux-wireless [c]--forced[/c]
Re-install firmware-rt2x00 with this command if slitaz is connected to the internet:
[c]tazpkg get-install[/c] firmware-rt2x00 [c]--forced[/c]
If you have no internet using another internet connected computer click the linux-wireless and firmware-rt2x00 links in the above commands to download the packages.
Transfer them to slitaz using flash drive and install.
[c]tazpkg install[/c] linux-wireless-3.2.71.tazpkg [c]--forced[/c]
[c]tazpkg install[/c] firmware-rt2x00-20141201.tazpkg [c]--forced[/c]
[c]modprobe rt2800pci[/c]
[c]ls /sys/class/net[/c]
Offline
I downloaded the two packages directly to my SliTaz /home/eugen folder. Then installed them with second variant. But stragely modprobe rt2800pci gave an error.
modprobe: FATAL: rt2800pci not found
This is really sad, but I hope to provide you with this feedback and so help you to improve your distro.
Thanks again for helping!
Offline
I checked the files on my SliTaz and found /lib/modules/3.2.71-slitaz/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko.xz
The module is not in /lib/modules/2.6.37-gnu-slitaz/kernel/drivers/net/
Does it make sense to copy it there? Normally not, because I'm booting 3.2.71 Kernel.
Is there a way to tell modprobe how to find this module?
Offline
Hi eugen-b,
Seems you using old version of SliTaz. You have two ways:
[*]remove package linux-wireless-3.2.71 from your old SliTaz and install linux-wireless intended for old SliTaz and for its 2.6.37 kernel:
[c]su
tazpkg remove linux-wireless
tazpkg get-install linux-wireless[/c]
[*]Try to use new SliTaz. It called 'Rolling' and upgraded every week. It has Linux Kernel 3.2.71, and you can download it from home page (buttons "SliTaz weekly 32bits" and "SliTaz weekly 64bits") or from SliTaz mirror (see README at the bottom of page to choose ISO you need, I prefering slitaz-rolling-core.iso).
PS. Oh, sorry. Just searched for rt2800pci kernel module on the SliTaz-4.0. Nothing found. First way is bad, so only upgade to the Rolling.
Offline
Privet, Aleksej!
I have slitaz-rolling.iso installed. And wireless worked first time I booted. What is old is the boot script, I'm now on 4.6.1. The older kernel may be there for backup reasons, I don't know.
Offline
Please, try next and post your output:
[c]tux@slitaz:~$ tazpkg info linux
TazPkg information
===================================================================================
Package : linux
State : installed package
Version : 3.2.71 (new build available)
Category : base-system
Short desc : The Linux kernel and modules.
Maintainer : devel@slitaz.org
License : GPL2
Depends : kmod
Build deps : slitaz-toolchain perl git xz lzma patch kmod
uclibc-cross-compiler-x86_64
Web site : http://www.kernel.org/
Size : 5.8M/7.1M
===================================================================================
tux@slitaz:~$ tazpkg info linux-wireless
TazPkg information
===================================================================================
Package : linux-wireless
State : installed package
Version : 3.2.71 (new build available)
Category : base-system
Short desc : The Linux kernel wireless modules.
Maintainer : devel@slitaz.org
License : GPL2
Depends : linux-crypto wireless_tools
Wanted src : linux
Web site : http://www.kernel.org/
Size : 2.1M/2.5M
===================================================================================[/c]
Offline
eugen@slitaz:~$ tazpkg info linux
TazPkg information
================================================================================
Package : linux
State : installed package
Version : 3.2.71
Category : base-system
Short desc : The Linux kernel and modules.
Maintainer : devel@slitaz.org
License : GPL2
Depends : kmod
Build deps : slitaz-toolchain perl git xz lzma patch kmod
uclibc-cross-compiler-x86_64
Web site : http://www.kernel.org/
Size : 5.8M/7.1M
================================================================================
eugen@slitaz:~$ tazpkg info linux-wireless
TazPkg information
================================================================================
Package : linux-wireless
State : installed package
Version : 3.2.71
Category : base-system
Short desc : The Linux kernel wireless modules.
Maintainer : devel@slitaz.org
License : GPL2
Depends : linux-crypto wireless_tools
Wanted src : linux
Web site : http://www.kernel.org/
Size : 2.1M/2.5M
================================================================================
looks the same
Offline
Please, check also which Linux Kernel you're actually boot:
[c]tux@slitaz:~$ uname -a
Linux slitaz 3.2.71-slitaz #4 SMP Mon Aug 17 17:36:41 CEST 2015 i686 GNU/Linux[/c]
Offline
same output as yours
the .iso was not md5sum checked, because I didn't find any md5sum
Offline
You can download ISO from mirror: http://mirror.slitaz.org/iso/rolling/
Here you can find ISO, md5 sum file and build log.
How I downloading new ISO:
[c]wget http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core.iso
wget http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core.md5
md5sum -c ./slitaz-rolling-core.md5[/c]
________
So, let me summarize.
You using new Rolling ISO with 3.2.71 Kernel.
You have installed 3.2.71 Kernel and Wireless module.
You have boot 3.2.71 Kernel.
After "linux-wireless" package installed, the command "depmod -a 3.2.71-slitaz" executed to refresh list of available Kernel modules. So, now Kernel should find module "rt2800pci" you just installed.
You can re-try next command (as root user) (without specifying the Kernel name):
[c]depmod -a[/c]
and re-try again
[c]modprobe rt2800pci[/c]
Seems, I'll give up shortly - have no more ideas.
Offline
# depmod -a 3.2.71-slitaz
gave no errors
# modprobe rt2800pci
modprobe: FATAL: Module rt2800pci not found.
now trying with
# depmod -a
no error...
# modprobe rt2800pci
modprobe: FATAL: Module rt2800pci not found.
--------
checked the ISO I installed for md5sum, was ok
I could try to install one more time. Maybe slitaz-rolling-core.iso is the better choice. What is the difference? Ah, I see in the description there.
Offline
I'm almost give up.
Please install strace package. Open terminal and:
[c]su
strace -e trace=file -o /tmp/modprobe.strace modprobe rt2800pci[/c]
Then post here the content of the [c]/tmp/modprobe.strace[/c] file.
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.61 MiB (Peak: 1.77 MiB) ]