Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [netctl]

netctl is a CLI-based tool used to configure and manage network connections via profiles.

0
votes
1answer
24 views

Ping behavior of two netctl interfaces

I've got a device that is connected to one network via ethernet and a different network via wifi. I use netctl to manage the interfaces. When both netctl profiles are active, the configuration looks ...
0
votes
0answers
20 views

Who are known Wireless Networks Stored, and how does auto connect work?

I'm trying to build a script that auto connects to a given network (providing ESSID and Passphrase) and I want to store them, so when ever it's not connected, It searches for the given network, ...
0
votes
1answer
55 views

Static Routes between Multiple Subnets - ROUTER (WAN) + WiFi Mesh ROUTER

I've got a standard router (192.168.1.1) that is connected to the internet. It also has the following connected to it: an un-managed switch which all wired devices connect to. a Tenda Mesh WiFi ...
0
votes
0answers
37 views

Ask for password for IPSec VPN connection with netctl

TL;DR: How can I connect to a VPN with IPSec without writing the password and secret in the config file, but providing it from the outside (in my case a call to my password manager pass)? I already ...
1
vote
1answer
157 views

Why can I not set a static ip using netctl when I can do it with NetworkManager?

I've been given a static ip to access the internet. I can set the static ip using NetworkManager. The details of my route and ip addr are as follows: What I have is: ip: 192.168.1.63/24 gateway: 192....
1
vote
1answer
212 views

How to make a netctl profile for a TAP device?

Seeking to make a netctl profile for a tap device. Here is the info I was given about the connection. GATEWAY=192.168.117.1 DNS=192.168.117.1 BROADCAST=255.255.255.255 **or** 192.168.117.255 (*I ...
1
vote
1answer
195 views

Can’t obtain IP address with netctl

I have the bare minimum Arch Linux install with a wired connection. I can’t seem to obtain an IP address with netctl. I created an eth0 profile with ethernet-dhcp. I tried to start the profile but the ...
1
vote
1answer
933 views

Can't remove sys-subsystem-net-devices-wlp0s20u3.device from boot

I've recently installed Arch and had some issues with Wired/Wireless, eventually got this fixed, but have a rogue device trying to load on boot: A start job is running for sys-subsystem-net-devices-...
2
votes
1answer
399 views

How to keep WLAN connection alive in Arch Linux?

I'm using netctl-auto to connect automatically to WLAN. However, recently it has been dropping connections and not re-establishing them. Worse, it seems not to log anything useful when the connection ...
1
vote
0answers
220 views

Second VLAN interface starts down

I'm trying to set up multiple VLANs on a connection between a server and a router. The server is running Arch Linux. I'm using netctl to set these up. The problem is that the second VLAN interface (...
1
vote
1answer
154 views

how to specify editor for `sudo netctl edit`?

~  echo $EDITOR /usr/bin/kak ~  sudo echo $EDITOR /usr/bin/kak ~  su Password: ⚡  /home/bjorn  ...
3
votes
0answers
772 views

No internet after sleep; “no ipv6 routers available”

I'm unable to connect to the internet after I resume from suspend to ram. The problem appeared after I fixed resuming from suspend to disk following this answer. I'm using netctl where the error is ...
1
vote
1answer
932 views

Netctl is slow in arch linux

I am new to Linux. I am working on a speed up boot-time project. I am using Arch Linux on raspberry pi B+. I am particularly looking into netctl service. To trace down function time, I have edited ...
1
vote
1answer
512 views

Wifi stops working after suspend or when reconnecting (doesn't happen every time, reboot fixes)

Might be duplicate of this. Every now and then my wifi stops working after I wake my laptop from suspend / hibernation or when reconnecting / changing between hotspots. I use normally networkmanager ...
0
votes
1answer
681 views

Cannot connect with Huawei E3131 3GMax USB Modem

I tried both netctl and NetworkManager. Copied /etc/netctl/examples/mobile_ppp and added number and APN name as there's no pin/pass/username and set interface to /dev/ttyUSB0 (also tried the other ...
5
votes
1answer
4k views

How to debug DHCP timeout on WiFi connect

I've recently moved to a place with public wifi (so I don't have access to the router or their DHCP config), and am running into issues connecting with my Arch laptop. I've tried using both ...
1
vote
1answer
413 views

Bring down wireless on detection of ethernet link [ifplugd + netctl]

Is there any way to bring down wireless on wired link detection using the tools mentioned in the title? Two automatic services are enabled: netctl-auto and netctl-ifplugd on coresponding interfaces.
0
votes
0answers
1k views

Eduroam on netctl

My organisation offers a large script to setup eduroam connection and I don't like executing large scripts for which I don't know what they do and I cannot revert things that they do here in Archlinux....
1
vote
1answer
252 views

How to resolve a hostname conditionally on the connected network?

I have a small home server and I'd like programs on my laptop to be able to access it from both LAN and WAN. I think that the cleanest way to achieve this is to define a custom hostname and resolve it ...
2
votes
1answer
1k views

LXC container gets two IP addresses assigned to it

I'm playing around with LXC on my Arch Linux workstation as a learning experience. I'm following the guide on the LXC page on the Archwiki and setting up a static ip for the container. This is what my ...
3
votes
0answers
432 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:57 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-tian... Apr 29 18:28:57 ArchPad network[1019]: Starting network ...
2
votes
0answers
696 views

Wifi interface recognized as ethernet

I am having trouble setting up my wifi configuration persistently. I have tried both netctl and NetworkManager and both only work after manual setup. What I find especially weird is that ip link ...
1
vote
2answers
2k views

How do I automatically execute `netctl start tq84-wifi` on bootup?

I have configured a wifi connection in /etc/netctl/tq84-wifi in a Arch Linux installation and am able to manually start it with sudo netctl start tq84-wifi. Now I'd like to have my installation start ...
1
vote
0answers
2k views

Arch Linux - Wifi keeps disconnecting

I'm running Arch Linux and I use netctl for my wifi, but for some reason it keeps dropping every 5 minutes, especially fast if I don't use the internet for 5 seconds it seems. I have a USB wifi stick (...
4
votes
1answer
410 views

Netctl causes getty to clear the screen and re-display the issue message

I have systemd configured to not clear the terminal before calling getty, and also getty itself is run with the --noclear option, so that my boot messages are left displayed when the login prompt from ...
1
vote
1answer
212 views

Simple access point for remote electronics project

I need to get a way to communicate to a Raspberry Pi which is acting as the brain of a project. The missing piece is the wireless TCP/IP link. There are some tutorials for setting up a router with ...
1
vote
1answer
81 views

Multiple routers connected to switch — how to connect to the right one using netctl

My machine is connected to a switch (using an ethernet cable). In addition to the modem (with built-in router) this switch is also connected to several other routers. Using a standard netctl profile (...
0
votes
1answer
871 views

netctl using wrong interface

After a recent Arch Linux update, my ethernet interface somehow got renamed from enp4s0 to enp5s0, as shown by ip link. After correcting this in my profile /etc/netctl/dhcp, and starting sudo netctl ...
1
vote
0answers
729 views

How can settings for a WPA2 enterprise network be determined?

Is it possible to inspect the output of some command to determine the right settings for a given WPA2 Enterprise wifi network? If so, how? I've just been through the process of getting my university ...
1
vote
0answers
41 views

What would be the *right* way to use netctl on a read-only root filesystem

I am attempting to use a read-only root filesystem, but am having issues with netctl, since it creates and manages systemd service files as a part of its normal operation. I have a separate partition ...
4
votes
1answer
3k views

Why is my DAD slow?

The last few boots of my Arch Linux, I noticed I had no network access. I'm using a netctl profile to give my adapter a static IPv4 address, which by itself works fine. So I had a look at the logs, ...
4
votes
1answer
5k views

netctl not auto-connecting consistently

I am trying to setup my wifi network in Arch Linux ARM to auto-connect at home and office. But it is not always connecting automatically as intended. netctl list * wlan0-Spaceship wlan0-Cremehead ...
3
votes
0answers
157 views

Interface on Linux for IP range to divide incoming traffic

In order to divide incoming traffic I use the "ip link" command: ip link add link eno1 name eno1.vlan10 type vlan id 10 I want to do the same for a network range, so that I have a named interface ...
1
vote
1answer
803 views

Why can I connect to the IP of a network interface (on a server with multiple network interfaces) when the network cable is removed?

I have a Server with multiple (four) network interfaces running Arch Linux when I encountered something strange that I cannot explain. I have two interfaces configured to the the ip addresses 192.168....
0
votes
2answers
323 views

Start Networking at login

What I would like to do: I would like to start my wireless network after login (As apposed to starting at boot). Using my login credentials to run the command: sudo netctl start network. Instead of ...
0
votes
1answer
834 views

Bash Script - Disable Wireless Connections

OS: Arch Linux Network Manager: Netctl I am trying to write a bash script that will disable all current network connections and turn off wifi on my system. I currently have the following, but after ...
0
votes
1answer
2k views

ArchLinux netctl stopped working

TL;DR: What could cause netctl to suddenly stop working? I didn't make any manual changes to the profile I was using, and am unable to get it to work again by re-creating the profile. TS;NMI: So I ...
10
votes
1answer
9k views

What does systemctl enable netctl.service do

I have a small arm server that runs Arch. I wanted to use only dhcpcd for my ethernet connection so I disabled netctl.service and netctl-ifplugd.service. Turns out that didn't work and I have no means ...
2
votes
1answer
506 views

netctl: multiple Wifi APs with same SSID

Yesterday I travelled by train and there were multiple Wifi APs with the same SSID. I had no problem connecting to the Wifi; I'm just curios how netctl handles such a case. Which of the available APs ...
0
votes
1answer
1k views

netctl start PROFILE fails

Upon login to serial console I run a command via /etc/profile netctl start wlan0-ROUTENZUG However it fails, yielding this output Job for netctl@wlan0\x2ROUTENZUG.service failed. See ´sytemctl status ...
5
votes
4answers
25k views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
2
votes
1answer
139 views

Failed to open netctl@.service configuration file

I have installed Network Manager, I don't have netctl installed. Whenever I boot my Linux computer I get the following error message: systemd[1]: Failed to open configuration file '/usr/lib/systemd/...
2
votes
0answers
914 views

What exactly is happening when I run `netctl-auto enable-all`?

My wifi connection has been dying very regularly. I notice when I run netctl-auto enable-all I reconnect within 5 seconds every time. (My connection has dropped twice while posting this.) Why does ...
3
votes
1answer
4k views

DHCP IP lease attempt failed over Ethernet and DHCP with netctl

My DHCP Ethernet works fine in Windows, but not in Arch Linux with netctl and dhcpcd.  What am I doing wrong? Output of ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
2
votes
3answers
7k views

Can't connect to WLAN with netctl

I can't connect to a WiFi network. I tried various methods such as wpa_supplicant and wicd. At the moment I'm trying netctl. When I enter the command: systemctl --type=service I see the following ...