Thank you all for the suggestions.

Those two files are empty(*). So, I do not use DHCP (where to I get IP address then?).

I tested connetivity with ndb/dnsquery. It worked yesterday, but not today. That could mean that I have no network.
Any alternative way to test if there is a network?

Best WIshes,
bengt

(*)
term% cat /net/ndb
term% cat /net/ipselftab
term%

On Mon, 8 Apr 2024 at 00:24, Thaddeus Woskowiak <tswoskowiak@gmail.com> wrote:
On Sun, Apr 7, 2024 at 5:23 PM Bengt Kleberg
<bengt.kleberg@travelping.com> wrote:
>
> Greetings,
>
> Where can I find my own IP address?
>
> I have started 9front-10277.amd64.qcow2 in qemu, and would like to
> know which IP address I got from DHCP.
> Where do I find it?
>
> Background: I am trying to connect drawterm to 9front in qemu. Qemu started with
>   -net nic,model=virtio,macaddr=00:20:91:37:33:77 -net user
> I have tested with the only reasonable 9front IP addres in /net/iproute.
> That did not work.
> Unreasonable addresses end with 0 or 255.
>
> Best Wishes,
> bengt
> --
> Bengt Kleberg
>
> --
>
> Product Development
>
>
> --------------------------------------- enabling your networks
> -------------------------------------
>
> Travelping GmbH
> Roentgenstraße 13
> 39108 Magdeburg
> Germany
>
> phone: +49 391 660 98560
> mail: info@travelping.com
> website: https://www.travelping.com/
>
> Company registration: Amtsgericht Stendal
> Managing Director: Holger Winkelmann
> Reg. No.: HRB 10578
> VAT ID: DE236673780

cat /net/ndb works when DHCP is used to configure the interface.
otherwise it is empty.
cat /net/ipselftab can be used for finding the address in any situation.


--

Bengt Kleberg

-- 

Product Development


--------------------------------------- enabling your networks -------------------------------------

Travelping GmbH 
Roentgenstraße 13
39108 Magdeburg
Germany

phone: +49 391 660 98560
mail: info@travelping.com
website: https://www.travelping.com/

Company registration: Amtsgericht Stendal 
Managing Director: Holger Winkelmann
Reg. No.: HRB 10578
VAT ID: DE236673780