You are not logged in.

#1 2018-10-03 04:03:39

StevenC21
Member
Registered: 2018-09-17
Posts: 59

Returning internet functionality to initial installed state?

Hey guys. So, I was foolishly attempting to get WiFi running on my box (I am a moderate Arch noob and an EXTREME networking noob), and I only made it worse. I made my ethernet functionality break.

I simply don't know how Arch by default starts up the network functionality at boot, and I did read the networking article to no avail. However, I have a workaround. If I run

dhclient enp3s0

Then I can get a wired network up and running, until I reboot.

Running that command gets me an IP address, which I do not have before running it.

Post dhclient ifconfig:

enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.134  netmask 255.255.255.0  broadcast 192.168.42.255
        ether b0:6e:bf:18:65:0a  txqueuelen 1000  (Ethernet)
        RX packets 779  bytes 370501 (361.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 557  bytes 71497 (69.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4  bytes 240 (240.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 240 (240.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 44:03:2c:86:a0:ab  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp3s0 is wired, and wlp2s0 is my wireless (which has never worked).

Thank you for you help anyone.

Offline

#2 2018-10-03 04:11:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Returning internet functionality to initial installed state?

By default, Arch doesn't start up network functionality at boot. If you want to start dhclient, use systemctl and enable it to start at boot.

Offline

#3 2018-10-03 04:12:51

headkase
Member
Registered: 2011-12-06
Posts: 2,004

Re: Returning internet functionality to initial installed state?

Go to: /usr/lib/systemd/system/

And look for filenames that have "dhcpcd" and perhaps an "@" in there as well.

For each of those entries do "# systemctl disable <name>" where <name> would be something like "dhcpcd@wlp2s0.service".

Once you have all the dhcpcd binds disabled then you should be back close to an installation configuration.  From there you can rebind the correct service (enp3s0) or go with something more "GUI" like NetworkManager.  I use NetworkManager as I like GUIs.

Offline

Board footer

Powered by FluxBB