You are not logged in.

#1 2020-04-03 10:06:09

MrDark11
Member
Registered: 2020-04-03
Posts: 3

No internet connection - possibly router

I cant connect to the internet when in the live arch installer. I have tried with both ethernet and wifi but cant get a connection with either.

When i run "wifi-menu" i get a list of all the available wifi options and can find my own. When i connect to it, it accepts the password.
After connecting when i run "ip a" the output is:

wlan0: <boardcast, multicast, up, lower_up> mtu 1500 qdisc noqueue state up group default qlen 1000

link/ether xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

inet6 fe80::36e6:adff:fe43:6dcc/64 scope link

valid_lft forever preferred_lft forever

But after a few seconds it goes back to:

wlan0: <boardcast, multicast, up, lower_up> mtu 1500 qdisc noqueue state up group default qlen 1000

link/ether xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff 

The one i am using now is a lenovo yoga 500 and the wireless chipset is "intel corporation wireless 3160 (rev 93)" but i have tried using 3 different computers all with the same problem.

If i share a wifi hotspot from my phone the connection works. Because of this i am thinking the problem is with my router or a missing package?.

I have had the same problem when trying to install ubuntu server, but my wifi works and a laptop running mint and one with ubuntu.
Its a d-link router with default configuration.

Last edited by MrDark11 (2020-04-03 10:07:17)

Offline

#2 2020-04-03 11:49:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,879

Re: No internet connection - possibly router

Try to connect (both, ethernet and wifi), then dump the system journal into a file ("sudo journalctl -b > /tmp/journal.txt"), copy that to some usb key or hard disk and post it when you've an internet connection.

Offline

#3 2020-04-04 18:32:13

MrDark11
Member
Registered: 2020-04-03
Posts: 3

Re: No internet connection - possibly router

I completed the installation using the hotspot on my phone, and after installation i was able to get a connection with Ethernet but when using wifi-menu it always says "connection failed".

The packages installed related to network are: networkmanager, netctl, wpa_supplicant, wireless_tools, dialog and linux-firmware.

I am not sure if this problem is related to why i could'nt get a connection under the live install.

I got the journalctl from the completed install here Pastebin, but could not figure out how to get it under the live install.

Offline

#4 2020-04-04 19:58:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: No internet connection - possibly router

MrDark11 wrote:

That shows NetworkManager running as well as netctl, they are conflicting.

If you don't have a graphical desktop then use the nmtui command to connect with NetworkManager from the console but make sure netctl is disabled & stopped before trying that (or disable & stop NM before trying wifi-menu).

If you want to use wifi-menu then make sure the interface is set down before trying.


Jin, Jîyan, Azadî

Offline

#5 2020-04-05 17:38:39

MrDark11
Member
Registered: 2020-04-03
Posts: 3

Re: No internet connection - possibly router

Alright so i have disabled networkmanager, but after this i could no longer get a connection using ethernet.
I saved the journal from that too New pastebin.
after this i tried to enable netctl just to be sure but still could'nt connect to my network using ether ethernet or wifi, but now i can connect to my phone hotspot again.

Offline

#6 2020-04-06 06:13:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,879

Re: No internet connection - possibly router

Apr 05 10:13:17 archlinux sudo[447]:     dark : TTY=tty1 ; PWD=/home/dark ; USER=root ; COMMAND=/usr/bin/ip link set enp3s0 up
…
Apr 05 10:13:17 archlinux kernel: r8169 0000:03:00.0 enp3s0: Link is Down
…
Apr 05 10:13:18 archlinux kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Full - flow control rx/tx
…
Apr 05 10:13:18 archlinux kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready

You brought the ethernet device up, but did't obtain an IP (eg. by running dhcpcd on it or so)

Apr 05 10:13:49 archlinux sudo[453]:     dark : TTY=tty1 ; PWD=/home/dark ; USER=root ; COMMAND=/usr/bin/wifi-menu
…
Apr 05 10:13:59 archlinux systemd[1]: Starting Networking for netctl profile wlp2s0-Ella...
Apr 05 10:13:59 archlinux network[525]: Starting network profile 'wlp2s0-Ella'...
Apr 05 10:14:02 archlinux kernel: wlp2s0: authenticate with 1c:5f:2b:fd:59:f8
Apr 05 10:14:02 archlinux kernel: wlp2s0: send auth to 1c:5f:2b:fd:59:f8 (try 1/3)
Apr 05 10:14:02 archlinux kernel: wlp2s0: authenticated
Apr 05 10:14:02 archlinux kernel: wlp2s0: associate with 1c:5f:2b:fd:59:f8 (try 1/3)
Apr 05 10:14:02 archlinux kernel: wlp2s0: RX AssocResp from 1c:5f:2b:fd:59:f8 (capab=0x411 status=0 aid=5)
Apr 05 10:14:02 archlinux kernel: wlp2s0: associated
Apr 05 10:14:05 archlinux kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
Apr 05 10:14:05 archlinux systemd[1]: Started Networking for netctl profile wlp2s0-Ella.
…
Apr 05 10:14:05 archlinux systemd[1]: Reached target Network.
…
Apr 05 10:14:05 archlinux dhcpcd[718]: wlp2s0: connected to Access Point `Ella'
Apr 05 10:14:05 archlinux dhcpcd[718]: DUID 00:04:5d:66:09:54:0b:de:11:e5:82:99:34:e6:ad:43:6d:d0
Apr 05 10:14:05 archlinux dhcpcd[718]: wlp2s0: IAID ad:43:6d:cc
Apr 05 10:14:06 archlinux dhcpcd[718]: wlp2s0: soliciting a DHCP lease
Apr 05 10:14:35 archlinux network[718]: timed out
Apr 05 10:14:35 archlinux dhcpcd[718]: timed out
Apr 05 10:14:35 archlinux dhcpcd[718]: dhcpcd exited
Apr 05 10:14:35 archlinux network[525]: DHCP IPv4 lease attempt failed on interface 'wlp2s0'
Apr 05 10:14:35 archlinux kernel: wlp2s0: deauthenticating from 1c:5f:2b:fd:59:f8 by local choice (Reason: 3=DEAUTH_LEAVING)
Apr 05 10:14:35 archlinux network[525]: Failed to bring the network up for profile 'wlp2s0-Ella'
Apr 05 10:14:35 archlinux systemd[1]: netctl@wlp2s0\x2dElla.service: Main process exited, code=exited, status=1/FAILURE
Apr 05 10:14:35 archlinux systemd[1]: netctl@wlp2s0\x2dElla.service: Failed with result 'exit-code'.

Then you ran wifi-menu, associated w/ the AP fine, but don't get a lease from the router.
You can edit /etc/dhcpcd.conf to try to use the ClientID rather than the DUID, but should also look into your router config whether there's some MAC filter or a static lease table.

Offline

Board footer

Powered by FluxBB