Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4406

Beginners • No IP address for headless install of Ubuntu 22.04

$
0
0
I am just starting with a Raspberry Pi 4B and my purpose is installing Ubuntu 22.04 server so I can then use ROS2 humble. I have been trying to flash the SD card with Raspberry Pi Imager and choose Ubuntu Server LTS 22.04.05 64-bit, then, through advanced settings configure the SSH and wireless LAN. So far so good.
However when I try to do my first boot I cannot find the IP address of my raspberry pi.

Here are a couple of tutorials i've been following:
https://roboticsbackend.com/install-ubu ... t-monitor/
https://ubuntu.com/tutorials/how-to-ins ... ntu-server

As shown in the tutorial, I find the IP address of my network:

fernando@fernando-Legion-5-15IAH7:~$ ifconfig -a
enp49s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 6c:24:08:21:88:b8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 14618 bytes 1620337 (1.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14618 bytes 1620337 (1.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.229 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 2601:589:507c:4750:c6ae:68d8:2ec9:c5ee prefixlen 64 scopeid 0x0<global>
inet6 2601:589:507c:4750::1221 prefixlen 128 scopeid 0x0<global>
inet6 2601:589:507c:4750:fed0:d92f:e5d2:3739 prefixlen 64 scopeid 0x0<global>
inet6 fe80::9109:2590:3ae3:cbff prefixlen 64 scopeid 0x20<link>
ether 50:84:92:39:ff:8f txqueuelen 1000 (Ethernet)
RX packets 2109874 bytes 2998577788 (2.9 GB)
RX errors 0 dropped 13 overruns 0 frame 0
TX packets 238914 bytes 48171832 (48.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Which according to the results it is 10.0.0.229 and a mask of 24 bits.

Therefore,

fernando@fernando-Legion-5-15IAH7:~$ sudo nmap -sP 10.0.0.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2024-11-28 09:20 EST
Nmap scan report for _gateway (10.0.0.1)
Host is up (0.017s latency).
MAC Address: D4:6C:6D:1F:FC:D4 (Unknown)
Nmap scan report for 10.0.0.15
Host is up (0.13s latency).
MAC Address: 48:78:5E:31:FC:F2 (Unknown)
Nmap scan report for 10.0.0.22
Host is up (0.65s latency).
MAC Address: 98:A8:29:C1:F3:FB (Unknown)
Nmap scan report for 10.0.0.24
Host is up (0.041s latency).
MAC Address: 5A:4D:97:A1:5E:35 (Unknown)
Nmap scan report for 10.0.0.66
Host is up (0.12s latency).
MAC Address: 2C:58:B9:7C:64:11 (Unknown)
Nmap scan report for 10.0.0.72
Host is up (0.016s latency).
MAC Address: 68:13:F3:5A:C4:08 (Unknown)
Nmap scan report for 10.0.0.79
Host is up (0.12s latency).
MAC Address: 64:16:66:0D:F3:13 (Nest Labs)
Nmap scan report for 10.0.0.89
Host is up (0.22s latency).
MAC Address: DA:6B:B2:DC:9C:3C (Unknown)
Nmap scan report for 10.0.0.124
Host is up (0.051s latency).
MAC Address: 64:1C:AE:07:1D:FA (Samsung Electronics)
Nmap scan report for 10.0.0.131
Host is up (0.050s latency).
MAC Address: A4:CF:99:87:25:FD (Unknown)
Nmap scan report for 10.0.0.132
Host is up (0.027s latency).
MAC Address: 98:A8:29:C4:10:57 (Unknown)
Nmap scan report for 10.0.0.137
Host is up (0.0075s latency).
MAC Address: D8:3A:DD:E9:22:7E (Unknown)
Nmap scan report for 10.0.0.155
Host is up (0.10s latency).
MAC Address: 80:8A:BD:14:86:2A (Unknown)
Nmap scan report for 10.0.0.192
Host is up (0.19s latency).
MAC Address: F6:50:E2:44:99:AB (Unknown)
Nmap scan report for 10.0.0.204
Host is up (0.19s latency).
MAC Address: 3A:58:88:E9:D7:8A (Unknown)
Nmap scan report for fernando-Legion-5-15IAH7 (10.0.0.229)
Host is up.
Nmap done: 256 IP addresses (16 hosts up) scanned in 5.22 seconds
fernando@fernando-Legion-5-15IAH7:~$

But my raspberry pi is not listed? I have been trying to troubleshoot vastly by resetting the board, then, reflashing, ive also played around with the scripts such as /etc/netplan/50-cloud-init.yaml but no success and I have been trying to search through the internet for any similar issues but each one of them is very personalized so I cannot use those solutions. Can anyone please help me? I cannot access a monitor currently for a while :(

Statistics: Posted by ferch0918 — Thu Nov 28, 2024 2:35 pm — Replies 0 — Views 21



Viewing all articles
Browse latest Browse all 4406

Trending Articles