Related
I posted this question in the Networking Forum but got no replies. But here is my problem:
I messed around with the Network adapters settings, while trying to get WiFi to work properly.
Now everytime I connect to ActiveSync via USB, I get the error message, "Unable to obtain Server Assigned IP address". I am sure this is because I set one of the adapters to "Automatic IP", but I don't know which one. Moreso, my Wizard does not access the internet properly when connected via USB.
Could someone please tell me which adapter I wronged, and what setting its supposed to be?
i get this error message randomly. jus wen i wake it up the pop up will be there, i thaught it was jus a gprs error or something.
Same here :?
i´ve been getting the same message each time i plug my phone in to sync with my pc.
But now i put a IP adress in with my Wireless networkcard settings on the phone and the last time i synced the message didn´t show up anymore. Try that maybe it´ll help you too.
edit:
ok sorry, it didn´t work. Just got the same message when i synced the phone on my home pc.
Solution
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
Solution
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
My Wizard loves to give me this error message at random too. I'm curious as to exactly where it's trying to get a server assigned IP address from, and why.
Re: Solution
viking111 said:
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
Click to expand...
Click to collapse
Thanx Viking. Someone had replied my post in the Networking Forum with the same IPs as yours.
Thanx again
i would check you firewall aswell, cus that would block it out if it is not setup right. My does this everytime i get a update for the firewall!!!
2Hiazle...
Enjoy I had the same problem and found this solution in another discussion...
I found that this problem appears when you make ANY configuration changes in "Network Card"((
Hi, all,
I'm having the same problem with a Universal. Would this "fix" work also on my ppc?
Thanks
vmiguel
2vmiguel
Yes, it should... It's a WM problem, not a problem of concrete machine.
tried this fix but it still does it.
Anyone got any other suggestions?
I did the same as you, messing around with settings.....
Anyway I think this is the procedure I did to screw it up.
Click Start, Settings, Connections, Network Cards, Network Adapters.
Then select Remote-NDIS host. The radio button to 'Use specific IP address' is selected but no IP address is entered. You can't exit this screen without either adding an IP address or selecting the 'Use server-assigned IP address' radio button'. If you select 'Use server-assigned IP address' the problem appears thereafter.
To fix it (or at least restore the defaults) you need to edit the registry:
HKLM\Comm\RNDISFN1\Parms\TcpIp\
Change the value of 'EnableDHCP' from 1 to 0.
That fixed it for me.
HTH
Andy
Alright dudes, thought I'd post this up as it seems to be the most optimal solution for fixing most instances of the "Unable to obtain server assigned IP address." and it doesn't seem to be widely publicised. I chose a new thread as there seems to be so many instances of this issue. Might be an idea to put this in a stickie, or the WiKi.
Change the "EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
Basically, the problem is caused by the DHCP IP address assignment timing out, causing the connection to be sometimes dropped (even though an IP address may have originally been acquired without a problem) and hence the error message. Disabling DHCP forces the immediate assignment of the default IP address which doesn't timeout (this has already been detailed on this forum).
Note: This fix retains the internet pass-thru ability of ActiveSync, unlike the other reported solution of disabling "advance network functionality".
I hope this helps some of you out there with this issue.
Or if you dont want to do a registry hack when you can do this:
Settings wireless networks -> network adapters -> Remote-NDIS Host -> use specific IP address:
IP address: 169.254.2.1 <-use these addresses
Subnet: 255.255.255.0
Default GW: 169.254.2.2
Hit OK and that will do it.
ok, so what am I doing wrong?
I have checked my registry, and and value as in post 1 is 0
and I have set the IP address etc as in post 2 and I am still getting this stupid message.
What else can I try?
Any ideas?
thanks
Thanks man!!!
thank you very much....
Nice!
This is awesome. Frustin, I did it without the regedit and the error appears not to be returning. Just go to Settings, R-NDIS on your PPC and put in those numbers. I've been having this error for well over a year!
thanks!!!!!!
you're wonderfull!!!!
Slider758 said:
...
Change the "EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
.........
Click to expand...
Click to collapse
I'm using WMDC (Vistax64) and I had same problem with my TouchDiamond.
I solve this after change registry value :
"EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
Many thank's
thank you man,you can't imagine how you made my life easier with this post. 1000x thx
I have a major issue with my college WiFi network, I can join from every OS, but not from WM (even Symbian can do it!)
My university uses a certificate-based wpa-tkip, I have installed the certificate on my Touch Pro, but I can't login...
More details can be found @
http://www.asi.polimi.it/rete/wifi/istruzioni/Servizio Wireless - Guida Utente.pdf
http://www.asi.polimi.it/rete/wifi/istruzioni/Istruzioni WiFi Linux v1.0.pdf
The language of the guides is Italian, but the images and the scripts are in english, I hope you can help me out with this issue *__*
I even installed Secure2W, but it seem to not work...
SOLUTION @ http://forum.xda-developers.com/showpost.php?p=2815200&postcount=15
Anyone?
I can't really find a solution ç__ç
Same issue here. This connection would be very useful, because the whole campus is covered by wifi and since I spend lots of hour there...
After installing the certificate, while attempting the connection, a further username+domain is required. That does't happen with a pc or a mac.
Some specs about the authentication:
- Auth: WPA
- Encr: TKIP
Certificate:
- Sha1 RSA @ 1024 bit
Did someone succeed in logging into similar networks?
Fulcrum.
Are you using Schaps Advanced config 3.2? If so then you need to make a couple of changes.
619619 said:
I have a major issue with my college WiFi network, I can join from every OS, but not from WM (even Symbian can do it!)
My university uses a certificate-based wpa-tkip, I have installed the certificate on my Touch Pro, but I can't login...
More details can be found @
http://www.asi.polimi.it/rete/wifi/istruzioni/Servizio Wireless - Guida Utente.pdf
http://www.asi.polimi.it/rete/wifi/istruzioni/Istruzioni WiFi Linux v1.0.pdf
The language of the guides is Italian, but the images and the scripts are in english, I hope you can help me out with this issue *__*
I even installed Secure2W, but it seem to not work...
Click to expand...
Click to collapse
leobalou said:
Are you using Schaps Advanced config 3.2? If so then you need to make a couple of changes.
Click to expand...
Click to collapse
Do you mean enabling:
# Validate server certificate
# WPA authentication
???
No I mean setting:
Network -> WPA auth... from enabled to Disabled
And Wi-Fi delay after boot: 0
I could not connect - I changed these settings, rebooted and it resolve my problem.
I hope this works for you too.
Fulcrum1 said:
Do you mean enabling:
# Validate server certificate
# WPA authentication
???
Click to expand...
Click to collapse
Ok, I'm gonna try tomorrow morning and I'll report back asap.
Thanks
Thank you, I'm going to try tomorrow too
I hope to reply a success from my Raphael!
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Sorry to hear that - it worked for me and others - sorry.
Can anyone else help this guy???
Fulcrum1 said:
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Click to expand...
Click to collapse
Fulcrum1 said:
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Click to expand...
Click to collapse
The same happens to me
I will try again more combinations tomorrow...
Sorry for the bump, but I think I have found the issue.
When I try to connect to the network and configure the access wm tells me that there is no personal certificate, but I have installed the certificate.
But I noticed that the provider certificate is an Intermediate, not a personal certificate!
So I can't configure anything, nor connect!
There is something wrong with the certificate installation, why it is located in Intermediate and not in Personal?
EDIT: I've renewed my certificate, and now it's in the personal tab, the previous one was without the personal Key, this time must be it
It's a no-go ç__ç
If I choose PEAP autentication the phone locks up and needs a soft-reset when I try to connect
I've solved it!
Now I can successfully connect to the WiFi Area!
A tutorial is on the way
Here I am, sorry for the long delay.
I solved my problem following this procedure:
Install the certificate on your device (The certificate must have the user key emended)
You must edit this registry key: HKLM\Comm\EAP\Extension\25\ValdateServerCert change it to 0
Reboot your device
Now you can create your network settings, for my network I had to set:
Network name: The network SSID
This is a Hidden network: True
Autentication: WPA
Data Encryption: TKIP
EAP Type: PEAP (Select your certificate from the list)
That's it, now it should work, or at least it's working on my network
Hi!
u have a little typo in there: its HKLM\Comm\EAP\Extension\25\ValidateServerCert ... and unfortunately this solution does only prevent WM to check for a serverside Certificate but does NOT solve the bug with the configuraton - popup:
o When coming to the page where u can change the auth method from certificates to PEAP, then the popup will nag us. No chance to get into the peap config to set MsChap V2 for example. We *can* prevent the popup by renaming the key for the certificate method HKLM\Comm\EAP\Extension\13 to HKLM\Comm\EAP\Extension\130 for example (so the popup is elimanted because then peap has the lower number and is handled first) *but* its still impossible to get into that damn config...
*That* Problem seems to be unsolved so far.. :-(
One of my employees told that he managed to get into the network by simply pressing "ok" at this popup, closing the wizard and when connecting to the network the username / password (mschap v2) Dialogue came -> and he was online. But unfortunately this was un-reproduceable
Any hints highly appreciated (for getting into a secured network by mschapv2 on user/password basis)
Yeah, I'm having the same problem as well...
I tried to follow the intructions to log on the wireless network available at the hospital I work, but these instructions are for desktop computers and notebooks and they have steps that I can't accomplish in my blackstone. The instructions are the following (for windows XP):
-add a new network with the name: wifiuel
-choose WPA2 autentication
-choose AES cryptography
-choose PEAP access, go to properties and uncheck all options. Also, at autentication method EAP-MSCHAPv2, click on configure and uncheck the option to use the logon's name and password automaticly.
There are a few more steps, but from this last one I can´t go on. When I tap on the properties buton on my blackstone, I get the following warning: "Cannot log on to the wireless network. This network requires a personal certificate to positively identify you."
I've tried to make the registry tweaks available in this post, but I still can't connect. The network manager says I´m connected but at the same time, the little locker icon is also shown in front of the network's name and I just can't access any website.
The real thing is, as licht77 said, I can get rid of the WM checks for a serverside Certificate but it does NOT solve the bug with the configuraton, as I still can't get into the peap config to set MsChap V2.
Can anybody help us?
Same on My Rhodium TP2
My University settings are:
SSID: 4csuuseonly (visible)
Security: WEP-enterprise
Encription: TKIP
cert: PEAP
than i have to put Username and Password; but i could never get to that step.
It did worked couple of time for me,
What I did was I created a LEAP in wifi settings with SSID, USERID and PassWord
then I enter the SERVER ,ID n Password Under "Enroll" tab in wifi settings
It did work few times; I don't know if that may help
We all Need a Solid Solution
Edit: I tried SecureW2 software to connect , Played with the software for two days. Did the reg hack, didn't help either.
Finally I uninstalled the secureW2, and guess what after the soft Reset, when i hit connect it did ask me Id and Pass.
And Now it connects within two seconds every time I go to school.
Couldn't really figure out How did it worked
Has anyone been able to get Clearwire / Freedompops 4G USB Stick to work in any rom?
It supposedly is compatible with android under with RNDIS or CDC support. Plugging it in, my a500 recognizes it and asks to start PPPWidget, however PPP widget does not find a driver. Model is the ubee atlas usb stick.
Under terminal emulator I've tried:
dhcpcd eth0
netset.eth0.dns1 208.67.222.222
ifconfig displays eth0 with a MAC address matching my stick and an IP address, but I've got no connection in browser.
This is under the latest flexreaper rom.
hey gtjeffc,
i got my ubee stick just today from freedompop, and all i had to do was run 'dhclient eth1'
there's a web interface available for the modem at 192.168.14.1
also, this was in my resolv.conf:
search clearwire-wmx.net
nameserver 192.168.14.1
nameserver 66.233.172.12
nameserver 75.94.255.12
pakf said:
hey gtjeffc,
i got my ubee stick just today from freedompop, and all i had to do was run 'dhclient eth1'
there's a web interface available for the modem at 192.168.14.1
also, this was in my resolv.conf:
search clearwire-wmx.net
nameserver 192.168.14.1
nameserver 66.233.172.12
nameserver 75.94.255.12
Click to expand...
Click to collapse
Excellent news. Did you need superuser permission to run it? I will try it when I get home - hopefully it will work and we can put in a script that will run when the modem is detected to auto-run when it's inserted in the USB port.
gtjeffc said:
Excellent news. Did you need superuser permission to run it? I will try it when I get home - hopefully it will work and we can put in a script that will run when the modem is detected to auto-run when it's inserted in the USB port.
Click to expand...
Click to collapse
Ok, got it to work. At first I could only get to 192.168.14.1, until I added another interface in dhcpcd.conf. I set the ubee stick to NAT mode as well.
It works, but not all applications recognize that there is a network connection (Play, Maps).
What ROM are you using?
Let me get this straight. Freedompop now runs on Android tablets and if so has anyone cloned to Android phones yet by using the MAC Address. I know there's a Iphone sleeve but I'd like to reduce the carrying load.
gtjeffc said:
Ok, got it to work. At first I could only get to 192.168.14.1, until I added another interface in dhcpcd.conf. I set the ubee stick to NAT mode as well.
It works, but not all applications recognize that there is a network connection (Play, Maps).
What ROM are you using?
Click to expand...
Click to collapse
What ROM are you on? I tried in on one of the jellytime builds and I can get to the management interface but in NAT mode it looks like dns requests are never fulfilled despite having dhcpcd entries and resolv.conf entries.
---------- Post added at 10:51 PM ---------- Previous post was at 10:25 PM ----------
sidenote, I just tried to access google directly via ip and it worked, check my ip and its the stick's ip.. so something is wrong with the dns settings of the stick.
Okay, manually setting the ip works I did both
setprop net.eth0.dns1 x.x.x.x
and
setprop net.dns1 x.x.x.x
and it worked after the second one, so I'm not sure if the first is needed. Now to figure out a way to automatically run dhcpcd eth0 when the usb is inserted..
UBee Stick PXU1964 4G - noobe trying to get it working
Hey There hoping for a little direction.
I tried PPPWidget on my Acer A500 rooted with JellyTime+ Ver. 4.1.2. I have a 4G dongle from Freedompop it's a Ubee Stick PXU1964.
Plugging in the stick It seams to lock and get 2 bars of signal. The Widget recognizes its plugged in but then says "no drivers". The Widget directory shows no files in any of folders - cfg,lib or log I don't know if that is normal or not.
Using the Terminal emulator I was able to get to the stick and in the browser display the setup screen. But I still can't get to the net.
Anyone get any further??
Any help would be appreciated sure would like to get this working.:good:
Here is what I have done so far:
on tablet launch terminal prgm
type: su "rtn"
type: netcfg (check eth0 or eth1or usb0 or usb1 is up; if down do next step)
type: ifconfig eth0 up
type: dhcpcd eth0
type: setprop dns1 66.233.127.12 (or use whatever DNS server you wish)
type: ifconfig eth0 192.168.0.2 (just picked this ip)
Launch browser go to stick setup adr (192,168.14.1) - displays Ubee Stick setup screen
try google.com says not connected
Update: March 7,2013
YAHOOOO Success~~
I have successfully been able to repeatedly connect to the FreedomPop 4G network with my A500 and JellyTime (JellyBean Spinoff Custom ROM). And also I have optimized the process to just 4 steps and it does not require any connections to a PC or other device.
This requires the tablet be Rooted.
Plug in your FreedomPop Ubee Stick PXU1964 USB 4G Dongle - should work with any dongle though
Launch your Terminal emulator.
Check to see if the Dongle green light stays on indicating it has acquired a signal and that
you have some bars of signal.
At the prompt
type: su ( To invoke super user access)
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose (You can type: netcfg to confirm the Dongle is seen by the Tablet)
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Thats all there is to it.
You can check things are setup correctly by:
typing: netcfg
It will reply with all connected devices and eth0 will show the IP address and port - mine was 192.168.1.12/24 and reading
further it shows the MAC address of the Dongle.
Launch your favorite browser and input 192.168.14.1 (for the FreedomPop PXU1964) for the URL or what ever URL is required by your device.
The FreedomPop setup screen should appear. Click on Network about center screen and it should show how many bytes transferred.
Click on the Advanced Link and insure it's set to NAT Mode.
Open another browser window and select your favorite Web Site URL and it should come up!
Happy 4g browsing!!!!! Seems to work pretty good even with one or two bars although the download is fastest when all the bars are lite and
the signal to noise ratio is at its best......
Next project is to script this process and automate it - unfortunately I don't know how to do that so I have some studying to do before I can ----
That is unless someone takes pity on me and points me in the right direction.... Any takers to help an old man? (;>
Thanx in advance.....
Last Update April 15th, 2013
Within a couple of days of my last post I found out how to automate the process above. It is actually very simple. It would have been nice if someone would have thrown a dog bone as it would have only taken a couple of minutes. Guess nobody ever looks at these old posts?? Anyway If your trying to connect try this it might work.
Download SManager and SMWidgets from the Google Play Store - the free version(s) works fine or you can use any Text Editor although SManager ads is really nice for making scripts. SMWidgets is needed to make the widget and generate the Icon to launch your application from the Home Screen.
Launch SManager access the tool bar and select "New Script" Enter a filename, I choose FreedomPop.sh - Notice the ( .SH) that tells android it is a script - similar to .bat in DOS.
Enter the filename and press ok. SManager responds with "Open With..." and provides options for editing. Choose SM Editor or a text editor.
After the line: #!/system/bin.sh
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose) Optional -You can type: netcfg to confirm the Dongle is seen by the Tablet
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Select save or back out to the file screen, it will ask if you wish to save your work. Say yes. Find your script in the listing and press and hold until the menu comes up. Select (Open as...) and Open As... Script/Executable.
On the 3rd Line select the "SU" icon.
On the default (4th Line)make sure to select "Is script".
At this point you can change the Alias which should contain the script name you choose.
Save your work.
Hit run to test out your script.
Lastly grab the SMWidgets icon from the widgets icons screen and move it to an available space on your home screen. It will launch and select
"Add one script widget" Select your script and it will create a quick launch Icon that will launch your script.
Good Luck!
Thank you!
Dude thank you very much on this useful tutorial. I bought the freedompop stick and when I plugged it in, it was not working and I thought it is just another waste of my money....until I ended up with your tutorial. Thanks a lot, and you method worked on my rooted Verizon Galaxy Note 2 (stock rom).:highfive:
PBates123 said:
Hey There hoping for a little direction.
I tried PPPWidget on my Acer A500 rooted with JellyTime+ Ver. 4.1.2. I have a 4G dongle from Freedompop it's a Ubee Stick PXU1964.
Plugging in the stick It seams to lock and get 2 bars of signal. The Widget recognizes its plugged in but then says "no drivers". The Widget directory shows no files in any of folders - cfg,lib or log I don't know if that is normal or not.
Using the Terminal emulator I was able to get to the stick and in the browser display the setup screen. But I still can't get to the net.
Anyone get any further??
Any help would be appreciated sure would like to get this working.:good:
Here is what I have done so far:
on tablet launch terminal prgm
type: su "rtn"
type: netcfg (check eth0 or eth1or usb0 or usb1 is up; if down do next step)
type: ifconfig eth0 up
type: dhcpcd eth0
type: setprop dns1 66.233.127.12 (or use whatever DNS server you wish)
type: ifconfig eth0 192.168.0.2 (just picked this ip)
Launch browser go to stick setup adr (192,168.14.1) - displays Ubee Stick setup screen
try google.com says not connected
Update: March 7,2013
YAHOOOO Success~~
I have successfully been able to repeatedly connect to the FreedomPop 4G network with my A500 and JellyTime (JellyBean Spinoff Custom ROM). And also I have optimized the process to just 4 steps and it does not require any connections to a PC or other device.
This requires the tablet be Rooted.
Plug in your FreedomPop Ubee Stick PXU1964 USB 4G Dongle - should work with any dongle though
Launch your Terminal emulator.
Check to see if the Dongle green light stays on indicating it has acquired a signal and that
you have some bars of signal.
At the prompt
type: su ( To invoke super user access)
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose (You can type: netcfg to confirm the Dongle is seen by the Tablet)
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Thats all there is to it.
You can check things are setup correctly by:
typing: netcfg
It will reply with all connected devices and eth0 will show the IP address and port - mine was 192.168.1.12/24 and reading
further it shows the MAC address of the Dongle.
Launch your favorite browser and input 192.168.14.1 (for the FreedomPop PXU1964) for the URL or what ever URL is required by your device.
The FreedomPop setup screen should appear. Click on Network about center screen and it should show how many bytes transferred.
Click on the Advanced Link and insure it's set to NAT Mode.
Open another browser window and select your favorite Web Site URL and it should come up!
Happy 4g browsing!!!!! Seems to work pretty good even with one or two bars although the download is fastest when all the bars are lite and
the signal to noise ratio is at its best......
Next project is to script this process and automate it - unfortunately I don't know how to do that so I have some studying to do before I can ----
That is unless someone takes pity on me and points me in the right direction.... Any takers to help an old man? (;>
Thanx in advance.....
Last Update April 15th, 2013
Within a couple of days of my last post I found out how to automate the process above. It is actually very simple. It would have been nice if someone would have thrown a dog bone as it would have only taken a couple of minutes. Guess nobody ever looks at these old posts?? Anyway If your trying to connect try this it might work.
Download SManager and SMWidgets from the Google Play Store - the free version(s) works fine or you can use any Text Editor although SManager ads is really nice for making scripts. SMWidgets is needed to make the widget and generate the Icon to launch your application from the Home Screen.
Launch SManager access the tool bar and select "New Script" Enter a filename, I choose FreedomPop.sh - Notice the ( .SH) that tells android it is a script - similar to .bat in DOS.
Enter the filename and press ok. SManager responds with "Open With..." and provides options for editing. Choose SM Editor or a text editor.
After the line: #!/system/bin.sh
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose) Optional -You can type: netcfg to confirm the Dongle is seen by the Tablet
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Select save or back out to the file screen, it will ask if you wish to save your work. Say yes. Find your script in the listing and press and hold until the menu comes up. Select (Open as...) and Open As... Script/Executable.
On the 3rd Line select the "SU" icon.
On the default (4th Line)make sure to select "Is script".
At this point you can change the Alias which should contain the script name you choose.
Save your work.
Hit run to test out your script.
Lastly grab the SMWidgets icon from the widgets icons screen and move it to an available space on your home screen. It will launch and select
"Add one script widget" Select your script and it will create a quick launch Icon that will launch your script.
Good Luck!
Click to expand...
Click to collapse
Got 169.254 ip addr
PBates123 said:
Hey There hoping for a little direction.
I tried PPPWidget on my Acer A500 rooted with JellyTime+ Ver. 4.1.2. I have a 4G dongle from Freedompop it's a Ubee Stick PXU1964.
Plugging in the stick It seams to lock and get 2 bars of signal. The Widget recognizes its plugged in but then says "no drivers". The Widget directory shows no files in any of folders - cfg,lib or log I don't know if that is normal or not.
Using the Terminal emulator I was able to get to the stick and in the browser display the setup screen. But I still can't get to the net.
Anyone get any further??
Any help would be appreciated sure would like to get this working.:good:
Here is what I have done so far:
on tablet launch terminal prgm
type: su "rtn"
type: netcfg (check eth0 or eth1or usb0 or usb1 is up; if down do next step)
type: ifconfig eth0 up
type: dhcpcd eth0
type: setprop dns1 66.233.127.12 (or use whatever DNS server you wish)
type: ifconfig eth0 192.168.0.2 (just picked this ip)
Launch browser go to stick setup adr (192,168.14.1) - displays Ubee Stick setup screen
try google.com says not connected
Update: March 7,2013
YAHOOOO Success~~
I have successfully been able to repeatedly connect to the FreedomPop 4G network with my A500 and JellyTime (JellyBean Spinoff Custom ROM). And also I have optimized the process to just 4 steps and it does not require any connections to a PC or other device.
This requires the tablet be Rooted.
Plug in your FreedomPop Ubee Stick PXU1964 USB 4G Dongle - should work with any dongle though
Launch your Terminal emulator.
Check to see if the Dongle green light stays on indicating it has acquired a signal and that
you have some bars of signal.
At the prompt
type: su ( To invoke super user access)
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose (You can type: netcfg to confirm the Dongle is seen by the Tablet)
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Thats all there is to it.
You can check things are setup correctly by:
typing: netcfg
It will reply with all connected devices and eth0 will show the IP address and port - mine was 192.168.1.12/24 and reading
further it shows the MAC address of the Dongle.
Launch your favorite browser and input 192.168.14.1 (for the FreedomPop PXU1964) for the URL or what ever URL is required by your device.
The FreedomPop setup screen should appear. Click on Network about center screen and it should show how many bytes transferred.
Click on the Advanced Link and insure it's set to NAT Mode.
Open another browser window and select your favorite Web Site URL and it should come up!
Happy 4g browsing!!!!! Seems to work pretty good even with one or two bars although the download is fastest when all the bars are lite and
the signal to noise ratio is at its best......
Next project is to script this process and automate it - unfortunately I don't know how to do that so I have some studying to do before I can ----
That is unless someone takes pity on me and points me in the right direction.... Any takers to help an old man? (;>
Thanx in advance.....
Last Update April 15th, 2013
Within a couple of days of my last post I found out how to automate the process above. It is actually very simple. It would have been nice if someone would have thrown a dog bone as it would have only taken a couple of minutes. Guess nobody ever looks at these old posts?? Anyway If your trying to connect try this it might work.
Download SManager and SMWidgets from the Google Play Store - the free version(s) works fine or you can use any Text Editor although SManager ads is really nice for making scripts. SMWidgets is needed to make the widget and generate the Icon to launch your application from the Home Screen.
Launch SManager access the tool bar and select "New Script" Enter a filename, I choose FreedomPop.sh - Notice the ( .SH) that tells android it is a script - similar to .bat in DOS.
Enter the filename and press ok. SManager responds with "Open With..." and provides options for editing. Choose SM Editor or a text editor.
After the line: #!/system/bin.sh
type: Ifconfig eth0 192.168.1.12 ( Can be any IP address you choose) Optional -You can type: netcfg to confirm the Dongle is seen by the Tablet
type: dhcpcd eth0 ( Wait for lease to complete and next prompt.)
type: setprop net.dns1 8.8.8.8 (use any dns server - I used Google's free dns server or 8.8.4.4 also Google)
Select save or back out to the file screen, it will ask if you wish to save your work. Say yes. Find your script in the listing and press and hold until the menu comes up. Select (Open as...) and Open As... Script/Executable.
On the 3rd Line select the "SU" icon.
On the default (4th Line)make sure to select "Is script".
At this point you can change the Alias which should contain the script name you choose.
Save your work.
Hit run to test out your script.
Lastly grab the SMWidgets icon from the widgets icons screen and move it to an available space on your home screen. It will launch and select
"Add one script widget" Select your script and it will create a quick launch Icon that will launch your script.
Good Luck!
Click to expand...
Click to collapse
Hi PBates123,
I followed your direction and successfully put the eth0 ip as 192.168.1.12. eth0 is up. However, every time I run dhcpcd eth0, it say "using IPv4LL 169.254.109.250" I cannot get to 192.168.14.1, nor the internet.
I notice that the MAC id show in eth0 and my stick MAC id is different by only the last digit, it's 9 instead of 7. Is this normal ? Also, do you suppose to be able to browser the content of your usb freedom stick? Since mine seems not to be mounted.
I also have the Freedompop Ubee Stick PXU1964. My android tablet is Curtis KLu LT7033.
Any help would be appreciated. I have gotten this far and went through a great pain to successfully root my Klu tablet...
I see alot of questions about VPN's so I've decided to post an easy way to setup PIA VPN on a router running DD-WRT. I'm currently using a Netgear R8000 as a VPN router. Please note that running a VPN on your router will slow your speeds way down. I'm currently hitting 15-30mbps which is ok to run the firestick. The settings I am posting is what seems to be the fastest and most reliable for me. You can alway change the server you want to use but do not change anything else. Once your done rebooting you can test to make sure you are completely secure on the PIA webpage then go and run your DNS Leak Tests. If you are going to run a double router setup (which I am running) let me know and I'll post the setup for that also.
First you need to login to your router. Normally you would type 192.168.1.1 into the search bar. Default username for Netgear is "admin", password is "password".
In the DD-WRT Control Panel page, navigate to Setup > Basic Setup.
Under Network Address Server Settings (DHCP), set:
Static DNS 1 = 4.2.2.1
Static DNS 2 = 4.2.2.2
Static DNS 3 = 4.2.2.3
Use DNSMasq for DHCP = Checked
Use DNSMasq for DNS = Checked
DHCP-Authoritative = Checked
Save and Apply Settings.
Next navigate to Administration > Commands.
Cut and paste this insert your username and password USERNAME="user-name-here" and PASSWORD="password-here" , click the Save Startup button, then Reboot Router. :
#!/bin/sh
USERNAME="user-name-here"
PASSWORD="password-here"
PROTOCOL="udp"
# Add - delete - edit servers between ##BB## and ##EE##
REMOTE_SERVERS="
##BB##
# US - MIDWEST
remote us-midwest.privateinternetaccess.com 8080
##EE##
"
#### DO NOT CHANGE below this line unless you know exactly what you're doing ####
CA_CRT='-----BEGIN CERTIFICATE-----
MIID2jCCA0OgAwIBAgIJAOtqMkR2JSXrMA0GCSqGSIb3DQEBBQUAMIGlMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCT0gxETAPBgNVBAcTCENvbHVtYnVzMSAwHgYDVQQK
ExdQcml2YXRlIEludGVybmV0IEFjY2VzczEjMCEGA1UEAxMaUHJpdmF0ZSBJbnRl
cm5ldCBBY2Nlc3MgQ0ExLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50
ZXJuZXRhY2Nlc3MuY29tMB4XDTEwMDgyMTE4MjU1NFoXDTIwMDgxODE4MjU1NFow
gaUxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMx
IDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2
YXRlIEludGVybmV0IEFjY2VzcyBDQTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHBy
aXZhdGVpbnRlcm5ldGFjY2Vzcy5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
AoGBAOlVlkHcxfN5HAswpryG7AN9CvcvVzcXvSEo91qAl/IE8H0knKZkIAhe/z3m
hz0t91dBHh5yfqwrXlGiyilplVB9tfZohvcikGF3G6FFC9j40GKP0/d22JfR2vJt
4/5JKRBlQc9wllswHZGmPVidQbU0YgoZl00bAySvkX/u1005AgMBAAGjggEOMIIB
CjAdBgNVHQ4EFgQUl8qwY2t+GN0pa/wfq+YODsxgVQkwgdoGA1UdIwSB0jCBz4AU
l8qwY2t+GN0pa/wfq+YODsxgVQmhgaukgagwgaUxCzAJBgNVBAYTAlVTMQswCQYD
VQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50
ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2YXRlIEludGVybmV0IEFjY2VzcyBD
QTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHByaXZhdGVpbnRlcm5ldGFjY2Vzcy5j
b22CCQDrajJEdiUl6zAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAByH
atXgZzjFO6qctQWwV31P4qLelZzYndoZ7olY8ANPxl7jlP3YmbE1RzSnWtID9Gge
fsKHi1jAS9tNP2E+DCZiWcM/5Y7/XKS/6KvrPQT90nM5klK9LfNvS+kFabMmMBe2
llQlzAzFiIfabACTQn84QLeLOActKhK8hFJy2Gy6
-----END CERTIFICATE-----'
OPVPNENABLE=`nvram get openvpncl_enable | awk '$1 == "0" {print $1}'`
if [ "$OPVPNENABLE" != 0 ]; then
nvram set openvpncl_enable=0
nvram commit
fi
sleep 10
mkdir /tmp/pia; cd /tmp/pia
echo -e "$USERNAME\n$PASSWORD" > userpass.conf
echo "$CA_CRT" > ca.crt
echo "#!/bin/sh
iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE" > route-up.sh
echo "#!/bin/sh
iptables -t nat -D POSTROUTING -o tun0 -j MASQUERADE" > route-down.sh
chmod 644 ca.crt; chmod 600 userpass.conf; chmod 700 route-up.sh route-down.sh
sleep 10
echo "client
auth-user-pass /tmp/pia/userpass.conf
management 127.0.0.1 5001
management-log-cache 50
dev tun0
proto $PROTOCOL
comp-lzo adaptive
fast-io
script-security 2
mtu-disc yes
verb 4
mute 5
cipher bf-cbc
auth sha1
tun-mtu 1500
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
log-append piavpn.log
ca ca.crt
status-version 3
status status
daemon
$REMOTE_SERVERS" > pia.conf
ln -s /tmp/pia/piavpn.log /tmp/piavpn.log
ln -s /tmp/pia/status /tmp/status
(killall openvpn; openvpn --config /tmp/pia/pia.conf --route-up /tmp/pia/route-up.sh --down /tmp/pia/route-down.sh) &
exit 0
This is a really helpful post because not too many people out there are trying to do this exact thing.
I've tried like heck with my Linksys WRT3200ACM running DD-WRT build 2/17/2018. I have a Fire TV that I use mostly for running sideloaded Android apps and playing local network media from my NAS. I wanted to get the Fire TV to go through PIA on my router and allow the rest of my home network traffic to avoid the VPN.
With the easy GUI, I was able to get PIA to show a stable connection on the DD-WRT Status/VPN page, so I think it's working. The problem arose when I reserved an IP for the Fire TV on my router outside the DHCP range and named that IP as the single one to go through the VPN. I'm told, policy based routing switches the router application of the VPN to white listing only named addresses to use the service. That seemed to work, because as soon as I named an IP for policy based routing, all other traffic jumped to full (non-VPN) speed and showed as unprotected at the PIA website.
The problem was, when the Fire connected to the reserved IP, it immediately showed a loss of internet connectivity. No amount of fiddling with settings has brought joy. I suspect that something in my setup is wrong. Is it okay to set the reserved IP on the router via the MAC/host address? Is it okay to leave the wired Fire TV network setting at default, assuming it just joins the IP reserved for it? (I think so, because the reserved IP setup worked as long as I had the OpenVPN settings disabled) Also, since I've had constant trouble with UDP in my PIA settings, is it okay to switch to TCP as I have done?
Anyway, I finally hit the wall and I'm posting to the collective brain of the internet about this. I guess it's all too vague to solve as there are about a hundred moving parts, but I thought I'd give it a shot.
Thanks!