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...
Related
can sum1 please post step by step instructions on how to connect to another computer on a home wireless network, network is 100% would love to get this working!
thanks
Make sure both wifi adapters are ON (both PC and PDA)
1. On your PDA, go to Start->settings->Connections->Network cards
You should find two tabs "Wireless" & "Network Adapters"
2. Click on Add New (in the wireless tab)
3. Give a convinient name, and select "This is a device-to-device (ad-hoc) connection"
4. Complete it by hitting OK
5. Go to "Network Adapters" tab, and choose "tiacxwln Compatible Wireless Ethernet..." adapter
6. Provide a specific IP address (eg. 192.168.1.2) & subnet mask (eg. 255.255.255.0)
7. Press OK to complete it!
8. Now, on your desktop, double click on your wireless connection tray icon, and then click on "Properties" button
9. Double click on "Internet Protocol (TCP/IP)" in the list to get the tcpip properties
10. Select "Use following IP address, and specify an IP (eg. 192.168.1.1) & subnet (eg. 255.255.255.0)
11. Press Ok, and close all dialogs
12. Now, right click on your wireless tray icon and select "View available wireless networks"
13. If you've got all the above steps right, you should find the Adhoc network you created on your PDA (...you should find the name you provided in step 3!)
14. Connect to it, and you have your wifi adhoc connection established!
Now you can do the following -
1. You can browse the contents of your desktop through Resco by setting up a simple Network drive (as long as you have a username and password for a user account on your desktop, it should be pretty straight forward to do it in resco!)
2. You can use Terminal services client
a. Fire up TSC, and type in your computer's name and press connect
(you can find out by right clicking on your "My Computer" icon and then clicking on properties) Eg. "Laptop" (without the quotes)
b. press connect, and you should see a login screen!
c. Enter your username and password that u use on ur desktop, and you should get things rolling Wink
Cheers!
San
ok, don't want to use adhoc, have a netgear dg834g, are the instructions the same for the adhoc, as in the ip setup?
One point to note, at least on my setup...
If I try TSC and enter my servers name it attempts to connect via GPRS,3G. If however I enter the IP address it connects with Wifi perfectly.
Not sure why but I can live with it...
Regards
gooroo said:
One point to note, at least on my setup...
If I try TSC and enter my servers name it attempts to connect via GPRS,3G. If however I enter the IP address it connects with Wifi perfectly.
Not sure why but I can live with it...
Regards
Click to expand...
Click to collapse
My bet would be that your wifi might not be giving you DNS services and your GRPS is.
You would think so, but my laptop and all the other PC's in the house happily connect using TSC to my server using its NAME instead of it's IP. I just thought it was some thing to do with the Universal.
Anyone knows how is possible to set a different port of 3389 default?
I try to write 192.168.1.X:XXXXX but it's impossible..it says The server name is invalid.
Thankx
No one?
Klaus said:
No one?
Click to expand...
Click to collapse
No way to redirect on the client side but you could redirect on the server side with a port forwarding type app. Kind of defeats the purpose of obscuring port 3389 though.
the problem with wifi gprs umts vpn and tsc all relate to the same issues, namely "." in the addresses.
the full stop and name issues usually relate in some way to the "my work" and "internet" designations of your connection types.
to cut a long story short, if you are having difficulty using IP addresses (I have never got a name to work), then place the IP address you are trying to use in the exceptions section of your connection type.
this way, the OS allows the "." in the addressing.
I think the "." issue is not allowed when you are the "my work" connection type, as this is designed or expects to a name for the connection. this is so even if you are using myserver.mydomain.com as the addressing.
if it detects the fullstop, it assumes you want to use the "internet" connection, disconnects what you are looking for and starts using the "internet" designated connection, and if it cant find one uses the 3g/gprs and auto launches.
what a wonderful system, and I dont really fully understand the need for "my work" versus "internet" but it is at operating system level from microsoft, and occurs on all the WM2005 devices as far as I can establish.
if you search on "my work" vpn gprs or similar through the forums, you will find a detailed outline and explanations.
i encountered the problems when trying to use TSC over a VPN over either WIFI or 3G, it simply kept cutting out after 2 seconds, or couldnt find it.
IP addresses are far better, far faster if you can use them and know them, add these into your exceptions as you will find that they rarely change and it should all start coming together.
hasnt been mentioned and dont know if it is different for the m5000 on WM5 (iam using an m1000 with SDIO WIFI)
If i have the PDA Connected on the Wireless network to enable me to connect through TSC i always have to ensure that my work network is selected for both of the two options in Network Management, (start/settings/connections/connections/advanced/select networks)
The top one 'programs that connect to the internet should connect using' is the key one for me, i have an orange gprs connection i need to ensure this has orange gprs or it will not connect, and vise versa if connecting through wireless it has to be My Work Network
Hello i am 19 years old so i don't exactly have lots of experience with all this. (iv gone down the route of programming in c++. only started looking into Batch seriously for the last few weeks) I am having a problem which i could use help with. Lately i have been using the Microsoft virtual network adapter (im sure heard of it!)
I wrote a small batch file for the purpose of starting the network. (ill copy and paste it in at the bottom) now this program worked perfectly for about a month but now i cant get a device to connect to the network as nothing can obtain an ip address.
What i did to troubleshoot..
1. I changed the ip settings from dhcp to static.
this allowed me to connect to the network but i couldn't access the internet.
2. I checked the properties of the network from the control panel and it
shows that my network is sending packets but is not receiving any. I tried
running windows troubleshooting on the network and it tells me that the
network does not have a valid ip configuration. even though it is set
dhcp.
3. I tried typing the following into cmd "netsh interface ip reset"
in return i get;
"C:\Windows\system32>netsh interface ip reset
Resetting Global, OK!
Resetting Interface, OK!
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting Route, OK!
Resetting , failed.
Access is denied.
Resetting , OK!
Restart the computer to complete this action."
why does it say resetting failed followed by access denied?
i think this is the cause of "failed to obtain ip address problem but why then does it not allow internet connectivity through the static ip settings? is there something i have missed or is something corrupt maybe?
I also tried going to device manager and uninstalling the network adapter from their then allowing windows to find it and re-install the driver.
Thank you for having the patients to read this far. As i said at the beginning i would copy paste my program here so you can see exactly what im trying to do here.
Thanks again.
@ECHO off
color a
:beginning
echo To Create a Hotspot with the name "hotspot" and
echo a password of "12345678" just press ENTER to the first two
echo options
echo ............................................................................... ################################################################################
set /p ssid=Enter name for your network: || set ssid=hotspot
set /p key=Enter password for network(must be 8 characters or longer!): || set key=12345678
netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%key%
netsh wlan start hosted network
:refresh
netsh wlan show hostednetwork
echo Press ENTER to Refresh information!
echo ............................................................................... ################################################################################
echo Enter "RR" to Restart!
echo ............................................................................... ################################################################################
echo Enter "E" to Exit!
echo ............................................................................... ################################################################################
set /p option= || set option=r
if %option%==R goto :refresh
if %option%==r goto :refresh
if %option%==RR goto :beginning
if %option%==rr goto :beginning
if %option%==E goto :end
if %option%==e goto :end
:end
netsh wlan stop hostednetwork
Feel free to use this code for doing anything you want to do with it. (but im sure there are better versions of this that do the same thing online too)
apologies if this thread should not be here. just running out of options for getting this fixed. I believe a forum full of people who hack and mod win 8 probably have the best understanding of it!
feherneoh said:
I could only notice, that where there are 3 lines of netsh wlan next to each other, the middle one has a space in 'hostednetwork', the other 2 don't.
Sent from my Htc Hd2 using xda app-developers app
Click to expand...
Click to collapse
yeah the commands can be either "netsh wlan start hostednetwork" or "netsh wlan start hosted network" it makes no difference.
but yeah that is bad coding on my part never the less.
I know the program works fine its something else causing it not to work properly.
I was having problems with this earlier but someone on reddit helped me fix the problem. Where it asks for network prefix length don't put for example "255.255.255.0" put the actually "24", the shorter version.
Here is a full guide:
Go to a PC on your network, open a command prompt and run the command "ipconfig" then use that to enter the following. Keep in mind I've never used the nexus player...
IP address: Whatever your computer returned as it's IP, add 10 to the last number. So if it said 192.168.0.13, enter 192.168.0.23 in the nexus player. If you have trouble with this, try another number close to these, only changing the very last bit, which should be kept lower than 255.
Gateway: enter exactly what IPCONFIG returned for Default Gateway
network prefix length: I would've expected subnet mask here. If it allows you to enter another IP, try entering the value that IPCONFIG returned for Subnet Mask. If it wants a small number try 24 or /24. (24 corresponds to a subnet mask of 255.255.255.0, if you have a different mask, post it here)
DNS 1 and 2: enter the IP's given by whatever DNS service you are using. There should always be 2. If you only know the first one, check with them and get the second IP.
Keep in mind that it could take up to a day to take affect.
Been using this for a while with older fires but just got a 10 HD with 5.3.1. Was poking around here seeing if a rooting method already exists and noticed a lot of people stuck on 5.3.1, another update looming and everyone saying you can't block updates without root, but there's actually a fairly easy way.
Head on over to OpenDNS.com
Sign up for a Home Free account (completely free)
Login and go to the dashboard and click the "Settings" tab
There will be an area to "add a network" or something similar
Type your WAN IP address here ( whatsmyip.com can help you find that)
Click "Add this network" or whatever it says on the button
Your address will be added to the network list
Click on the drop down menu next to "Settings for:" and select the network you just added
Using the “Manage individual domains” area at the bottom of the page, add the following four domains set to “Always block”:
amzdigital-a.akamaihd.net
amzdigitaldownloads.edgesuite.net
softwareupdates.amazon.com
updates.amazon.com
Now, to use this service, you have to change the DNS settings in your router at home. This step will vary from brand to brand so Google it.
The two DNS IP addresses you need should be listed at the bottom of your OpenDNS dashboard page. Currently, they are 208.67.222.222 and 208.67.220.220
But they might have changed by the time you follow this. Simply add those DNS server IP addresses to your router, apply the changes and then check for a system update on your fire. It should say "Update check failed. " Voila!
.!!!!THINGS TO REMEMBER!!!!.
When using OpenDNS, you need to ensure you update the service if your home IP changes. They have utilities you can install on your PC to do this automatically. If your home IP changes and you don’t update OpenDNS, your Fire will be able to access updates.
If you take your Fire with you somewhere and connect to another network, your file will have access to updates.
There may be an app that lets you set DNS servers on the Fire itself or block domains, but since mine stays home, I've never looked into it.
Remember, not updating is half the battle.!
Thanks for sharing. Looks like you covered most of the caveats.
In the past Amazon has (on occasion) changed update server URLs. IP rotation is common and expected; no one should be using explicit addresses anyhow. I have not followed whether Amazon has stabilized source URLs responsible for OTA updates. Just noting some past behaviors that yielded nasty surprises.
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!