Navigating the morass of systemd, NetworkManager, and GNOME 3.10

The world of Linux: Where making a laptop engage its wired connection when attached to a dock is an exercise in frustration.

As a recent beneficiary of a laptop upgrade, I took the opportunity to re-examine my choice of Linux distribution that I use day-to-day. After a year of Arch Linux, and that distro deciding to move to the systemd init system, plus the depreciation of the far from impressive PreUpgrade tool in favour of a new upgrade experience on Fedora called FedUp, I decided that I would return to the land of Fedora.

Arch was, and still is, a very good Linux distribution — the community is good, and the Arch User Repository is as good as people say it is. In retrospect though, it was the move to systemd that made me decide to move on from Arch.

Changing an init system on an already installed system is just asking for trouble, but eventually when a confluence of issues regarding GNOME and Arch made it impossible to continue without making the transition to systemd, I duly followed. The process was not as torturous as it could be, as I’d already made the switch previously at home with my Gentoo box, so I had some idea what I was in for.

But after transitioning over to systemd, it is a brave user that blows away all the remnants of the old init system that they were using, as there is generally one or two services that do not work with systemd, or are so tightly integrated with the existing init system that you may need to wait a release or two to get systemd compatibility.

In essence, what you end up with is a hybrid system that doesn’t know whether it is Frankenstein’s monster or Kuato from Total Recall. And thanks to my home Gentoo box, I’d already had one of those things in my life already, hence I decided to go full systemd, and give Fedora another shot.

At the same time that I was returning from the world of Arch Linux to Fedora, it had acquired a dock to go along with the new Lenovo laptop — even though it is a laptop, it does spend most of its time attached to monitors, keyboards, and other peripherals, so it made sense to end the ritual of plugging and unplugging the same cords at the start and end of each day.

Everything on the dock worked as it should, with two notable exceptions: having a network cable connected to the ethernet port on the dock did not fire a cable connection event, and it is impossible to record from auxiliary audio line on the dock if a pair of headphones are connected to the laptop itself.

Network settings in GNOME 3.8

How things used to be in GNOME 3.8

Image: Chris Duckett/TechRepublic

The latter I have slowly turned to live with, because it is not often that I need to record from the auxiliary line, and is easily fixed by removing the headphones from the jack.

The former issue, despite the effect that a lack of connectivity has on modern desktop usage, was actually quite easily solved by quickly shooting the mouse to the top right of the desktop and clicking on the network icon of my GNOME 3 desktop to force enabling of the wired connection.

It sounds like a lot of movement, but it was really less than a second of work, and it wasn’t too much trouble — if it was a bigger deal, I would have investigated why the connection was not being enabled at boot each day.

What forced me to dig deeper was the attraction of trying out Fedora 20, Heisenbug, which was currently in beta.

As with every Fedora release, an upgrade to the latest release of GNOME occurs, and time I was updated to GNOME 3.10.

network-gnome310.png

New and “improved” network settings in GNOME 3.10

Image: Chris Duckett/TechRepublic

GNOME developers will do what GNOME developers do so well, and that means removing features with startling regularity. Consequently that little icon that I had relied upon at the start of each day was removed, and in its place was a wi-fi icon — wired connectivity had been exiled to the GNOME network settings panel.

Now I was forced to work dig into the inner workings of network connectivity involving NetworkManager and systemd.

A natural place to start would be the configuration file for NetworkManager, /etc/NetworkManager/NetworkManager.conf, but it contained only a one line reference to a Red Hat plugin, ifcfg-rh, that meant that all network configuration scripts would be stored in /etc/sysconfig/network-scripts/

Thanks to the changes in udev-197, network interfaces in Linux now have “predictable” names, gone is the eth0, eth1 names of old, and in its place is enp0s25 (in my particular piece of hardware). Therefore, in order to configure this interface, we need to edit /etc/sysconfig/network-scripts/ifcfg-enp0s25.

To get the network interface to come up on boot, all that is needed is to add ONBOOT=yes to the file.

It’s not much work once you know where to look, but it is not as simple as toggling a default connection status in the graphical interface that used to exist in GNOME, nor is it quite as straight forward as manipulating network settings Gentoo, but much of that can probably be put down to familiarity with that distro.

And if NetworkManager ever gives you too much grief, you can always throw it away and replace it with wicd.

Update: Adam Williamson, a QA engineer with Red Hat got in touch with the following instruction if you cannot face editing on the command line.

“Go to GNOME’s Network settings tool, open the settings for the
connection you want, go to Identity, and check ‘Connect automatically’.”

Note: This article have been indexed to our site. We do not claim legitimacy, ownership or copyright of any of the content above. To see the article at original source Click Here

Related Posts
10 มือถือ ราคาไม่เกิน 15,000 บาท น่าซื้อ น่าใช้ เดือนมกราคม 2022 thumbnail

10 มือถือ ราคาไม่เกิน 15,000 บาท น่าซื้อ น่าใช้ เดือนมกราคม 2022

