You are not logged in.

#26 2024-02-09 22:13:00

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

The dhcp *server* is something that provides you with an IP, it's typically part of a consumer router/switch/modem combo.

If answer is a bit more complicated: I think no

Offline

#27 2024-02-09 22:20:20

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

You didn't run grub-mkconfig, you can also transiently edit the commandline at the grub menu, no need to permanently alter the system configuration.

Added that option via command line in grub, still no changes sad

Journal: https://pastebin.com/vyzL3L6K

This time seems like I disabled ipv6, didn't I?

Offline

#28 2024-02-09 22:27:43

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

Re: iwd сonnects endlessly to the network

No. "ipv6.disable=1"

If answer is a bit more complicated: I think no

So what does the network actually look like and how do you expect to obtain a lease?
You'll have to configure a static lease if there's no dhcp server.

Offline

#29 2024-02-09 22:32:19

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

No. "ipv6.disable=1"

Sorry, looks like I wasn't paying enough attention second time. After booting with this option I'm completely unable to connect to the network, it just timeouts...

Edit: what nmcli outputs when trying to connect:

$ nmcli device wifi connect network password passphrase
Error: Connection activation failed: IP configuration could not be reserved (no available address, timeout, etc.).

Journal: https://pastebin.com/36pDc9y8


seth wrote:

So what does the network actually look like and how do you expect to obtain a lease?
You'll have to configure a static lease if there's no dhcp server.

Uhm, I've to confess: I'm not into networking sad It's just a wifi at my home. At first I've configured a static lease (manually changing /etc/resolv.conf) but then things settled down with dhcpcd + iwd for a while, but now it crashed down sad

Last edited by Jujumba (2024-02-09 22:34:47)

Offline

#30 2024-02-09 22:40:25

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

Re: iwd сonnects endlessly to the network

This is an ISP issues router/modem combo?
Can you log into it?
Does it allow you to enable a dhcp server?
Have you tried to reboot it?

Edit:

static lease (manually changing /etc/resolv.conf)

resolv.conf is for DNS, it has nothing to do with leases.

Last edited by seth (2024-02-09 22:40:57)

Offline

#31 2024-02-09 22:40:31

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

Jujumba wrote:

At first I've configured a static lease (manually changing /etc/resolv.conf) but then things settled down with dhcpcd + iwd for a while, but now it crashed down sad

Answering the question why I actually did this: iwd was complaining about a missing dhcp client, and I had no way to install it because I was left with no connection, so manual configuration was the only way to connect and download dhcpcd, which worked for a short period of time

Offline

#32 2024-02-09 22:42:58

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

This is an ISP issues router/modem combo?
Can you log into it?
Does it allow you to enable a dhcp server?
Have you tried to reboot it?

Neither of these. I don't have access to router. I'm sure that issue only lies within my laptop, other devices have no problem at all.

Offline

#33 2024-02-09 22:53:06

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

Re: iwd сonnects endlessly to the network

How do we  square

It's just a wifi at my home.

with

I don't have access to router.

?
Who controls the router at your home?
Your parents?
You do frequently associate w/ c8:9e:43:10:51:41 and start a dhcp request, but there's no reply. And nmap doesn't find a dhcp server.

What are "other devices" and can you inspect their network status (their IP, the gateway and whether they obtained an IPv4 lease via dhcp)?

Offline

#34 2024-02-09 22:57:31

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

How do we  square

It's just a wifi at my home.

with

I don't have access to router.

?
Who controls the router at your home?
Your parents?

Rather neighbours, it's a bit complicated story


seth wrote:

What are "other devices" and can you inspect their network status (their IP, the gateway and whether they obtained an IPv4 lease via dhcp)?

Yes, I have an access to a Windows laptop

Offline

#35 2024-02-09 23:02:11

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

Jujumba wrote:

Rather neighbours, it's a bit complicated story

And no, I didn't hack into their network, we just split one, it's all agreed upon

Last edited by Jujumba (2024-02-09 23:03:08)

Offline

#36 2024-02-09 23:06:34

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

Re: iwd сonnects endlessly to the network

Yes, I have an access to a Windows laptop

It's not the same one, is it?
(dual booting is the safest way to get into this because the AP thinks you already have a lease if windows is hibernating, what is the default behavior - 3rd link below)

Otherwise you might have to ask your neighbours to reboot the router.

Offline

