No network and no SSH to the P0

73 views
Skip to first unread message

Marcus G

unread,
Apr 2, 2021, 6:47:17 AM4/2/21
to ClusterHAT
I followed the instructions as described. The controller has the cnat image and the P0 have the corresponding image (P1,P2, ...). 
I can see from the green LED that the P0 start and work. On the controller I only see the network bridge with "172.19.180.254". 
Interesting is that with "lsusb -t" I can see the usb-hub but none of the P0-USB which should be provided by the HAT. (so according to other documentation). 
When I examine the "rootfs" of the P0 I see in the log that there seems to be a USB0 as Ethernet. However there are no entries in /etc/network/interface (as well as .d).

How can I set this so that the P0 can access cleanly with an SSH from the controller. 

Would be cool if something like OOTB would work.


Marcus G

unread,
Apr 2, 2021, 10:18:53 AM4/2/21
to ClusterHAT
I run your commands and here are the outputs:

root@uranus:/home/pi# cat /proc/device-tree/hat/* ; echo ; dmesg|grep "cdc\|usb" ; lsusb -t; sudo ifconfig -a ; sudo brctl show
hatZC4:ClusterHAT0x00040x0024de91a4ce-ac7f-11e9-a2a3-2a2ae2dbcce48086 Consultancy
[    0.134127] usbcore: registered new interface driver usbfs
[    0.134208] usbcore: registered new interface driver hub
[    0.134351] usbcore: registered new device driver usb
[    1.520838] usbcore: registered new interface driver lan78xx
[    1.523524] usbcore: registered new interface driver smsc95xx
[    2.500217] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.502532] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.504906] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[    2.512046] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.516612] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.519042] usb usb1: Product: DWC OTG Controller
[    2.521419] usb usb1: Manufacturer: Linux 5.4.79-v7+ dwc_otg_hcd
[    2.523851] usb usb1: SerialNumber: 3f980000.usb
[    2.532506] usbcore: registered new interface driver usb-storage
[    2.565164] usbcore: registered new interface driver usbhid
[    2.567792] usbhid: USB HID core driver
[    4.026255] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    4.276618] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.290256] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.626283] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.766635] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.792526] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.586282] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[    5.736838] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.756269] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.835989] usbcore: registered new interface driver brcmfmac
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
br0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:04:76:53  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 831 (831.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

brint: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.19.180.254  netmask 255.255.255.0  broadcast 172.19.180.255
        inet6 fe80::f841:55ff:fe3b:643f  prefixlen 64  scopeid 0x20<link>
        ether fa:41:55:3b:64:3f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1112  bytes 50050 (48.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.109  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::adb9:1e58:16ea:337e  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:04:76:53  txqueuelen 1000  (Ethernet)
        RX packets 23857  bytes 15055792 (14.3 MiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 5182  bytes 511690 (499.6 KiB)
        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 1065  bytes 95648 (93.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1065  bytes 95648 (93.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:51:23:06  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

bridge name bridge id STP enabled interfaces
br0 8000.b827eb047653 no
brint 8000.000000000000 no


Marcus G

unread,
Apr 2, 2021, 11:54:59 AM4/2/21
to ClusterHAT
after i have really tried all possible ways of installation here. by chance it turns out that the micro usb port is broken and therefore no connection between hab and the controller can come about.

I apologize to all who I have bothered with my problem. Happy Easter.

Chris Burton

unread,
Apr 2, 2021, 4:37:31 PM4/2/21
to ClusterHAT
Hi,
after i have really tried all possible ways of installation here. by chance it turns out that the micro usb port is broken and therefore no connection between hab and the controller can come about.

If there's a problem with the hardware please email sup...@8086.net.uk

Chris. 
Reply all
Reply to author
Forward
0 new messages