[Solved] I make mistake, switch /etc/fonts/conf.d of ubuntu to my arch
Arch's fonts was too small in firefox and sites was difficult to read and with layout wrong because of font, then I switch the fonts config of ubuntu to my arch to fix this problem and I solve, otherwise now I receive errors in terminal when I perform a program like this: Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : legacy".
somebody can help me?
sorry by bad english.
Last edited by solanoalves (2008-01-23 04:08:29)
A good idea would be to post that file.
An alternative would be to remove the contents of /etc/fonts/conf.d and reinstall the fontconfig package. Then follow the instructions in the wiki to get a better font rendering.
Good luck
Similar Messages
-
[SOLVED] Changed an option in /etc/updatedb.conf
Hello all,
I started using locate to search my files. However, it never showed files in my /home directory which is, obviously, the directory I search most. Running updatedb --debug-pruning I found out that it didn't add /home to the database because it's an "autofs" filetype:
┌─[jente @ lappy ~] 23:54:27
└─■ sudo updatedb --debug-pruning
`/home' (32 on 18) is `/' of `systemd-1' (0:27), type `autofs'
Skipping `/home': in prunefs
So, I edited /etc/updatedb.conf and removed autofs from the PRUNEFS line. I never found any documentation on this and thus, I don't know if this is the correct way of solving this. Hence this post; I would just like to get some feedback on whether or not I fixed this the right way.
Thanks in advance, guys!
Last edited by Unia (2012-12-15 13:45:36)Unia wrote:
Mr.Elendig wrote:Another way would be to add your /home to fstab instead.
Hey! Thanks for your input. My /home is actually already there:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sda1
UUID=60eb73f7-635c-4b3e-9d6a-8bb49aee739a / ext4 rw,relatime 0 1
# /dev/sda2 LABEL=home
UUID=4470b151-db99-4586-a652-398e0e8995cb /home ext4 rw,relatime,noauto,x-systemd.automount 0 2
If your /home is on an internal disk, why use automount? -
Strange characters on websites after setting preferred in fonts.conf
After setting preferred fonts in fonts.conf, websites are displaying all sorts of misplaced characters like arabic glyphs, a Tux icon, english glyphs that are out-of-place, like such:
http://imageshack.com/a/img661/548/tIVwdh.png
I'm just using one prefered font for serif and one for sans. But I don't understand why arabic and english glyphs would be appearing. Do I need to add a symbol font to my preferred fonts? Or what? Thx.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --You're editing /etc/fonts/fonts.conf?, because that's supposed to break the configuration. The wiki-recommended way is to create a file in /etc/fonts/conf.d such as 60-preferences.conf, and put the preferences there. Mine which works on my box contains
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Ubuntu Mono</family>
</prefer>
</alias>
</fontconfig>
Additionally, if you edited /etc/fonts/fonts.conf, delete or move it somewhere else, and reinstall the default fonts.conf by running
pacman -S fontconfig
Last edited by mojangsta (2015-04-18 15:55:31) -
[SOLVED]Which package is the Heltivicta font in?
Which package is the Heltivicta font in? It's apparently missing from my computer.
Last edited by ShadowKyogre (2009-07-28 19:12:25)ShadowKyogre wrote:Which package is the Heltivicta font in? It's apparently missing from my computer.
The packages, xorg-fonts-100dpi and xorg-fonts-75dpi install the bitmap version of helvetica. These are probably what you're referring to as they are the core X fonts found on most GNU/Linux and BSD systems.
You should be aware however that Fontconfig disables the rendering of these fonts by default. You'll need to tweak your system settings in order to view them (otherwise substitution will occur). The easiest way to do this is to remove the offending symlink from /etc/fonts/conf.d:
$ sudo rm /etc/fonts/conf.d/29-replace-bitmap-fonts.conf
Should you ever wish to restore this rule, you can do so with:
$ sudo ln -s /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf /etc/fonts/conf.d/29-replace-bitmap-fonts.conf
Hope this helps. -
Make fontconfig use ghostscript fonts for PDFs
I had a problem with Evince using my default sans-serif font (as set in .fonts.conf) in PDF files that ask for the standard Helvetica font. Since the two fonts have different character widths, the text in the PDF files doesn't look right. I fixed the problem by editing /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf and adding the ghostscript fonts to the replacement table (Helvetica -> Nimbus Sans L, Times -> Nimbus Roman No9 L, Courier -> Nimbus Mono L).
I noticed that the file already lists the Microsoft and Liberation equivalents as replacements (I have neither installed); is there some reason the ghostscript fonts aren't also listed there?http://www.box.net/shared/btpl0j2vo2
As an example, here is a screenshot of a PDF that uses the Times font. The left hand side is with the Nimbus fonts; the right hand side is with my default serif font. Normally I like the font on the right better (hence, I have it set as the default), but it looks awful in a PDF that was intended to be rendered with a Times font, since some of glyphs are narrower (notably the capital A). -
[SOLVED] How to restore kernel image after wrong /etc/mkinitcpio.conf
I wanted to learn a bit more about the kernel and boot, and I'm afraid I cannot start up my ArchLinux anymore.
I updated the /etc/mkinitcpio.conf to make the boot faster (with this reference: http://kmandla.wordpress.com/2007/01/30 … initcpio/) and executed #mkinitcpio -p kernel26
I thought that if there was any problem, I could start up with the "fallback image". Certainly, there was a problem (probably I didn´t loaded all the modules required) and when I tried the fallback image, I experimented the same problem:
Root device '/dev/disk/by-uuid/...' doesn´t exist
ramfs$
In fact, both images are the same (or at least they have the same size)
I tried the ArchLinux liveCD to recover my system. There's no recovery service, so I started up the CD-ROM, mounted my ArchLinux partitions, generated the images and copied into the /boot of my Archlinux partitions. But the same problem is still there.
What could I do to fix it?
Thank you in advance
Last edited by jjjaime (2009-05-10 15:45:45)Thank you. I follow your instructions and it worked (perhaps it would be simpler with a "#pacman -Sy kernel26"). I didn't know the command chroot and it's really interesting.
red_erik wrote:
I have a similar problem, (read more in this thread), and I solve it by booting off the Live CD, and doing the following:
(replace sda1 with your / partition)
cd /
mount -t ext3 /dev/sda1 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
mkinitcpio -p kernel26
after that, I exit chroot, unmount all of my partitions and reboot...:
cd /
umount -a
exit
cd /
umount -a
reboot
hope this helps... -
[Solved] Early ATI radeon start so vconsole.conf font will work
My console font gets set as per vconsole.conf then changes back to default when the radeon driver and/or KMS starts.
There's no VGA= on my kernel line and no other framebuffer drivers, so according to ATI#Early_start I can set this, but where, the kernel line?
AGP speed can be set with radeon.agpmode=x kernel option, where x is 1, 2, 4, 8 (AGP speed) or -1 (PCI mode).
somehow that will cause an early start? How do I know what AGP speed I want?
Or if I use method 2 from that wiki, adding radeon to Modules in mkinitcpio.conf, having never messed with that file, do I have to comb through lsmod and make sure that anything not in lsinitcpio -a is listed before radeon in modules? How do I know if/which of the suggested 'something'_agp modules to load?
Last edited by stozi (2013-09-25 21:11:34)I would go with the second method, editing /etc/mkinitcpio.conf.
stozi wrote:How do I know if/which of the suggested 'something'_agp modules to load?
You could try combing the lsmod output with:
lsmod |grep agp
and figure which module needs to be placed first in the MODULES array. Additionally, as stated in https://wiki.archlinux.org/index.php/Font#Examples_2, you need to append the consolefont hook in the HOOKS array near the end of the file. That way, the console font is set after KMS and not before, which I believe to be the issue. -
Hello all. I read about certain CFLAGS you can set in /etc/makepkf.conf, so I checked out if there was anything i could do to make the packages built on my system more optimized. However, as the title states, I'm not sure what to set. The sticker on my Thinkpad T61 says "Intel® Centrino® vPro™ inside™"
Which CPU type from the Intel list on that page applies to me? Thanks
Last edited by robrene (2009-09-14 10:37:45)This Gentoo wiki page looks legit. You may want to do a bit of background research before you dig into compile flags, as there's quite a lot that gcc can break when you tell it to crunch down your programs. Also, gcc's man page is pretty exhaustive; but if you're just looking for your -march flag, it's pentium-m.
Big 'AFAIK' here, but ignore the 'pro,' as Intel tends to arbitrarily tack that on products to up the price tag a smidgeon. -
Override CFLAGS and CXFLAGS from /etc/makepkg.conf [solved]
This might be a stupid question, but here goes: if I redefine variables such as CFLAGS and CXXFLAGS from within a PKGBUILD, any subsequent make would use the new ones rather than the ones defined in /etc/makepkg.conf ...right? I'm assuming that makepkg reads them once when the user invokes it.
Thanks.
Last edited by graysky (2011-01-15 11:58:58)Thanks. I looked at /usr/bin/makepkg and I believe this is the case, but I don't know of a way to check after I compile them. Is there some place I can look within the final NAME.tar.xz to see which CFLAGS were used? (Again, I think the answer here is "no").
-
[solved]Delay mySQL startup by 30 secs in /etc/rc.conf
Basically I use wpa_supplicant and it takes a a bit to connect, by the time /etc/rc.conf gets to the mysql startup service, mySQL cannot bind to my servers address,
This is because wpa_supplicant probably hasn't got an IP address yet, so mySQL fails to start at bootup every time, however right after the boot I can log in and manually boot it just fine.
Any Ideas? Maybe delay the mysql by 30-40 seconds at boot? Anyone know how?
Last edited by kr1zmo (2010-07-05 23:57:10)itsbrad212 wrote:
You could put:
/etc/rc.d/mysqld start
in /etc/rc.local
Thanks for the reply but I solved this by removing the @ before netprofiles, so that wpa_supplicant doesnt startup in the background, therefor everything else waits until wpa_supplicant is connected before it boots.
Last edited by kr1zmo (2010-07-05 23:59:58) -
[SOLVED]/etc/vconsole.conf doesn't react to any change
Hi,
I'm new in Arch Linux, so sorry if I'm missreading something.
I try to change my font and keymap using this manual: https://wiki.archlinux.org/index.php/KEYMAP
So i edit /etc/vconsole.conf like this:
KEYMAP=cz-lat2
FONT=Lat2-Terminus16
but nothing change, even after reboot. "kbd" is installed.
Btw. when I run "setfont Lat2-Terminus16" the font is changed (but just this session).
Thanks
Last edited by Kotrfa (2012-11-06 16:22:41)It doesnt work in any form.
I tried to add i915 to my mkinicpio to modules, but when I run:
[dan@localhost ~]$ sudo mkinitcpio -p linux
[sudo] password for root:
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
findmnt: /etc/fstab: parse error at line 7
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
bsdcpio: Failed to set default locale
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
bsdcpio: Failed to set default locale
==> Image generation successful
There are messages about failing to set locale.
Btw. here is my locale and locale -a output:
[dan@localhost ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
cs_CZ.utf8
en_GB.utf8
[dan@localhost ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Edit: When I try to change my keyboard layout in gnome creating /etc/X11/xorg.conf.d/10-keyboard.conf with:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XbkLayout" "cz"
EndSection
it doesn't work.
And when I try to use: "setxkbmap cz", it change my keyboard to czech, but it doesn't work in terminal (when i type "+ěščřtřžýáí" i get "+???????".
Last edited by Kotrfa (2012-10-29 12:33:51) -
Settings in /etc/sysctl.conf overwritten [SOLVED]
I added a new line to /etc/sysctl.conf setting the vm.dirty_ratio to 3 (line is simply `vm.dirty_ratio = 3`). I can invoke it by running `sysctl -p` so I know the syntax is correct. This setting is however not loaded upon a reboot. The systemd-sysctl.service is however kicked off just fine and completes without errors. I have also tried removing the line from /etc/sysctl.conf and placing it in /etc/sysctl.d/dirty.conf but again, it is not honored at boot. What am I doing wrong?
EDIT: The solution is in post #31 - acknowledgement to chp for pointing me to it. Note that I also changed to topic to a more relevant one.
Last edited by graysky (2013-08-10 12:27:41)Guess I'm stumped. I just spun up an Arch VM, pasted in the /etc/sysctl.conf below and reboot it. All the settings in the file in the VM are applied. If Leonid's guess that something is overriding these values on my workstation, I would like to figure out what it is and shut it down. To keep things simple, I booted into the stock ARCH kernel; here are the services I have active:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo
sys-devices-pci0000:00-0000:00:19.0-net-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-devices-pci0...-0000:00:1b.0-sound-card0.device loaded active plugged 7 Series/C210 Series Chipset Family High Definition
sys-devices-pci0...6-0000:07:00.0-net-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-devices-pci0...:0-0:0:0:0-block-sda-sda1.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda2.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda3.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...et0:0:0-0:0:0:0-block-sda.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb1.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb2.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb3.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb4.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb5.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb6.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb7.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et1:0:0-1:0:0:0-block-sdb.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et3:0:0-3:0:0:0-block-sr0.device loaded active plugged ATAPI_iHAS424_B
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-subsystem-net-devices-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-facade-.cache.mount loaded active mounted /home/facade/.cache
mnt-data.mount loaded active mounted /mnt/data
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
scratch.mount loaded active mounted /scratch
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
var-cache.mount loaded active mounted /var/cache
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
fancontrol.service loaded active running Fan control daemon
[email protected] loaded active running Getty on tty1
gpm.service loaded active running Virtual console mouse server
lxdm.service loaded active running LXDE Display Manager
[email protected] loaded active exited A basic static ethernet connection using iproute
ntpd.service loaded active running Network Time Service
polkit.service loaded active running Authorization Manager
psd.service loaded active exited Profile-sync-daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
psd-resync.timer loaded active waiting Timer for Profile-sync-daemon - 1Hour
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
And...
% systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path disabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-state.service static
alsa-store.service static
arch32.service disabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
binfmt-support.service disabled
blkmapd.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service enabled
cups-browsed.service disabled
cups.service disabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
display-manager.service enabled
distccd.service disabled
dkms.service disabled
dmeventd.service static
emergency.service static
fancontrol.service enabled
ftpd.service disabled
[email protected] enabled
[email protected] static
gpm.service enabled
hddtemp.service disabled
healthd.service disabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lxdm.service enabled
mcelog.service disabled
mpd.service disabled
[email protected] disabled
[email protected] disabled
netctl-sleep.service disabled
netctl.service disabled
[email protected] static
[email protected] static
[email protected] enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
ntpd.service enabled
ntpdate.service disabled
polkit.service static
psd-resync.service enabled
psd.service enabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
samba.service disabled
sensord.service disabled
[email protected] static
smartd.service disabled
smbd.service disabled
[email protected] static
snmpd.service disabled
snmptrapd.service disabled
speech-dispatcherd.service disabled
sshd.service disabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
[email protected] static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
ufw.service enabled
upower.service disabled
usbmuxd.service static
[email protected] disabled
uuidd.service static
vboxweb.service disabled
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
dmeventd.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
multi-user.target disabled
network-online.target static
network.target static
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
psd-resync.timer static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
231 unit files listed.
Last edited by graysky (2014-11-03 08:39:54) -
/etc/resolv.conf between netctl profile switches
Hi, all.
I use same laptop at home and in my office. Network is managed by netct. At home I connect using a profile generated by wifi-menu, in the office — plain ethernet-dhcp profile form examples folder.
With both connections nameservers are obtained via dhcp.
The issue is that after switching from office ethernet-dhcp to my home wi-fi netctl profile, /etc/resolve.conf retains nameserver and domain entries from the office connection. My home's nameserver entry gets appended to the end of the resolv.conf file. This, of course, causes unacceptable delays when resolving domain names, so I have to edit /etc/resolve.conf manually every time I've been using that office's connection.
I'm wondering whether there is something wrong with my setup.
Profiles are nothing special, as I said:
Description='Automatically generated profile by wifi-menu'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID=my_ssid
IP=dhcp
Key=my_passwd
Description='A dhcp ethernet connection'
Interface=enp0s25
Connection=ethernet
IP=dhcp
DHCPClient='dhcpcd'
Please, help me to resolve that issue. Feel free to ask for more details if needed.
Thanks in advance for help.
Last edited by eDio (2014-04-12 19:30:51)2branch,
I switch them with netctl switch-to command, which is incorrect, as I understand now.
Important notice is that I unplug ethernet cord first, and then I perform a switch.
Also I tried disabling ethernet-dhcp explicitly after switching to wlp3s0 — not helped.
I checked /run/resolvconf/interfaces, and found that enp0s25 is missing. Instead, I have tun0, which contains problematic entries.
dhcpcd --dumplease enp0s25
broadcast_address=10.1.20.255
dhcp_lease_time=604800
dhcp_message_type=5
dhcp_rebinding_time=529200
dhcp_renewal_time=302400
dhcp_server_identifier=10.1.10.2
domain_name=my.company.domain.name
domain_name_servers='10.1.10.2 10.1.1.6'
ip_address=10.1.20.30
network_number=10.1.20.0
ntp_servers=10.1.10.2
routers=10.1.20.1
subnet_cidr=24
subnet_mask=255.255.255.0 -
hello.
I set dhcpcd not to override the /etc/resolv.conf file:
[root@ jenia]# cat /etc/dhcpcd.conf
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
noipv4ll
nohook resolv.conf <----------------------------------------------------------------------------
However, this has no effect:
[root@ jenia]# cat /etc/resolv.conf
domain members.linode.com
nameserver 72.14.179.5
nameserver 72.14.188.5
nameserver 2600:3c00::2
nameserver 2600:3c00::3
options rotate
[root@ jenia]# systemctl start [email protected]
[root@ jenia]# cat /etc/resolv.conf
# This file is managed by systemd-resolved(8). Do not edit.
# Third party programs must not access this file directly, but
# only through the symlink at /etc/resolv.conf. To manage
# resolv.conf(5) in a different way, replace the symlink by a
# static file or a different symlink.
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
# Too many DNS servers configured, the following entries may be ignored
nameserver 2001:4860:4860::8844
As you can see dhcpcd ovveride the /etc/resolv.conf file.
How can I avoid this? How can I change the file and make the changes permanent.
Thanks in advance.
Last edited by jenia (2014-07-16 17:20:02)yes. exactly. i removed and used a text editor to make the necessary changes to a file of the same name (/etc/resolv.conf).
now the changes remained.
thanks. -
[solved] No dhcpd : No /etc/dhcpd.conf file
I've managed to get the KDE desktop running, but ever since starting KDE, I haven't been able to connect to anything online. When I tried to check and edit the /etc/dhcpd.conf file, that file doesn't exist. Looked at the Beginner's Guide but didn't see where I skipped whatever I should have done to make the file. Install worked great, so dhcp worked for that.
What do I do to get dhcp to work? Checked /etc/rc.conf and eth0="dhcp" is uncommented.
Last edited by pottzie (2010-05-14 05:11:38)What do you mean by this?
wrote:Right now I have three, "network netfs crond," "network crond alsa," "and dbus hal networkmanager alsa crond kdm." Hal's seemed kinda "maybe-ish," as when I entered what I thought was suggested, sometimes nothing happened, sometimes some things did
If those are what you are placing in the daemon section of your /etc/rc.conf then that's probably your problem. Don't use networkmanager daemon unless you have 'networkmanager' and 'network-manager-applet' installed.
Try this
(hal syslog-ng network netfs crond alsa)
Look here for network configuration
http://wiki.archlinux.org/index.php/Beg … NG_Section
And here to start KDM using /etc/inittab instead of /etc/rc.conf
http://wiki.archlinux.org/index.php/Dis … mmended.29
Have Fun!
Maybe you are looking for
-
How can I get a refund at the App Store when it isn't offered ?
Perhaps the Apple attack dogs will like this post better. How do I get a refund for a costly app that, after requesting a refund, appears to not offer one? How does one know if an app meets one's needs unless you try it first? This seems so obvious,
-
How To Create Editable Report in APEX 4.1
Hello Experts, I am trying to create a matrix report which should be editable when user clicks an edit button in APEX 4.1 Option 1 : Create a Classic Report with an Edit Link button on the left The report is based on a SQL Query When the button is cl
-
I downloaded the latest version of Itunes. After the game was downloaded, all my music was lost. How do I recover my music?
-
I am trying to open a wps file, but it won't let me. I tried dragging it to pages, but that still doesn't work. I am trying to open my resume. What do I need to do to let the system open up the wps file?!?! Thanks
-
How to disable or unable to viewa particular function for a responsibility
Hi I am trying to do personalization and i want to disable the view or updates of salary screen from people screen to certian responsibility.Especially element entry values should not be modified or viewed for specific responsibility.How can we do th