opened
jedichen121
username_0
<!--
    General guidance when creating issues:

    1. Please try to remember to close the issue when you have
       got an answer to your question.

    2. It never hurts to state which commit or release tag you are using in case
       the question is about build issues.

    3. Try to use GitHub markdown formatting to make your issue more readable:
         https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code

    4. Try to search for the issue before posting the question:
         -> Issues tab -> Filters

    5. Check the FAQ before posting a question:
         https://www.op-tee.org/faq

    NOTE: This comment will not be shown in the issue, so no harm keeping it,
    but feel free to remove it if you like.
-->

I was trying to setup NFS to use with raspberry pi 3 with build 3.3 following this [guide](https://github.com/OP-TEE/build/blob/master/docs/rpi3.md#5-nfs-boot). However, I couldn't obtain an IP address when using wired connection. I found issue #1367 and used `ifconfig eth0 up`, but still the `ifconfig` results showed no ip address. 

```
# ifconfig
eth0      Link encap:Ethernet  HWaddr B8:27:EB:DA:46:B7  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 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:201 (201.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)
```

I also tried to edit the `/etc/network/interfaces` file, adding 
```
auto eth0
iface eth0 inet dhcp
```
It didn't help and I could see in the boot message showing
```
Starting network: Segmentation fault
FAIL
```
Using `ifup eth0` gave the same segmentation fault. 

Any help would be appreciated. Thank you.
Cannot obtain IP address for eth0 on RPI 3
issue
created
jbech-linaro
username_1
I'm closing the ticket, either because it has already been answered or that it is no longer relevant or it could be lack of response from the author. Having that said, feel free to re-open the ticket if you have more to add to the ticket.
comment
closed
jbech-linaro
username_1
issue