You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I tried to use the Android phone network USB share to use with Arch Linux, I could not get the ip address.
I first used netctl-ifplugd to connect to the network, using the interface of the mobile network device enp0s29u1u1 , the configuration file is as follows:
sakiiily in ~ at 20:30:56 λ cat /etc/netctl/enp0s29u1u1
Description='A basic dhcp ethernet connection'
Interface=enp0s29u1u1
Connection=ethernet
IP=dhcp
#DHCPClient=dhcpcd
#DHCPReleaseOnStop=no
## for DHCPv6
#IP6=dhcp
#DHCP6Client=dhclient
## for IPv6 autoconfiguration
#IP6=stateless
Then I use sudo systemctl enable netctl-ifplugd@enp0s29u1u1 --now to ping again to test whether the network is connected, and found that the connection is not up, the ip output is as follows:
sakiiily in ~ at 20:37:31 λ ip -c -br a
lo UNKNOWN 127.0.0.1/8 ::1/128
enp0s25 DOWN
wlp3s0 UP 192.168.1.100/24 fe80::7ee9:d3ff:fef1:2cb3/64
enp0s29u1u1 UNKNOWN fe80::b0d1:3bff:fea5:a7ad/64
netctl-ifplugd service output:
● netctl-ifplugd@enp0s29u1u1.service - Automatic wired network connection using netctl profiles
Loaded: loaded (/usr/lib/systemd/system/netctl-ifplugd@.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-10-18 20:37:19 CST; 1min 10s ago
Docs: man:netctl.special(7)
Main PID: 3839 (ifplugd)
Tasks: 1 (limit: 4915)
Memory: 2.5M
CGroup: /system.slice/system-netctl\x2difplugd.slice/netctl-ifplugd@enp0s29u1u1.service
└─3839 /usr/bin/ifplugd -i enp0s29u1u1 -r /etc/ifplugd/netctl.action -bfIns
Oct 18 20:37:19 eat-x220i dhcpcd[3860]: DUID 00:04:c8:58:59:01:51:fd:11:cb:85:03:f3:9e:7a:88:e0:f0
Oct 18 20:37:19 eat-x220i dhcpcd[3860]: enp0s29u1u1: IAID 3b:a5:a7:ad
Oct 18 20:37:20 eat-x220i dhcpcd[3860]: enp0s29u1u1: soliciting a DHCP lease
Oct 18 20:37:49 eat-x220i dhcpcd[3860]: timed out
Oct 18 20:37:49 eat-x220i ifplugd[3839]: client: timed out
Oct 18 20:37:49 eat-x220i dhcpcd[3860]: dhcpcd exited
Oct 18 20:37:49 eat-x220i ifplugd[3839]: client: <3>DHCP IPv4 lease attempt failed on interface 'enp0s29u1u1'
Oct 18 20:37:49 eat-x220i ifplugd[3839]: client: <3>Failed to bring the network up for profile 'enp0s29u1u1'
Oct 18 20:37:49 eat-x220i ifplugd[3839]: client: <3>Could not start any suitable profile
Oct 18 20:37:49 eat-x220i ifplugd[3839]: Program execution failed, return value is 1.
But there is no problem with networkmanager
The problem is as above, thank you for helping solve the problem.
The text was updated successfully, but these errors were encountered:
Hi,
That is very weird. I am currently working on improvements for removable devices, but your issue seems unrelated. Are you sure that the connection is a simple DHCP connection? Your log only shows the DHCP client timing out.
Hi,
When I tried to use the Android phone network USB share to use with Arch Linux, I could not get the ip address.
I first used
netctl-ifplugd
to connect to the network, using the interface of the mobile network deviceenp0s29u1u1
, the configuration file is as follows:Then I use
sudo systemctl enable netctl-ifplugd@enp0s29u1u1 --now
to ping again to test whether the network is connected, and found that the connection is not up, the ip output is as follows:netctl-ifplugd service output:
But there is no problem with networkmanager
The problem is as above, thank you for helping solve the problem.
The text was updated successfully, but these errors were encountered: