First archlinux experience
I'm a long time debian user. I did my first arch install yesterday. A humbling experience.
The instructions on the website were great. I think the approach of booting a install system off a usb, partioning and mounting a target disk, boot strapping to that disk, then chrooting, is clean works well and I'd happily do that again.
So I get through the install, install the boot loader, reboot and I'm in on the root account.
Better make a user account. Adduser. Nope. Useradd then ok. User created check, but no home directory and skeleton?
Ok install some packages. No network connection?
$ ip a
Ok so we don't call it eth0 anymore. $ ip eno1 up
Unknown device?
Back to grub, boot the debian partion.
I think it is great there is a distro which is so exact and exacting, but for me it seems like buying a f1 car then discovering you can't get out of the driveway without stalling.
I want to be this good. I will return and my arch system will become usable, but crikey it's harder than I expected. Lucky the documentation is so good. I have some reading to do.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 30f8ch
11 comments
The Beginner's Guide plainly covers your issues:
It's linked to from the home page and from the wiki, here https://wiki.archlinux.org/index.php/Main_page on the right side.
https://wiki.archlinux.org/index.php/Users_and_groups#Example_adding_a_user Above reference linked to indirectly from beginner's guide, from here https://wiki.archlinux.org/index.php/Beginners%27_guide#Post-installation
(just so you know I am not bs'ing you.)
Discovery of network device names
https://wiki.archlinux.org/index.php/Beginners%27_guide#Wired
Trying to bring up the network as the non root user? Nope.
Your wired interface should just work per this https://wiki.archlinux.org/index.php/Beginners%27_guide#Establish_an_internet_connection
I could be wrong, but it seems like most of your problem is just failing to read (carefully maybe) the beginner's guide.
I hope you return because Arch Linux is very rewarding.
Good Luck
Well, reading manpages can be a useful habit.
What you wanted to do is
ip link set eno1 up.It's not harder, just different.
For example, the network interface naming is simply a consequence of Arch using systemd: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/.
Sometimes finding out the why can help make things less frustrating when trying something new.
I have a few computers running arch. The worst part is solving a problem and then forgetting how you solved it when you run into the problem on a different machine. We'll get it eventually.
Couldn't you just make a note of the problem and fix in some text editor? Then just stick it in a folder called 'Fixes' or something? I do that with almost everything because the memory loss is great with this one.
Hey I appreciate all the comments. Anticipated the suggestions to read, and please to see nobody commented RTFM.
Yes, I'm sure starting dhcpd will be the solution to the networking problem. Systemd is new for debian so some of these things are just unfamiliar.
The point of my post wasn't to bag archlinux for being difficult, more to highlight for others like me thinking to try it after other distributions, not to underestimate the complexity or be over confident. I knew arch was well documented, one of the reasons I want to try it, but documentation doesn't do hand holding and neither does the 'installer'.
Debian's installer leaves you with a working system, a rolling start. Arch tosses you the keys. Not bad, different.
Don't worry. It happens to most of us. That's when we learn that we skipped X section or that "oh, it was so simple, the answer was right there" and we end up knowing more about linux in general, arch, our hardware, etc.
The beautiful thing is that once you're used to the installation and have done it a couple of times you lose that fear and can have bleeding edge systems with a superb package manager that are absolutely tailored to your use (oh, and rolling release, no need to reinstall if you don't want to and it won't show signs of decay over the years).
When you want to customize something later on it feels easier than if you had been given everything beforehand (That was my experience with Ubuntu before trying arch).
Agree.
Early on, I learned that you can boot the install image, remount the filesystem, and arch-chroot back into it. Fix any items, and exit. Rarely does a person need to repeat the entire process.
I think the Arch wiki is fantastic for solving problems. I should know, I use it enough.
Nice to see you try it, give it another go when you have the time and will. It's not for everyone, suppose that's why there are so many distros to begin with.
As the network worked for the installation medium, and it doesn't now post-installation, the issue seems simple: You forgot to turn on the dhcp client.
Try (as root!)
if it works, make it start on every boot with
Also, use man. man useradd will show you all the options you need to create home directories and such. man ip would have showed you how to use that command properly (although I doubt you'd need it to solve this)