Customized channel wifi direct - channel

Can anyone tell me, is there any option to customize wifi direct channels? I need to customize it not only between ch1, ch6 and ch11, but also in another channels selected by me. How can I do that?

In order to change the channel of the Wifi Direct of your device you need to do the following:
1- Root your phone
2- Download any File manager App: Such as ES File Explorer
3- On ES File Explorer, go to Tools, then turn ON the Root Explorer and click on it then mount RW
4- Using ES File Explorer, go to Device -> Data -> Misc -> Wifi -> p2p_supplicant.conf and change the p2p_oper_channel to whatever channel you want.
5- Turn OFF the Wifi of your phone then turn it ON in order for the change to take place.
You should note that in order for the Wifi direct channel to be the one you did set, the phone needs not to be connected to any Access point when the wifi direct connection starts. Also, usually when phone A connects to phone B via wifi direct, the connection is operating on phone B's channel.
Hope this helps

Related

Authentication error when roaming to different AP

I'm trying to setup the internet at my home. I have an edgerouter x as main router and I want to connect 3 wifi access points to it, all with the same SSID/password so I can roam through my house without having to connect to a different network. The solution seemed simple, setup AP with DHCP and set the other two APs in bridge mode, disable DHCP, set the right SSID and password and done.
Everything goes fine for the AP with DHCP and 1 other AP, but whenever I add the third AP, I can't connect to the wifi, it just keeps on authenticating.
I tried looking up the problem of course, what I found that it is probably due to different security settings on the different APs. However, I can't seem to find where/how to match these settings to resolve the issue.
Could anyone help me out?
The router that has the problem is the TP-Link Archer C7. The one with DHCP enabled is the Netgear WAC104 and the AP that does work is the TP-link AP200.
In my case (one root AP and one bridged; i couldn't get around Authetication error on Windows 10 and Android when trying to connect to bridged AP) what partially worked was in the android settings - wifi - WPS Push Button and when prompt to push WPS button on AP i did so and voila. Android suddenly connected and Windows 10 as well (did nothing additional there). Just to clarify - AP is TP-Link. ANd what dodn't work was adding MAC address as allowed to MAC filtering. Didn't seem to have any security differernces since i use almost all settings on default and two APs were same model and firmware. It worked partially because after a few minutes tried to connect to bridged AP but had to repeat WPS steps in order to work.

You are not connected replacement in case Internet Explorer seems disconnected

Is there any way to replace the page that is shown if you are not connected to the internet?
A list with tips about network cables, flight mode, access points, routers and mobile devices is presented if I start IE while being disconnected. This list is in my case not very helpful.
I would like to offer a modified checklist, another as the one that is shown to every user.
And I don't want to do this with a default start page, hosted on a webserver on the same device.
Have not found any information about that in IEAK 11.
You can overwrite those pages using the registry: HKLM\Software\Microsoft\Internet Explorer\AboutURLs
You are looking for the OfflineInformation entry (Source)
And I don't want to do this with a default start page, hosted on a webserver on the same device
Just put the html file on the disk and put the filename into the registry key.
See also: https://superuser.com/questions/395137/how-to-replace-internet-explorer-error-pages

USB Mobile Broadband Modem on Windows 10 IoT?

Anyone had experience using a USB Mobile Broadband on Windows IoT with the Raspberry Pi2 already?
I have a Huawei datacard in the Windows IoT and appears as HUAWEI Mobile on connected devices but I'm unable to see the device on the wifimanager.htm admin page.
Don't even appear on the Device Manager list. Is this lack of drivers?
I was looking for a solution too, and I have finally found one. I hope the following will help you!
For the record, I used a Vodafone (Huawei) K5150, "officially" supported and Microsoft verified, according to the hardware compatibility list: https://developer.microsoft.com/en-us/windows/iot/win10/supportedinterfaces. The device was recognized and visible on the portal through an hdmi screen. Anyway, the raspberry couldn't get internet access.
Here is what I did to make it work:
install the key on a common laptop and check the internet access. Windows should see it as a cellular connection by the way.
find the xml file generated by Windows and located under C:\ProgramData\Microsoft\WwanSvc\Profiles. This file is called a profile and is used by Windows to characterize every wireless connection it sees. You can of course create yourself this file from scratch, but it's far more complicated/boring. You can also normally do that with the netsh command and the import or dump sub-command, but it doesn't work for broadband devices.
connect your raspberry to your local network and go to \\[name or IP address]\c$. In my case, it was \\minwinpc\c$. There, find a suitable place to copy the xml file, as well as the bmp file next to it, and don't forget to modify its content to point the right path for the icon (the bmp file).
the next step is super tricky, but highly important: you have to find the subscriber ID for your key. The one saved in the xml file is actually a kind of hash and if you don't set the correct value you'll have an error like
Add Profile Failure: Invalid Profile XML.
connect the key to your raspberry and enter a PSSession with PowerShell (details here: https://developer.microsoft.com/en-us/windows/iot/win10/samples/powershell). Then, use this command: netsh mbn show readyinfo interface="Cellular". The correct interface (in my case it's "Cellular") can be retrieved with the command netsh mbn show interfaces (mbn standing for Mobile Broadband I suppose). The subscriber ID, with other useful information, is displayed and you can copy it the to the xml file on your raspberry.
what's left is the actual profile activation, in two parts: add the newly imported profile and tell the raspberry to connect to it. For that, use the commands netsh mbn add profile interface="Cellular" name="profile.xml" and netsh mbn connect interface="Cellular" connmode=name name=ProfileName.
You mobile broadband key should now be activated and the raspberry should automatically connect to it at start.
Here are the few links that helped me a lot:
export the profile: https://www.experts-exchange.com/questions/28324340/Adding-custom-mobile-broadband-profiles-in-Win-7.html
replace the subscriber ID: https://social.technet.microsoft.com/Forums/office/en-US/7c2d6c77-1974-432b-a439-6e58f9306234/receive-add-profile-failure-invalid-profile-xml-error-when-adding-wwan-profile-windows-7?forum=w7itpronetworking
connect to the raspberry to copy the files: https://developer.microsoft.com/en-us/windows/iot/win10/samples/smb

How can I register my WP device in dev account?

I have trouble with registration WP8.1 device to developer account. My account is active. Device early was active, but I reset phone (Nokia 620) and after that Developer tools don't active this phone.
In list (in dev acc) this phone was remove.
after I press "register" show this window:
and that's all. Second window close after few seconds and register process don't finish. Please help :)
Make sure your computer have internet connection. I had similar issue when network proxy was configured incorrectly .
Also try after clearing internet explorer cached content (history,password,cookies etc.)

How to disable/disconnect ethernet adapter in mac os x programmatically?

I am new to mac os x programming and just got an assignment to write small utility that disable either wireless or wired adapter based on configuration. I was able to disconnect wireless using corewlan framework like :
CWInterface interface = [CWInterface interfaceWithName:#"en1"];
BOOL result = [interface setPower:NO error:&err];
and it is working as expected. I need similar code to disable/disconnect ethernet adapter. I researched that ifconfig (as mentioned below can be used):
sudo ifconfig en0 down
but it require admin password and that i don't want to do. Please suggest an alternative programatic way to disable ethernet adapter without root password.
I read that SCNetworkConfiguration can be used but don't know how to use it. Please help.
Thanks
You cannot shut off network interfaces without having admin access (i.e. that's why the padlock is there in the Network Preference Pane). Think of it this way... you would not want non-admin users on any public machine being able to turn off the network arbitrarily.
For my own apps where I also disable Ethernet & WiFi, I have to get privileges to launch a separate tool in order to run stuff from the SystemConfiguration framework as admin.