Adding hal to rc.conf??
what is the wording to add hal to rc.conf?? I have tried adding hal,hald, hal start..to rc.conf daemon section but it gives error on boot saying "hal unknown command'..or something like that...i have followed wiki beginners guide and am stuck at this part..what should the rc.conf hal entry look like?
Just to add if i use /etc/rc.d/hal start it works..and I can use my mouse and keyboard..
Last edited by stratotak (2009-02-08 18:52:06)
Put in the DAEMONS array. This is what it looks like in my rc.conf:
DAEMONS=(syslog-ng hal network net-profiles !netfs @crond @openntpd @avahi-daemon @cups @sshd @smbnetfs @privoxy @irqbalance oss @mpd)
Similar Messages
-
[SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.
I'm on Turion M520 with 2 cores capable of running @ 800 MHz at no CPU load. I added "powernow-k8" and "cpufreq_ondemand", but saw no impact on the frequency.
After installing "trayfreq" from AUR, cores successfully scale frequencies. As to find the problem, I assumed "trayfreq" does something which "cpufreq_ondemand" does not.
Indeed,
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
in the Terminal (xfce) outputs "ondemand"
whilst executing the same in the shell outputs "performance".
I figured
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
would do the trick, but I get "Permission denied", even as root.
Just curious, thanks!
Last edited by normal2 (2011-06-18 23:38:16)I didn't think it was necessary, given the fact that "cpufreq_ondemand" should do the trick. It would be pointless to add it in the first place.
Wiki once more:
https://wiki.archlinux.org/index.php/CP … figuration
It might not be the most intuitive way to run things, but any governors you plan to use (apart from performance) have to be loaded as modules first before they can be set by the daemon or other tools.
Last edited by hokasch (2011-06-18 23:54:06) -
Adding eth0 to rc.conf?
Well, I have finally taken the step to install Arch Linux (not from LiveCD), but I have a problem. In order to make a connection to the Internet I have to load the module eth0, because I want to load it each time I have decided to put it in rc.conf instead of modprobe. The problem is though I don't really know what the name of my eth0 is. I'm using a live CD to connect to the internet, and I have taken a ook in the modprobe on the LiveCD but it's empty. Is there a way I can find out what eth0 device I have?
Since I can connect to the Internet it must have worked, but I have no idea where to find it?First install and run hwd (pacman -S hwd) - it's in staging repo http://xentac.net/~tur/repos.php. Hwd (hardware detection http://amlug.net/new-projects/hwd/hwd.html) will not change anything itself it will only advise you some changes. It will also generate sample XF86Config. About fonts: try also installing some additional font packages (pacman -Ss fonts will show you what's available. I advise you to install at least ms fonts). You can also config fonts from kconfig in kde. And the last thing: do not install all files from extra :-) just the ones you need.
Before asking next question be sure to read first http://www.archlinux.org/docs/en/, http://wiki.archlinux.org/ and search forums (there is search option in the right top corner). Also you can have faster response on arch linux irc channel (see arch linux homepage). -
Adding repos to pacman.conf: A vs B
It seems that people do things in two ways. I personally feel that one of these ways is "right", because it is the way that Arch does it by default, but that doesn't mean that the other way is "wrong". Anyway, I wanted to see what most people do with pacman.conf
Example A:
To use this repository, add the following to your /etc/pacman.conf:
[shadowhand]
Server = http://archpkg.wgilk.com/shadowhand
This is also the way that z4ziggy reccommends that people add the Archie repos.
Example B:
Add a file to /etc/pacman.d called "dibble" containing:
# dibble: dibblethewrecker's pkg repo
# http://dtw.jiwe.org
[dibble]
Server = http://dtw.jiwe.org/pkgs/dibble
Add this line to pacman.conf:
Include = /etc/pacman.d/dibble
So, what do most people do? 14 day poll. I'd also appreciate input from the devs if they have any.tomk wrote:
dibblethewrecker wrote:I personally feel that one of these ways is "right", because it is the way that Arch does it by default
The default pacman.conf has examples of both, dibble - [testing] is commented, but it's using Server, not Include.
Most new servers are single and unmirrored, so that's my vote, but I think it's more of a discussion than a poll. Why does it matter, by the way?
Because we need code to parse pacman.conf to check that people have certain repos list. I wrongly assumed people used Include over Server but it seems I was wrong!
kth5: nice idea but no - if you have all your repos listed in one file then syncing custom will only sync from the first Server address listed -
@hal @cron in rc.conf
I was under the impression it is a bad idea to background hal in rc.conf. Yet, I have read some remarks here and there by people who have done so with no negative effects experienced.
Also, is it safe to background cron? I'm using dcron (Dillon's Cron Daemon).
Thanks.
fyi: DAEMONS=(syslog-ng @network @dnsmasq !netfs crond hal @sensors)Inxsible wrote:Also, the time needed for you to reach your desktop and are able to do anything with the system, is sufficient for all the backgrounded daemons to start.
My assumption is when the tty login screen appears, init has finished with it's boot up work. After that, the system switches to tty7 and x starts followed by my desktop. Without backgrounding hal, the desktop appears 28 seconds after bootup and about 3 or 4 seconds after the tty login appears. When I background hal, the tty login appears at the 20 second mark and I'm sitting at a blank screen for about 5 or 6 seconds before my desktop appears, still at the 28 second mark. My guess is x.org waits for hal to start before it does anything. I believe x checks hal for hardware detection. I may have to change its settings to not auto-detect hardware but I'm a lazy guy . -
Delete a plugin that you added with conf.pl
I what to delete a plugin that I added in squirrelmail with conf.pl.
How do I do this? I have looked everywhere.
Thanks,
Tom
G4 1.5gNevermind. My window was not large enough to see the installed plugins at the top of window in conf.pl.
Choosing them is how you uninstall a plugin.
G4 1.5g -
HAL Error - Thunar-volman / USB Hard Drive
On my last arch setup, I installed hal,gamin, thunar and thunar-volman. I could then plug in my usb HD and when U turned it on it would mount. I could then read and write to it as a user. This time when I installed the same programs, added hal to my rc.conf, added my user to groups storage and optical, and plug in my drive, I get an error that says
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").
fdisk -l
Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x562c2a8b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9729 78148161 7 HPFS/NTFS
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39473947
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9 72292 83 Linux
/dev/sdb2 10 42 265072+ 82 Linux swap / Solaris
/dev/sdb3 43 1190 9221310 83 Linux
/dev/sdb4 1191 30401 234637357+ 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dde34f3
Device Boot Start End Blocks Id System
/dev/sdc1 1 60801 488384001 83 Linux
blkid
/dev/sda1: UUID="C81886E81886D53A" TYPE="ntfs"
/dev/sdb1: UUID="638d081d-a3c7-4df9-88b6-6ee99085c55c" TYPE="ext2"
/dev/sdb2: TYPE="swap" UUID="ca1a0f1d-78fc-4dfc-b2c2-c82e063d0fbb"
/dev/sdb3: UUID="8d2ef431-b599-4c58-913f-781d96d8036d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb4: UUID="ae11e87d-57d4-4016-a839-955ee76c1e96" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: UUID="196c625c-f949-4889-b1e1-fec7d9f5da22" TYPE="ext3" SEC_TYPE="ext2"
mount
/dev/sdb3 on / type ext3 (rw)
none on /dev type ramfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sdb1 on /boot type ext2 (rw)
/dev/sdb4 on /home type ext3 (rw)
If I plug the drive in and do a su -c 'mount /dev/sdc1 /home/justin/backup' it mounts fine to /home/justin/backup
I dont know if I am in the wrong group or I need to add the drive to my /etc/fstab . I googled the error, and it seems to give me a bunch of hits, but all relating to cdroms and kde bugs. I tried to post any relevant commands I could think of, if their is anything else needed, please let me know. Thanks, Justindevice descriptor read/64, error -110
I just got that same error message (but not some of the others you have) after a system update to kernel 3.4.3-1-ARCH. This happens for me when using a (slow) USB drive... but only under a heavy read/write load. I'd never had this problem before using the same applications and hardware.
So I poked around in the kernel source code. That message occurs when the kernel tries to send a Control Message to a USB device, but the operation times out. But... you can change the timeout value.
If you do a "modinfo usbcore", you'll see that one it's parameters is "initial_descriptor_timeout" and it defaults to 5000 milliseconds (5 seconds)... which is forever in the kernel world, but like I said, I've got a slow USB flash drive... and there's a comment in the code that one particular device needs a 10 second timeout.
So I'm going to try a larger value.
You can change it temporarily by entering "echo -n {some-value} > /sys/module/usbcore/parameters/initial_descriptor_timeout" with root authority.
Or permanently, in a file in the /etc/modprobe.d directory and put an "options" line in it... see "man modprobe.d". -
Modules not loading correctly in rc.conf but..
I installed hal,gdm, and fam I added them to rc.conf the comes boot up it says "FATAL: GDM cannot be loaded" along with hal and fam But when I type /etc/rc.d/gdm start or any other module I installed , it works, any help would be greatful
yep. or you can
nano /etc/inittab
and uncomment the line about the gdm, comment xdm though!
pertty sure that'll work, i've down the deamons method... but now i just do startx...
sv -
How do you get hal working?
What is the proper way to get hal working ?
Do I need to start gnome-volume-manger ?
How do you get hal started seems that adding it to rc.conf [DAEMONS] does not work
Its odd never had many problems mounting until recently
Or is it just again lol
MrGMr Green wrote:But I would rather get it working in DEAMONS do you use @ in front of hal & dbus?
No. I remember when I installed GNOME I added
portmap fam dbus hal
to the DAEMONS line in rc.conf, without @
Then I installed gnome-volume-manager and set it up. That picked up my ipod just fine, without any udev rule written by me. -
I've seen a couple of threads with the same problem but have not been able to get this daemon started. I keep getting a 'failed' output after calling hal with sudo privilages in /etc/rc.d/
I am a group member of the optical and storage groups. I've tried adding hal only right after syslog-ng in the daemons array as well as dbus and hal respectively, but to no avail.
I've tried starting, stopping, restarting, and everything fails. The only success I've had was starting dbus but nothing else.
I found it interesting that the ps aux command returns that the hal daemon is running which is odd after having failed starting/stopping it. It does'nt seem to work anyways.
[chuck616@experimental ~]$ ps -A | grep hal
728 ? 00:00:00 hald
729 ? 00:00:00 hald-runner
758 ? 00:00:00 hald-addon-inpu
778 ? 00:00:00 hald-addon-stor
781 ? 00:00:00 hald-addon-acpi
Anyone has any idea? I've also just noticed it says hal is deprecated does that mean hal is no unnecessary anymore? I'm only trying for it to recognize my CD drive and automount it to my desktop (using pcmanfm with the desktop switch)aluser wrote:
I've manually added hal to the daemons array line in /etc/rc.conf and it looks like this:
DAEMONS=(syslog-ng hal network netfs crond gpm)
@karol
[chuck616@experimental Desktop]$ sudo /etc/rc.d/hal start
Password:
:: Starting Hardware Abstraction Layer [FAIL]
[chuck616@experimental Desktop]$ sudo /etc/rc.d/hal stop
:: Stopping Hardware Abstraction Layer [FAIL]
[chuck616@experimental Desktop]$ sudo /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer [FAIL]
:: Starting Hardware Abstraction Layer
it does look to me that hal is up and running. edit: did'nt scroll left
Last edited by warenoso (2011-06-20 22:42:32) -
Configuring httpd-ssl.conf on Leopard and Apache 2.2.6
Hi everybody,
I recently migrated to Leopard from Tiger 10.4.10. On my Tiger client I had installed my own web server using mod_ssl with Apache 1.3 server. On Leopard, apache 2.2.6 and OpenSSL 0.9.7 are now installed and configurations files have changed.
Since two weeks, I'm trying to install mod_ssl without success on my machine. Thereafter, I will show only what's relevant from two configuration files :
First -> Httpd.conf (which is in /etc/apache2/)
#My port 80 is blocked by my isp
Listen 8080
<IfDefine SSL>
LoadModule ssl_module libexec/apache2/mod_ssl.so
</IfDefine SSL>
LoadModule php5_module /usr/local/php5/libphp5.so
User www
Group www
</IfModule>
<IfModule mod_ssl.c>
Listen 8080
Listen 8083
</IfModule>
DocumentRoot "/Library/WebServer/Documents"
<IfModule dir_module>
DirectoryIndex index.htm lndex.php index.htm default.html
</IfModule>
ErrorLog /private/var/log/apache2/error_log
# Virtual hosts
#Include /private/etc/apache2/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
Include /private/etc/apache2/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include /private/etc/apache2/extra/httpd-dav.conf
# Various default settings
#Include /private/etc/apache2/extra/httpd-default.conf
# Secure (SSL/TLS) connections
#Include /private/etc/apache2/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php
</IfModule>
#Include /private/etc/apache2/other/*.conf
# end of httpd.conf
Second ->httpd-ssl.conf (which is in /etc/apache2/extra/)( I elided personnal information)
<IfModule mod_ssl.c>
listen 8080
listen 8083
</IfModule>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
#SSLSessionCache "dbm:/private/var/run/ssl_scache"
SSLSessionCache "shmcb:/private/var/run/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex "file:/private/var/run/ssl_mutex"
<VirtualHost default:8080>
#Just to keep things sane...
DocumentRoot "/Library/WebServer/Documents"
ServerName myadress.com
ServerAdmin [email protected]
SSLEngine off
</VirtualHost>
<VirtualHost default:8083>
# General setup for the virtual host
DocumentRoot "/Library/WebServer/Documents"
ServerName myadress.com
ServerAdmin [email protected]
ErrorLog "/private/var/log/apache2/error_log"
TransferLog "/private/var/log/apache2/access_log"
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# SSL Cipher Suite:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:eNULL
# Server Certificate:
SSLCertificateFile "/private/etc/apache2/ssl.key/server.crt"
#SSLCertificateFile "/private/etc/apache2/server-dsa.crt"
# Server Private Key:
SSLCertificateFile "/private/etc/apache2/ssl.key/server.key"
#SSLCertificateKeyFile "/private/etc/apache2/server-dsa.key"
# Server Certificate Chain:
#SSLCertificateChainFile "/private/etc/apache2/server-ca.crt"
# Certificate Authority (CA):
#SSLCACertificatePath "/private/etc/apache2/ssl.crt"
SSLCACertificatePath "/private/etc/apache2/ssl.key/"
#SSLCACertificateFile "/private/etc/apache2/ssl.crt/ca-bundle.crt"
# Certificate Revocation Lists (CRL):
#SSLCARevocationPath "/private/etc/apache2/ssl.crl"
#SSLCARevocationFile "/private/etc/apache2/ssl.crl/ca-bundle.crl"
# Client Authentication (Type):
#SSLVerifyClient require
#SSLVerifyDepth 10
# Access Control:
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSLCLIENT_S_DNO} eq "Snake Oil, Ltd." \
# and %{SSLCLIENT_S_DNOU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>
# SSL Engine Options:
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/Library/WebServer/CGI-Executables">
SSLOptions +StdEnvVars
</Directory>
# SSL Protocol Adjustments:
BrowserMatch ".MSIE." \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# Per-Server Logging:
CustomLog "/private/var/log/apache2/sslrequestlog" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
### end of httpd-ssl.conf
When I uncomment this line in httpd.conf :
LoadModule ssl_module libexec/apache2/mod_ssl.so
and try to send the 'apachectl start' command in terminal nothing happens. Apache seems to hang and
no "Apache/2.2.6 (Unix) DAV/2 PHP/5.2.5 configured -- resuming normal operations" in my console log. Of course, nothing in my error_log.
I've read somewhere else that there would be a bug in 9.7 version of modssl and that we should install 9.8 version. Could anybody confirm this ?
Is there somebody here who succeeded installing ssl on apache 2.2.6 and Leopard 10.5.1 ?
Thanks for helping me
RegardsYou need the latest plugin.
Get it from at least 6.1 SP4.
Eric
"Michael Congdon" <[email protected]> wrote in message
news:[email protected]..
>
I am having the exact same problem with Apache 2.0.40 on Solaris 2.7 andWebLogic
6.1 SP 1.
Please let me know if you get any help. I don't know of anyone who hassuccessfully
used Apache 2.0 w/WebLogic.
"Yanjing Liu" <[email protected]> wrote:
I tried to use apache plug-in to forward request to a wls6.1sp1 on
Win2000.
>>
So I installed Apache 2.0.40 running on Solaris 8 and simply copymod_wl.so
from
WL_HOME\lib\Solaris to APATHE_HOME/libexec. A few lines has been added
to my httpd.conf,
which are:
LoadModule weblogic_module libexec/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost myweblogicserver.com WebLogicPort 7001
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
</Location>
When I verify the syntax of the httpd.conf file with the followingcommand:
>>
/export/home/apache2/bin/apachectl configtest
Here are the errors I got:
Cannot load /export/home/apache2/libexec/mod_wl_20.so into server:ld.so.1
>>
/export/home/apache2/bin/httpd:fatal: relocation error:file
/export/home/apache2/libexec/mod_wl_20.so: symbol apr_pool_create:referenced
symbol not found.
Has anyone expereinced a similiar problem?
Thanks,
Yanjing -
Dbus/Hal automount not working in KDE
Hi
I have set portmap dbus hal in rc.conf.
In Gnome automount works great but in KDE automount does not work and I don't know why.
Can someone please help?
All I want to have is when I insert cd,dvd,usbstick to have them automount.Thank you for your reply.
I am looking forward to your next release... -
Virtual Box vboxdrv error loading from rc.conf
As the guide says about VirtualBox PUEL installation:
made the package, added to group, added vboxdrv to rc.conf, run /sbin/vbox_build_module
Now rc.conf wont load in start the vbodrv says no such module in /etc/rc.d/
And VirtualBox says:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
When trying to start a Virtual Machine.
If I give modprobe vboxdrv the driver is loaded and everything is running smouthly.
Why happens that? I see no module in /etc/rc.d with name vboxdrv. How can modprobe works? It is looking in other folders 4 vboxdrv?Thats what I did and it worked. But I want the driver to be loaded automaticaly in system start.
The question is why its no working by putting in rc.conf the vboxdrv?
My opinion: Its not loaded automatically cause it cant find it in /etc/rc.d which is the folder where the module section in rc.conf looks in. Where it is so I can copy or do symlink to /etc/rc.d search didnt helped.
Thanks anyway -
What to put in modprobe.conf?
hello
i can't get to run network the best i got out of it was
siocaddrt: network unreachable.
i think it might be because i haven't added anything to modprobe.conf. however, i just don't know what to add.
i have Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter, Copper RJ-45. i hope you know what it means...thanks it worked
to be honest, i didn't really believe it would as it's my i think 4th or 5th attempt at networking in arch and every time i'd spend up to a week browsing the forums and asking at irc a lot and nothing ever helped.
but this did. thank you once again -
[solved] Question about the Hardware Abstraction Layer (HAL)
Does hal change xorg.conf to xorg.conf.d when enabled in the daemons section?
Last edited by digitalphoenix (2010-09-28 22:34:01)No.
http://www.archlinux.org/news/xorg-18-moves-to-extra/
Maybe you are looking for
-
this was working fine for weeks. on muse, site changes seem to go fine and when i publish it seem to suggest the correct site name with the www.domainname.com below it. publish action on muse seems fine. when i look in the admin console, and hi
-
How do i edit a saved document?
how do I edit a saved document?
-
Upgrade BI Content Level 0000 to 0008
Hi, I have posted this to BI with no responses so I'm posting here in hopes some Basis person might be able to help. We currently have BI Content BI_CONT 7.03 0000 (Level 0). I would like to have the latest Business Content Level for Statistics.
-
Problems downloading songs on iphone4
Ever since I downloaded the new IOS software I have had problems downloading music in itunes on my iphone4. I can access the itunes store on my phone, i can purchase the music and then when the phone starts to download it goes through part way and t
-
Hi SAP, what is procedure before we what to change material pricing (MAP) ... do we need to change the info record also ?