#37 2024-02-09 23:07:31

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

It's not the same one, is it?

Yes, it's a completely different laptop that runs Windows only

Last edited by Jujumba (2024-02-09 23:09:01)

Offline

#38 2024-02-09 23:17:29

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

Offline

#39 2024-02-09 23:23:47

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

Offline

#40 2024-02-09 23:56:33

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

Re: iwd сonnects endlessly to the network

There's a gateway and dhcp server (AVM router) on 192.168.178.1 - but you're holding that lease since 10 days…

What's strange about this is that you're trying to connect to c8:9e:43:10:51:{2,4}1 which are MACs that belongs to netgear, not avm - are you simply trying to connect to the wrong AP?

---
I don't want to suggest to re-lease on windows, because there's a chance you'll lose that, too.
The windows lease will expire in ten days, if you don't get a lease on the linux system by then, you might lose the windows one, too.

To rule out further config issues, you could try to obtain a lease from a live distro like grml (NOT! on the windows system!)

Offline

#41 2024-02-10 00:08:12

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

What's strange about this is that you're trying to connect to c8:9e:43:10:51:{2,4}1 which are MACs that belongs to netgear, not avm - are you simply trying to connect to the wrong AP?

You mean I’m trying to connect to a different network?

To rule out further config issues, you could try to obtain a lease from a live distro like grml

I hope you don’t mind if I’d try this at the morning.

In any way, THANK YOU a lot for what you are doing.

Bless you

Offline

#42 2024-02-10 00:15:33

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

To rule out further config issues, you could try to obtain a lease from a live distro like grml (NOT! on the windows system!)

I have an arch live image in my usb-stick, is it appropriate?

Offline

#43 2024-02-10 09:33:30

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

Re: iwd сonnects endlessly to the network

You mean I’m trying to connect to a different network?

Possibly, the AP might spoof its MAC or there might be an extender.
All I can really tell you is that what you're trying to connect to looks like a netgear device while your windows log says you're connected to a fritz.box w/ a typical AVM MAC pattern in its IPv6.

After you made sure that's not it (using wpa_supplicant along NM will also log the SSID) I'd rather try an entirely differe SW stack w/ different kernel etc.

Offline

#44 2024-02-10 09:49:43

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

After you made sure that's not it (using wpa_supplicant along NM will also log the SSID) I'd rather try an entirely differe SW stack w/ different kernel etc.

Making sure that I'm not connecting to a netgear device?

Offline

#45 2024-02-10 09:51:20

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

Re: iwd сonnects endlessly to the network

Yes. That you select the correct AP to connect to. Talk to your neighbours in doubt.

Offline

#46 2024-02-10 09:52:59

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

So I need disable iwd backend in NM?

Edit: I mean use it as I used to

Last edited by Jujumba (2024-02-10 09:53:22)

Offline

#47 2024-02-10 09:56:17

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

Re: iwd сonnects endlessly to the network

You can, but it will only log what SSID you're actually connecting to.
It's not relevant in a technical sense but give us more information since you've apparently no idea what network you're trying to connect to…

Offline

#48 2024-02-10 10:00:02

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

Well, I hope this provides relevant information..:

$ sudo iwconfig wlan0 
wlan0     IEEE 802.11  ESSID:"inhabitant"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: C8:9E:43:10:51:21   
          Bit Rate=117 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:38   Missed beacon:0

Offline

#49 2024-02-10 10:19:34

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

Re: iwd сonnects endlessly to the network

So the profile is the ESSID, but C8:9E:43:10:51:21 belongs to netgear.
Talk to your neighbours.

Edit: also the signal is pretty good - were you provided by your neighbours with a range extender (maybe a little box in a wall outlet)?

Last edited by seth (2024-02-10 10:21:44)

Offline

#50 2024-02-10 10:28:59

Jujumba
Member
Registered: 2024-02-09
Posts: 47

Re: iwd сonnects endlessly to the network

seth wrote:

So the profile is the ESSID, but C8:9E:43:10:51:21 belongs to netgear.
Talk to your neighbours.

Sorry, and what I have to say?
They are not so technical in that sense (me networking me either), so I simply don't know what to say hmm

seth wrote:

Edit: also the signal is pretty good - were you provided by your neighbours with a range extender (maybe a little box in a wall outlet)?

The router is not so far

Offline

Board footer

Powered by FluxBB