Skip to content

How to setup networks (use ethernet) #1

Description

@Srrbli-23

I use Cyclone V SoC that has an Arm Cortex-A9 core

I'm sure that my linux kernel and device tree are correct
But I can't get the board ip address when it power up

root@armhf:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

It seems to lack dhcp service...

root@armhf:~# ls /etc/init.d/   
README			checkroot.sh  killprocs		     mountdevsubfs.sh	    procps    rmnologin  udev	       urandom
bootlogs		dbus	      kmod		     mountkernfs.sh	    rc	      sendsigs	 udev-finish
bootmisc.sh		halt	      motd		     mountnfs-bootclean.sh  rc.local  single	 umountfs
checkfs.sh		hostname.sh   mountall-bootclean.sh  mountnfs.sh	    rcS       skeleton	 umountnfs.sh
checkroot-bootclean.sh	hwclock.sh    mountall.sh	     networking		    reboot    ssh	 umountroot

Should I recompile rootfs again?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions