Max2Play Home › Forums › Max2Play Add-ons › Accesspoint issues
Tagged: Accesspoint, WiFi improvement
- This topic has 305 replies, 11 voices, and was last updated 7 years ago by Heiner premium.
-
Posted in: Max2Play Add-ons
-
10. Januar 2016 at 0:18 #17660
OK the start command does generate a lot of output.
now the command
ifconfig wlan0
should confirm the static IP address 192.168.189.1 something likewlan0 Link encap:Ethernet HWaddr 00:0f:60:xx:xx:xx inet addr:192.168.189.1 Bcast:192.168.189.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20305 errors:0 dropped:9758 overruns:0 frame:0 TX packets:20859 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3953760 (3.7 MiB) TX bytes:5779163 (5.5 MiB)
If so can you then see the network SSID from your IOS device?
10. Januar 2016 at 0:41 #17661Hi noop
Yes it looks nearly exactly the same as yours, all but the addresses
And sadly still can’t see it on my iPad nor iPhoneIt’s so weird and more frustrating than weird, because even the m2p says it’s installed ok too
I was debating about putting in another dongle, but I’ve done that…
And considering how many times I have burnt new images and how I’ve installed the plugin’s I Honestly just don’t get it and I’m just very very grateful you’ve helped as much as you have. Please don’t feel pressured to carry on noop
Do you think it’s worth buying another dongle, I had a look for one like yours but now they come with external aerials
A10. Januar 2016 at 1:02 #17663your IP addresses should be the same…what do you see?
Assuming they were the same, I’d be interested in knowing the contents of your file:
/etc/hostapd/hostapd.conf, it’s not too long.cat /etc/hostapd/hostapd.conf
- This reply was modified 8 years, 9 months ago by noop.
10. Januar 2016 at 1:36 #17665Ok noop
Interface used by access point
Interface=wlan0Firmware driver
Driver=n180211Access point SSID
SSID=max2playOperation mode (a = IEEE 802.11a, b = IEEE 802.11g
Hw_mode=g
Accsesspoint channel
Channel=6
Maccddr_acl=0
Auth_algs=1
Ignore broadcast_ssid=0Key management algorithm
Wpa_key_mgmt=WPA-PSK
wpa_passphrase=max2play
Wpa=2Set ciphers
Wpa-pairwise=TKIP
rsn_pairwise=CCMPNOOP, do you mean the max2play, on my lan ( as its connected that way) scanner it’s Showing 192.168.1.11
But I can’t see it on ipeng.However, since I mentioned this, I got up to answer the phone and caught my chair on the power lead to the m2p so I just plugged it back in again.
I really hope I’ve not screwed things up, sorry noop
10. Januar 2016 at 2:06 #17668So everything looks good with info you sent. Do you have another wireless device to check for the accesspoint with? say a laptop?
It should be working.ALSO:
command:
iwconfig
look for „Mode:Master“ in wlan0
mon.wlan0 IEEE 802.11bgn Mode:Monitor Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off wlan0 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off lo no wireless extensions. eth0 no wireless extensions.
- This reply was modified 8 years, 9 months ago by noop.
10. Januar 2016 at 3:18 #17670Hi NOOP
It should be working, wow as for checking it, I do have a laptop but it’s at work but what I will do is go and pick it up in the morning
Also
In wlan0 2nd line I have
Mode:Managed Frequency 2.437. ACCESPOINT 00:50:7F:A9:E9:ABNot mode:master ?
Also I have retry off, while yours is short limit 7, is this relevant ?
I have just rebooted it and just remembered I have a touch, so just went to see if the touch could see it, sorry again it can’t
- This reply was modified 8 years, 9 months ago by Alex.
10. Januar 2016 at 4:18 #17677No problemo get some sleep! I’m 5 hours behind you.
OK there’s a problem…mode „Managed“ is client not „Master“.
i’m guessing that hostapd is not able to set mode master for some reason.
stop hostapd and run manually…sudo /etc/init.d/hostapd stop sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf -d | less
this will display one page of the output at a time, you can use the <return> key to advance one
more line at a time, <space> key one page at time. These lines in my output show the interface
being set to mode „AP“ (access point)Configuration file: /etc/hostapd/hostapd.conf nl80211: interface wlan0 in phy phy0 rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 nl80211: Using driver-based off-channel TX nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress) nl80211: Register frame match - hexdump(len=2): 04 0a nl80211: Failed to register Action frame processing - ignore for now nl80211: Add own interface ifindex 3 nl80211: Set mode ifindex 3 iftype 3 (AP) <----- HERE nl80211: Create interface iftype 6 (MONITOR) . . . Using interface wlan0 with hwaddr 00:0f:60:05:50:82 and ssid 'max2play' Deriving WPA PSK based on passphrase
What does your output look like? Look at the output for problems/errors.
BTW: to exit the program type: q followed by ctrl-c10. Januar 2016 at 11:46 #17680Morning noop, well I needed that.
I fetched the laptop, and tried the touch again, just to make sure, still no joy on that
So I’ve run the command you sent and to be honest the ONLY thing which is the same or close to yours is your last two lines of yours, they are identical
I have a block of
RATE [0] rate=10
All the way to rate [11]I have taken a photo just in case I need to ref
10. Januar 2016 at 11:54 #17681Sorry, I sent this as I didn’t want to loose txt again
There is also a block of
rt1871x_set_key_ops
But nothing close to your n180211n Noop
This is bitter sweet I hope ( bet you do to)
1. That it’s not identical to yours and two because it’s not you may have nailed it !
I guess ( hahahah and it’s only a guess) you’re checking the wireless here, if so, I’m obviously learning something from youOk, I have just come out and switched off as there’s not anything more I can do.
But I just can’t thank you enough for your help noopA
10. Januar 2016 at 16:32 #17682Hi Alex:
for your dongle rt1871x may be correct and expected to be different.
Look through the output for errors and warnings.I would expect that the command
lsusb
confirms that your dongle has a realtech „rt“ chip
You should try (if you are not already using it) the edimax dongle as it is supported by MAX2PLAY according the the change logs.
On a separate note:
What release of max2play are you starting with? Have your tried downloading the latest?- This reply was modified 8 years, 9 months ago by noop.
10. Januar 2016 at 18:29 #17684Hi noop,
A couple of things going onI ran the two lines you asked me to and it worked. When I came back to it the second line is not running the results (script)
It’s just saying
ioctl[RTL_IOCTL_HOSTAPD]: invalid argument
Even if I try to exit the programme the way you told me it won’t let me it’s just hanging, so I just rebooted ( powered down) several timesThe other thing is, sorry for sounding dumb, but what do you mean when you mean look at the the output for problems . The worry is due to the limited knowledge I have on this on the best I can do it tell you any obvious errors and those that don’t match your script or when it tells me.
Hope this makes sense noop, in the meantime, I’m going to input those two lines again, and I did try and use the q ctrl code but as its hanging it’s not letting me
A10. Januar 2016 at 21:26 #17689there’s a command „iw“ which might be helpful.
apt-get install iw <--install the iw software if not already installed iw list <-- returns lots of info on the dongle capabilities
If it returns an error that’s a clue
iw wlan0 info
Interface wlan0 ifindex 3 type AP wiphy 0
type AP is what you want.
10. Januar 2016 at 21:39 #17690Hi Noop
Oh dear
Just entered the first line and it returned
E:Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied)
E: unable to lock the administration directory ( var/lib/dpkg/), are you rootI continued to input the second line and got this
-bash: iw command not found
A
10. Januar 2016 at 22:03 #17692Hi noop
That’s better, thanks
Ok it came back to say the following packages will be installed
Crda iw wireless regdb and warned me it would take 276kb of disk space, did I want to proceed , I said yesSo it ran an onscreen script, I then out the other command in and it came back with
nl80211 not foundWas this the error you were hoping for
-
You must be logged in to reply to this topic.