# Unable to access jupyter-notebook on coustom board

**URL:** <https://discuss.pynq.io/t/unable-to-access-jupyter-notebook-on-coustom-board/3294>\
**Category:** Support\
**Created:** [November 12, 2021, 2:37pm UTC](https://discuss.pynq.io/t/unable-to-access-jupyter-notebook-on-coustom-board/3294 "2021-11-12T14:37:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaykumarvg1](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@vijaykumarvg1](https://discuss.pynq.io/u/vijaykumarvg1)\
**Post date:** [November 12, 2021, 2:37pm UTC](https://discuss.pynq.io/t/unable-to-access-jupyter-notebook-on-coustom-board/3294/1 "2021-11-12T14:37:55Z")

</div>

Hi,

Pynq: master  
petalinux= 2020.1  
Vivado= 2020.1  
Board: Ultrascale+ (4EV)  
command to build image: bash scripts/prebuilt\_image Pynq Pynq.bsp aarch64 bion…

Successfully I built Pynq image using prebuilt image command. I can see Pynq and jupyternotebook folders after login. But unable to access jupyter notebook.

Running ifconfig shows this

```auto
xilinx@pynq:~$ ifconfig                                                         
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 10 bytes 456 (456.0 B)                                      
        RX errors 0 dropped 0 overruns 0 frame 0                             
        TX packets 10 bytes 456 (456.0 B)                                      
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

```

After running **sudo ifconfig eth0 up**

```auto
xilinx@pynq:~$ sudo ifconfig eth0 up                                            
[sudo] password for xilinx:                                                     
xilinx@pynq:~$ ifconfig                                                         
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500                              
        ether 5e:47:3d:f6:85:18 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              
        device interrupt 31                                                     
                                                                                
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 150 bytes 7456 (7.4 KB)                                     
        RX errors 0 dropped 0 overruns 0 frame 0                             
        TX packets 150 bytes 7456 (7.4 KB)                                     
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

```

At boot status it says no etehrnet found

```auto
xilinx@pynq:/etc/network/interfaces.d$ Xilinx Zynq MP First Stage Boot Loader   
Release 2020.1 Nov 12 2021 - 13:24:42                                       
NOTICE: ATF running on XCZU4EG/EV/silicon v4/RTL5.1 at 0xfffea000              
NOTICE: BL31: v2.2(release):xilinx_rebase_v2.2_2020.1                          
NOTICE: BL31: Built : 13:26:05, Nov 12 2021                                    
                                                                                
                                                                                
U-Boot 2020.01 (Nov 12 2021 - 13:23:22 +0000)                                   
                                                                                
Board: Xilinx ZynqMP                                                            
DRAM: 2 GiB                                                                    
usb dr_mode not found                                                           
PMUFW: v1.1                                                                    
EL Level: EL2                                                             
Chip ID: zu4                                                             
NAND: 0 MiB                                                                    
MMC: mmc@ff160000: 0, mmc@ff170000: 1                                         
In: serial@ff000000                                                          
Out: serial@ff000000                                                          
Err: serial@ff000000                                                          
Bootmode: SD_MODE1                                                              
Reset reason: EXTERNAL                                                        
Net:                                                                            
ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr -1, interface sgmii              
Could not get PHY for eth0: addr -1                                             
                                                                                
ZYNQ GEM: ff0d0000, mdio bus ff0d0000, phyaddr 1, interface sgmii               
Could not get PHY for eth1: addr 1                                              
No Ethernet found.                                                              
                                                                                
Hit any key to stop autoboot: 0                                                
switch to partitions #0, OK                                                     
mmc1 is current device                                                          
Scanning mmc 1:1...                                                             
Found U-Boot script /boot.scr                                                   
1636 bytes read in 14 ms (113.3 KiB/s)                                          
## Executing script at 20000000                                                 
17534904 bytes read in 5794 ms (2.9 MiB/s)

```

My device tree i have this

```auto
/include/ "system-conf.dtsi"
/ {
};

&sdhci1 { /* FIXME - on CC - MIO 39 - 51 */
    	status = "okay";
    	no-1-8-v;
    	disable-wp;
    	broken-cd;
    	xlnx,mio-bank = <1>;
    	/* Do not run SD in HS mode from bootloader */
    	sdhci-caps-mask = <0 0x200000>;
    	sdhci-caps = <0 0>;
    	max-frequency = <19000000>;
    };

 

aliases{
  ethernet2=&gem2;
 };
};

&gem0 {
    local-mac-address = [00 0a 35 00 01 22];
    phy-handle = <&ethernet_phy0>;
    xlnx,has-mdio = <0x1>;
    phy-mode = "sgmii";
    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        phy0: phy@0 {
            compatible = "ti,dp83867is";
            device_type = "ethernet-phy";
            reg = <0x1>;
        };
    };
};

&gem2 {
    local-mac-address = [00 0a 35 00 01 24];
    phy-handle = <&ethernet_phy2>;
    xlnx,has-mdio = <0x1>;
    phy-mode = "sgmii";
    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        phy2: phy@0 {
            compatible = "ti,dp83867is";
            device_type = "ethernet-phy";
            reg = <0xc>;
        };
    };
};

```
