You are not logged in.
Pages: 1
Topic closed
I am in the process of my first installation and I am currently trying to establish an internet connection over wireless. Right now I am connected to the network using iwd, but when I try to ping a website or download a package it is unable to establish a connection.
I am fairly certain that the error is in the fact that no IP is being assigned with DHCP, or however it works.
I found one article suggesting to enable DHCP within IWD by editing the config file /etc/iwd/main.conf but when I run the command "$ cat /etc/iwd/main.conf" I am returned with "cat: /etc/iwd/main.conf: No such file or directory"
Any help would be greatly appreciated! Thanks!
Offline
If no main.conf is present, then default values are chosen. The presence of main.conf is not required.
Offline
Yes I understand that. As I understand, by default Network Configuration is disabled by iwd, so how would I go about generating the main.conf file and modifying the values?
Offline
Online
I might be incredibly stupid, but I don't see anything on that page that actually mentions how to create the main.conf file.
Offline
It's a text file. The man page I linked to specifies the format. The rest is gravy.
Offline
OK so I created the file and added the text:
[General]
EnableNetworkConfiguration=true
And still no luck getting internet connection.
Additionally I noticed that throughout the page you linked true was used in two formats: true and True. does caps matter in this file?
Last edited by Orphix (2021-08-08 23:48:22)
Offline
Did you reboot?
Offline
Yes, Still nothing and I cannot for the life of me figure out why I have no connection
Last edited by Orphix (2021-08-09 01:12:20)
Offline
over wireless
https://wiki.archlinux.org/title/Iwd#Ne … figuration
Also post the outputs of "ip a", "lspci" and "lsusb" - if this is a broadcom chip, chances are you don't even have a driven NIC…
Online
I ran into this issue under practically the same conditions. Seemingly couldn't access Internet though connected to the network. But the fact is you probably can, I pinged 8.8.8.8 and got a response so I realized it was just a DNS misconfiguration.
So for anyone who has this issue too try this: make sure you haven't specified the NameResolvingService option in /etc/iwd/main.conf, and add this line to /etc/resolv.conf
nameserver 1.1.1.1
Of course 1.1.1.1 is any DNS server you want.
Offline
Closing this old thread.
Offline
Pages: 1
Topic closed