Jump to content

Search the Community

Showing results for tags 'orangepizero'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Hello, When configuring I2C ports in armbian-config it shows 3 I2C ports (i2c0,i2c1,i2c2). The pinout from http://linux-sunxi.org/Xunlong_Orange_Pi_Zero shows only 2 I2C ports: 3 TWI0_SDA / PA12 / GPIO12 5 TWI0_SCK / PA11 / GPIO11 and 16 TWI1-SDA / PA19 / GPIO19 18 TWI1-SCK / PA18 / GPIO18 are there 3 or only 2 I2C ports ? (how to configure the third if there is one ?) thanks for your answers Jean Antoine
  2. verry bad screen with armbian-config and alsamixer using ( lxterminal, mate terminal, putty on Linux mint Buster ) works better with xterm , on previous armbian version Jessie or stretch it's fine with all terminals . 2 first screenshoot are made on lxterminal , third on putty . the 4th one is my dialog menu and it's ok on all terminals
  3. Hi All , i just tried stretch and buster there is a problem with PA10 configured "IN" problem seems to be on kernel > 4 old method for GPIO works perfectly , i have read that FEX is no longer availlable on 4.X kernel . PA10 il also used by SPI ( pin 1) . SPI is not enable on /boot/ArmbianEnv.txt. this script works perfectly on 3.x kernel but crashed GPIO 10 and GPIO 7 on 4.x kernel , when PA10 configured in "INPUT" and receive a +3.3V it crashed and seems to stay up indefinitively nothink on logs , PA7 can't become up in OUT mode i think there is a problem with SPI and GPIO on 4.X kernel I can't change GPIO pin on my project due to addon hardware cards i made ... (https://f5nlg.wordpress.com/category/hotspot/) sorry it's in French ... I tried on Jessy works perfectly as expected , on Stretch doesn't work , on Buster doesn't work ( Armbian monitor & alsamixer is not workink as expected on BUSTER via SSH it's awfull both are dificult to see on screen ) # Radio 1 (VHF) GPIO 7:PTT - GPIO 10:SQULECH echo "7" > /sys/class/gpio/export & sleep 2 echo out > /sys/class/gpio/gpio7/direction # Squelch echo "10" > /sys/class/gpio/export & sleep 2 echo in > /sys/class/gpio/gpio10/direction same software and version is used on jessy and stretch or buster ( compiled from sources ) SVXLINK from SMOSVX ( https://github.com/sm0svx/svxlink ) any idea ? solutions ? thanks in advance. Jean-Philippe , F5NLG
  4. Hi folks, i got my orange pi zero a few weeks ago but had no time to assemble it. This evening i got the time but i was in toughts and rubbed an resistor off the board. Can please measure someone the value of the missing resistor? Otherwise iam srcewed :/
  5. Hi everyone, I want to create an USB device, for this i am following this tutorial : gadgetfs. It works fine, but when i want to have an endpoint superior to 4, i cannot. I just changed to Unfortunately, in the folder created i have only this files : ep1in ep1out ep2in ep2out ep3in ep3out ep4in ep4out musb-hdrc I thought a usb device can have 32 endpoints. So, is it possible to have an extra endpoint ? And i have an extra question, as a kernel noob, I don't fully understand how this guy came out with this tutorial. i want to understand more for myself what it's going on. I understand the C code, but i don't understand how this guy find out the way to talk with the module gadgetfs. If am not mistaken in linux, you can use API to talk with drivers. Those API, in user space are just file where we can read/write and for kernel space they call it gadget ? When i look in https://github.com/torvalds/linux/tree/master/drivers/usb/gadget , i don't where to look at. Do you have some good external link, that i can read to improve my comprehension, and if someone can summarize, it would be nice. Thanks
  6. ARMBIAN 5.75 stable Ubuntu 18.04.2 LTS 4.19.38-sunxi Orange Pi Zero Board Please refer armbianmonitor.log for armbianmonitor -U command output details I have configured My Orange Pi Zero onboard wlan chip (xradio_wlan driver) to work on both Ap mode and Client modes simultaneously. When both Ap and Client interfaces are up and working, and when the connected wifi channel of the Client interface changes, kernel hang occurs. Error message [20148.872296] rcu: INFO: rcu_sched self-detected stall on CPU [20148.877893] rcu: 1-....: (4945709 ticks this GP) idle=8aa/1/0x40000002 softirq=9640/9640 fqs=2447771 [20148.887182] rcu: (t=4967445 jiffies g=15521 q=274313) [20148.892407] NMI backtrace for cpu 1 [20148.895897] CPU: 1 PID: 396 Comm: xradio_bh Tainted: G D W 4.19.20-sunxi #5.75 [20148.904234] Hardware name: Allwinner sun8i Family [20148.908959] [<c010dbbd>] (unwind_backtrace) from [<c010a7b1>] (show_stack+0x11/0x14) [20148.916701] [<c010a7b1>] (show_stack) from [<c08c8dc1>] (dump_stack+0x69/0x78) [20148.923921] [<c08c8dc1>] (dump_stack) from [<c08cd03b>] (nmi_cpu_backtrace+0x8f/0x90) [20148.931746] [<c08cd03b>] (nmi_cpu_backtrace) from [<c08cd0eb>] (nmi_trigger_cpumask_backtrace+0xaf/0xe0) [20148.941216] [<c08cd0eb>] (nmi_trigger_cpumask_backtrace) from [<c016c183>] (rcu_dump_cpu_stacks+0x7b/0x98) [20148.950861] [<c016c183>] (rcu_dump_cpu_stacks) from [<c016b7b1>] (rcu_check_callbacks+0x4f5/0x6c8) [20148.959815] [<c016b7b1>] (rcu_check_callbacks) from [<c0170af3>] (update_process_times+0x2b/0x48) [20148.968681] [<c0170af3>] (update_process_times) from [<c017e96b>] (tick_sched_timer+0x37/0x74) [20148.977277] [<c017e96b>] (tick_sched_timer) from [<c0171355>] (__hrtimer_run_queues+0x105/0x254) [20148.986055] [<c0171355>] (__hrtimer_run_queues) from [<c0171e15>] (hrtimer_interrupt+0xb5/0x200) [20148.994835] [<c0171e15>] (hrtimer_interrupt) from [<c0780ab1>] (arch_timer_handler_phys+0x25/0x28) [20149.003787] [<c0780ab1>] (arch_timer_handler_phys) from [<c0162d9b>] (handle_percpu_devid_irq+0x57/0x19c) [20149.013346] [<c0162d9b>] (handle_percpu_devid_irq) from [<c015f1f5>] (generic_handle_irq+0x1d/0x28) [20149.022383] [<c015f1f5>] (generic_handle_irq) from [<c015f695>] (__handle_domain_irq+0x45/0x84) [20149.031076] [<c015f695>] (__handle_domain_irq) from [<c059a475>] (gic_handle_irq+0x39/0x68) [20149.039421] [<c059a475>] (gic_handle_irq) from [<c0101a65>] (__irq_svc+0x65/0x94) [20149.046892] Exception stack(0xd66c9de8 to 0xd66c9e30) [20149.051941] 9de0: c9ae0e4c 00000000 0000287c 0000287b 00000000 d6480e00 [20149.060110] 9e00: c0d04d48 c9ae0d18 d648100c 00000080 d64811fc 00000000 ce9bc61c d66c9e38 [20149.068276] 9e20: bfb2d42d c08db396 20070033 ffffffff [20149.073328] [<c0101a65>] (__irq_svc) from [<c08db396>] (_raw_spin_lock+0x26/0x34) [20149.080830] [<c08db396>] (_raw_spin_lock) from [<bfb2d42d>] (wsm_handle_rx+0x828/0xc7c [xradio_wlan]) [20149.090066] [<bfb2d42d>] (wsm_handle_rx [xradio_wlan]) from [<bfb29e05>] (xradio_bh_exchange+0x27c/0x588 [xradio_wlan]) [20149.100862] [<bfb29e05>] (xradio_bh_exchange [xradio_wlan]) from [<bfb2a239>] (xradio_bh+0x128/0x270 [xradio_wlan]) [20149.111301] [<bfb2a239>] (xradio_bh [xradio_wlan]) from [<c0132cb1>] (kthread+0xfd/0x104) [20149.119470] [<c0132cb1>] (kthread) from [<c01010f9>] (ret_from_fork+0x11/0x38) [20149.126680] Exception stack(0xd66c9fb0 to 0xd66c9ff8) [20149.131726] 9fa0: 00000000 00000000 00000000 00000000 [20149.139894] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [20149.148061] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ifconfig output (wlan0_ap: ap interface, wlan0_station: client interface) root@m6das:~# ifconfig eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 02:42:93:7e:50:70 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 39 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 592 bytes 73021 (73.0 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 592 bytes 73021 (73.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0_ap: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.10.1 netmask 255.255.255.0 broadcast 10.10.10.255 inet6 fe80::1042:93ff:fe7e:5071 prefixlen 64 scopeid 0x20<link> ether 12:42:93:7e:50:71 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 69 bytes 11042 (11.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0_station: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.118 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::1042:93ff:fe7e:5070 prefixlen 64 scopeid 0x20<link> ether 12:42:93:7e:50:70 txqueuelen 1000 (Ethernet) RX packets 16880 bytes 8748161 (8.7 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 15659 bytes 19025140 (19.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 NetworkManager manages all interfaces root@m6das:~# nmcli c s NAME UUID TYPE DEVICE wlan0_ap f26e29d0-d1bc-4eae-b6bc-c3d02ded2bf1 wifi wlan0_ap wlan0_station 3466adf1-ddbd-45fa-b9e4-8a11c265d5a8 wifi wlan0_station eth0 64db1031-abac-33fd-8055-2a757fe08d1a ethernet -- Can anyone help how to stop the kernal hang? any advice? Thank You. Sanju.
  7. I am not experienced on the Linux networking so please tolerate my ignorance. 1.) I am trying to create an wireless access point on "Orange Pi Zero Plus 2 H3" board. And I fail... 2.) I am using Armbian image: Armbian_5.76_Orangepizeroplus2-h3_Ubuntu_xenial_next_4.19.21.img 3.) I am using nmcli for this purpose: https://gist.github.com/narate/d3f001c97e1c981a59f94cd76f041140 nmcli con add type wifi ifname wlan0 con-name MyAccessPoint autoconnect yes ssid MyAccessPoint nmcli con modify MyAccessPoint 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared nmcli con modify MyAccessPoint wifi-sec.key-mgmt wpa-psk nmcli con modify MyAccessPoint wifi-sec.psk "1234567890" nmcli con up MyAccessPoint 4.) When I look at the syslog it fails like: May 22 08:24:52 localhost NetworkManager[738]: <info> [1558513492.3757] Config: added 'key_mgmt' value 'WPA-PSK' May 22 08:24:52 localhost NetworkManager[738]: <info> [1558513492.3758] Config: added 'psk' value '<omitted>' May 22 08:24:52 localhost NetworkManager[738]: <info> [1558513492.3794] sup-iface[0x2dd8d8,wlan0]: config: set interface ap_scan to 2 May 22 08:24:53 localhost wpa_supplicant[1099]: wlan0: Failed to start AP functionality May 22 08:24:53 localhost NetworkManager[738]: <info> [1558513493.4425] device (wlan0): supplicant interface state: inactive -> disconnected 5.) Failed to start AP functionality message is coming from ap.c in wpa_supplicant code: if ( wpa_drv_associate(wpa_s, &params) < 0) { wpa_msg(wpa_s, MSG_INFO, "Failed to start AP functionality"); return -1; } It seems the wpa_supplicant cannot match requested parameters with a wifi driver. 6.) I have read: 7.) When I do: echo 'options dhd op_mode=2' >/etc/modprobe.d/ap6212.conf rmmod dhd && modprobe dhd modeprobe complains: modprobe: FATAL: Module dhd not found in directory /lib/modules/4.19.21-sunxi 8. Lastly; What is "dhd module"? How can I enable it? How can I create a wireless access point? Regards...
  8. I would like to connect reed switch to OrangePi Zero with H2 processor. Can I use this? https://github.com/duxingkei33/orangepi_PC_gpio_pyH3 Under examples, there are two examples I think I could use: - read_button.py - read_key_PG7.py I have two questions. 1. Where is the pinout? read_button.py has this code: led = connector.gpio0p0 # This is the same as port.PH2 button = connector.gpio3p40 read_key_PG7.py has this code: led = connector.gpio1p38 # This is the same as port.PH2 button = connector.gpio1p40 #CHOW Which pins are which, where to get the picture of GPIO pins? (And why LED's connector ID's are different in the above examples)? Here is one example of pinouts, but the names are different: http://codelectron.com/blink-leds-using-orange-pi-zero-gpio-and-python/ 2. Where to connect reed switch? One is one of the GPIO pins, and other? GND, 5V, 3.3V? And - I assume I do not to use a resistor? Or I am wrong?
  9. Hi ,,I'm a new user,,,,,OP Zero , I have this mess in the armbianEnv.txt , but i didn't edit it ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDb34fWZZQ2gTi9CuFLQbQ0S3dRH48ZKkzjv6xZ6lFs$ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^$ usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Is correct? How is the default file? Can someone gime the correct? Thanks
  10. Hello, I think having found a WiFi issue when connecting an Orange Pi zero device to an Access Point device based on the Atheros AR9280 chip. 1 Armbian_5.75_Orangepizero_Ubuntu_bionic_next_4.19.20 1.1 After installed the last Ubuntu Armbian image nmtui tool doesn't detect the ssid in the list of wifi network 1.2 after sudo apt-get update & upgrade & reboot (-> Armbian v5.75 / Unbuntu 18.04.2LTS / v4.19.25-sunxi) nmtui tool detect the ssid in the list of wifi network I can well connect to this ssid WiFi channel. But the Wifi cnx is disabled if the following case : The ethernet cable is not plugged. The ethernet cable was connected, then unplugged. Then, after connected to an other WiFi channel : The Wifi cnx works well (normal job) in all cases (with or without an ethernet cable plugged) I'm using a "pFsense based device" with the compex WLE200NX WiFi module. 2 Armbian_5.75_Orangepizero_Debian_stretch_next_4.19.20 I have found the same issue. Regards
  11. Hi everyone, What I want to do is to use a DS18B20 through 1-Wire to read temperature on an OPi Zero. The sensor seems to be detected by the board (I see the file under /sys/bus/w1/devices/28-something), and then it disappears randomly after a reboot or a power cycle. (file goes away and obviously I can't get any readings). Then it starts working randomly again after an indefinite amount of reboots. I'm having this problem for a while now, and it's driving me absolutely crazy. This one here on the picture is the sensor I'm using. I have attached a 4.7K Ohm resistor between the VCC and Digital cables, and attached to OPi Zero as follows: VCC -> BCM pin 2 (5V, I've also tried with 3.3V) Digital -> BCM pin 26 (PA10) Ground -> BCM pin 25 After that, I've edited my /boot/armbianEnv.txt and it looks like this now: verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=usbhost2 usbhost3 i2c0 i2c1 w1-gpio param_w1_pin=PA10 param_w1_pin_int_pullup=0 rootdev=UUID=374d182b-7b9e-4570-b7c5-519a1eb837a7 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u0x2537:0x1066:u,0x2537:0x1068:u0x2537:0x1066:u,0x2537:0x1068:u Also adapted the /etc/default/cpufrequtils file as follows: # WARNING: this file will be replaced on board support package (linux-root-...) upgrade ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive And the /etc/modules-load.d/modules.conf: g_serial i2c-dev w1-gpio w1-therm So, after all these modifications, I do a reboot and I can see the w1_gpio and w1_therm modules loaded in the output from lsmod, and I can see the device in /sys/bus/w1/devices/28-something I can get my readings and everything works properly. Then, I do a reboot. Here is where I get super confused, because it seems like there's no systematic error in the wiring or the kernel modules being loaded as far as I can see. But, the device disappears after the reboot. Sometimes it will get detected again, without me doing any changes in the configuration. I've already tried two of the same sensor, but it doesn't seem to make any difference, same problem still. I've also put the armbianmonitor output to the post. Looking desparately for some ideas to help me debug this problem. Thanks!
  12. 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
  13. Hi , there I have RT kernel on my OrangePi Zero now. Linux orangepizero 4.14.8-rt9-sunxi #1 SMP PREEMPT RT Sat Jan 6 14:36:31 CET 2018 armv7l armv7l armv7l GNU/Linux Guru, please, HELP me to reconfigure it to using MIDI + Pure Data!!! ALSA is fully installed. But there's a problem: root@orangepizero:~# aconnect -i ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory can't open sequencer Thank in advance.
  14. Hi, Recently I have installed "Armbian_5.75_Orangepizero_Debian_stretch_next_4.19.20" on my OrangePi Zero . I configured both Ethernet and wifi connection but I had a problem with the wifi, my board does have an IP address but I can not connect through ssh nor pinging that IP. The connection is Ok and I can get access to internet but I can not ping from any other devices on the network (error Destination host unreachable), But I noticed that if I ping (from the orangepi board ) the host machine then I will be able to connect through ssh to that IP. I dont know if its a problem with arp last thing that I tried was to disable the network manager but I still have the same issue.
  15. I just installed the latest Ubuntu Bionic Image with 4.x kernel, fully updated and upgraded. On Orange Pi Zero 1.4 512MB + IO expansion kit board Armbian 5.75 Ubuntu 18.04.2 LTS Linux orangepizero 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l armv7l armv7l GNU/Linux `cat /proc/asound/cards` "No sound cards" In armbian-config, I enabled analog-codec, `update-initramfs, rebooted, but there's still no sound card. mocp complains there is no driver. speaker-test (starts like this) Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib confmisc.c:767:(parse_card) cannot find card '0' Anyone know what the issue is? $ cat /boot/armbianEnv.txt verbosity=1 logo=disabled console=serial disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=analog-codec usbhost2 usbhost3 w1-gpio rootdev=UUID=4cf6b202-4b00-45d6-b06a-8e235506621e rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u $ cat /etc/asound.conf pcm.!default{ type hw card 0 } ctl.!default{ type hw card 0 } After the above and a reboot, I didn't have any codec modules loaded So I did this $ modprobe sun8i-codec-analog sun4i-codec $ aplay -l aplay: device_list:270: no soundcards found... $ cat /proc/asound/cards --- no soundcards --- $ ls -lah /dev/snd total 0 drwxr-xr-x 2 root root 60 Mar 20 06:04 . drwxr-xr-x 13 root root 14K Mar 20 06:04 .. crw-rw---- 1 root audio 116, 33 Mar 20 06:05 timer
  16. Hello I have installed the iso in debian 8 (jessie). I would like to update to debian 9 but on armbian-config, i don't find the menu NEXT on submenu system Where i can find the latest kernel for update manually? my card is an orange pi zero Thanks for all and sorry for my bad english (french) David
  17. OrangePi Zero has (according to specifications) 2Mb SPI flash. Sorry for my newbie question, but how is it possible to write there some file and read it later? Or at least some data (string)?
  18. I have OrangePi Zero 512 with Armbian Bionic. I hav econnected LED diode to GPIO PA12 pin. When I (re)boot the device, LED is automatically on. I have to switch it off then manually (with Python script). Is there any config file in Armbian to define which GPIO ports should be switched off?
  19. Hi all, its probably something simple but here is what i am struggling with: airmon-ng start <interface name> iwconfig wlan1mon channel 13 aireplay-ng --test wlan1mon ifconfig wlan0 up -> wlan0 is configured and connected to the access point packets are injected and can be observed with another machine ifconfig wlan0 down / or not associated with network packets are not injected and cannot be observed aireplay-ng or raw socket directly shows no errors initial toughs somewhere there is a switch to enable/disable radio at low level nothing obvious in strace tried with and without network manager. tried with internal and 2 external wifi adapters at lest one has to be associated advice on next steps tracing this down is appreciated realized while writing this that channels might be an issue and indeed only channels 12,13 are affected iw reg get global country 00: DFS-UNSET iw reg set JP iw reg get global country JP: DFS-JP and it works like dream it seems all I needed is rubber duck to get through this one - thanks to the forum and maybe someone will find this helpful
  20. I am trying to set up Wifi AP on OrangePi Zero board. Basically, I install and configure hostapd and dnsmasq and create a script, which does the following (it is run as sudo): nmcli radio wifi off rfkill unblock wlan ifconfig wlan0 172.16.0.1 netmask 255.255.255.0 broadcast 172.16.1.255 service dnsmasq restart /usr/sbin/hostapd /etc/hostapd/hostapd.conf This is the /etc/dnsmasq.conf: port=53 domain-needed bogus-priv resolv-file=/etc/dnsmasq/resolv.conf interface=wlan0 listen-address=172.16.0.1 bind-interfaces addn-hosts=/etc/dnsmasq/hosts.conf dhcp-range=172.16.0.50,172.16.0.150,12h dhcp-leasefile=/var/lib/misc/dnsmasq.leases domain=orangepi.wifi no-resolve server 8.8.8.8 server 8.8.4.4 local=/orangepi.wifi/ I also have in /etc/dnsmasq/resolv.conf: nameserver 127.0.0.1 And in /etc/dnsmasq/hosts.conf: 172.16.0.1 orangepi.wifi 172.16.0.1 www.orangepi.wifi So... I run the script, SSID appears, and I can connect to the OrangePi Access Point. I get the IP address (within DHCP range), from OrangePiI can ping the connected device, and from the device I can ping OrangePi (ping 172.16.0.1). From the device I can ping 8.8.8.8, but if I try to ping www.google.com, DNS resolving does not work. (From OrangePi internet is working good). I assumed ther eis some problem with Dnsmasq, so I installed udhcpd instead, but the problem is the same. Any idea?
  21. Hi, How to enable TV-OUT on Orange Pi Zero in Armbian mainline ( 4.19.20 - 5.75)??? I saw a post from one year ago with a patch that adds an overlay called tve, but is there a more integrated solution by now? Thank you
  22. Hi, I just got my hands on a Orange Pi Zero, but when I try to use iscsiadm I get the following message: iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command. iscsiadm: Could not perform SendTargets discovery: iSCSI driver not found. Please make sure it is loaded, and retry the operation I have tried to load the module using modprobe, but it does not seem to exist. Any tips?
  23. Dear Armbian friends, I have question about add DS18B20 temp sensor at RPi-Monitor (web based interface). Can somebody paste working config of this sensor? On internet I found many tutorials but with DHT sensors. On this page (Xavier is an author of RPi-Monitor I think) is described DS18B20 but in status "Working in progress". I tried this but without luck. https://xavierberger.github.io/RPi-Monitor-docs/32_sensors.html?highlight=ds18b20 Cheers, Lucas
  24. I downloaded Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113.img, and am running it with a 16GB SD card. I am trying to modify the I2C settings, however, when I type `armbian-config`, and select `System`, there is no "Hardware" menu option. This contradicts the documentation: Hardware is supposed to be an option in that menu. This is the current content of the /boot/armbianEnv.txt: verbosity=1 console=both overlay_prefix=sun8i-h3 overlays=usbhost2 usbhost3 rootdev=UUID=54dfde69-e472-48dd-a099-636a963154f3 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
  25. hi freinds i'm trying to use a dht22 to read temperature and humidity , with Armbian 5.65 (stretch) 4.14.78-sunxi and orenge pi zero orange pi state like this /etc/modules-load.d/modules.conf #gpio sunxi #gc2035 wire wl-sunxi wl-gpio wl-therm #sunxi-cir #xradio_wlan g_serial #xradio_wlan i2c -dev /etc/default/cpufrequtils ENABLE=true MIN SPEED=6000000 MAX_SPEED=1200000 GOVERNOR=interactive /boot/armbianEnv.txt verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay prefix=sun8i-h3 overlays=usbhost2 usbhost3 12c0 wl-gpio rootdev=WID=55cee3e8-79d6-4dd3-ab14-99274fo626cb rootfstype=ext4 param wl_pin=PA10 param wl_pin int_pullup=1 usbstorageguirks=0x2537:0x1066:u,0x2537:0x1068:u and im trying with this code https://www.piprojects.xyz/temperature-sensor-orange-pi-python-code/ and https://community.home-assistant.io/t/extend-dht-sensor-for-orange-pi/39838 from pyA20.gpio import gpio from pyA20.gpio import port #import RPi.GPIO as GPIO import dht22 import time import datetime # initialize GPIO #gpio.setwarnings(False) #gpio.setmode(GPIO.BCM) PIN2 = port.PA6 gpio.init() #gpio.cleanup() # read data using pin 14 instance = dht22.DHT22(pin=PIN2) while True: result = instance.read() if result.is_valid(): print("Last valid input: " + str(datetime.datetime.now())) print("Temperature: %.2f C" % result.temperature) print("Humidity: %.2f %%" % result.humidity) time.sleep(1) dht22 work correct with raspberry and rasbian also test ds18b20 with orange pi and work good but i need humidity sensor i dont know what's the problem??!! Thanks for any help
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines