Ich habe hier ein MK808 welcher auf Rockchip3066 (ARM) basiert. Entsprechend handelt es sich um ein speziell angepasstes 14.04er Ubuntu/Picuntu. Ich habe hier keine GUI, sondern nur die Kommandozeile zur Verfügung.
uname -a:
Linux danuntu 3.0.8+ #26 SMP PREEMPT Mon Mar 18 11:30:34 MSK 2013 armv7l armv7l armv7l GNU/Linux
Soweit ich schon durch googlen herausgefunden habe deutet der Fehler auf ein falsch/nicht ausreichend konfigurierten DNS hin. Die ursprüngliche Konfiguration von interfaces sah so aus:
# interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: auto lo iface lo inet loopback auto usbnet0 iface usbnet0 inet dhcp auto eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Ich habe sie so geändert, allerdings ohne Besserung (an 192.168.10.1 hängt meine Fritzbox mit DHCP):
# interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: auto lo iface lo inet loopback auto usbnet0 iface usbnet0 inet dhcp auto eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp gateway 192.168.10.1 nameserver 192.168.10.1 wpa-ssid Chriz wpa-psk mykey
Hiernach konnte ich wenigstens apt-get machen, jedoch scheitert dann die Auflösung, was mich auf DNS brachte.
ifconfig -a gibt das aus:
eth0 Link encap:Ethernet HWaddr 00:22:f4:62:12:e1 inet6 addr: fe80::222:f4ff:fe62:12e1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:10180 (10.1 KB) ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 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:896 errors:0 dropped:0 overruns:0 frame:0 TX packets:896 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:71120 (71.1 KB) TX bytes:71120 (71.1 KB) sit0 Link encap:IPv6-in-IPv4 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)
Ich wunder mich wieso hier die MAC-Adresse des WLANs als eth0 auftaucht.
resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1
Da man hier nichts von Hand eintragen darf, dachte ich, dass das über die interfaces gemacht werden muss, las sich zumindest so, allerdings taucht trotzdem kein entsprechender nameserver auf.
route -n folgendes:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
iwconfig:
eth0 IEEE 802.11-DS Mode:Ad-Hoc Channel:-2.37282e+08 Cell: Not-Associated Bit Rate:-936383 kb/s Tx-Power:29 dBm Retry min limit:-237281636 RTS thr:off Fragment thr:off Power Managementmode:All packets received Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
arp -av:
Entries: 0 Skipped: 0 Found: 0
70-persistent-net.rules:
# This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # USB device 0x:0x (rtl8188eu) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:94:f6:23:70:4d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0" # Unknown net device (/devices/platform/rk29_sdmmc.1/mmc_host/mmc1/mmc1:0001/mmc1:0001:2/net/eth0) (bcmsdh_sdmmc) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:f4:62:12:e1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
hosts:
127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
lsmod
Module Size Used by bcm40181 371863 0 8188eu 529790 0
iwlist -chan:
eth0 32 channels in total; available frequencies : Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Channel 00 : -1e+06 Current Channel:-2.37282e+08