[NZLUG] assistance requested with ifconfig

Robin Paulson robin at bumblepuppy.org
Thu Jun 20 16:11:09 NZST 2013


i'm doing some experiments with arm-based mini computers at the moment, but am 
having trouble connecting via ethernet.

the device i'm using is a rikomagic mk802ii, which has a host usb interface on 
it. i have plugged my usb ethernet dongle into it, and then put an ethernet wire 
from my laptop to the dongle

i'm having problems bringing the interface up.
i've tried this:
$ sudo ifconfig eth3 add 10.0.0.2

when i open 10.0.0.2 in my browser, it links to the apache instance on my 
laptop, not the mk802

can someone help? i'm not sure how to search for this, because i don't entirely 
understand what i'm doing, in correct technical terms anyway

ifconfig on my laptop outputs this:
eth3      Link encap:Ethernet  HWaddr 00:17:08:34:d5:99  
          inet6 addr: fe80::217:8ff:fe34:d599/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:74234 (74.2 KB)
          Interrupt:16 


eth3 is the hardware ethernet port on my laptop

i've also tried this:
$ sudo ifconfig eth3 down
$ sudo ip address add 192.168.0.200/24 dev eth3
$ sudo ifconfig eth3 up

ifconfig then gives this, which looks better:
eth3      Link encap:Ethernet  HWaddr 00:17:08:34:d5:99  
          inet addr:192.168.0.200  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::217:8ff:fe34:d599/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)
          Interrupt:16 

but i don't know what the remote ip address is then: should it be 
192.168.0.202?

after a few seconds it loses the ipv4 address though


More information about the NZLUG mailing list