madurani

Members
  • Content Count

    24
  • Joined

  • Last visited

About madurani

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I have problem with "Orange Pi Zero Plus" and functionality of Relay module (electrical circuit= normally closed). Relay module is attached on pin/port number "0". When I set up pin number "0" from "OFF" to "OUT" state with command: gpio export 0 out state is changed from OFF to OUT and parameter in column "V" is "0". It should mean that relay stays turned of. +------+-----+----------+------+---+ | GPIO | wPi | Name | Mode | V | +------+-----+----------+------+---+ | 12 | 0 | SDA.0 | OUT | 0 | Problem is, that relay immediately after execution of mentioned command enables(turns on) output electrical circuit. Relay module is behaving like it was turned on, however it is not supposed to be (since 0= turned off). I can change this inconvenient situation with command for turning on (1=turned on) and output is then turned off. These commands work, but they work in reversed way and in result everything works reversed. gpio write 0 1 gpio write 0 0 >>> should turn off output circuit, for me it turns circuit ON gpio write 0 1 >>> should turn on output circuit, for me it turns circuit OFF I hope this was clear, it is hard to describe what is happening. Can anyone please advise me on what is going wrong and how to fix my issue? Thank you
  2. I found solution on this link: https://bugzilla.redhat.com/show_bug.cgi?id=873123 For me was useful point two(point one was applied to): If not, run lpadmin -p <printer> -R usb-unidir-default and then lpadmin -p <printer> -o usb-no-reattach-default=true
  3. Next issue: Cups and usb-printer I had on same OrangePiZero configured usb printer (HP Laser P1566) on arbian(debian) via cups. Printer worked very well however, on OS I had many problems ,with network, wifi and etc. and so I migrated OS to armbian(ubuntu). All problems looked like they were fixed however printer works really weird. When I print different tasks/jobs, then from Cups side are all marked as completed, but printer prints actully only first job and others are ignored by printer. Printer prints again only if I turn it off/on or after I unplug usb-cable reconnect it. Here is example from syslog: Fist task was printed second no. Both task are in Cups queue mark as copleted. May 8 13:27:12 persefona kernel: [ 1459.498953] usblp0: removed May 8 13:27:13 persefona kernel: [ 1459.895166] usb 4-1.3: reset high-speed USB device number 4 using ehci-platform May 8 13:27:20 persefona kernel: [ 1467.524718] usblp 4-1.1:1.0: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x092A May 8 13:27:56 persefona kernel: [ 1503.574821] usblp0: removed May 8 13:28:05 persefona kernel: [ 1511.712138] usblp 4-1.1:1.0: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x092A Only one error is in syslog after plugin printer to usb port: May 8 13:26:52 persefona systemd-udevd[2015]: Process '/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer 004:009'' failed with exit code 127.
  4. For understanding: Second USB port, can be used only for connection between NAS board and some PC or orange server which doesn't have 13 pins port like Orange Pi Zero? And devices such as usb-printer, usb-camera, usb-storage or usb-hub can be used only with first usb port?
  5. Next issue I have on other Orange Pi Zero. I have there installed extended NAS module(https://www.aliexpress.com/item/Orange-Pi-Zero-NAS-Expansion-board-Interface-board-Development-board-beyond-Raspberry-Pi/32789632568.html?spm=a2g0s.9042311.0.0.27424c4dSqneog) which includes two additional usb ports and sata port. Problem is, that one usb port looks broken. When I connect there usb-printer or usb-cmera, then this devices aren't visible via lsusb and connection to sata disk is lost. Is there any possibility to test whether it is hardware issue or bad configuration of linux?
  6. I bought a USB wifi adapted with Chipset:Ralink RT5370. Seem, that all work very fine, but only one little problem. Network interfaces eth0 and wlan0 are under a bridge br0. Bridge work, but NetworkManager automatically add other one connection/profile to eth0. I tried to delete it via nmcli and nmtui, but after reboot mentioned connection appear again. I have one static ip-addres on br0 and one via dhcp on eth0. I found partly solution to disable this connection via nmcli/mntui, then ip-addres on eth0 isn't active, but a connection/profile is in list as inactive. Is there some possibility block automatically creating of connection/profiles in NetworkManager?
  7. Same issue was reported in redhat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1570903. Issue should be solved with patch in version wpa_supplicant-2.6-16. I am not sure, but I think, that in Armbian is some older version(now I don't known check it) of mentioned package, but it is relevant with distribution based on RHEL. Probably is needed raise some bug for Armbian, but I haven't idea how to do. System reported same issue: netlink: 'wpa_supplicant': attribute type 213 has an invalid length.
  8. It can be wpa_supplicant. and parameter disable_scan_offload. But config file of wpa_supplicant not exist and service is managed via NM.
  9. Kernel should be new: root@orion2:~# uname -a Linux orion2 4.19.25-sunxi #5.78 SMP Mon Apr 8 07:46:22 CEST 2019 armv7l armv7l armv7l GNU/Linux
  10. I tried configure one USB-WIFI(which I had home): >>> ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter wlan0 unassociated Nickname:"rtl_wifi" Mode:Managed Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 root@orion2:~# nmcli d DEVICE TYPE STATE CONNECTION br0 bridge connected Bridge wlan0 wifi disconnected -- It should be managed via r8712u module . All look correct, but device stay DOWN and isn't possible to brink it to UP. It look, that will be problem find some USB-WIFI device which will be correct to work with Armbian kernel.
  11. I completely reinstalled OS to Linux 4.19.25-sunxi, but same problem with wpa persist. But it look, that reason for problem isn't driver of wifi, but kernel, because error message note, that "offload WPS Probe" isn't supported in kernel: Apr 23 10:27:42 orion2 wpa_supplicant[660]: Device is trying to offload WPS Probe Response while not supporting this Apr 23 10:27:42 orion2 kernel: [ 73.846396] netlink: 'wpa_supplicant': attribute type 213 has an invalid length. Apr 23 10:27:42 orion2 kernel: [ 73.849554] netlink: 'wpa_supplicant': attribute type 213 has an invalid length. Apr 23 10:27:42 orion2 wpa_supplicant[660]: Device is trying to offload WPS Probe Response while not supporting this Apr 23 10:27:42 orion2 wpa_supplicant[660]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
  12. I used old kednel, because I read on some other topics, that driver xradio_wlan work there without problem. Could You please advice/recommend me some supported chip(usb wireless) which work without kernel recompilation and driver is included there?
  13. Hello guys, I configured bridge via nmcli/nmtui br0. Slave devices of bridge are eth0 and wlan0(as wifi access point). OS: Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113 root@orion2:~# nmcli c s NAME UUID TYPE DEVICE bridge-br0 fff57bce-6051-458d-9394-7101741af59f bridge br0 bridge-slave-eth0 25720542-2bdd-498e-992e-4415385673d5 802-3-ethernet eth0 bridge-slave-wlan0 ed8b07bf-a793-4717-8c99-2e84d54af672 802-11-wireless wlan0 Configuration looks fine, but when I try login to AP, my smart phone shows error message: "Authentication issue" , and on side of server: orion2 wpa_supplicant[1017]: WPA: wpa_sm_step() called recursively Device is trying to offload WPS Probe Response while not supporting this Configuration of AP: Could you please help me with solving wpa_supplicant issue? Thank you, Marek
  14. Problem was, that via same file /etc/rc.local was started dnsmasq which crashed and rc-local.service didn't continue with starting wvdial , Hello All, Could someone please help me to start command wvdial during booting-process? When I star wvdial command from command line, LTE USB modem is started and ppp0 interface is activated and everything works fine, but I want it to be started automatically during booting-process. I tried add wvdial to end of file /etc/rc.local, but wasn't successful. I also tried to add record to file /etc/network/interfaces as: auto ppp0 iface ppp0 inet wvdial None of these mentioned above helped. After the start of network, interface ppp0 wasnt present. Thank you very much! Marek
  15. Can somebody help me correctly configure two nodes bridge via network-manager or armbian-config? Node are wlan0 and eth1. Wlan0 is manages via hostapd and configured was via "armbian-config". Bridge were configure manually in /etc/network/interfaces: auto br0 iface br0 inet static bridge_ports eth1 wlan0 address 192.168.1.1 netmask 255.255.255.0 But network-manager sees only one node eth1. Wlan0 isn't active/managed via NM: root@kraken:~# nmcli con show NAME UUID TYPE DEVICE br0 ea0b5fc2-c262-47a2-a1f8-7b186860d3ea bridge br0 eth0 5df08611-abea-491c-af88-4733fba17e69 802-3-ethernet eth0 eth1 085af0b4-59e7-4a73-9498-2f363dec7398 802-3-ethernet eth1 Ifupdown (eth0) 681b428f-beaf-8932-dce4-687ed5bae28e 802-3-ethernet -- Ifupdown (eth1) 7b635ed6-2640-7ad8-675d-744db12dd9fa 802-3-ethernet -- bridge-slave-eth1 4d4c214f-ec45-4a23-b761-2437b4b9d9c8 802-3-ethernet -- bridge-slave-wlan0 0b158612-8aab-44bc-9cf8-691f8bbda227 802-11-wireless -- DEVICE TYPE STATE CONNECTION br0 bridge connected br0 eth0 ethernet connected eth0 eth1 ethernet connected eth1 lo loopback unmanaged -- ppp0 ppp unmanaged -- wlan0 wifi unmanaged -- Problem is, that eth1 sometimes loses link. Next issue is, that only yellow led control is blinking on eth1, while green led control is not alight(short time during booting green led light).