Questions tagged [netctl]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
83 views

Encrypting identity and password in netctl profile for WPA2 Enterprise

Would you please tell me, is it possible to encrypt the identity and password values in a netctl profile configuration file? This profile sets up a connection to a WPA2 Enterprise wireless network. ...
user avatar
  • 431
1 vote
0 answers
186 views

How to connect to private wifi network in Arch Linux?

So I can't connect via: nmtui just asking me to try again endlessly kde ui no secrets were provided iwd station wlan0 connect SSID (I enter password and get no output) If I try this command ...
user avatar
  • 11
1 vote
0 answers
32 views

How to specify a default source address for outgoing traffic with netctl?

My machine has multiple static IP addresses on the ethernet interface, which are configured with netctl. The configuration file of netctl looks like: Description='A basic static ethernet connection' ...
user avatar
  • 203
1 vote
1 answer
239 views

netctl: Static IP configuration lost automatically after few seconds of starting the interface

I am using netctl in Arch Linux on Hyper-V. I have two ethernet interfaces eth0 & eth1. IP config: eth0: dhcp (automatic configuration, no involvment of netctl) eth1: static ip (10.10.10.1/8) ...
user avatar
  • 155
1 vote
1 answer
618 views

dhcpcd dhcpv6 times out after Router Advertise, never sends a DHCPv6 Request

I use a linux host as an IPv4 router and looked into enabling IPv6 (it's the future, I'm told). I already use dhcpcd as a dhcpv4 client to get an address from my ISP, so I figured I'd use it for ...
user avatar
  • 905
1 vote
1 answer
293 views

what are the requirements for netctl wifi-menu in arch linux?

I wanted to setup wifi on my arch linux machine with wifi-menu But it doesn't connect to wifi. It shows no error and it says, that im connected to the internet. But with ping 8.8.8.8 I get Network is ...
user avatar
2 votes
1 answer
670 views

arch linux wifi-menu: doesn't shows an error, but doesn't connect to the network

After installing arch, I wanted to set up wifi. I typed wifi-menu wlp3s0 and selected my network. After that wifi-menu exited with no error. I typed ping - c3 google.com to verify my internet ...
user avatar
3 votes
1 answer
164 views

How to configure my laptop wireless adapter for DHCPv6

The network topology is as simple as it gets: After some correspondence my ISP flipped some switch to enable the router to get what the router calls a "Default IPv6 Gateway." My Ethernet-connected ...
user avatar
  • 46.8k
0 votes
1 answer
87 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 ...
user avatar
  • 143
0 votes
0 answers
46 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, ...
user avatar
  • 111
0 votes
1 answer
475 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 ...
user avatar
0 votes
0 answers
195 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 ...
user avatar
  • 181
1 vote
1 answer
328 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....
user avatar
  • 113
1 vote
1 answer
695 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 ...
user avatar
  • 514
1 vote
1 answer
714 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 ...
user avatar
  • 165
2 votes
1 answer
2k 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-...
user avatar
1 vote
1 answer
733 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 ...
user avatar
  • 46.8k
1 vote
0 answers
334 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 (...
user avatar
2 votes
2 answers
363 views

how to specify editor for `sudo netctl edit`?

~ $ echo $EDITOR /usr/bin/kak ~ $ sudo echo $EDITOR /usr/bin/kak ~ $ su Password: /home/myusername $ echo $EDITOR /usr/bin/kak /home/myusername $ cat ~/.profile # nvim editor config # export EDITOR='...
user avatar
  • 249
3 votes
0 answers
1k 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 ...
user avatar
  • 259
1 vote
1 answer
1k 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
  • 131
0 votes
1 answer
982 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 ...
user avatar
6 votes
1 answer
6k 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 ...
user avatar
1 vote
1 answer
607 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.
user avatar
  • 271
0 votes
0 answers
2k 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....
user avatar
  • 816
1 vote
1 answer
549 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 ...
user avatar
  • 354
2 votes
1 answer
2k 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 ...
user avatar
  • 113
3 votes
0 answers
626 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 ...
user avatar
  • 504
2 votes
0 answers
969 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 ...
user avatar
2 votes
2 answers
3k 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 ...
user avatar
2 votes
0 answers
4k 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 (...
user avatar
  • 121
4 votes
1 answer
583 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 ...
user avatar
  • 324
1 vote
1 answer
346 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 ...
user avatar
  • 193
1 vote
1 answer
122 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 (...
user avatar
  • 163
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
818 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 ...
user avatar
  • 111
1 vote
0 answers
48 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 ...
user avatar
  • 133
6 votes
1 answer
5k 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, ...
user avatar
  • 249
4 votes
1 answer
6k 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 ...
user avatar
  • 201
3 votes
0 answers
179 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 ...
user avatar
  • 31
1 vote
1 answer
903 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....
user avatar
0 votes
2 answers
394 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
14 votes
1 answer
16k 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 ...
user avatar
2 votes
1 answer
638 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 ...
user avatar
  • 543
0 votes
1 answer
2k 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 ...
user avatar
  • 1,049
5 votes
3 answers
31k 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 ...
user avatar
  • 315
2 votes
1 answer
174 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/...
user avatar
  • 717