Jump to content

Dmitriy Zhuk

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Dmitriy Zhuk

  1. Hello guys. I try to configure AP on WiFi. I have created /etc/hostapd/hostapd.conf: interface=wlan0 driver=nl80211 country_code=IN ssid=TEST hw_mode=g channel=6 wpa=2 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP auth_algs=1 macaddr_acl=0 Then I have uncommented DAEMON_CONF="/etc/hostapd/hostapd.conf" in /etc/default/hostapd. After it, I run /etc/init.d/hostapd restart And I try to scan WiFi via mobile phone, and no TEST. What am I doing wrong?
  2. Hello guys. I try to build image for pine64. My OS is Ubuntu 16.04. My options: - Full OS image for flashing - Do not change the kernel configuration - pine64 - default - jessie -image with console interface. Then I see the following: 0 upgraded, 299 newly installed, 0 to remove and 0 not upgraded. Need to get 118 MB of archives. After this operation, 461 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! hostapd E: There are problems and -y was used without --force-yes [ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:208 ] [ error ] Installation of Armbian packages failed [ o.k. ] Process terminated [ error ] ERROR in function unmount_on_exit [ image-helpers.sh:59 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated How can I resolve this problem?
  3. I have uncommented #allow-hotplug wlan0 and all works.
  4. Yes, of course. Thank you for link to documentation. This method works. But I need method without any dialogues. So I try to use wpa_supplicant.
  5. Thank you for answer and help in advance. My board is Banana Pi M2 Plus. Name of image is ARMBIAN 5.33 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i There is log link: http://sprunge.us/fFSg About my problem. I try to connect board to my WiFi router. My steps are following: 1. root@bananapim2plus:~# wpa_passphrase Home MY_PASSWORD > /etc/wpa_supplicant.conf 2. I modified /etc/network/interfaces for enabling WiFi: source /etc/network/interfaces.d/* # Wired adapter #1 allow-hotplug eth0 #no-auto-down eth0 iface eth0 inet dhcp #address 192.168.0.100 #netmask 255.255.255.0 #gateway 192.168.0.1 #dns-nameservers 8.8.8.8 8.8.4.4 # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # Wireless adapter #1 # Armbian ships with network-manager installed by default. To save you time # and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings # manually. The below lines are only meant as an example how configuration could # be done in an anachronistic way: # #allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp #address 192.168.0.100 #netmask 255.255.255.0 #gateway 192.168.0.1 #dns-nameservers 8.8.8.8 8.8.4.4 wpa-conf /etc/wpa_supplicant.conf # Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi) #wireless-mode Managed #wireless-power off # Local loopback auto lo iface lo inet loopback 3. Rebooting the device. After it, my device is obtaining IP address, for example 169.254.11.71 But a result, there is no internet connection. I made ping 8.8.8.8 But answer is “Destination Host Unreachable” How can I connect my board to the internet?
  6. Hello, guys. I use debian server version for my board. But I can't use WiFi to connect my router. I have tried wpa_supplicat, but no result. I used many resources for information, such as https://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/ https://unix.stackexchange.com/questions/283722/how-to-connect-to-wifi-from-command-line Maybe, I do something wrong. Can you help me please?
  7. Hello, Hardic. I didn't test it. I only investigated it. Do you need help yet?
  8. I found the driver for similar processor: https://github.com/allwinner-zh/linux-3.4-sunxi/tree/master/drivers/char/sunxi-scr
  9. Yes, this is SCR, not SPI. May be somebody worked with it...
  10. Hello guys. I have issue regarding with smart card reader interface. According to it's datasheet http://linux-sunxi.org/images/4/4b/Allwinner_H3_Datasheet_V1.2.pdf page " Support FIFOs for receive and transmit buffers (up to 128 characters) with threshold " But in practice, the size of FIFO is only 16 bytes. Is anybody worked with SCR interface? May be I must to select size of FIFO in some REGISTER? Thanks for help.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines