Skip to content

Need help, Arch Linux install has several problems (read below)

My arch Linux install on my Lenovo t430s laptop has several problems. One is that the wifi doesn't work. I think it has to do with security, though, as I've connected fine to a wifi network without security before, however, my ability to connect was hit or miss. I'm allowed to enter the password for the network and even connect, but I can't even ping a website.

Another issue is that I can't activate my swapfile I use btrfs and have the nocow attribute as well as chmod 600 permission enabled on my swapfile. Swapon returns that '/swapfile' is an invalid argument.

One last issue is that my laptop seems to randomly "soft lock" in a sense. I can maneuver my desktop, but I specifically can't do anything even remotely intensive on the command line, such as pinging a website or concatenating a file. It seems to randomly occur, and prevents me from shutting down my laptop properly, as well. (The laptop will stay on but will attempt to shut down, it's just a black screen with a flashing indicator)

If anyone could help, that'd be great, thanks.

10 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
10 · 100% up
Kind
Text
ID
oefbar

Author

4
posts
17
comments
0
media
View profile

18 comments

You didn't enable swap

I'm sure what's wrong with your wifi, I'm assuming you got the networkmanager daemon downloaded and running, it's not packaged with arch.iso

I'm really confused by your softlock comment. You got a de installed?

3 points

Thanks for responding,

To reiterate, My problem with swap is that I can't enable swap.

Yes, I know, and I downloaded iwd, and enabled it.

I have cinnamon desktop, xorg server, lightdm, and lightdm-gtk-greeter Lightdm is enabled by systems Nothing else

1 points

Wait, when you say enable, are you referring to systemd?

1 points

If you can start up Wi-Fi, and get a connection, but can't ping, it is about name resolving. Don't know which technics you use, I would rather advise following u/arch_boi_69420. This would give you a clean, pure, modern start.

Otherwise, have a look at your resolve service/config.

2 points
  1. The following might help for the wifi issue,

iwd won't work out of the box and you gotta also enable systemd-networkd and systemd-resolved and set iwd to auto configure the network's dhcp settings through a configuration file.

sudo systemctl enable systemd-networkd systemd-resolved iwd

mkdir /etc/iwd

touch /etc/iwd/main.conf

and then put the following in the main.conf

-----------------

[General]
EnableNetworkConfiguration

[Network]
NameResolvingService=systemd

--------------------

Although you don't need the Network section as iwd is supposed to use systemd by default, having it there is better than not having it there.

​

  1. I have no idea how swap files work as I simply use a partition for that.

​

  1. You are you aren't running some poorly written script in the background with some kinda infinite while loop that sets time or something?
2 points
  1. This is seriously helpful, thanks!
  2. Fair enough
  3. I don't think so, Ive only downloaded directly from aur, main, and extra repos. Nothing that Ive downloaded is known in I'll manner. Ok but seriously, thanks 1000. That description was super clear, it's almost like something I would read on Arch's wiki.
1 points

With swap, when they say "/swapfile" they mean /path/to/swapfile.

First and third things I'd check journalctl logs.

2 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.