Skip to content

u/NigelClutterbuck

In this archive from Apr 2015 to May 2019

0
posts
162
comments
0
media
287
score

I'm guessing you have the same issue I had once.

In my case, it turned out that two different DHCP clients were competing for the same config file, and one of them were setting wrong permissions on the config file, making it unavailable for the other client. I believe it was the resolv.conf file.

I vaguely remember doing the following:

  1. Install and enable the networkmanager service (and network-manager-applet if you want a GUI) https://wiki.archlinux.org/index.php/NetworkManager

  2. Disable dhcpcd (NetworkManager has its own built-in dhcp client)

  3. Delete the resolv.conf file (Network manager should create a new one after reboot)

  4. Reboot

This is just from the top of my head. It may or may not work for you

1 points

I agree it is a great guide. It trims off the fat that will just confuse first timers anyway. If it was adopted by the wiki as a quick and dirty guide to get started, maybe it wouldn't become outdated either.

Unlike most fundamentalists here I believe the fastest way to learn something complex is from examples, and at that stage it doesn't matter if it is 100% correct or if it is incomplete either. Stumbling your way forward, two steps forward, one step back, is the only way to move forward for most people. Nothing wrong with that.

Good for you.

1 points

In short, you need a proper .config/fontconfig/fonts.conf

Here is mine https://raw.githubusercontent.com/bytting/dotfiles/master/home/.config/fontconfig/fonts.conf

Read https://wiki.archlinux.org/index.php/Font_configuration for details.

And you need to make sure you have installed some good font packages, like ttf-liberation, ttf-droid and noto-fonts.

You may also want the adobe-source-code-pro-fonts package for a good terminal font.

1 points

By the way, for nvidia cards, you typically just need to install the xf86-video-nouveau package (open source driver) or the nvidia package (proprietary driver)

Also, switching from netcfg to network-manager is a good idea, but make sure you remove any profile files in /etc/netcfg, and disable the dhcpcd service (network-manager has its own builtin dhcp client that replaces it)

3 points

The minimum needed to get the basics up and working is actually quite small. Unfortunately it takes a bit of reading and testing to figure out what is irrelevant and what is not.

From what you have said in this thread I would say no, there is really no reason why it would be worth it. On the other hand, it is a great way to learn the ropes.

PS. Broadcom wifi can be a pain in the ass sometimes. Not your fault

18 points

Sounds good. NetworkManager replaces dhcpcd though, so no need for both if you go back to that.

Btw, I also had some issues with NetworkManager/dhcpcd lately, I think dhcpcd messes up the permissions on the /etc/resolv.conf file so NetworkManager may have problems overwriting it, or something like that.

With some luck you should be able to disable dhcpcd, delete that file and reboot. NetworkManager should create a new one.

3 points

I have had some issues with this myself when switching to NetworkManager. Pinging an IP address, like 8.8.8.8 works, but pinging a hostname like www.google.com doesn't work.

If this is the case for you, chances are that the file /etc/resolv.conf has wrong permissions for NetworkManager to handle it.

You could try to move that file to your home directory or something, then reboot and see if NetworkManager creates a new one.

Of course, if you don't use NetworkManager, this does not apply to you

1 points

If you are using NetworkManager, disable the dhcpcd service (conflicts with NetworkManager), delete /etc/resolv.conf and reboot.

If you are not using NetworkManager I suggest you delete /etc/resolve.conf and reboot. It could be that the file has gotten the wrong permissions.

I have seen this issue several times now, typically when people use more than one network manager at the same time, or when they switch from one to the another.

1 points

You're welcome. Basically, Arch doesn't add any configuration other than what the upstream projects comes with by default, so fonts needs a little work. Installing some decent font packages and adding the fonts.conf file is all it takes though.

2 points

Store this file as $(HOME)/.config/fontconfig/fonts.conf

https://raw.githubusercontent.com/bytting/dotfiles/master/home/.config/fontconfig/fonts.conf

Install some good font packages: ttf-liberation, ttf-droid, noto-fonts, adobe-source-code-pro-fonts

Then reboot.

The adobe source code pro font is by far the best for terminals. You can configure it in .Xresources

https://raw.githubusercontent.com/bytting/dotfiles/master/home/.Xresources

And here is how to calculate the correct DPI value for your screen

https://winaero.com/blog/find-change-screen-dpi-linux/

1 points

Try saving this as ~/.config/fontconfig/fonts.conf and reboot

https://raw.githubusercontent.com/bytting/dotfiles/master/home/.config/fontconfig/fonts.conf

(Possibly adjusting the DPI parameter depending on your monitor/resolution, with a high resolution screen, 120 may lok better than 96)

That's how I "fix" my fonts in a new Arch install.

If you don't use one of the major desktops (GNOME, KDE, etc.) you can install lxappearance for further configuration of your system, including selecting fonts.

Also make sure you install some good font packages: ttf-liberation, ttf-dejavu, ttf-droid, noto-fonts

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.