I dd copied my emmc from 1 NanpPi NEO Air to another no WiFi
Posted: Sat Jan 26, 2019 9:47 pm
Been working on a new NanoPi NEO air for 2 days. I all most had it all done but could not get a music player to work so gave up and I have it working real good on my older NanoPi NEO Air for very long.
I put a USB 8GB stick on them and booted with a SD card and did this:
dd if=/dev/mmcblk1 of=/dev/sda
Then on the new one copy that back with this:
dd if=/dev/sda of=/dev/mmcblk1
Can only get on it with the RS232. I changed it's hostname and that's about it.
Here is what I get:
root@NanoPi-NEO-Air:/# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted
root@NanoPi-NEO-Air:/#
There the same hardware with the NanoHat-PCM5102A.
I thought I could just copy it and change the hose name and it work just like the other one.
Could it be some MAC address or something? I just don't know what can I do to fix this.
Here is what the ifconfig -a looks like on the coped one:
If that helps.
I hope some one know how to fix this.
-Raymond Day
I put a USB 8GB stick on them and booted with a SD card and did this:
dd if=/dev/mmcblk1 of=/dev/sda
Then on the new one copy that back with this:
dd if=/dev/sda of=/dev/mmcblk1
Can only get on it with the RS232. I changed it's hostname and that's about it.
Here is what I get:
root@NanoPi-NEO-Air:/# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted
root@NanoPi-NEO-Air:/#
There the same hardware with the NanoHat-PCM5102A.
I thought I could just copy it and change the hose name and it work just like the other one.
Could it be some MAC address or something? I just don't know what can I do to fix this.
Here is what the ifconfig -a looks like on the coped one:
root@NanoPi-NEO-Air:/# ifconfig -a
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-01-00-58-F5-00-00-00-00-00-00-00-00
NOARP MTU:1476 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1452 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:16436 Metric:1
RX packets:152 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9120 (9.1 KB) TX bytes:9120 (9.1 KB)
sit0 Link encap:IPv6-in-IPv4
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tunl0 Link encap:IPIP Tunnel HWaddr
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr b0:f1:ec:11:6b:66
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)
root@NanoPi-NEO-Air:/#
Here is what it looks like on the old one that I DD copied from:
root@air:~# ifconfig -a
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-01-00-78-F5-00-00-00-00-00-00-00-00
NOARP MTU:1476 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1452 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:16436 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5088 (5.0 KB) TX bytes:5088 (5.0 KB)
sit0 Link encap:IPv6-in-IPv4
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tunl0 Link encap:IPIP Tunnel HWaddr
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 94:a1:a2:c0:b9:38
inet addr:192.168.86.229 Bcast:192.168.86.255 Mask:255.255.255.0
inet6 addr: fe80::96a1:a2ff:fec0:b938/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37755 errors:0 dropped:0 overruns:0 frame:0
TX packets:3909 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4909537 (4.9 MB) TX bytes:670367 (670.3 KB)
root@air:~#
If that helps.
I hope some one know how to fix this.
-Raymond Day