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.
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:
ip address add 192.168.1.10/24 dev eth0ok
ip route add default via 192.168.1.1ip: 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?
3) you could look at the DHCP traffic from the machine on a different console screen:
tcpdump -i eth0 port 67 and port 68
(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).
4) Use IPv6 with SLAAC :)
ip address add 192.168.1.10/24 dev eth0ok
ip route add default via 192.168.1.1ip: 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).
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
ip address add 192.168.1.10/24 dev eth0ok
ip route add default via 192.168.1.1ip: 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).
ip address add 192.168.1.10/24 dev eth0
ip link set dev eth0 up
ip route add default via 192.168.1.1
Hi Stefan,
Am 22.12.2022 um 11:17 schrieb Finn Thain:
ip address add 192.168.1.10/24 dev eth0ok
ip route add default via 192.168.1.1ip: 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).
ip address add 192.168.1.10/24 dev eth0
ip link set dev eth0 up
ip route add default via 192.168.1.1
Perhaps add 'ip route add 192.168.1.0/24 dev eth0' in case 'ip address' did not set up the local network route?
Output of 'ip route show' would be useful.
Am 22.12.2022 um 11:17 schrieb Finn Thain:
ip address add 192.168.1.10/24 dev eth0
ip link set dev eth0 up
ip route add default via 192.168.1.1
Perhaps add 'ip route add 192.168.1.0/24 dev eth0' in case 'ip address'
did not set up the local network route?
Output of 'ip route show' would be useful.
Hello Carsten!
On 12/23/22 09:19, Carsten Strotmann wrote:
Issue is now solved, Stefan is installing the latest Debian 11.
Nice. Could you assemble a list of issues that you ran into that
we can address them if necessary?
Issue is now solved, Stefan is installing the latest Debian 11.
Step 2
------
I wanted to mount the TOS C: (/devsda1) under /tos to be able to copy installed kernel and initrd from /boot onto my TOS system later on, but for some reason partman failed to do so.
On Fri, Dec 23, 2022 at 10:41:06AM +0100, Stefan Niestegge wrote:
I wanted to mount the TOS C: (/devsda1) under /tos to be able to copy
installed kernel and initrd from /boot onto my TOS system later on, but for >> some reason partman failed to do so.
IIRC at some point with newer kernels TOS partitions became read-only on my Falcon. I kept an older kernel around just for being able to write updated kernels to the TOS partitons. But its been a few years, things may have changed again in the meantime.
Christian
Am 23.12.22 um 10:41 schrieb Stefan Niestegge:
If i only use the kernel and remove the initrd= parameter,
Linux can't find the root device and panics. If i leave the initrd
argument as-is and reboot, i run into the D-I again and not into
my new installed system.
So, i need a solution to mount one of my TOS accessible drives, after
setup is finished, in order to copy over the kernel and initrd that was installed in /boot .
I'm sure this is a solveable issue.
Greets,
Stefan
The login timeout is too short. Checking if the password is correct
takes too long.
Hi,
On 23 Dec 2022, at 3:26, Michael Schmitz wrote:
Hi Stefan,
Am 22.12.2022 um 11:17 schrieb Finn Thain:
ip address add 192.168.1.10/24 dev eth0ok
ip route add default via 192.168.1.1ip: 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).
ip address add 192.168.1.10/24 dev eth0
ip link set dev eth0 up
ip route add default via 192.168.1.1
Perhaps add 'ip route add 192.168.1.0/24 dev eth0' in case 'ip address' did not set up the local network route?
Output of 'ip route show' would be useful.
I visited Stefan yesterday and we found that the problem was faulty hardware (both network-cards were faulty). I brought a NetUSBee card and that worked immediately without issues.
With both faulty network cards the ARP request were send, and ARP responses were send back to the Atari Falcon, but the Falcon never did receive the ARP responses, so the ARP-Table was not populated.
Issue is now solved, Stefan is installing the latest Debian 11.
Greetings
Carsten
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 103:50:21 |
Calls: | 6,700 |
Files: | 12,232 |
Messages: | 5,350,235 |