[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 11 installation attempt / walkthrough



Hi Carsten

Am 21.12.22 um 15:21 schrieb Carsten Strotmann:
Hi Stefan,

On 21 Dec 2022, at 14:54, Stefan Niestegge wrote:

So i used the Shift+Control F2 to open second console.

on the busybox shell i use 3 commands:

ip link set dev eth0 down

ip link set dev eth0 address aa:bb:cc:dd:ee:ff

ip link set dev eth0 up

now the EtherNat has a valid MAC address (i randomized it from the example) but still D-I fails to DHCP. I need to fiddle around and find the problem here. Any hints welcome, i will make sure its not a hardware

issue in the meantime.

1)
you could try to work around the DHCP issue by setting a fixed IP address for the installation run:

This is what the D-I suggest after DHCP failure, too

ip address add 192.168.1.10/24 dev eth0
ok
ip route add default via 192.168.1.1
ip: RTNETLINK answers: Network is unreachable


where "192.168.1.10/24" is the IP address of the Falcon machine and "192.168.1.1" is the default gateway address (router).

2) what does "dhclient -v eth0" report?

I'm in a netinst busybox, dhclient is not installed

3) you could look at the DHCP traffic from the machine on a different console screen:

tcpdump -i eth0 port 67 and port 68

tcpdump is not installed, too

(not sure if tcpdump is available, else, because DHCP requests are broadcast messages in IPv4, running "tcpdump" on any other Linux or BSD machine in the same network segment should also show the requests and responses).


i find this line several times during DHCP attempt:
15:51:48.942029 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300

de:97:6c:82:0d:3f is in fact the MAC that i set my EtherNat to.

There are tons of messages, not sure what to look for. Here a the first few lines:

beetle@beetles-x1:~$ sudo tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp4s0, link-type EN10MB (Ethernet), capture size 262144 bytes
15:51:48.942029 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:48.947267 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:48.947287 IP beetles-x1.58070 > raspberrypi.domain: 37774+ PTR? 255.255.255.255.in-addr.arpa. (46) 15:51:48.951890 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:48.953492 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [P.], seq 1825740149:1825740188, ack 2263715372, win 19229, options [nop,nop,TS val 892030802 ecr 2377167262], length 39 15:51:48.953557 IP beetles-x1.42188 > 212.6.122.227.imaps: Flags [.], ack 39, win 501, options [nop,nop,TS val 2377285289 ecr 892030802], length 0 15:51:48.956284 IP beetles-x1.42188 > 212.6.122.227.imaps: Flags [P.], seq 1:29, ack 39, win 501, options [nop,nop,TS val 2377285292 ecr 892030802], length 28 15:51:48.970077 IP beetles-x1.53927 > raspberrypi.domain: 32763+ PTR? 35.178.168.192.in-addr.arpa. (45) 15:51:48.970233 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [P.], seq 39:119, ack 29, win 19257, options [nop,nop,TS val 892030819 ecr 2377285292], length 80 15:51:49.012269 IP beetles-x1.34285 > raspberrypi.domain: 57229+ PTR? 227.122.6.212.in-addr.arpa. (44) 15:51:49.014926 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [P.], seq 193:339, ack 112, win 19340, options [nop,nop,TS val 892030862 ecr 2377285333], length 146 15:51:49.029149 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [.], ack 163, win 19391, options [nop,nop,TS val 892030878 ecr 2377285352], length 0 15:51:49.034809 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [P.], seq 339:459, ack 163, win 19391, options [nop,nop,TS val 892030882 ecr 2377285352], length 120 15:51:49.082325 IP beetles-x1.42188 > 212.6.122.227.imaps: Flags [.], ack 459, win 501, options [nop,nop,TS val 2377285418 ecr 892030882], length 0 15:51:50.038226 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:50.742889 IP beetles-x1.41832 > 212.6.122.227.imaps: Flags [P.], seq 1189147328:1189147360, ack 2611554090, win 980, options [nop,nop,TS val 2377287078 ecr 892030534], length 32 15:51:50.757617 IP 212.6.122.227.imaps > beetles-x1.41832: Flags [.], ack 32, win 28894, options [nop,nop,TS val 892032607 ecr 2377287078], length 0 15:51:50.764907 IP 212.6.122.227.imaps > beetles-x1.41832: Flags [P.], seq 1:33, ack 32, win 28894, options [nop,nop,TS val 892032614 ecr 2377287078], length 32 15:51:50.765003 IP beetles-x1.41832 > 212.6.122.227.imaps: Flags [.], ack 33, win 980, options [nop,nop,TS val 2377287100 ecr 892032614], length 0 15:51:50.800658 IP beetles-x1.36748 > 212.6.122.227.imaps: Flags [P.], seq 365179412:365179444, ack 208264886, win 501, options [nop,nop,TS val 2377287136 ecr 892030607], length 32 15:51:50.813539 IP 212.6.122.227.imaps > beetles-x1.36748: Flags [.], ack 32, win 26842, options [nop,nop,TS val 892032663 ecr 2377287136], length 0 15:51:50.821085 IP 212.6.122.227.imaps > beetles-x1.36748: Flags [P.], seq 1:33, ack 32, win 26842, options [nop,nop,TS val 892032670 ecr 2377287136], length 32 15:51:50.821123 IP beetles-x1.36748 > 212.6.122.227.imaps: Flags [.], ack 33, win 501, options [nop,nop,TS val 2377287156 ecr 892032670], length 0 15:51:51.063946 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:51.067304 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:51.068661 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:51.124127 IP beetles-x1.42188 > 212.6.122.227.imaps: Flags [P.], seq 163:195, ack 459, win 501, options [nop,nop,TS val 2377287459 ecr 892030882], length 32 15:51:51.138182 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [.], ack 195, win 19423, options [nop,nop,TS val 892032988 ecr 2377287459], length 0 15:51:51.149183 IP 212.6.122.227.imaps > beetles-x1.42188: Flags [P.], seq 459:491, ack 195, win 19423, options [nop,nop,TS val 892032998 ecr 2377287459], length 32 15:51:51.149254 IP beetles-x1.42188 > 212.6.122.227.imaps: Flags [.], ack 491, win 501, options [nop,nop,TS val 2377287484 ecr 892032998], length 0 15:51:52.086321 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:52.094574 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from de:97:6c:82:0d:3f (oui Unknown), length 300 15:51:52.094616 1c:ed:6f:bf:f0:59 (oui Unknown) > Broadcast, ethertype Unknown (0x88e1), length 60:
	0x0000:  0000 a000 b052 486d be7f 0000 0000 0000  .....RHm........
	0x0010:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
15:51:52.094787 1c:ed:6f:bf:f0:59 (oui Unknown) > Broadcast, ethertype Unknown (0x8912), length 60:
	0x0000:  0170 a000 0000 1f84 6da3 97a2 5553 bef1  .p......m...US..
	0x0010:  fcf9 796b 5214 13e9 e200 0000 0000 0000  ..ykR...........
	0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............





4) Use IPv6 with SLAAC :)

not getting this joke
Greetings,
Stefan


Reply to: