Re: iwd and DNS (was: Re: Attempting a VERY minimal install (using --no-install-recommends ;))

2019-04-25 Thread David Wright
On Thu 25 Apr 2019 at 11:30:56 (+0200), Erik Josefsson wrote:
> Den 2019-04-25 kl. 07:21, skrev David Wright:
> > The only thing guaranteed by installing the "Depends" is that
> > all the function calls will point at some runnable code rather than
> > just pointing into thin air.
> 
> Thin air and deep waters is where I'm at.

(But not in the sense I meant.)

> I'm trying to set up the "tui" [text-based user interface] for the
> [Teres debian laptop].

About which, I know nothing (the hardware or the TUI).

> I think the tui is designed to be quite minimal (hence I post in this
> thread).

Bad choice. Because of the frequency of the OP's subject line, I think
a lot of people will have ignored and delete the entire thread.
I would start a new thread with a subject line that includes teres
and DNS resolution.

> I am surprised that I got iwd to connect to MY_OWN_WIFI:
> 
> iwctl station wlan0 get-networks
> iwctl station wlan0 connect MY_OWN_WIFI
> 
> by copying psk file MY_OWN_WIFI.psk from another machine and then by putting 
> it into /var/lib/iwd/ on the Teres debian laptop.

I don't recognise the iwctl command. That's really low-level stuff.

> But it seems I have no DNS resolution (I can use the links-browser to go to 
> web pages by IP numbers, but not by domain names).
> 
> I cannot do apt update. I get a "temporary failure resolving 
> 'deb.debian.org'".
> 
> I'm not sure what exactly I'm asking for here. I guess I need the IP number 
> of a DNS-server that some program can ask where deb.debian.org is located.

What's in /etc/resolv.conf, and what has worked for you in the
past/another machine? For many home users, it's likely just
nameserver 192.168.1.1
where that's the address of their router (assuming
*it's* been configured.)

Cheers,
David.



Re: iwd and DNS (was: Re: Attempting a VERY minimal install (using --no-install-recommends ;))

2019-04-25 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-04-25 11:30:56)
> [Teres debian laptop] https://box.redpill.dk/cli_with_quirks/

Obsolete: Teres-I no longer need custom-built boot-loader for Buster!

More stable to link to the top directory: https://box.redpill.dk/


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: iwd and DNS (was: Re: Attempting a VERY minimal install (using --no-install-recommends ;))

2019-04-25 Thread mick crane

On 2019-04-25 10:30, Erik Josefsson wrote:

Den 2019-04-25 kl. 07:21, skrev David Wright:

The only thing guaranteed by installing the "Depends" is that
all the function calls will point at some runnable code rather than
just pointing into thin air.


Thin air and deep waters is where I'm at.

I'm trying to set up the "tui" [text-based user interface] for the
[Teres debian laptop].

I think the tui is designed to be quite minimal (hence I post in this 
thread).


I am surprised that I got iwd to connect to MY_OWN_WIFI:

iwctl station wlan0 get-networks
iwctl station wlan0 connect MY_OWN_WIFI

by copying psk file MY_OWN_WIFI.psk from another machine and then by
putting it into /var/lib/iwd/ on the Teres debian laptop.

But it seems I have no DNS resolution (I can use the links-browser to
go to web pages by IP numbers, but not by domain names).

I cannot do apt update. I get a "temporary failure resolving 
'deb.debian.org'".


I'm not sure what exactly I'm asking for here. I guess I need the IP
number of a DNS-server that some program can ask where deb.debian.org
is located.

Grateful for hints.

Best regards.

//Erik


bearing in mind I don't know what I'm doing I'd put
nameserver 1.1.1.1
nameserver 1.0.0.1

in /etc/resolv.conf

and see if that works.

mick





[text-based user interface] https://box.redpill.dk/  (scroll down to 
##Addons)

[Teres debian laptop] https://box.redpill.dk/cli_with_quirks/


--
Key ID4BFEBB31



iwd and DNS (was: Re: Attempting a VERY minimal install (using --no-install-recommends ;))

2019-04-25 Thread Erik Josefsson

Den 2019-04-25 kl. 07:21, skrev David Wright:

The only thing guaranteed by installing the "Depends" is that
all the function calls will point at some runnable code rather than
just pointing into thin air.


Thin air and deep waters is where I'm at.

I'm trying to set up the "tui" [text-based user interface] for the 
[Teres debian laptop].


I think the tui is designed to be quite minimal (hence I post in this 
thread).


I am surprised that I got iwd to connect to MY_OWN_WIFI:

iwctl station wlan0 get-networks
iwctl station wlan0 connect MY_OWN_WIFI

by copying psk file MY_OWN_WIFI.psk from another machine and then by putting it 
into /var/lib/iwd/ on the Teres debian laptop.

But it seems I have no DNS resolution (I can use the links-browser to go to web 
pages by IP numbers, but not by domain names).

I cannot do apt update. I get a "temporary failure resolving 'deb.debian.org'".

I'm not sure what exactly I'm asking for here. I guess I need the IP number of 
a DNS-server that some program can ask where deb.debian.org is located.

Grateful for hints.

Best regards.

//Erik


[text-based user interface] https://box.redpill.dk/  (scroll down to ##Addons)
[Teres debian laptop] https://box.redpill.dk/cli_with_quirks/