[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4859: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4861: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4862: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4863: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
RPi + Runeaudio +Wifi as Accesspoint : Raspberry Pi - Page 5 • RuneAudio Forum

RPi + Runeaudio +Wifi as Accesspoint

Raspberry Pi related support

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 29 Aug 2016, 14:34

Frank ...

Here is my file copied from nano /etc/hostapd/hostapd.conf ...

# interface and driver
interface=wlan0
driver=nl80211

# WIFI-Config
ssid=Rune_AP
channel=7
hw_mode=g
wmm_enabled=1
auth_algs=1
max_num_sta=10

# WIFI authorization
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
wpa_passphrase=guglielmo

Additionally, here is the output from redis-cli hgetall AccessPoint

[root@runeaudio ~]# redis-cli hgetall AccessPoint
1) "enabled"
2) "1"
3) "ip-address"
4) "192.168.12.1"
5) "broadcast"
6) "192.168.12.255"
7) "ssid"
8) "Rune_AP"
9) "passphrase"
10) "guglielmo"
11) "dhcp-range"
12) "192.168.12.2,192.168.12.254,24h"
13) "dhcp-option"
14) "option:dns-server,192.168.12.1"
15) "enable-NAT"
16) "0"
[root@runeaudio ~]#

Now I will power down, remove the Edimax and insert a Ralink dongle ... as before everything works with Ralink - I can connect to Rune_AP from my laptop and can puTTy in to 192.168.12.1.

I then puTTy'd in to the ip address for eth0, did the following and got the following ...

[root@runeaudio ~]# systemctl stop hostapd
[root@runeaudio ~]# /usr/sbin/hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 00:0f:54:12:c4:2d and ssid "Rune_AP"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED

Now I will again power down and re-insert a different Edimax (to eliminate that as a problem) ... as before with Edimax, Rune_AP is broadcasting but I cannot connect to it from my laptop.

Again I did (puTTy to eth0) and got this result which is different to what I reported earlier (perhaps because I did not then first stop hostapd) ...

[root@runeaudio ~]# systemctl stop hostapd
[root@runeaudio ~]# /usr/sbin/hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 80:1f:02:76:54:a1 and ssid "Rune_AP"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED

Do you need more info?
Thx
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 29 Aug 2016, 14:54

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 29 Aug 2016, 17:53

Frank ...

I still cannot connect from my laptop using Edimax.

It's been fun & games but here is the Ralink journal ...
journal_Ralink.zip
(14.34 KiB) Downloaded 529 times


And here's the Edimax journal ...
journal_Edimax.zip
(14.99 KiB) Downloaded 555 times


Ralink line 1382 seems to be equivalent to Edimax line 1457
But thereafter things are quite different.

Any ideas?
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 29 Aug 2016, 18:40

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 29 Aug 2016, 21:08

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 30 Aug 2016, 15:42

Frank ...

Herewith my info both for Edimax and for Ralink
Ralink & Edimax info.zip
(9.73 KiB) Downloaded 594 times


For each dongle it contains lsmod, lsusb & output from a hostapd debug.

Please take a look at and let me know yr opinion about this quote in particular ...

Realtek's driver is using an old subsystem which is called wireless-extensions (or wext). Hostapd works only with the new subsystem (which is called nl80211).

Have you taken special measures?

I have done the intial pacman & Rpi updates as you suggested in yr first post - should I also do the git pull for the nightly update?

Thx
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 30 Aug 2016, 17:12

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 30 Aug 2016, 20:31

Frank ...

I've tried yr suggested hostapd.conf but without success.
The hostapd debug report hits exactly the same problem ...
hostapd debug rev conf.zip
(2.53 KiB) Downloaded 556 times


I even tried another variant - no security/open AP - but still no success.

Thank you for yr explanation re kernel & Realtek drivers. That will save me time spent on fruitless experiments.

It makes no sense - we are both using RPi2 and the same Edimax dongle. Would there be any value in us exchanging SDHC images by private mail and each trying the other's?

Given it's a kernel/driver/Rpi problem - would it make sense to ask the RaspberryPi organisation for help?

Clearly I'm clutching at straws

Do you have further suggestions?

Should I do the git pull for the nightly update?

Regards
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 31 Aug 2016, 09:18

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby dror » 08 Sep 2016, 15:54

Hi Frank,

I was reviewing your post for the AP tweak and just noticed a change from what I did -
The instructions to edit the config.txt file and delete the raspberry.conf file - what are they used for? I'm quite sure they weren't there on your original post, but maybe I've missed them.

Anyway my configuration doesn't include those changes.. are they necessary?

Thanks,
Dror
dror
 
Posts: 140
Joined: 03 Dec 2015, 10:14

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests