Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odroid | WiFi Adapter 3 Won't Work as HotSpot #1955

Closed
stevejenkins opened this issue Jul 22, 2018 · 8 comments
Closed

Odroid | WiFi Adapter 3 Won't Work as HotSpot #1955

stevejenkins opened this issue Jul 22, 2018 · 8 comments

Comments

@stevejenkins
Copy link
Contributor

Creating a bug report/issue:

Required Information:

  • DietPi version | 6.12

  • Distro version | stretch

  • Kernel version | Linux DietPi 3.16.56+ Fix warning when running scp over openssh-server #1 SMP PREEMPT Wed Apr 18 16:59:34 CEST 2018 aarch64 GNU/Linux

  • SBC device | Odroid C2 (aarch64)

  • Power supply used | 5.2V 1.6A (Amazon Echo power adapter)

  • SDcard used | SanDisk ultra

Additional Information (if applicable):

  • Software title | WiFi HotSpot
  • Was the software title installed freshly or updated/migrated: Fresh
  • Can this issue be replicated on a fresh installation of DietPi: Yes
  • dietpi-bugreport: f3724239-6ba3-47d3-bdc9-a2245528deb0

Steps to reproduce:

  1. Connect ODROID WiFi Adapter 3 (Realtek RTL8188CUS)
  2. Configure adapter via dietpi-config
  3. Install WiFi HotSpot via dietpi-software

Expected behaviour:

WiFi SSID should broadcast

Actual behaviour:

WiFi SSID does not broadcast and wlan0 does not appear to have correct settings

Extra details:

root@DietPi:~# iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off`

root@DietPi:~# cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=rtl871xdrv
ssid=MobilePi
hw_mode=g
channel=9
macaddr_acl=0
auth_algs=1
ssid=MobilePi

root@DietPi:~# hostapd /etc/hostapd/hostapd.conf -dd
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=4
l2_sock_recv==l2_sock_xmit=0x0x48c3b0
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
hostapd_interface_deinit_free(0x48b950)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x48b950)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED 
hostapd_cleanup(hapd=0x48cba0 (wlan0))
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x48b950)
hostapd_interface_free: free hapd 0x48cba0
hostapd_cleanup_iface(0x48b950)
hostapd_cleanup_iface_partial(0x48b950)
hostapd_cleanup_iface: free iface=0x48b950
@Fourdee Fourdee self-assigned this Jul 23, 2018
@Fourdee Fourdee added this to the v6.13 milestone Jul 23, 2018
@Fourdee
Copy link
Collaborator

Fourdee commented Jul 23, 2018

Thanks for the report 👍

Confirmed bug:

Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wi reless Adapter [Realtek RTL8188CUS]

@stevejenkins
Copy link
Contributor Author

Cool. In the meantime any word on chipsets that are known to work with ODROID + DietPi in Hotspot mode?

@stevejenkins
Copy link
Contributor Author

stevejenkins commented Jul 25, 2018

FYI, tested a different adapter with same results.

Bus 001 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

@Fourdee
Copy link
Collaborator

Fourdee commented Jul 25, 2018

@stevejenkins

FYI, tested a different adapter with same results.

Strange, it may be a kernel related issue. We'll need to do some investigations and further testing when possible.

@stevejenkins
Copy link
Contributor Author

Sounds good. This isn't a mission-critical device for me. I built it as a mobile network speed tester (that's why I went ODROID instead of RPi to get a true GigE Ethernet adapter), and wanted to be able to connect to it wirelessly and run the tests from a tablet. So I'm happy to install any additional drivers, kernel versions, or alpha DietPi bits to get to the bottom of it. Thanks!

@Fourdee Fourdee modified the milestones: v6.13, v6.14 Aug 13, 2018
@Fourdee Fourdee modified the milestones: v6.14, v6.15 Aug 20, 2018
@Fourdee Fourdee modified the milestones: v6.15, v6.16 Sep 12, 2018
@Fourdee Fourdee modified the milestones: v6.16, Known/Outstanding Issue Sep 19, 2018
@MichaIng MichaIng modified the milestones: Known/Outstanding Issue, v6.20 Jan 5, 2019
@Fourdee Fourdee mentioned this issue Jan 15, 2019
@MichaIng MichaIng modified the milestones: v6.20, v6.21 Jan 28, 2019
@Fourdee Fourdee mentioned this issue Feb 7, 2019
@Fourdee Fourdee modified the milestones: v6.21, v6.22 Feb 7, 2019
@MichaIng MichaIng mentioned this issue May 11, 2019
@MichaIng MichaIng modified the milestones: v6.23, v6.24, v6.25 May 11, 2019
@MichaIng MichaIng mentioned this issue May 18, 2019
@MichaIng MichaIng changed the title ODROID WiFi Adapter 3 Won't Work as HotSpot Odroid | WiFi Adapter 3 Won't Work as HotSpot May 24, 2019
@MichaIng MichaIng mentioned this issue Jun 24, 2019
@MichaIng MichaIng modified the milestones: v6.25, Known/Outstanding Issue Jun 24, 2019
@MichaIng MichaIng mentioned this issue Jul 3, 2019
@MichaIng
Copy link
Owner

MichaIng commented Aug 1, 2019

@MichaIng
Copy link
Owner

I mark this issue as closed now. Basically it is known that not all WiFi adapters support hotspot mode and there is not much we can do about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants