[Q] Custom DNS setting for 3G/WiFi - Galaxy S I9000 Q&A, Help & Troubleshooting

Is it possible to set DNS settings? I'd like to use Google DNS or OpenDNS instead of my providers DNS.

I am also looking for an answer to this.. You should have posted in q & a section though.
Sent from my GT-I9000 using XDA App

I was also wondering this...

I know you can definitely do it on Wifi by going into the Advanced setup of Wifi networks under Settings -> Wireless & Network -> Wi-fi settings -> Select Left selection button and then selecting Advanced.
Can't find it in the APN area though, so not sure how to do it for the cellular connection.

I also would like to know this..

count me in, i've been wanting to do that for a while.
i prefer openDNS

Hi all,
I also have been in this search and somewhere in the forums I have read that it is only possible to set this preference via setprop command. However this setting is lost in a reset and can not be modified permanently.
People were swearing to Google for hiding this option.
Regards.

aegeuss said:
Hi all,
I also have been in this search and somewhere in the forums I have read that it is only possible to set this preference via setprop command. However this setting is lost in a reset and can not be modified permanently.
People were swearing to Google for hiding this option.
Regards.
Click to expand...
Click to collapse
I've found these but I have no idea how to make use of it:
1:
* Android using OS (eg, Linux) network directly, but handle DNS directly.
* DNS lookup order follows
1. /system/etc/hosts lookup
2. system_property [net.eth0.dns1]
* system_property is provided android init process using unix domain socket @property_service
* You should run "init" process for network management.
* You should set up DNS 'net.eth0.dns1' using "/system/bin/setprop", "/etc/default.prop", "/data/local.prob"
2:
Force use of Orange DNS in the ip-up script located in /system/etc/ppp :
/system/bin/setprop "net.gprs.dns1" "194.051.003.056"

Related

Is there a way to change your Wi-Fi Nexus One name

I tried a few searches in this forum and came up empty...but is there a way to change the name that the N1 identifies itself as to your Wi-Fi network? E.g. "Randy's Nexus One" or something like that?
Thanks in advance,
Randy
Yes go to portable hot spot setting then go to configure then advanced and you can change it to whatever u like
-------------------------------------
Sent via the XDA Tapatalk App
We're probably using different Nexus Ones, because on mine there is no "portable hot spot" settings. FroYo? Please elaborate.
For Eclair there's no easy way. I did something like this some time ago:
http://forum.xda-developers.com/showthread.php?p=6261359#post6261359
I hope FroYo added the option to do it easily...
jdmoore81 said:
Yes go to portable hot spot setting then go to configure then advanced and you can change it to whatever u like
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I don't think OP's talking about the N1 as a portable hotspot... rather the device id/name a wireless router picks up when the N1 connects to the router...
I think OP is asking if it's possible to change the DHCP name of the phone
I'd like to know how to change my phone's hostname too.
Well, there are 2 ways to change the phone hostname... but both require root...
1. init.rc way
in init.rc, look for
Code:
on boot
# basic network init
ifup lo
hostname localhost
domainname localdomain
changing hostname to you desired name will change the phone hostname. So you change would look something like this...
Code:
on boot
# basic network init
ifup lo
hostname CRAiG
domainname localdomain
But this process involves building a boot.img with the new init.rc and flashing that boot.img
2. Using an init script in a mod like CM
As in a regular linux system, the following line will allow you to change you hostname without flashing a boot.img
Code:
echo CRAiG > /proc/sys/kernel/hostname
In CM, you can add this line to an init.d script like 01sysctl or 20userinit in /system/etc/init.d
And yeah, this changes the device name on your router, but you might have to delete the existing DHCP lease...
craigacgomez said:
Well, there are 2 ways to change the phone hostname... ...
In CM, you add this line to an init.d script like 01sysctl or 20userinit in /system/etc/init.d
And yeah, this changes the device name on your router, but you might have to delete the existing DHCP lease...
Click to expand...
Click to collapse
It shows that you didn't try it. You can't put it before 04 script, since the services aren't up yet, and it won't change a thing. It has to be after 05 - that's why it's best done through 20userinit or the script that it calls.
To clarify my question...
No, not using N1 as a hotspot, but how my wi-fi router sees my n1 while my N1 is a wi-fi client to it.
Randy
Jack_R1 said:
It shows that you didn't try it. You can't put it before 04 script, since the services aren't up yet, and it won't change a thing. It has to be after 05 - that's why it's best done through 20userinit or the script that it calls.
Click to expand...
Click to collapse
I did try it and I have it working with the change in 01sysctl... and you don't need services up and running to change ur hostname!!!!!
@rmagruder... what I said above with allow you to change how ur wifi router see ur n1
Hostname is for network interface. At least one (localhost) needs to be started for it to work. If there is any additional interface starting - it can change the settings during initialization, which is what's probably happening, at least on my Nexus w/ CM5.0.6. Tested with 01sysctl and it fails, as I wrote in the thread I linked above.

[Q] How to set Proxy on Nexus One Gingerbread 2.3.3?

Hi all,
I need to access my campus internet through wifi. It has a given proxy adress and port. How can I access it using my unrooted nexus one?.....
Thanks,
Android does not natively support a non-transparent proxy.
GldRush98 said:
Android does not natively support a non-transparent proxy.
Click to expand...
Click to collapse
I see. So, I have no choice but to root my phone to use the proxy....
Previously I used the Firefox mobile browser to bypass proxy settings. However, the only application you can use on your phone is the Firefox browser itself.
# Run Firefox, and in address bar type: about:config. This will take you to the advanced configuration panel.
# Now you need to find proxy entries, to simplify that you can filter it out by typing proxy in the field below address bar.
# Modify network.proxy.http and network.proxy.http_port to your proxy server and port.
# Set network.proxy.type value to 1.
I am not sure if this still works but give it a try.
eky said:
I see. So, I have no choice but to root my phone to use the proxy....
Click to expand...
Click to collapse
Yeah... or as madballs (lol) posted, you can try the Firefox beta. But keep in mind, on Firefox will work... no other data services on the phone will.
It is kind of crappy they don't support it, especially when there are other roms out there that have this little function added in.
LOL, I was surprised nobody has taken this name when I registered.
I really cant understand ,, if they could add proxy settings to the browsers without rooting,,
why don't the developers add it in their apps?!?!
Go to the wifi settings there push the menu button and select advanced.
now you have a list within you can set your proxy settings over the current wifi connection.
I have tested it with my DHD at work. works perfect but hope they will connect to the same concept for proxy as by android 3.2.
There you can configure a proxy for each connection.
Cheers
Dave
And sorry for english skills...

[Q] open dns on apn setting

any ways of setting up open dns for apn setting and make it stays?
Try search apps like 'setDNS.apk'..
never use opendns on APN. isn't that opendns for computer or gateway if you want to block nasty websites on your company or home??
and in handphone i think it's no use to set your dns to opendns cause it's your personal device right?
OpenDNS is like any other DNS server, only with tons of options.
You can run in the terminal (as root)
Code:
# setprop net.dns1 208.67.222.222
and/or
Code:
# setprop net.rmnet0.dns1 208.67.222.222
but you will have to do it everytime the connection restarts and Script Manager can help you with that
dabl8 said:
but you will have to do it everytime the connection restarts and Script Manager can help you with that
Click to expand...
Click to collapse
oh just get setDNS like the original poster said. i have got it on my phone at the moment and have got the DNS set to openDNS. this for one makes the new market open 5 or 6 seconds faster than before - thats not my work, i got that off a post off here btw.

Internet Acces Problem: Dns_probe_finished_bad_config

Hi,
I seem to have a problem with my DNS configuration, I can't resolve any hostnames/domains.
All I get is a DNS_PROBE_FINISHED_BAD_CONFIG Error in Google Chrome and other apps which requiere an internet connection also don't seem to work
However when I enter a websites IP adress directly it's working.
This currently happens to me during 2G/3G DATA usage (haven't had a change to test it with wifi yet)
What I have tried so far:
- deleting and reentering APN configurations
- factory reset
Any suggestions?
Same Issue ( different device...)
Wi-Fi is on. Chrome is unable to connect.
Sorry, Forum Mods, but I'm posting here so I can get e-mails if a solution is found.
If you have this problem with your 2g/3g/4g connection, you need to be root and have a terminal app:
in terminal, get root privilege:
Code:
su
then check your actual DNS:
Code:
getprop | grep dns
check for these lines:
Code:
[net.dns1]: [whatever]
[net.dns2]: [1.2.3.4]
To get rid of the dns probe finish bad config error, you need to change one of these DNS to something else so let's change the first one with google's DNS:
Code:
setprop net.dns1 8.8.8.8
And... VOILÀ! (not persistent, tho)
If you have this problem with wifi, it's way simpler and you don't need to be root:
• Open the Settings on the device.
• Select “Wi-Fi”.
• Long press your current network, then select “Modify network”.
• Mark “Show advanced options” check box.
• Change “IP settings” to “Static”
• Add the DNS servers IPs to the “DNS 1”, and “DNS 2” fields.
• Press “Save” button, disconnect from the network, and reconnect for changes to take effect.

[GUIDE] Device Settings Menu Guide, Tips & Discussions | Part I - Connections

Device Settings Menu Guide, Tips & Discussions
Part 1 - Connections​
If you're new to this series or want to see the index, please read Post #2 first.​
The post has been updated as per the settings menu in latest Pie update.[/CENTER]
Wifi
Click on any network:
View supported Network speed, allocated IP address, gateway IP.
Toggle 'Auto Reconnect' to allow/disallow device to connect automatically to the network if it's in range.
Hold on any network > Manage network settings > Advanced > Set Static IP and DNS; Set Proxy;
Wifi Direct: Turn on Wifi Direct on a nearby device as well to transfer files wirelessly and fastly (speed up to gateway supported speed).
Menu > Advanced:
Turn on Wi-Fi Automatically: Your device will automatically enable Wi-Fi where you use it frequently. For example, you can disable your WiFi when you go out and you won't need to enable it again when you get back home. Tasker handles this job for me (try IFTTT for simpler setup).
Wi-Fi power saving mode: (On Pie, hop to developer mode) Analyzes your usage pattern and accordingly toggles WiFi. For example, if you get WhatsApp messages every 30 minutes on an average, the device learns about this traffic pattern and can toggle WiFi accordingly to fetch notifications every 30 minutes or whatsoever period is calculated. I keep this disabled as my usage pattern, like most of you, is dynamic. Better use App Sleep or Hibernation Apps like Greenify to save battery. Learn more about this mode here.
Wi-Fi control history: View apps that have toggled Wi-Fi recently. You can figure out if there's any culprit app that is toggling your Wi-Fi frequently when you have explicitly turned it off/on.
Hotspot 2.0: Automatically connects to APs that support Hotspot 2.0 or 802.11u. Network providers are themselves upgrading existing WiFi in public areas like airports and encryption is a must for Hotspot 2.0 so you can trust and rely on it while you don't have to manually guess the right network. Learn more about Hotspot 2.0 here.
WPS push button; WPS PIN Entry: (Pie doesn't support WPS but Google says it's coming back, Read here) Connect the device to WiFi by pushing WPS button on the router or entering WPS PIN in case these are enabled on the router. Learn about WPS here.
Install network certificates: Normally not needed. Some organization would need you to install certificates to access their domains. Same as what you do on PC to install certificates.
View device's MAC address and allocated IPv6/IPv4. Learn about MAC and IPs here.
Bluetooth
When the Bluetooth is ON, you can STOP/SCAN for nearby devices manually. Keep BT on for playing with following settings.
Menu > Advanced:
Dual Audio: Enables your device to connect to 2 different audio devices and play the same audio on both of them. Samsung explains this here.
Media volume sync: In case the connected audio device supports this, you can change the player's volume by your device's volume rockers by enabling this i.e. you don't have to manually raise the volume to the fullest on both your device and the connected player to get the highest volume possible for your house party.
Ringtone sync: Suggest usage?
Bluetooth control history: Similar as 'WiFi control history' above.
Phone visibility: (Moved to Separate section after Bluetooth in Pie, please tell if it works for BT as well) Allow devices (with Samsung Connect) to find your device for connection. You can disable it unless you live in a Smart Home or transfer files from other devices more often. Learn more about this mode here.
NFC and payment
It's turned ON by default on a new phone so do turn it OFF first. Samsung Pay will turn that ON if needed. The best thing about Samsung's flagship - Samsung Pay uses both NFC and MST (no other brand can do this) for payments. In case you don't know about MST (patented by LoopPay), must read here. MST works everywhere so I've keep NFC disabled.
Android Beam: Allows you to share stuff when you tap your phone with some other-phone-with-already-enabled-NFC.
Tap and pay: Select the default app for Payments and Others. Your default app will open up when you, for instance, tap your phone on an NFC-enabled POS (of course you need NFC to remain ON beforehand). Change 'If open app supports Tap and Pay' to 'Use open app instead of Samsung Pay' in case you want the App's own NFC payment feature, for example, in ICICI's Pockets.
Default NFC Method: By default and normally needed, 'Auto select'. In case you are the curious breed, learn about the different options here.
Flight Mode
Disables your operator's network. Since enabling this will also disable WiFi and Bluetooth altogether, you can turn back these two on without toggling flight mode.
Mobile networks
Data roaming: Enable it if your carrier doesn't charge you for roaming or you're rich enough.
VoLTE calls Primary: You'll see this in case your carrier supports VoLTE calling. #JioWaale
Network mode: By default, 'auto connect'. You can play with the options in case you're facing network mode changing issues or want to save battery (put to 2G only).
Access Point Names: I recommend you to request or configure your operator's settings for the first time even if it had been automatically fetched.
Data usage
Data saver: Formerly known as 'Restrict background data'. Your background apps will stop using network data i.e. you'll receive WhatsApp notifications only when you open the app again. You can also whitelist apps in 'Allow app while Data saver on'. This feature can help a lot in saving battery or making you check the phone less when you're hanging out with your girl. Me no girl so no enable!
Mobile data usage; Billing cycle and data warning: Do check this in a while to review the apps that uses most of your mobile data (maybe you don't need those apps that much on mobile data); Change your operator billing cycle, set data warning and enable data limit in case your operator doesn't give you free GBs.
Wi-Fi data usage; Restrict networks: Like mobile data, you can also review your Wi-Fi usage. Do review it once in a while to identify data-hungry apps that can affect battery and CPU as well; 'Restrict networks' (not available in Pie) helps you define your WiFi networks as 'metered'. It can be useful in a situation where a WiFi network you use is in fact a hotspot running on a device that uses mobile data. You can now restrict apps to use background data as described before in 'Data Saver'.
SIM card manager
Select Icon, Name and Network mode (described above) for the corresponding 'SIM slot' (not the SIM). Select preferred slot for calls, messaging and data. Learn about Smart Dual SIM here.
Mobile Hotspot and Tethering
Mobile Hotspot:
Wi-Fi sharing: In addition to mobile data, you can also share your Wi-Fi. This can be helpful in case you don't want to reveal your network or its credentials or don't know about them.
Menu > Allowed Devices: Enter MAC addresses of clients you want only to connect to your hotspot. Same as MAC filtering in routers.
Menu > Configure Mobile Hotspot; Timeout: Enable 'Hide my device' to stop exposing your SSID. Use 'WPA2 PSK' (Learn about wireless encryption here). 'Power saving mode' is similar to PMS in WiFi Advanced. Keep PMF on by default and change in case client doesn't support; Keep timeout low so that hotspot turns itself OFF earlier in case there's no client or change to 'Never Timeout' if you are going to need it for some time.
Bluetooth tethering; USB tethering: Learn about BT/USB tethering here.
More connection settings
Nearby device scanning: Although it uses Bluetooth Low Energy, I don't live in a Smart Home so have it disabled. If you enable it, you get notifications for nearby devices like TVs that support connections through your device (will annoy you at airports).
Printing: Do download Google Cloud Print and any other printing plugin required by your or your organization's printer.
MirrorLink: Great feature but I don't own a car. Learn more here.
Download Booster: Uses both WiFi and LTE at the same time to download apps over 30MB from Play Store and Galaxy Apps. In case you want that app as soon as possible.
VPN: Configure your VPNs here in case you have. I use Psiphon. You can also manually configure profiles as you do on PC.
Ethernet: Yes, you can use wired connection on your device too. Discussions here.
Private DNS: Pie supports DNS over HTTP/TCP and I recommend reading about this here. I use 1dot1dot1dot1.cloudflare-dns.com.
Series - Full Menu Guide Explained
Series - Device Settings Menu Guide​
Hey XDA! I just got free from the initial setup of my Galaxy Note9. I don't know how many of you do this but I'm one of a kind that gives a considerable amount of time to explore every setting, feature and every single option whenever I get a new device or even when I factory reset the existing one. It's been years since I have started with this curiosity and I have never found an 'all-in-one' menu guide to explain each and every option in the device. Yes, you could also simply google the option you want to know about but how about compiling all of them in one guide? I don't know if this experiment would work or not but here's I am starting with this. I have spent the past three weeks taking out time whenever I could to compile this guide.
There are a couple of reasons I had decided upon to start with this series. Firstly, I want to help newbies (or even experienced) out there to explore and know about every feature or option your device could offer. I have seen many duplicate threads that are created every day to query fellow users even about an individual but unfamiliar option in the settings. I intend to do my bit to clear this clutter and help potential askers to get answers beforehand. Secondly, this guide could serve as a manual in case you want to find or get briefed about an option. You could then simply 'Find in a page' over the threads or simply use XDA's 'search in the thread' option to save your time. Thirdly, since I've broken the settings into different threads, this could help users engage and discuss over a particular device's super-menu and spread their knowledge, come up with new ideas and explore more of their devices. Fourthly, this series is not constrained to Note9 only. The settings on every Android device out there is similar and you would be able to find any common to your device settings here as well. Fifthly, since I have provided links and sources to some options, this can serve as directory map as well. Sixthly, this guide consists of tips for many options that you won't probably find normally.
This guide is intended and recommended to be read by anyone at least once. If you're reading a thread for the first, I recommend you to open up the corresponding settings in your phone and read the settings description in case there is. All the threads are arranged in the same order as the settings would come up. You could then simply read out my description of the same, my selected configuration and hyperlinks to some articles or videos in case you're the curious breed. This guide is strongly recommended after a fresh start. I want you all to give some time to explore each and every option your device can offer.
Hope this experiment lives up to the marks. Both criticism and appreciation are greatly needed and appreciated. Please comment.
I've tried to explain each option you could find by going deep into any setting. No matter whatever links I have provided, I will feel grateful if you want me to explain any feature more than I have done already. Please ask questions related to any settings. Do provide me suggestions and your take on my configuration. Please provide me with more guides and articles for a particular feature. I want to have the precious contribution of XDA members in this guide. Discussion over any feature, setting, your configuration, did-you-knows and anything else is greatly appreciated. This is a newbie-friendly place so don't hesitate to ask questions - besides the fellow XDA members, I'm always here for you.
Regards,
Paras Lehana
Index
Part 1 - Connections
Part 2 - Sounds and vibration, Notifications, Wallpaper and themes
Part 3 - Display, Lock screen, Biometrics and security
Part 4 - Advanced features, Device maintenance, Apps
Part 5 - Cloud and accounts, Google, Accessibility, General management, Software update, User manual, About phone, Developer options
​
-- Reserved for FAQs --
Why are you posting this?
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
henklbr said:
Why are you posting this?
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
Click to expand...
Click to collapse
You have commented the same query on each of my parts. I have already answered you here where the similar discussion is already going on. Let's discuss there and keep this thread clean. Also, the 'why am I posting this' is already described in the Introductory Post.
Is there a way to toggle the "WiFi networks available" notification off?. It seems Samsung's removed this option from the advanced WiFi menu as well as grayed it out from the advanced notifications panel. Thanks.
astrodemoniac said:
Is there a way to toggle the "WiFi networks available" notification off?. It seems Samsung's removed this option from the advanced WiFi menu as well as grayed it out from the advanced notifications panel. Thanks.
Click to expand...
Click to collapse
I tried searching for this on the internet and found that a lot of users are annoyed by this. Did you try disabling Wi-Fi scanning in Connections > Location > Improve accuracy ? Do you even get notifications when your Wi-Fi is turned off? Next time you get this notification, long tap on the notification to know which system package/app is firing this notification. Try disabling it from there. And, can you post screenshot of "advanced notifications panel" where you're seeing grayed out option?
Can the settings menu be sorted alphabetically? in either lineage or stock roms
Problem with 192.168.100.1 address
Everytime I type in the 192.168.100.1 address, I receive a message "Internet Explorer Cannot Display
Webpage". I have tried this several times and it doesn't connect me to the website.
HELP

Categories

Resources