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.
About this post
- Posted
- Archived
- Score
- 10 · 100% up
- Kind
- Text
- ID
- oefbar
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?
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
It's file system tag has to be swap.
Did you make it with a swap tag in fdisk?
Wait, when you say enable, are you referring to systemd?
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.
Thx a lot!
solved?
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 iwdmkdir /etc/iwdtouch /etc/iwd/main.confand 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.
With swap, when they say "/swapfile" they mean /path/to/swapfile.
First and third things I'd check journalctl logs.