Sdpetersen Posted January 31, 2017 Posted January 31, 2017 I've set up my new OPi Zero as a wireless AP running the latest Armbian build for the OPi0. It's working mostly great. My one problem I'm having is that my speeds seem to be throttled to 5-6Mbps. I connect wirelessly from my phone and run a speed test and get 5-6Mbps. If I connect directly to my router, I get 30Mbps. I have a Rpi3 set up about the same as the OPi0, and when I connect it up I get the full 30. Each time I've tested with the OPi and RPi, my phone is the only device connected. So, I've poked around online and I can't seem to figure out if it's a hardware limitation or if it's a software/driver/setting limitation. Also, if it's the latter, how/where to find the problem in my configuration. Has anyone else gotten better speeds out of their OPi0, if so, what were they? Does anyone have any recommendations for where to look to configuration changes? This is my current HostAPD configuration: # This is the name of the WiFi interface we configured above interface=wlan0 # Use the nl80211 driver with the brcmfmac driver driver=nl80211 # This is the name of the network ssid=babyRoadTrip # Use the 2.4GHz band hw_mode=g # Use channel 6 channel=6 # Enable 802.11n ieee80211n=1 # Enable WMM wmm_enabled=1 # Enable 40MHz channels with 20ns guard interval ht_capab=[HT40] # Not sure if OPi supports these: # [sHORT-GI-20][DSSS_CCK-40] # Accept all MAC addresses macaddr_acl=0 # Use WPA authentication auth_algs=3 # Require clients to know the network name ignore_broadcast_ssid=0 # Use WPA2 wpa=2 # Use a pre-shared key wpa_key_mgmt=WPA-PSK # The network passphrase wpa_passphrase=roadtrip # Use AES, instead of TKIP rsn_pairwise=CCMP
hmartin Posted January 31, 2017 Posted January 31, 2017 I've set up my new OPi Zero as a wireless AP running the latest Armbian build for the OPi0. It's working mostly great. My one problem I'm having is that my speeds seem to be throttled to 5-6Mbps. I connect wirelessly from my phone and run a speed test and get 5-6Mbps. If I connect directly to my router, I get 30Mbps. Yes, the XRADIO driver is crap. This has been known for quite some time. If you want good WiFi performance, don't use an Orange Pi Zero. See here for further discussion of WiFi performance: https://forum.armbian.com/index.php/topic/3243-orange-pi-zero-xradio-st-cw1200/?p=22863 Summary: Single antenna low power Wi-Fi in 2.4 GHz band is great to send some sensor data around but please don't expect 'throughput' with this 'as cheap as possible' type of wireless device. The best I got with el cheapo Wi-Fi (tested with OPi Lite, Banana Pro, Pine64 and NanoPi Air) here in my place was 20 Mbits/sec over a pretty short distance using a good AP configured to use highest power profile. At night! During the day and especially in the evening when loads of other devices around utilize the same radio channels bandwidth drops down to laughable numbers and latency increases like hell. BTW: 20 Mbits/secs means not even 3 MB/s! Just to be sure... I'm always surprised about the huge amount of confusion around Wi-Fi: people thinking there would be something like 'guaranteed bandwidth', hiding SSID would improve security, same with MAC filter... all plain BS but a lot of people believe in
Sdpetersen Posted January 31, 2017 Author Posted January 31, 2017 Thanks! I'd love to contribute to the solution, but my skillset is limited (a lot of the stuff you said over there was over my head). I posted there. Let me know if there's anything I can do to help.
Sdpetersen Posted January 31, 2017 Author Posted January 31, 2017 Thanks for the tip, borombo, but my application already uses the USB for a flash drive for expanded storage.
hmartin Posted February 1, 2017 Posted February 1, 2017 Thanks for the tip, borombo, but my application already uses the USB for a flash drive for expanded storage. There's 2 additional USB ports available from the expansion header. You'll need a 2.54mm to USB-A female adapter. Something like this would work (with the pins re-arranged appropriately). Alternatively, Xunlong sells an expansion board for the Orange Pi Zero which adds two USB ports, microphone, IR, and audio/video out. I have a Rpi3 set up about the same as the OPi0, and when I connect it up I get the full 30. Each time I've tested with the OPi and RPi, my phone is the only device connected. Say what you will about the Raspberry Pi foundation, but their hardware support is pretty good. This is a case of "you get what you pay for"
martinayotte Posted February 1, 2017 Posted February 1, 2017 Or you can get cheaper breakouts such : http://www.ebay.ca/itm/2Pack-5v-USB-A-Type-Female-Breakout-Board-w-2-54mm-Header-/201791328472
Sdpetersen Posted February 1, 2017 Author Posted February 1, 2017 Thanks gentlemen for the recommendations, but if I bought all that to make it work, I might as well buy an RPi. The thing is, the OPi0 has exactly the hardware I need for my application: 1 USB port, 512MB+ RAM, onboard wifi, an additional NIC (wireless would be great, but wired will work too), microSD memory, capable of running linux (LAMP server). If it were a one-off project, I'd be all for buying the nicer SBC (I've built my project on 3 different RPi versions and have at least 10 RPi's) or buying the accessories to make it work (that's something else I've done before), but I'm looking to mass produce my device for commercial sales and where I don't have the capital to develop my own board, I'm using off the shelf hardware. I like this board because it gets rid of the extras that cause my customers confusion (HDMI, SPDIF, 4xUSB) and it brings down my costs. Do you guys have any recommendations for a different SBC that meets my minimum requirements, but costs less than the RPi3? Or a good resource that lists lots of SBCs and let's me search/filter for my needs? As it is, the OPi0 works adequately, but the wifi isn't very fast or reliable, so I'm looking to solve that problem or find another solution.
martinayotte Posted February 1, 2017 Posted February 1, 2017 My favorite right now is the OPiPC+, eth/wifi/emmc/3usb for $19.95.
Sdpetersen Posted February 1, 2017 Author Posted February 1, 2017 Does the OpiPC+ have a better wifi adapter that won't have the same problems as the Opi0?
Igor Posted February 1, 2017 Posted February 1, 2017 Does the OpiPC+ have a better wifi adapter that won't have the same problems as the Opi0? Yes, it's bettter.
Sdpetersen Posted February 1, 2017 Author Posted February 1, 2017 Thanks @Igor... I just looked that up, and it brings up a new issue: power adapter. Another thing that made the OPi0 more "realistic" to use is the fact that it uses the Micro USB to power it and not some "custom" (or not as common) power adapter.
Igor Posted February 1, 2017 Posted February 1, 2017 Powering via micro USB should be avoided where and if possible, especially in productive environment. Better to power via header. This goes for all boards which fancy micro USB power connector.
martinayotte Posted February 2, 2017 Posted February 2, 2017 OPiPC+ is powered using traditional Barrel 4mm x 1.7mm. Of course, OPiPC+ is twice as big footprint form-factor of OPi0, but 3 USB instead of 1, 2x or 4X DRAM, 8MB eMMC which once initialized with "nand-sata-install", you remove MicroSD forever, reducing BoM cost.
Sdpetersen Posted February 2, 2017 Author Posted February 2, 2017 @Igor, are you saying that RPi got it wrong by doing the USB power? If so, could you give some reasons - I'd like to know more. @matinayotte, that sounds great, but my application requires 32Gb storage or more, so I'd need the SD card regardless.
martinayotte Posted February 2, 2017 Posted February 2, 2017 USB Power ? as discussed many times on this forum, microUSB connector and cheap/crappy/dirty cables can't provide enough power to the board. you can still boot from eMMC and use MicroSD only for data.
Igor Posted February 2, 2017 Posted February 2, 2017 @Sdpetersen Check this thread if you want to know more design flaws of Raspberry Pi.
zador.blood.stained Posted February 2, 2017 Posted February 2, 2017 @Igor, are you saying that RPi got it wrong by doing the USB power? If so, could you give some reasons - I'd like to know more. Just an example. I've got a first Raspberry Pi (model B ) powered via microUSB (just because I'm too lazy to free up GPIO pins and make a peoper cable) and if I plug, for example, a card reader into its USB port, it will simply reboot. So while it's possible to use microUSB for some use cases, it's hard to prevent end users from using a crappy cable and a more crappy power supply. Compared to it H3 Orange Pi boards except Zero can't be powered from microUSB and require a power supply with a compatible barrel plug - luckily Xunlong sells a pretty good one, so clueless users have less chance to get it wrong.
znoxx Posted February 2, 2017 Posted February 2, 2017 This is my config for OPi Zero, used in TorBox project https://github.com/znoxx/torbox/blob/master/scripts/etc/hostapd/hostapd.conf Just change driver back to nl80211 and your built-in zero wifi will work. Or, if u use realtek dongle - leave rtl driver. Attention, driver for realtek is available with patched hostapd. Also I use almost recent version of hostapd from w1fi with realtek patches. You can grab binary here: https://github.com/znoxx/torbox/tree/master/hostapd Warning - arm6 is for Rpi 1, so use other one And here are the tests: http://www.speedtest.net/wp/63198076.png - this one is for default antenna http://www.speedtest.net/wp/63198476.png -this one is for modded antenna http://www.speedtest.net/wp/63199253.png - this one is for modded antenna inside case The antenna mod is decribed here: http://znoxx.me/2017/02/01/altiernativnaia-wifi-antienna-dlia-orange-pi/ Also ensure, that your Zero has running haveged daemon to have best results acting as access point.
Igor Posted February 2, 2017 Posted February 2, 2017 Also I use almost recent version of hostapd from w1fi with realtek patches. You can grab binary here: https://github.com/z.../master/hostapd Warning - arm6 is for Rpi 1, so use other one Latest hostapd, normal and patched for Realtek are built from sources and available within Armbian package base (apt.armbian.com) by default since early days of the project: apt-get install hostapd or apt-get install hostapd-realtek 2
znoxx Posted February 2, 2017 Posted February 2, 2017 Latest hostapd, normal and patched for Realtek are built from sources and available within Armbian package base (apt.armbian.com) by default since early days of the project: apt-get install hostapd or apt-get install hostapd-realtek Wow, thanks! Did not noticed that! And can I use hostapd-realtek with nl80211 driver by changing the config ?
Igor Posted February 2, 2017 Posted February 2, 2017 And can I use hostapd-realtek with nl80211 driver by changing the config ? I forgot / am not sure if this combination work, but just try. I think realtek version is needed on some older drivers, while nl80211 is used with more recent realtek drivers found in mainline kernel. We provide both, that you are ready to do quick experiments without a need to compile hostapd on your own.
jkajolin Posted February 2, 2017 Posted February 2, 2017 There is no really "wrong" with usb power. Even Arduinos can run on USB power.Problem is that USB spec itself don't enforce the amp output for higher numbers (which these boards would require). Meaning that cheap USB cables/connectors don't need to support example more than 1.0a witch is not really enough for power hungry devices.Example USB-C is more than enough if it ever gets to the soc - scene. I once connected by mistake a 0.5a usb cable to 2.4A power source and yes wires started to heat up and the power source itself started to give error blinking Just an example. I've got a first Raspberry Pi (model B ) powered via microUSB (just because I'm too lazy to free up GPIO pins and make a peoper cable) and if I plug, for example, a card reader into its USB port, it will simply reboot. So while it's possible to use microUSB for some use cases, it's hard to prevent end users from using a crappy cable and a more crappy power supply. Compared to it H3 Orange Pi boards except Zero can't be powered from microUSB and require a power supply with a compatible barrel plug - luckily Xunlong sells a pretty good one, so clueless users have less chance to get it wrong.
tkaiser Posted February 2, 2017 Posted February 2, 2017 There is no really "wrong" with usb power. It's the same problem as in other areas: Mismatch between expectations and reality. Users not familiar with Ohm's law or electronics in general think Micro USB would be great to power a device (since they think they can use the gear already lying around) but it's exactly the opposite. While the Micro USB connector can be considered a broken design to power anything that needs more juice than an Arduino the problem most users are running into with Micro USB is the cable and the quality of their power source (using cheap chargers is asking for trouble). Most of the times the problem is also not related to 'not enough current' but voltage drop in reality. Though there's a relationship between the current needed by the device and the voltage available due to most USB cables being crap (resistance way too high): Ohm's law, please see here or there for details. TL;DR: Using average USB chargers and average USB cables chances are pretty high to run in undervoltage situations as soon as the current demand of the device increases (due to connected peripherals or high CPU utilization and stuff like that).
manuti Posted February 2, 2017 Posted February 2, 2017 Meaning that cheap USB cables/connectors don't need to support example more than 1.0a witch is not really enough for power hungry devices. Example USB-C is more than enough if it ever gets to the soc - scene. The Khadas Vim board uses USB-C http://www.gearbest.com/tv-box-mini-pc/pp_580662.html?wid=21
tkaiser Posted February 2, 2017 Posted February 2, 2017 USB-C This is something completely different than crappy Micro USB. USB-C's own 'power modes' allow for 1.5 or 3A at 5V and USB PD (power delivery) profiles also go up to 3A @ 20V which any standard compliant USB-C cable has to be able to deal with (some cables also allow for USB PD profile 5 which means 100W). And now compare with Micro USB situation. Back then USB current ratings were just 500 mA maximum so it's no wonder so many cables exist that use tiny diameters for both data and power lines since the voltage drop at below 500 mA isn't that much compared to what an SBC under full load with attached peripherals might pull when exceeding 1A or even more. BTW: I had a good laugh when reading through USB PD and USB-C specs some time ago and checking participants/editors list. Seems Apple took every engineer available and sent them to USB implementers forum to prevent the disaster when this insane Micro USB crap got specified 10 years ago.
Jan Novak Posted March 23, 2017 Posted March 23, 2017 Hello guys, at the moment I have big trouble with setting orange zero as AP. If i use legacy version I can setup AP properly, but at nightly version I continually getting resets or bootloops. I have tried 5.27.170321, 5.27.170323, 5.27.170324 with same result. Here is my listing from serial console if I want to start hostapd: Spoiler Using interface wlan0 with hwaddr 12:42:ea:6a:f4:74 and ssid "SSID" wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED wlan0: STA a8:a6:68:cd:7f:d0 IEEE 802.11: authenticated wlan0: STA a8:a6:68:cd:7f:d0 IEEE 802.11: associated (aid 1) wlan0: AP-STA-CONNECTED a8:a6:68:cd:7f:d0 wlan0: STA a8:a6:68:cd:7f:d0 RADIUS: starting accounting session 8B933623-00000000 wlan0: STA a8:a6:68:cd:7f:d0 WPA: pairwise key handshake completed (RSN) [ 2626.565902] ------------[ cut here ]------------ [ 2626.570763] kernel BUG at net/core/dev.c:2579! [ 2626.575410] Internal error: Oops - BUG: 0 [#1] SMP THUMB2 [ 2626.581050] Modules linked in: ccm bluetooth evdev xradio_wlan mac80211 cfg80211 rfkill sun8i_codec_analog snd_soc_core snd_pcm_dmaengine snd_pcm sun8i_ths cpufreq_dt gpio_keys thermal_sys uio_pdrv_genirq uio usb_f_acm u_serial g_serial libcomposite [ 2626.604151] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.3-sun8i #1 [ 2626.610873] Hardware name: Allwinner sun8i Family [ 2626.615789] task: c0b07480 task.stack: c0b00000 [ 2626.620537] PC is at skb_checksum_help+0xe4/0xec [ 2626.625369] LR is at validate_xmit_skb+0x16d/0x204 [ 2626.630379] pc : [<c05f90dc>] lr : [<c05fd0cd>] psr: 00000133 [ 2626.630379] sp : c0b01bc0 ip : 00000000 fp : 0000003c [ 2626.642347] r10: dd16b450 r9 : dd0c0000 r8 : 00000000 [ 2626.647805] r7 : 00000000 r6 : ffffffbe r5 : cb60c040 r4 : dd5f9cc0 [ 2626.654619] r3 : 00000042 r2 : 0000003c r1 : 0000003c r0 : cb60b800 [ 2626.661435] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 2626.669064] Control: 50c5387d Table: 5d20406a DAC: 00000051 [ 2626.675064] Process swapper/0 (pid: 0, stack limit = 0xc0b00210) [ 2626.681336] Stack: (0xc0b01bc0 to 0xc0b02000) [ 2626.685896] 1bc0: dd5f9cc0 cb60c040 00000000 c05fd0cd 00000133 ffffffff 00000000 c9ebda00 [ 2626.694438] 1be0: 00000000 dd0c0000 00000000 00000000 dd16b450 c05fd18d dd16b400 c9ebda00 [ 2626.702981] 1c00: dd16b450 dd5f9cc0 dd0c0000 c061719d cb60b850 00000010 00000002 00000001 [ 2626.711523] 1c20: dd16b400 00000000 00000000 00001c9c 00000000 c05fd4b1 dd16b450 00000001 [ 2626.734307] 1c40: dd3e6c00 00000000 0000003c 00000000 c0b57fc0 fffffff4 00000000 c013f1cf [ 2626.757602] 1c60: 00000000 dd5f9cc0 dd5f9cc0 00000000 00000000 dd0ff580 cb60b842 cb60b850 [ 2626.781402] 1c80: cb60b800 c06b284b dd0c0000 c0b4c5c0 dd5f9cc0 00000000 00000000 c06b2909 [ 2626.805394] 1ca0: 0000011d 00000000 00000000 00000000 00000000 00000001 dd3e6c00 dfe0cbf8 [ 2626.829537] 1cc0: dd5a7a80 dd5f9cc0 c0b4c5c0 00000000 00000000 c06b299f 00000074 00000001 [ 2626.853647] 1ce0: c0b03e2c dd0ff6f8 c0b01cf0 dd5f9cc0 dd0c0000 c06b2a1f 00000000 dd5f9cc0 [ 2626.877887] 1d00: dd3b0700 00038cc5 00000000 c06b386f 00000000 0000000e ffffffff 00ffffff [ 2626.902588] 1d20: 00000000 dfe0cbc0 00006bc0 dc913b00 dfe36cf0 dd5f9cc0 c0b4c5c0 cb60b842 [ 2626.927826] 1d40: c0b01da4 dd2d7000 cb60b800 de051000 c0b04bbc c06b3bfd dfe36cf0 dc913b00 [ 2626.953538] 1d60: c0701cd8 c0701e9c de0b9c80 c0b01d78 dfe36bc0 c0132133 deba4308 dd5f9cc0 [ 2626.979826] 1d80: c0b01da4 00000001 c0a57558 c0b04bb4 c06b3af1 c05f945b 00000000 01080020 [ 2627.006353] 1da0: 00000042 dd5f9cc0 00000002 dec4a000 f2aa3000 14ae890e a6b55d39 dd5f9cc0 [ 2627.033177] 1dc0: dd5f9cc0 de051000 de051598 c0b04bb4 dd5f9cc0 de051000 de051598 00000000 [ 2627.060177] 1de0: 00000000 de051580 0000003c c05fb06d de051598 de051000 de051598 00000000 [ 2627.087153] 1e00: 00000000 dd5f9cc0 00000003 c05fb853 80000000 000000e4 00000039 c051a35f [ 2627.114135] 1e20: 00000000 c0148497 c9ca9300 00000040 c0b09644 dd5f9cc0 000000e4 c011093d [ 2627.141122] 1e40: debbc2a8 de051598 00000040 0000012c c0b02d00 dfe0d540 c0b01e80 1f3b6000 [ 2627.168107] 1e60: 00038cc7 c05fb363 c0a57540 c0b5417a c0b04bb4 c08fef5c c0903058 c0518fb7 [ 2627.195102] 1e80: c0b01e80 c0b01e80 c0b01e88 c0b01e88 c010b495 40000003 00000000 00000003 [ 2627.222094] 1ea0: c0b0208c c0b00000 00000100 c0b02080 c0b02080 c011b575 de00f000 e0003000 [ 2627.249094] 1ec0: c0b01eb8 c0b56980 0000000a 00038cc6 c0b02d00 00200102 de1d0c60 c0b01f00 [ 2627.276091] 1ee0: 00000026 00000000 00000000 de00f000 e0003000 00000000 00000000 c011b86d [ 2627.303087] 1f00: c0a54e24 c015464b c0b25b2c c0b04050 e000200c c0b01f40 e0002000 c010133f [ 2627.330079] 1f20: c0106881 c0106882 40000033 ffffffff c0b01f74 c0b01f98 c0b00000 c0109765 [ 2627.357065] 1f40: 00000001 00000000 00000000 c0114141 c0b00000 c0b03cd0 c0b03c6c c0a55f08 [ 2627.384052] 1f60: c0b01f98 00000000 00000000 00000000 00000000 c0b01f90 c0106881 c0106882 [ 2627.411033] 1f80: 40000033 ffffffff 00000051 00000000 00000000 c0148709 000000bb 00000001 [ 2627.438011] 1fa0: c0b03c40 ffffffff c0b56000 c0a3ba30 dfe69a40 c014892b 00000001 c0a00a11 [ 2627.464993] 1fc0: ffffffff ffffffff 00000000 c0a00583 00000000 c0a3ba30 c0b56294 c0b03c58 [ 2627.491978] 1fe0: c0a3ba2c c0b08f68 4000406a 410fc075 00000000 4000807f 00000000 00000000 [ 2627.518993] [<c05f90dc>] (skb_checksum_help) from [<c05fd0cd>] (validate_xmit_skb+0x16d/0x204) [ 2627.546492] [<c05fd0cd>] (validate_xmit_skb) from [<c05fd18d>] (validate_xmit_skb_list+0x29/0x3c) [ 2627.574303] [<c05fd18d>] (validate_xmit_skb_list) from [<c061719d>] (sch_direct_xmit+0x69/0x11c) [ 2627.602060] [<c061719d>] (sch_direct_xmit) from [<c05fd4b1>] (__dev_queue_xmit+0x1b9/0x524) [ 2627.629408] [<c05fd4b1>] (__dev_queue_xmit) from [<c06b284b>] (br_dev_queue_push_xmit+0x6f/0xd8) [ 2627.657238] [<c06b284b>] (br_dev_queue_push_xmit) from [<c06b2909>] (br_forward_finish+0x55/0x58) [ 2627.685196] [<c06b2909>] (br_forward_finish) from [<c06b299f>] (__br_forward+0x93/0xb4) [ 2627.712293] [<c06b299f>] (__br_forward) from [<c06b386f>] (br_handle_frame_finish+0x10f/0x370) [ 2627.740058] [<c06b386f>] (br_handle_frame_finish) from [<c06b3bfd>] (br_handle_frame+0x10d/0x1d4) [ 2627.768139] [<c06b3bfd>] (br_handle_frame) from [<c05f945b>] (__netif_receive_skb_core+0x27f/0x7d0) [ 2627.796453] [<c05f945b>] (__netif_receive_skb_core) from [<c05fb06d>] (netif_receive_skb_internal+0x2d/0x74) [ 2627.825620] [<c05fb06d>] (netif_receive_skb_internal) from [<c05fb853>] (napi_gro_receive+0x53/0x88) [ 2627.854123] [<c05fb853>] (napi_gro_receive) from [<c051a35f>] (sun8i_emac_poll+0x4d7/0x530) [ 2627.881849] [<c051a35f>] (sun8i_emac_poll) from [<c05fb363>] (net_rx_action+0x153/0x1f4) [ 2627.909346] [<c05fb363>] (net_rx_action) from [<c011b575>] (__do_softirq+0x9d/0x194) [ 2627.936510] [<c011b575>] (__do_softirq) from [<c011b86d>] (irq_exit+0x8d/0xdc) [ 2627.953607] [<c011b86d>] (irq_exit) from [<c015464b>] (__handle_domain_irq+0x3f/0x7c) [ 2627.980772] [<c015464b>] (__handle_domain_irq) from [<c010133f>] (gic_handle_irq+0x3b/0x70) [ 2628.008476] [<c010133f>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 2628.035257] Exception stack(0xc0b01f40 to 0xc0b01f88) [ 2628.049932] 1f40: 00000001 00000000 00000000 c0114141 c0b00000 c0b03cd0 c0b03c6c c0a55f08 [ 2628.077156] 1f60: c0b01f98 00000000 00000000 00000000 00000000 c0b01f90 c0106881 c0106882 [ 2628.104342] 1f80: 40000033 ffffffff [ 2628.117161] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 2628.143132] [<c0106882>] (arch_cpu_idle) from [<c0148709>] (do_idle+0x105/0x160) [ 2628.169092] [<c0148709>] (do_idle) from [<c014892b>] (cpu_startup_entry+0x13/0x14) [ 2628.195226] [<c014892b>] (cpu_startup_entry) from [<c0a00a11>] (start_kernel+0x2fb/0x306) [ 2628.221982] Code: ff3f f06f 0015 bd70 (de02) f06f [ 2628.235983] ---[ end trace ec41fd409ca05af5 ]--- [ 2628.249656] Kernel panic - not syncing: Fatal exception in interrupt [ 2628.265073] CPU2: stopping [ 2628.276625] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.10.3-sun8i #1 [ 2628.301735] Hardware name: Allwinner sun8i Family [ 2628.315087] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 2628.339785] [<c0108f1b>] (show_stack) from [<c0454697>] (dump_stack+0x67/0x74) [ 2628.355724] [<c0454697>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 2628.379954] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 2628.404485] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 2628.428918] Exception stack(0xde091f78 to 0xde091fc0) [ 2628.442413] 1f60: 00000001 00000000 [ 2628.467090] 1f80: 00000000 c0114141 de090000 c0b03cd0 c0b03c6c c0a55f08 de091fd0 00000000 [ 2628.491735] 1fa0: 00000000 00000000 00000000 de091fc8 c0106881 c0106882 400f0033 ffffffff [ 2628.516383] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 2628.540561] [<c0106882>] (arch_cpu_idle) from [<c0148709>] (do_idle+0x105/0x160) [ 2628.564774] [<c0148709>] (do_idle) from [<c014892b>] (cpu_startup_entry+0x13/0x14) [ 2628.589166] [<c014892b>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 2628.604660] CPU3: stopping [ 2628.615697] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.10.3-sun8i #1 [ 2628.639917] Hardware name: Allwinner sun8i Family [ 2628.653014] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 2628.677431] [<c0108f1b>] (show_stack) from [<c0454697>] (dump_stack+0x67/0x74) [ 2628.693361] [<c0454697>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 2628.717804] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 2628.742583] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 2628.767413] Exception stack(0xde093f78 to 0xde093fc0) [ 2628.781177] 3f60: 00000001 00000000 [ 2628.806307] 3f80: 00000000 c0114141 de092000 c0b03cd0 c0b03c6c c0a55f08 de093fd0 00000000 [ 2628.831211] 3fa0: 00000000 00000000 de09203c de093fc8 c0106881 c0106882 400d0033 ffffffff [ 2628.856369] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 2628.881200] [<c0106882>] (arch_cpu_idle) from [<c0148709>] (do_idle+0x105/0x160) [ 2628.906054] [<c0148709>] (do_idle) from [<c014892b>] (cpu_startup_entry+0x13/0x14) [ 2628.931110] [<c014892b>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 2628.946938] CPU1: stopping [ 2628.958309] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.10.3-sun8i #1 [ 2628.983091] Hardware name: Allwinner sun8i Family [ 2628.996271] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 2629.020703] [<c0108f1b>] (show_stack) from [<c0454697>] (dump_stack+0x67/0x74) [ 2629.036624] [<c0454697>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 2629.061062] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 2629.085844] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 2629.110676] Exception stack(0xde087f78 to 0xde087fc0) [ 2629.124445] 7f60: 00000001 00000000 [ 2629.149577] 7f80: 00000000 c0114141 de086000 c0b03cd0 c0b03c6c c0a55f08 de087fd0 00000000 [ 2629.174485] 7fa0: 00000000 00000000 00000000 de087fc8 c0106881 c0106882 40070033 ffffffff [ 2629.199648] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 2629.224486] [<c0106882>] (arch_cpu_idle) from [<c0148709>] (do_idle+0x105/0x160) [ 2629.249354] [<c0148709>] (do_idle) from [<c014892b>] (cpu_startup_entry+0x13/0x14) [ 2629.274424] [<c014892b>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 2629.290267] Rebooting in 10 seconds.. Can anyone help me resolve this problem please?
Pop Andrei Lucian Posted June 24, 2017 Posted June 24, 2017 Hello friends, Does anyone created a working Ad-Hock network via Orange Pi Zero using default onboard network chip?Please help, I am getting stuck. I have tried configuring like this: source-directory /etc/network/interfaces.d auto wlan14 iface wlan14 inet static address 192.168.1.1 netmask 255.255.255.0 wireless-channel 1 wireless-essid Ad-HocNetwork wireless-mode ad-hoc Thanks in advance.
Bubba Posted June 24, 2017 Posted June 24, 2017 What image are you using ? Did you stop network manager? What is your end game??? the easy way to use the zero as a AP / AD hoc node is via this image http://pulpstone.pw/
Pop Andrei Lucian Posted July 15, 2017 Posted July 15, 2017 hello Bubba, Thanks for the update. I do not get what is http://pulpstone.pw/ website all about.
Recommended Posts