You are not logged in.

#1 2020-05-04 00:46:15

aura
Member
Registered: 2019-08-04
Posts: 21

Can't ping after fresh install

I have a netctl profile and I've authenticated with wifi-menu however I still get

temporary failure in name resolution.

I'm able to use wifi-menu when I chroot but not if I boot in normally

Offline

#2 2020-05-04 00:51:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: Can't ping after fresh install

aura wrote:

I have a netctl profile

Care to share it?

aura wrote:

I'm able to use wifi-menu when I chroot but not if I boot in normally

I'd speculate that perhaps you didn't update the interface name.

But to avoid speculation, post your network configuration and the output of `ip a`.

EDIT: and I'd gather some of your previous threads, like this one must have seen progress.  Please do not abandon them.  If they are solved, mark them as solved.

Last edited by Trilby (2020-05-04 00:52:29)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-05-04 04:06:38

aura
Member
Registered: 2019-08-04
Posts: 21

Re: Can't ping after fresh install

Trilby wrote:
aura wrote:

I have a netctl profile

Care to share it?

aura wrote:

I'm able to use wifi-menu when I chroot but not if I boot in normally

I'd speculate that perhaps you didn't update the interface name.

But to avoid speculation, post your network configuration and the output of `ip a`.

EDIT: and I'd gather some of your previous threads, like this one must have seen progress.  Please do not abandon them.  If they are solved, mark them as solved.

I'm not sure how I'd post the output as I can only use my phone.

Is there anything in particular I should look for?

Offline

#4 2020-05-04 06:38:27

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

Re: Can't ping after fresh install

I'm not sure how I'd post the output as I can only use my phone.

https://wiki.archlinux.org/index.php/Tethering

Offline

#5 2020-05-04 08:21:44

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: Can't ping after fresh install

After installation after reboot my wifi device was down
Try to do
ip link set device up

Last edited by 860lacov (2020-05-04 08:22:10)

Offline

#6 2020-05-04 08:38:51

aura
Member
Registered: 2019-08-04
Posts: 21

Re: Can't ping after fresh install

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f0:de:f2:4c:44:e4 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 24:77:03:44:22:20 brd ff:ff:ff:ff:ff:ff

/etc/netctl/myNetwork

Description='A simple WPA encrypted wireless connection'

Interface=wlp3s0

Connection=wireless

 

Security=wpa

IP=dhcp

 

ESSID='myNetwork'

# Prepend hexadecimal keys with \"

# If your key starts with ", write it as '""<key>"'

# See also: the section on special quoting rules in netctl.profile(5)

Key='myPassword'

# Uncomment this if your ssid is hidden

#Hidden=yes

# Set a priority for automatic profile selection

#Priority=10

/etc/netctl/wlp3s0-myNetwork

Description='Automatically generated profile by wifi-menu'

Interface=wlp3s0

Connection=wireless

Security=wpa

ESSID=myNetwork

IP=dhcp

Key=myPassword

Offline

#7 2020-05-04 11:12:27

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

Re: Can't ping after fresh install

@860lacov, if you set the device up, netctl will refuse to manage it.

@aura, which profile do you try to start?
Are the blank lines in either?

Anyway, the error means you've no working dns server.
1. the "ip a" output doesn't cover an established network connecion (no link is up and you've no carrier nor IP either) - is this supposed after an attempted connection w/ wifi-menu?
2. After connecting w/ wifi-menu, can you "ping 8.8.8.8"?

Offline

#8 2020-05-04 18:43:59

aura
Member
Registered: 2019-08-04
Posts: 21

Re: Can't ping after fresh install

seth wrote:

@860lacov, if you set the device up, netctl will refuse to manage it.

@aura, which profile do you try to start?
Are the blank lines in either?

Anyway, the error means you've no working dns server.
1. the "ip a" output doesn't cover an established network connecion (no link is up and you've no carrier nor IP either) - is this supposed after an attempted connection w/ wifi-menu?
2. After connecting w/ wifi-menu, can you "ping 8.8.8.8"?


I have run

netctl start myNetwork

and

netctl enable myNetwork

so it should connect at boot correct? Plus I try connecting with wifi-menu. Yes the ip a output is after using wifi-menu.

ping 8.8.8.8

ping: connect: Network is unreachable

Offline

#9 2020-05-04 18:48:58

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

Re: Can't ping after fresh install

The "ip a" output does not suggest a successful interface configuration.

netctl status myNetwork

Offline

Board footer

Powered by FluxBB