Ask Your Question
0

Is there a script to reinstall & configure network connections?

asked 2016-09-28 17:39:42 -0500

MicMar gravatar image

updated 2016-10-27 04:20:32 -0500

hhlp gravatar image

Hi, I have no network on Fedora 24 on my notebook (HP ProBook 4540s core i5, upgraded to Fedora 24). This happened by my fault, trying to fix the initial problems with wifi. I would like to run the initial script that detected the settings when I installed Fedora 21 (years ago). Is there some chance to find an automatic detection tool? Like the one that install procedure runs?

The machine mounts distinct network, wifi and 4G mobile-broadband modules that worked fine for years after fresh installation of Fedora 21. Now they are deactivated at starting Fedora and recover only after suspension (pm-suspend), but still not working.

The modifications made should be removed and take back the original post-install settings. Maybe the upgrades started network problems on that notebook (4G working only after suspending the machine) but for sure I made it worst.

Here enclosed the logs of lspci, networkctl, ifconfig,

*$ sudo lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

*$ networkctl
IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           n/a         n/a       
  2 enp4s0           ether              n/a         n/a       
  3 wlo1             wlan               n/a         n/a       
  4 enp0s26u1u5i6    ether              n ...
(more)
edit retag flag offensive close merge delete

Comments

It will be helpful if you could provide with your nic and wifi cards. Do sudo lspci | grep net and sudo lspci | grep Wire and paste the output here so we can help you better.

aeperezt gravatar imageaeperezt ( 2016-10-09 12:53:16 -0500 )edit

Thank you. I added those logs here on the original message.

MicMar gravatar imageMicMar ( 2016-10-26 16:49:23 -0500 )edit

The on board hardware on HP Probook 4540s is detected as: - Realtek : RTL 8111 | 8168 | 8411 PCI Express Gigabyte Ethernet (PCIe GBE) Family Controller - Qualcom Atheros AK9485 (802.11b/g/n) Wireless Network Adapter - HP HP hs2350 HSPA + Mobile Broadband Module Network Adapter - Qualcomm Atheros AR3012 Bluetooth 4.0 Adapter For some reason even the Fedora 25 Live distro fail to setup automatic connection with Etherned (wired lan) provided by the Realtek card. I will try to install the support following the instruction given here : https://unixblogger.com/2016/08/11/ho...

MicMar gravatar imageMicMar ( 2017-01-01 10:31:44 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-10-09 15:51:39 -0500

Raffael gravatar image

The tool which runs at install time and does all this is Anaconda. But I don't think it will solve your problem. Probably NetworkManager will help you more. Read the documentation I linked to and give us the output aeperezt asked for. Then we can give you a better answer.

edit flag offensive delete link more

Comments

My log: ~]$ nmcli device status DEVICE TYPE STATE CONNECTION
ttyACM1 gsm connected Dna internet default 00:19:B7:0A:F4:7E bt disconnected --
enp4s0 ethernet unavailable --
virbr0 bridge unmanaged -- lo loopback unmanaged --
virbr0-nic tun unmanaged -- wlo1 wifi unmanaged --

MicMar gravatar imageMicMar ( 2016-11-28 17:08:46 -0500 )edit

There is neither a wlan adapter nor a loopback interface in your list. Is this the whole output?

Raffael gravatar imageRaffael ( 2016-11-30 17:14:44 -0500 )edit

Of Course, That's all the output.

MicMar gravatar imageMicMar ( 2016-12-23 02:49:02 -0500 )edit
0

answered 2016-11-02 12:40:54 -0500

ed209 gravatar image

The files present in /etc/sysconfig/network-scripts are owned by initscripts package. Try reinstalling it and then configure the network with NetworkManager.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-28 17:39:42 -0500

Seen: 739 times

Last updated: Nov 02 '16