Jump to content

RagnerBG

Members
  • Posts

    222
  • Joined

  • Last visited

Everything posted by RagnerBG

  1. I remember i had problems with Realtek wifi module before, but it was RTL8192EU. This site help me a lot - Realtek wireless chipset: install the right driver, but it could be outdated. Isn't 8192cu used in Lamobo R1? If so, there have to be working driver in build system. Where are you from @Nikolai Asparuhov, i am just curious?
  2. I can't see any problem. Try to add config for new module manually in /etc/config/wireless. You have to add correct path to your module in "option path". I can't say the correct order in your device. It is on some usb, you can check with lsusb -t and in /sys/devices. If you read the old posts here, it's discussed already. Other thing - you can try to make new image with my OpenWrt root, i uploaded here. My build is with it actually and there have to be most of wifi drivers and modules already built-it. Yep, as i see in @zador.blood.stained post, you probably missing firmware. Did you try to use LuCi, as i advice, for your build-in wifi, for correct setup and bridging? And what about this - [share] OrangePiZero OpenWrt Chaos Calmer 15.05.1. Isn't it easier? For myself i can say this works very well so far. I am using it with OpiOne for 3/4 days now. It's rock stable with things i've done and describe in this topic. I wish there is original OpenWrt setup for H3, as for above for H2 (lucky you), but as in my country used to say - "when there is no fish, cancer could be fish". There are two issues i found, but not so relevant. First there is this process - mountd -t, preventing my external HDD of stand-by. As it is not present in original OpenWrt, i decide it as some Armbian thing and simply disable it - no problems with this since. And i can't create SWAP in OpenWrt. It accept commands and config, but not using swap in practice. There is nothing in logs. Maybe it's some incompatibility between OpenWrt and Armbian, or is something about those reports of non working swap in latest Armbian. But for system like OpenWrt, provided for hardware with less RAM, it's not so important.
  3. RagnerBG

    Forum upgrade

    To be honest, i don't like new look of the forum. It is used from some time, in some other forums i used to visit, so i have a look into this already. I can't explain it well, but the skin and arrangement itself are confusing and dysfunctional for me. The biggest problem is Unread Content/All activity. This focusing on posts and not topics itself is not comfortable for me. It is not so notably here, but in forums with more activity is madness and making following of new treads and topics impossible. Not all "improvements" are good and i can't guess who can decide this as better. But i guess you have some functional reason for this upgrade, which is downgrade in my eyes. Maybe going into some other forum platform is better idea. After all, this is me, maybe other visitors would find it better.
  4. Simply adding option type 'bridge' is not enough. You have to declare what to bridge, but i can't remember where. That's why i am using LuCi web interface for such things. There is no way to misspell something or to worry about syntax. In OpenWrt is usual devs to change syntax from version to version - some values with ", become with ', or nothing, some other values like option type 'bridge', are used in lan section once, then in br0 section with something like - "option 'ifname' 'eth0 wlan0' ". I don't like such inconsistency, but have to deal with it. To avoid those problems, simply delete your wifi interface from LuCI Network->wifi (to be sure it's removed properly) and create it again from there with Network lan added, in Interface configuration -> General setup. Only this way you can be sure all syntax and config is correct. Then optionally edit /etc/config/wireless to replace radio0 with wlan0 and reboot. If this doesn't help, we talking about different problem, but let's exclude the obvious first.
  5. So this generally work. It's good to know. When you connect your PC to LAN port, did you obtain IP address? Maybe it's too dumb to ask but, when you create your wifi interface, did you bridge it with lan interface? I don't see "option type 'bridge' ", in your /etc/config/network , lan section. You can check this in LuCi, Physical Settings of Interfaces. I don't remember where it's declared in config files. Where did you get eth1 interface from? USB LAN maybe? If you have this interface behind router as dhcp, you can bridge your wifi to it instead, to obtain IP directly from this router, to test if dhcp of OP Zero is the problem. And it's better to replace 'radio0' with 'wlan0' in /etc/config/wireless. I wrote about this here - https://forum.armbian.com/index.php/topic/3025-building-openwrt-images-for-orange-pi-zero-with-the-armbian-kernel/page-3#entry26045.
  6. Did you try to install full hostapd package and reboot, as i advised above? This worked on Ralink RT3070 USB wifi. About built-in module in Opi Zero i can't say. You can do this either from Luci or ssh: opkg update opkg install hostapd Or you can try this OpenWrt - [share] OrangePiZero OpenWrt Chaos Calmer 15.05.1. I can't test it, don't have H2 device.
  7. I am not sure what do you mean. Did you try with Armbian basics - How to change network configuration? I don't know if 4.9.7 have Network Manager, but adding interfaces.hostapd to interfaces, should prevent NM of using wlan0 interface. And you should be able to use NM itself to configure AP (never tried this myself) - [HOWTO] Wifi hotspot w/ Network Manager. But don't expect too much of rtl8192cu in Lamobo R1, it's discussed many times already.
  8. Of course. I am sure OpenWrt will show no difference in performance for Opi Zero. From what i see it using Armbian modules and drivers. But i am not related to Opi Zero, i am using adapter with better performance. My main goal, except from useful and handle web configuration of Luci, is suitable firewall configuration. This was easiest solution for me, as i couldn't find anything so useful for regular linux server (maybe it's just lack of luck, during search). Ip tables are madness for me, too much jiberish, for even the simplest things. For Lamobo R1, i compiled OpenWrt with newer kernel, even if maser branch uses older. But there were some issues with sunxi packages, reporting incompatibility, unless add it during built. So i go back to regular version. Of course this is pure OpenWrt problem and have nothing related to Armbian. Just mention it. For Orange Pi, maybe i will try to combine OpenWrt root from newer kernel branches, with mainline Armbian. And hope this packages problem is fixed (or built everything i need). At first, i just needed something that will at lest work.
  9. I found the solution to my, module r8152/cdc_ether problem. Even if it's huge offtopic here, i will post the solution, just in case someone else face the same problem. cdc_ether.ko module is present and symlinked, but for some reason is not loaded in this OpenWrt solution. Looks like modprobe is not working either. So in regular Armbian_5.26_Orangepione_Ubuntu_xenial_default_3.4.113, i download realtek driver - RTL8153: tar -xjvf 0007-r8152.53-2.08.0.bz2 cd r8152-2.08.0 make Building will fail with some errors like: error: implicit declaration of function 'usb_disable_lpm' [-Werror=implicit-function-declaration] error: implicit declaration of function 'usb_enable_lpm' [-Werror=implicit-function-declaration] So we need to edit file r8152.c and remove all lines contains "usb_disable_lpm" and "usb_enable_lpm", then it compiles successful. I don't know what this functions do and i hope it's not something important. Try to google, but find nothing. Refer to some files - drivers/usb/core/hub.c , include/linux/usb.h , which i can't find in Armbian and even if i do, don't know what to do further. Removing this lines worked . Basically we can install this module in Armbian: sudo make install sudo depmod -a but i don't know how to replace cdc_ether with this module and i don't really need, as everything worked without it. We need to copy this r8152.ko file from r8152-2.08.0 directory and paste it in OpenWrt - /lib/modules/3.4.113-sun8i/kernel/drivers/net/usb, then symlink it like the rest (maybe simply copy to /lib/modules/3.4.113-sun8i is enough, but let's make it the same): cd /lib/modules/3.4.113-sun8i ln -s /lib/modules/3.4.113-sun8i/kernel/drivers/net/usb/r8152.ko Reboot and module is loaded and my RTL8153 LAN is working - stable 1Gbit interface. I am happy , it's time to make router of this OpiONE . I will upload compiled r8152.ko file here, if anyone need it. r8152.zip
  10. I guess this is for old 10/100Mbit cards. I just tested CLI legacy Armbian and my USB RTL8153 card is working there. cdc_ether is the module loaded for it. So i have to see now, why it doesn't work the same way in OpenWrt over Armbian. You are right, the idea of OpenWrt is to be used in slow IoT devices, but it's damn easy and user friendly for lazy and not so experienced persons like me. But the main reason is, my home router is not used only by me and other people are not so happy with CLI interface. You are also right about AP capabilities of those cheap Oranges and Bananas. That's why i am using external adapters. Ralink3072 - my current AP source, doing what i need, 300Mbit. And i am about to do this hardware mod for R1, as soon as i have a backup. I bought this RT5572 module long ago and still waiting to be soldered.
  11. Good question and my personal answer is - i need more than old fashion router. I have 2/3 simple routers around, my main old router was TpLink1043ND, for one reason - USB port. Good router, but weak performance, for anything more than routing. Very poor USB transfer to external HDD, CPU at 100% and still very slow speed. I added OpenWrt to it, so i can use minidlna, transmission and other programs, directly on router. Low consumption, 24/7 on. But this router (and most under 200$ coast), can't handle those tasks - minidlna crashes almost all the time, transmission - slower d/u speed (because of slower USB->SATA speed). I replace 1043ND with LamoboR1, a bit overkill, but do everything i need - i have stable DLNA, speed to HDD - can do better, but is satisfying and i plan to make it sort of NVR in near future. I know i can do this behind regular router with external devices, but i like all-in-one solutions and don't like forest of cables and boxes. Now i try to do the same with OrangePi, so i will have sort of backup, because there are some tweaks and fixes i need to make to R1 and can take a while. About my above question, i see there is driver for RTL8150 based USB adapters in Armbian kernel config and it is enabled. But there is still no module r8152 in /lib/modules/3.4.113-sun8i/kernel/drivers/net/usb/. What module respond for this RTL8150 based USB adapters? cdc_ether maybe? Can this do the job for RTL8153 - Linux driver for Linksys USB3GIGV1 (Realtek RTL8153) and if so, how can i integrate it in image, or in build environment?
  12. I had some time and willingness to try this Armbian based OpenWrt today. As i mentioned, i don't own Orange Pi Zero, but i try similar approach as described in this topic, to make some use of Orange Pi ONE, making it easy to set up router. Wifi module i used is Ralink RT3070 and i also tried to add second network interface with external USB gigabyte lan, based on Realtek RTL8153. I am using Armbian_5.25_Orangepione_Ubuntu_xenial_default_3.4.113, combined with OpenWrt root, i uploaded earlier in this topic. I had usual problems with wifi network, as mentioned here. Scan was worked, but unable to connect, AP not worked. But is kind of opposite of this: I can scan with "radio0" and can't with "wlan0" and can't connect with both. The important thing is, AP mode is working, at least with this wifi module. I had this error in system.log: ./mac80211.sh: eval: line 1: /usr/sbin/hostapd: not found and it really isn't there. Then i install the full hostapd package along with hostapd-common and after reboot, AP mode is fully functional and stable so far. Interesting thing is, if i leave "radio0" in /etc/config/wireless , i still have this error message, but AP is starting successfully regardless of this. If i replace with "wlan0", error is gone, AP is working too. Doing this rename could make Luci buggie in wireless config section, but you always can add config manually. If you have the same error about hostapd in Opi Zero, installing full hostapd package may help you too. But i have to mention, with this hostapd, scanning is not working at all. My unsolved problem now, for what i could use some help, is my USB LAN. It is combined with USB hub, which is detecting by system and working, but LAN part is not. So, for now, without second network interface, i only have simple AP of OpiOne. I am pretty sure this module is what i need: r8152 I compare lsmod list with my LamoboR1, working with OpenWrt, compiled with almost the same config, where my USB LAN is detecting and working. This is the only module in LaboboR1, that is not present in OpiONE about realtek devices. I tried insmod, which usually give segmentation fault: root@OpenWrt:~# insmod r8152 Failed to find r8152. Maybe it is a built in module ? Surprisingly for me modprobe is working here (looks like i can't figure it out how this combination work), but this module is missing: root@OpenWrt:~# modprobe r8152 failed to stat /lib/modules/3.4.113-sun8i/ #a long list of all linked modules . . . failed to find a module named r8152 If i understand - modules are loaded by Armbian and not OpenWrt and r8152 is not present? Do i have to compile new image of Armbian with this module enabled somewhere? Or is there another way to make this USB LAN to work?
  13. Thank you for your answer. Something really weird is going on here. I have those packages installed, even gvfs-bin. I wasn't install manual, they have to come automatically with Samba. I am sure subtitles wasn't load when i installed Xubuntu 16.04 x64 and samba. Now i checked and external subtitles are loading automatically from every player with double click. Must be fixed with some update. In Lubuntu/LXDE i had those packages installed manually, but there was the problem with file paths in players and programs. So this look like some different problem with PCManFM. Anyway, thank's for the hint.
  14. Hello. I have a question not directly related to Armbian, but to Linux in general. I just saw my problem fixed here and can't see how. I have most of my multimedia on samba share in my local home network. In Windows i am able to play videos from this share with directly loaded external subtitles (when available). But from Linux it's not that easy, when open share in file manager (double click). In some cases even video/music/pictures can't load from players with some incorrect path errors, but let's say this worked in most cases and focus on subtitles. For some reason when opening videos in Linux with file manager from samba share, only video loads, not the external subtitles. This doesn't work for me with every regular Debian/Ubuntu based, official Linux i tried on my PC, from Thunar, PCManFM, Nautilus/Gnome. So i had to open video from terminal, with command like this: mpv -–sub-file=smb://user:pass@path_to_samba_share_subtitle_file smb://user:pass@path_to_samba_share_video But obviously, it's messy and uncomfortable. I've done a lot of searching and googling, but never find a solution for this. CIFS-mounts in fstab worked ok and i used this as workaround, but it's not so comfortable too. Armbian acted the same way into this, as my desktop Linux for older versions. But in recent versions (in 5.24/5.25 for sure) this is fixed somehow and external subtitles loads in every player (i checked if it's player related) from regular samba share, mounted in file manager and file opened with double click. So, would you be so kind to share some info from the kitchen? How is the magic happen ?
  15. Kodi? The only suitable way for your device is the @mosterta, XBMC build. I tried Kodi Jarvis installed directly (sudo apt-get install kodi) on Armbian Xenial from official repo, on H3 (4 core A7). It worked, i guess it used GLES for menu, navigation was acceptable, but for video without hw acceleration is useless. You have A20 (2 core A7), don't torture yourself with official build, it will be only worst, even if you make it run. For mali driver, ES, 3D part, this could be of help for you - Open GLES for linux. I still can't understand what is wrong with your system and you can't run those tests from mesa-utils and mesa-utils-extra, but as you can see there, you can build and install from source too: git clone --depth 1 git://anongit.freedesktop.org/mesa/demos - Build it using: ./autogen.sh make
  16. No particular reason. Just had Ubuntu at hand. Machinery module installs in my case, but can't start with above error. I didn't reach to web module, just try to execute kerberosio. Is web module necessary for machinery module to execute? Anyway, i will try Debian.
  17. I guess you are right. I am using class 4 semi broken SD card for test purposes. It's so bad i even had to extend file system manually, because first boot fails to do this. Happens often with this card. I didn't thought this is the main reason for lock ups, because days or two ago i used nand_sata_install to move rootfs to external USB HDD. And there where the same lock ups, but this could be because of other issue. As far as i understand, in this case sd card is only for booting and should not affect system later. And when @Jon Ashley mentions the same behaviour i was sure something else is causing this.
  18. Oh, i missed that. I guess i have to try build it, instead of installing the .deb.
  19. I can't help about the main purpose of the topic. But i noticed the same lock ups with Orange Pi ONE, which is almost the same as Lite. I can't tell what causing it, maybe some wrong RAM parameters, as you suggest. These lock ups happens due to heavy load as trying to use browser and sometimes causing full halt. This behaviour is with latest Armbian 5.25. Last version i used before on OpiONE and can confirm is been ok, have to be Armbian_5.20_3.4.112, so a lot of changes may happen since then. I can advice you to try some a bit older image from here - https://dl.armbian.com/orangepilite/archive/ and to not upgrade linux-image, linux-headers, linux-firmware and linux-u-boot (i a not sure about all, but doesn't hurt), until this is fixed in some new upgrades.
  20. I saw, you try to fight with @mostera XBMC for A10/A20. It use ES 2.0 and vdpau for decoding and don't need GL. Why don't you stick with this project? I give up on it some time ago, but i saw there is some development and more people have it running. This glshim have to work for A20, the same way as on H3 and i think it's originally build for A20. I don't know why you have those errors and don't have access to my A20 device to try myself. Test with es2_info, glxgears, es2gears if you have to move mesa folder, as i wrote before. Now i am 100% sure this tests come with mesa-utils-extra, because i had to use it pretty soon - Xenial , Jessie.
  21. I remember there where a problem before, shutdown leads to reboot. But now it's the opposite - reboot leads to shutdown. Both gui button or: sudo reboot reboot sudo shutdown -r now sudo init 6 from terminal, or ssh, behave the same. This is on Armbian_5.25_Orangepipc_Ubuntu_xenial_default_3.4.113_desktop / Armbian_5.25_Orangepione_Ubuntu_xenial_default_3.4.113, from download section and self built.
  22. Can't run kerberosio in Armbian Xenial 5.25 i installed everything from the instructions: kerberosio: error while loading shared libraries: libavcodec.so.56: cannot open shared object file: No such file or directory but it is there: libavcodec-ffmpeg.so.56 => /usr/lib/arm-linux-gnueabihf/libavcodec-ffmpeg.so.56 (0xb5e75000) I am not sure what this mean: ~$ sudo ldconfig -v | grep libavcodec.so /sbin/ldconfig.real: Path `/lib/arm-linux-gnueabihf' given more than once /sbin/ldconfig.real: Path `/usr/lib/arm-linux-gnueabihf' given more than once /sbin/ldconfig.real: /lib/arm-linux-gnueabihf/ld-2.23.so is the dynamic linker, ignoring libavcodec-ffmpeg.so.56 -> libavcodec.so ffmpeg is from standard repos: ffmpeg version 2.8.10-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Maybe i have to compile it from source. I miss vdpau and libx265 for example. Or to try to install libavcodec from ubuntu-restricted-extras/libavcodec-extra?
  23. Sure . You are more thoughtful than me. Perhaps linux-image will be enough, but i upload all: https://drive.google.com/open?id=0BywCNJAGiS42Z3czakNYbXN5N2M
  24. Look's like jodamm version is newer than this in OpenElec. This is from Armbian when is working: NOTICE: [ 887] CEC client registered: libCEC version = 3.1.0, client version = 3.1.0, firmware version = 0, logical address(es) = Recorder 1 (1) , base device: TV (0), HDMI port number: 1, physical address: 1.0.0.0, git revision: libcec-3.1.0+8-31c7e93, compiled on Thu Feb 9 20:29:30 UTC 2017 by tsanko@localhost on Linux 3.4.113-sun8i (armv7l), features: P8_USB, DRM, P8_detect, randr, Sunxi DEBUG: [ 887] << Recorder 1 (1) -> TV (0): OSD name 'CECTester' And this is from OpenElec on my OpiONE: OpenELEC-ONE:~ # cec-client No device type given. Using 'recording device' CEC Parser created - libCEC version 3.0.1 no serial port given. trying autodetect: path: /dev/sunxi_hdmi_cec com port: Sunxi opening a connection to the CEC adapter... DEBUG: [ 232] Broadcast (F): osd name set to 'Broadcast' ERROR: [ 232] could not open a connection (try 1) ERROR: [ 233] Close: Unable to stop device ERROR: [ 1233] could not open a connection (try 2) ERROR: [ 1233] Close: Unable to stop device ERROR: [ 2233] could not open a connection (try 3) ERROR: [ 2233] Close: Unable to stop device ERROR: [ 3233] could not open a connection (try 4) ERROR: [ 3234] Close: Unable to stop device ERROR: [ 4234] could not open a connection (try 5) ERROR: [ 4234] Close: Unable to stop device ERROR: [ 5234] could not open a connection (try 6) ERROR: [ 5234] Close: Unable to stop device ERROR: [ 6235] could not open a connection (try 7) ERROR: [ 6235] Close: Unable to stop device ERROR: [ 7235] could not open a connection (try 8) ERROR: [ 7235] Close: Unable to stop device ERROR: [ 8235] could not open a connection (try 9) ERROR: [ 8236] Close: Unable to stop device ERROR: [ 9236] could not open a connection (try 10) ERROR: [ 9236] Close: Unable to stop device unable to open the device on port Sunxi NOTICE: [ 10236] connection opened ERROR: [ 10236] could not start CEC communications But this is offtopic here, sorry about this. I build image for OrangePi ONE now and i can share it somewhere. It kind of the same as Opi Lite, but i don't know about wireless driver and if there are some specific tweaks. You have to avoid updates to keep it working, or at least kernel update. But Armbian build system is intuitive and user friendly, as inexperienced people like me can handle it. Why don't you try it? Just copy patch in /lib/patch/kernel/sun8i-default .
  25. I did . Libcec is compiled too. But i don't have much luck to connect my TV for now, if i do things right. cec-client give the same massages as on my OpiOne with OpenElec (my OpiPC have working CEC with OpenElec): no serial port given. trying autodetect: path: /dev/sunxi_hdmi_cec com port: Sunxi opening a connection to the CEC adapter... DEBUG: [ 229] Broadcast (F): osd name set to 'Broadcast' ERROR: [ 229] could not open a connection (try 1) ERROR: [ 229] Close: Unable to stop device ERROR: [ 1229] could not open a connection (try 2) ERROR: [ 1230] Close: Unable to stop device ERROR: [ 2230] could not open a connection (try 3) ERROR: [ 2230] Close: Unable to stop device ERROR: [ 3230] could not open a connection (try 4) ERROR: [ 3231] Close: Unable to stop device ERROR: [ 4231] could not open a connection (try 5) ERROR: [ 4231] Close: Unable to stop device ERROR: [ 5231] could not open a connection (try 6) ERROR: [ 5232] Close: Unable to stop device ERROR: [ 6232] could not open a connection (try 7) ERROR: [ 6232] Close: Unable to stop device ERROR: [ 7232] could not open a connection (try 8) ERROR: [ 7232] Close: Unable to stop device ERROR: [ 8233] could not open a connection (try 9) ERROR: [ 8233] Close: Unable to stop device ERROR: [ 9233] could not open a connection (try 10) ERROR: [ 9233] Close: Unable to stop device unable to open the device on port Sunxi NOTICE: [ 10234] connection opened ERROR: [ 10234] could not start CEC communications This is from Orange Pi PC, where CEC is working in OpenElec. Maybe it's hardware problem, i don't know. Or maybe i don't know what to do with this. PS: I am noobie for sure . It's working! Just need sudo: sudo cec-client I don't know why i have almost the same above massages in OpenElec with OpiONE? SSH with root:openelec don't need sudo right, or does it?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines