Skip to content

u/eyucathefefe

In this archive from Feb 2014 to Jul 2014

1
posts
46
comments
0
media
98
score

Top posts

Third time trying Arch; liking it a lot more this time! But - wifi problems again. "wlp3s0: carrier lost"

Using netctl + appropriate drivers...any ideas? This happens for multiple networks, different routers, different security... dhcpcd[2553]: wlp3s0: carrier lost dhcpcd[2553]: wlp3s0: deleting route to 192.168.1.1/24 dhcpcd[2553]: wlp3s0: deleting default route via 192.168.1.1 kernel: wlp3s0: Connecti...

0 points7 comments
Open on Reddit

Top comments

Good to hear it's working out! I feel the same way - arch just clicked in a way other distros don't. I feel like I'm learning! The wiki is fantastic, pacman is fantastic, and the AUR is pretty great too. Most things are the way I want them now, and anything that isn't, can be with a little work.

Good hunting :)

18 points

So you could basically say that su is more secure than sudo because you have to know the root password?

NO!

su is LESS secure than sudo because you have to use the root password. It is better, and safer, to type your password for root access. From the wiki:

From a security perspective, it is arguably better to set up and use sudo instead of su. The sudo system will prompt you for your own password – or no password at all, if configured in such a way – rather than that of the target user (the user account you are attempting to use). This way you do not have to share passwords between users, and if you ever need to stop a user having root access (or access to any other account, for that matter), you do not have to change the root password, which is an inconvenience to everyone else; you only need to revoke that user's sudo access.

Using your password for sudo is not less secure. It's either equally secure, or more secure.

12 points

So you want to know how to do something in Arch Linux. Here is a simple two-step process that will get you on the way to solving your problem.

--

Start with the wiki. You want to create a pkgbuild file. So, go to the pkgbuild page. And start reading. Click on links that look relevant. Read those too :)

https://wiki.archlinux.org/index.php/Pkgbuild

https://wiki.archlinux.org/index.php/Makepkg

https://wiki.archlinux.org/index.php/Creating_packages

--

Step two. Google.

https://www.google.com/#q=rpm+deb+makepkg&safe=off

Arch's packages are supposed to be as close to "vanilla" as possible. Now, while you could use rpmextract or alien, there isn't really a good reason to do so. What you should do is create a PKGBUILD that uses the RPM as the source file and then installs everything that's needed where it should be in the package() function. If you are unsure of how to do this, take a look at some packages on the ArchLinux User Repository; there are plenty that do similar things.

Now, since bsdtar (the default extractor used on source files by makepkg) supports extracting RPMs without issue, there is no reason to use rpmextract—it adds a makedependency without adding any real functionality.

--

Now you know how to do a thing in Arch Linux.

Start with the wiki, and then use search engines to read up on the topic.

If you don't find anything, then post somewhere asking for help.

Because of the nature of Arch Linux, this community tends to be self-reliant, and a certain level of self-reliance is expected. If you don't put the work in yourself to try and figure something out, you are not likely to get a warm welcome.

6 points

Battery life is something like 70% condition of your battery, 15% screen brightness, and 15% graphics card/processor usage.

Keep your screen dim, don't use the graphics card and keep processor usage down, and keep your battery in good condition (good charging habits mostly).

Get a new battery if you need one - the 9-cell in my Lenovo lasts upwards of 6 hours new, but less than 2 hours towards the end of its life. Individual cells go bad, not the whole thing - so if you want you can refurbish laptop batteries yourself by replacing bad cells. Definitely read some guides if you want to try this, it's sort of dangerous.

To my knowledge, there isn't much else you can do for battery life. Just that stuff.

Anything else is 5-15min improvements, at most, but if you're letting the battery get low enough that you need that 5-15min of extra power, that isn't keeping your battery in good condition. Full charges + discharges are much harsher on a battery than keeping your battery between around 60-80% charged at all times and only going up to 100% or anything less than 15% when absolutely necessary.

5 points

Subreddits

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.