How to get an IP from the CHIP via USB?

Hello,

I’ve seen people on this community that managed to get an IP on the USB port of the CHIP

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%3069029468/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:118 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:44604 (43.5 KiB) TX bytes:44604 (43.5 KiB)

usb0 Link encap:Ethernet HWaddr 0A:97:A6:DF:48:73
inet addr:10.10.10.10 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST 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)

wlan0 Link encap:Ethernet HWaddr 7C:C7:09:10:25:BB
inet addr:192.168.7.201 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fd25:177a:742c:0:7ec7:9ff:fe10:25bb%3069029468/64 Scope:Global
inet6 addr: fe80::7ec7:9ff:fe10:25bb%3069029468/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14212368 errors:0 dropped:16275690 overruns:0 frame:0
TX packets:1475721 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:938361330 (894.8 MiB) TX bytes:1446897495 (1.3 GiB)

I would like to know how did they manage to do that?
I’ve hooked up a Surface USB to Ethernet adapter in the USB port (type A) of the CHIP, but no luck so far.

Thanks for any hints/comments.

Andrei.

Any clue ?

Thanks

I think you are referring to the Ethernet over usb feature of c.h.i.p. If so I could only get that to work when connecting it to a Linux PC, and a quick google search tells me the same. If you are running Linux (even a live cd/usb should work) all you should have to do is connect chip via usb and you will get a Ethernet connection notification. Then run ‘ifconfig’ in the terminal to get the ip address.

Thanks for the hint.
I’ll give it a go and let you guys know.

OK. so I got 10.10.10.169 under ubuntu, but the IP is not accessible neither using HTTP, neither using SSH.

Try 10.10.10.10, CHIP should have the DHCP server so 10.10.10.169 should be your IP. I could be wrong , wouldn’t be the first time.