แนะนำ 10 มือถือ ราคาไม่เกิน 15,000 บาท ได้สเปคแบบจัดเต็มระดับเรือธง กล้องถ่ายได้ครบทุกสถานการณ์ และแบตอึด ชาร์จเร็วไม่ต้องรอนาน น่าซื้อ น่าใช้ ทีมงาน iphone-droid.net รวบรวมมาให้แล้ว ประจำเดือนมกราคม 2022 มือถือ ราคาไม่เกิน 15,000 บาท เดือนมกราคม 2022 vivo V23e 5Grealme GT Neo2 5GSamsung Galaxy M52 5GXiaomi 11TXiaomi 11 Lite 5G NESamsung Galaxy A52s 5GOPPO Reno6 Z 5GOnePlus Nord CE 5GSony Xperia 10 IIIMotorola Edge 20 Fusionมือถือราคาหมื่นกว่าบาท ปัจจุบันมาพร้อมเทคโนโลยีใหม่ๆ และได้สเปคเกือบเท่ากับรุ่นแฟลกชิป ตอบโจทย์ทุกการใช้งาน ไม่ว่าจะเป็นหน้าจอสวย สีสันสดใส…
Read More
The creators of PUBG are suing Free Fire for plagiarism and Apple and Google for selling the game on the store. thumbnail

The creators of PUBG are suing Free Fire for plagiarism and Apple and Google for selling the game on the store.

Krafton บริษัทผู้พัฒนาเกมยอดนิยมอย่าง PUBG (PlayerUnknown’s Battlegrounds) ยื่นฟ้องร้องต่อผู้ที่มีส่วนเกี่ยวข้องกับเกม Free Fire และ Free Fire Max เนื่องจาก 2 เกมดังกล่าวมีการลอกเลียนแบบเกม PUBG อย่างชัดเจน โดยบริษัทที่จะโดนฟ้องร้อง ได้แก่ SEA (บริษัทแม่ของ Garana) , Garana และ Moco Studios รวมถึง Apple และ Google ที่เป็นผู้จัดจำหน่ายเกมบนสโตร์ของตัวเองด้วยแม้แต่ YouTube ก็โดนฟ้องกับเขาด้วย เนื่องจากมีวิดีโอ game play ของเกม Free Fire และ Free Fire Max แสดงอยู่บนแพลตฟอร์มของ YouTubeKrafton ระบุว่าเกม Free Fire และ Free Fire Max ที่พัฒนาโดย 111dot…
Read More
Developer uses Raspberry Pi to install CarPlay system on Tesla thumbnail

Developer uses Raspberry Pi to install CarPlay system on Tesla

一位开发者想出了一个办法让CarPlay在特斯拉上运行,其变通方法是允许司机在驾驶时访问他们的iPhone。虽然苹果的CarPlay可用于许多汽车信息娱乐系统,但它从未被正式允许在特斯拉的车载显示屏上运行。 尽管安装一个支持CarPlay的售后头显是可行的,但波兰开发者Michal Gapinski想出了自己的办法。在周五发布在Twitter上的图片和视频中,Gapinski展示了他的特斯拉在其车辆显示屏上运行CarPlay。Tesla North发现的这些片段显示,该功能相当实用,包括苹果地图和Apple Music。然而,Gapinski没有对特斯拉本身的硬件进行任何重大改变,而是绕过了Wi-Fi限制,这使得特斯拉的浏览器可以连接到一个辅助设备。反过来,浏览器将主机设备上显示的内容作为实时视频资料。开发者解释称,该项目实际上依赖于一个运行Android定制版本的树莓派。该版本运行一个跟CarPlay兼容的界面,这使得苹果的用户界面可以在大屏幕上使用。Gapinski称,该系统还有待改进,Wi-Fi连接需要一些改进以使其更加顺畅。由于目前处于早期阶段,该开发者称其计划在完善后向公众发布。特斯拉似乎不太可能很快在其车辆软件中采用CarPlay,因为它跟苹果长期以来存在争执--主要是关于苹果汽车的开发。多年来,双方都曾多次雇用对方的工程师。两位CEO似乎也有着互相攻击的历史。特斯拉CEO埃隆·马斯克曾在一次电话会议上对苹果进行了抨击,而据称苹果CEOTim Cook在2016年也对马斯克成为CEO的建议表达不满。
Read More
Enkele crypto-eigenaren hebben tientallen miljarden euro’s verloren thumbnail

Enkele crypto-eigenaren hebben tientallen miljarden euro’s verloren

Auteur: Onno, gepost 3 februari 2022 om 09:12 – 2 Reacties Sinds de piek van Bitcoin in november hebben deze crypto-eigenaren heel veel miljarden verloren. Bitcoin is met bijna 50% gedaald sinds het record in november en dat heeft invloed op investeerders. De vermogens van de rijkste Bitcoin, XRP en andere crypto-investeerders en ondernemers zijn…
Read More
The OPPO Find X5 leaks in super-glossy mode thanks to new alleged hands-on images thumbnail

The OPPO Find X5 leaks in super-glossy mode thanks to new alleged hands-on images

Reviews, News, CPU, GPU, Articles, Columns, Other "or" search relation.3D Printing, 5G, Accessory, AI, Alder Lake, AMD, Android, Apple, ARM, Audio, Biotech, Business, Camera, Cannon Lake, Cezanne (Zen 3), Charts, Chinese Tech, Chromebook, Coffee Lake, Comet Lake, Console, Convertible / 2-in-1, Cryptocurrency, Cyberlaw, Deal, Desktop, E-Mobility, Education, Exclusive, Fail, Foldable, Gadget, Galaxy Note, Galaxy S,…
Read More
Index Of News
Consider making some contribution to keep us going. We are donation based team who works to bring the best content to the readers. Every donation matters.
Donate Now

Liking our Index Of News so far? Would you like to subscribe to receive news updates daily?

Total
0
Share