[SOLVED] dnscrypt-proxy can manage it to run auto boot

[SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby naujokas » Jun 3rd, '12, 10:29

tryed edit /etc/rc.d/rc.local adding exec /usr/sbin/dnscrypt-proxy -d at the end of file no luck, then run as root it looks like it is running, bet then try to check with opendns.org shows that it doesn't. tryed different local hosts 127.0.0.2 127.0.0.10 but no luck.
Last edited by naujokas on Jun 3rd, '12, 14:39, edited 1 time in total.
naujokas
 
Posts: 5
Joined: Jun 3rd, '12, 10:21

Re: dnscrypt-proxy can anybody manage it to run auto boot

Postby isadora » Jun 3rd, '12, 10:37

My rc.local only shows:

Code: Select all
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: rc.local
# X-Mandriva-Compat-Mode
# Default-Start: 2 3 4 5
# Short-Description: Local initialization script
# Description: This script will be executed at the end of the boot process.
#              You can put your own initialization stuff in here if you don't
#              want to do the full Sys V style init stuff.
### END INIT INFO

touch /var/lock/subsys/local
    dnscrypt-proxy
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2780
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: dnscrypt-proxy can anybody manage it to run auto boot

Postby naujokas » Jun 3rd, '12, 10:49

ok, had to put 127.0.0.1 in wireless dns settings now its working, starange thing you have to do same settings in two places, solved
naujokas
 
Posts: 5
Joined: Jun 3rd, '12, 10:21

Re: dnscrypt-proxy can anybody manage it to run auto boot

Postby isadora » Jun 3rd, '12, 12:10

Image

Thanks and good luck!!!
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2780
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: dnscrypt-proxy can anybody manage it to run auto boot

Postby doktor5000 » Jun 3rd, '12, 21:07

naujokas wrote:ok, had to put 127.0.0.1 in wireless dns settings now its working, starange thing you have to do same settings in two places, solved

Which same settings do you mean? The hostname definition is one, and the DNS server which should be used is another, and they are totally different settings.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby naujokas » Jun 3rd, '12, 22:39

have to setup network interface and then wireless settings. Iwas doing only network interface with no luck and later just set 127.0.0.1 as dns in wifi settings. so i had to set dns as 127.0.0.1 in two places that is.
naujokas
 
Posts: 5
Joined: Jun 3rd, '12, 10:21

Re: [SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby doktor5000 » Jun 3rd, '12, 23:14

Well, the wireless settings are the network interface. Either you're confusing two things, or you need to decribe it more exactly and more clearly.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby naujokas » Jun 4th, '12, 14:20

ok, il try to explain the best way i can. my wifi is broadcom so after install it isn't supported, so first i have to connect over ethernet. after instaling broadcom-wl i can connect to my wifi but when i disconnect ethernet cable, computer cant access internet. so i have to go to MCC and there set up new network interface on eth1 (that is my wireless card). but wifi is connected to my wifi already just its not set up as to access internet. this is first time i have used opensuse12.1, fedora 17 an never had to set up network interface separate from WIFI settings. with other distros i had internet access as soon as i was connected to WLAN.
naujokas
 
Posts: 5
Joined: Jun 3rd, '12, 10:21

Re: [SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby doktor5000 » Jun 4th, '12, 21:23

Don't know what you did there, that is not normal behaviour. Maybe you only needed to plug out ethernet and reboot to makeit aware that wireless is you default connection ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] dnscrypt-proxy can manage it to run auto boot

Postby naujokas » Jun 4th, '12, 22:32

maybe or maybe i did that, doesn't matter it is working now with dnscrypt-proxy so it is solved :)
naujokas
 
Posts: 5
Joined: Jun 3rd, '12, 10:21


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest