[Q] WiFi connection w/o DHCP service - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Occasionally I want to connect to a WiFi network that doesn't have a decent DHCP service. I can connect to the AP but I do not get an IP number, DNS server and so on.
Is there a way (an app, maybe) that allows manual configuration of a WiFI connection?
I'm running UrukDroid on Archos 101IT.

Under advanced wifi settings you can manually configure your connection. No need for a special app.
divx118

Related

Internet sharing from Wifi to Bluetooth with a Socks Proxy

I've created my first Windows Mobile application mainly as a learning experience. I thought might as well share it.
I have to use Motorola MC5574 and a laptop without wifi card for work and got tied of sharing slow gprs connection to laptop while in the field.
Internet Sharing on MC55 won't allow me to share wifi over bluetooth or usb. Tried ICS Control but did not work for me.
So this application is created and finished after days of research on internet instead of adding on a wifi card to the laptop.
This program requires Microsoft .Net Compact 3.5.
I do not know if it will work on any other device.
I am not responsible if you use this application and crash your device or whatever else happens.
Main proxy function is based on open source C# proxy server code. Basic DNS proxy and ping functions are added and compiled with SharpDevelop. I could not add soft input panel in SharpDevelop so there is no keyboard icon available.
To use:
Press IP button to list ip addresses.
Select server ip address by using < or > buttons.
Uncheck DNS proxy if used together with built-in Internet Sharing.
Leave it checked if used together with WM6BTPAN.exe and manually put in DNS and Gateway address (server ip address) on laptop bluetooth lan driver.
Press Start.
Don't forget to change socks proxy option in the browser on laptop.
To use with usb connection: On mobile, under ActiveSync>Connections, uncheck "Synchronize all PCs..." and reboot before the usb cable is connected to laptop. If ActiveSync on laptop connects proxy does not work.
In my experience Firefox works better with this app then Internet Explorer for some reason.
Connection limit (on the right of port number) is to prevent process overload by client connections especially on web pages with a lot of elements. It may be better to set the limit higher on the program and change network.http.max-connections value on Firefox.
01/24/2011
New Version: 1.1.
Added KB button for keyboard.
Added DHCP service to make connections easier.
Added DNS resolve function for sharing ActiveSync connection.
Example: if the Internet connection through ActiveSync is shared as [Internet > Router > LAN > PC > ActiveSync > USB > WM phone > Proxy > Wifi Ad-Hoc > another WM phone]:
On PC, in ActiveSync connection settings, check “allow wireless connection” before connecting USB cable.
On the device running proxy: check browser to make sure it is connected to Internet. Create an Ad-Hoc connection with static address (example 192.168.15.1, subnet 255.255.255.0, no gateway address). Wait until connected with client device (which should be set to dynamic IP address). They should connect even though the client will have wrong IP. If they do not connect at this stage don’t bother with next steps.
Once connected start proxy or click on IP button if already started. The Wifi IP address 192.168.15.1 should show up. Set that as proxy server address, check DHCP, and check DNS with 127.0.0.1 as DNS server address. Click Start.
If the Wifi Ad-hoc connection still works the DHCP client count should change in a couple of minutes. If not make sure to keep the devices a few feet apart and also try turning Wifi off and on from the client phone to force DHCP discover again.
On the client phone: Settings > Wifi > configure network adaptors to “connect to work”. In Settings > Connections > Work Network > setup proxy server > enter proxy server as “socks=192.168.15.1” (example proxy server address) > advanced > HTTP > change port to proxy port (default 9876) so that the screen shows HTTP as “socks=192.168.15.1:9876. Socks port setting does not matter, as Mobile IE seems to connect using HTTP setting.
Note:
Tested between Motorola MC5574 and a Samsung Omnia i910. Wifi Ad-hoc connection on Omnia side is unstable and cannot be used as host.
Therefore Internet>MC55>Wifi>Omnia works but Internet>Omnia>Wifi>MC55 does not work reliably.
Nice. Have you seen the SOCKS proxy app from pchasco? http://forum.xda-developers.com/showthread.php?t=414389

[Q] How to disable dhcpd?

Hi,
I have an I9100 running Android 2.3.3 XWKDD which I have rooted. I have installed wpa_supplicant version 0.6ah so the phone now recognises adhoc networks. I have used the wifi settings menu to set a static IP address and and netmask. I have not set values for the gateway or DNS servers because I don't need them.
My problem is that when I connect to any network (including the adhoc network) the phone does NOT use the static IP address but tries to get an address using DHCP and keeps looping. I have tried killing dhcpd and then setting the ip address and netmask manually and this allows me to ping other devices on the network. However, the wireless interface is periodically reset and dhcpd is restarted.
Is there a way of disabling dhcpd or getting the phone to use its static IP settings?
N10

Openvpn connected but not tunneling over VPN

Hi,
I followed several guides on connecting my Galaxy Ace with an Openvpn Server.
I finally managed to connect to a Openvpn server using Certificates with the latest Cyanogen Mod for the Galaxy Ace.
For the Connection I used OpenVPN Settings App from the Market.
The thing is that the connection is established and I see in the config, that VPN is connected. It displays the message:" Connected to 134.x.x.x as 192.168.200.100"
But unfortunately nothing is tunneled over this VPN connection. If I for example check my external IP on the Galaxy device, it still shows me my G3 Provider IP. But I expect to see the IP of my Home Internet Provider. Furthermore no connections to devices on the local Network of the VPN Server can be made.
That means, that despite the VPN Dialog showing me that I am connected to the Open VPN server, no connection is tunneled over that device.
The Guides I used to setup the VPN Connection are from here:
freetz.org/wiki/packages/openvpn
and
riseup.net/en/openvpn-android
If I connect with the same settings from an windows PC to the Server, The connection is established and tunneling just fine.
Anyone knows what I am doing wrong?

[Q] Android unable to connect to my Wi-Fi network - Windows can

I am in university halls of residence. I have setup a Wi-Fi hotspot in my room using a generic router by connecting from the ethernet out port in the wall to a ethernet LAN port and disabling DHCP on the router.
This works perfectly for my Windows 7 laptop. It connects to the router and then to the uni internet without issues. However, although my Samsung Galaxy S3 (International i9300) can detect the network, if I just try to connect to the network as I would any other it gets stuck when obtaining an IP address. After messing around with it for a bit i found that I could get the phone to connect by going into the advanced settings and choosing "static" instead of "DCHP". I don't know what I was really meant to enter for IP Address, gateway, subnet, DNS 1 and DNS 2.
The router has the IP of 192.168.1.1 when i connect it directly to my laptop via ethernet so I tried that as the gateway, I set the IP address to something like 192.168.1.14 (So that it was similar but different), I set the subnet to 255.255.255.0 and the DNS servers I used google's (8.8.8.8 and 8.8.4.4). This got me connected to the router but there doesn't appear to be any internet connection.
I therefore thought that I had entered wrong information for the network (I was only guessing after all). Therefore I went into ipconfig in Windows and copied the default gateway and DNS servers and used a similar IP address (Last number different). I had the same issue.
Does anyone have any suggestions?
I only want Wi-Fi in my room for mobile.

How to set static IP without specifying gateway

I'm trying to set up a Wifi with a static IP but NO gateway or DNS but until I enter a gateway and DNS the save button remains greyed out.
From a networking perspective, you should be able to have a Wifi connection without a gateway (This is true for all devices with multiple network connections) so that it uses an alternative connection (Mobile data in this case) but for some reason the Android devs seem to think otherwise.
The network I'm connecting to has no internet connection (Used for local connectivity only) so I need the phone to still use my mobile connection whilst connected. As Android turns off mobile data when connected to Wifi I was hoping I could leave the gateway blank to force it to use it's mobile connection when connected to this network but I can't
How can I either have mobile data on for just 1 SSID or save a connection with no gateway so it does use mobile (I tried 0.0.0.0 to no avail)?
Phone is a rooted HTC One M8 running Android 4.4.4

Categories

Resources