Author |
Message |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Sat 18 Nov 2017, 11:11 Post subject:
|
|
Interesting security article here. Users of PWF can implement this as follows:
1. Create the file: /etc/resolv.conf.head (make sure that you spell it correctly!)
2. Add the line: nameserver 9.9.9.9
|
Back to top
|
|
 |
soniabu

Joined: 01 Feb 2018 Posts: 162 Location: Paris
|
Posted: Fri 09 Feb 2018, 05:25 Post subject:
PWF and DNScrypt |
|
hello rcrsn51 are sonia, this thread was reported to me by matchpoint.
I would like to use on my xenialpup64 7.5 installed (USB stick) the PWF combined with the DNScrypt.
Everything should be connected via Ethernet.
Also I would like to use the primary and secondary DNS provided
from the Opennic Project.
In short words:
use DNScrypt with primary and secondary DNS specified by me.
Do you have any experience or suggestion of how I have to insert primary and secondary DNS?
P.S.
I read on page 15 this
" PWF uses udhcpc to acquire an IP address and DNS server from your ISP. But in rare cases, you may want to choose a different DNS server, like Google's 8.8.8.8.
1. Go to /etc and create a file named resolv.conf.head as follows:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
2. Reboot and connect.
3. Check the file /etc/resolv.conf
4. To restore your ISP's choice of DNS server, just delete the file /etc/resolv.conf.head"
So I gather that if I want to address primary and secondary DNS taken from OpenNic I'll have to create a resolv.conf.head, right?
thanks sonia
Last edited by soniabu on Sat 10 Feb 2018, 15:11; edited 1 time in total
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Fri 09 Feb 2018, 10:06 Post subject:
|
|
Yes, that's what it means.
|
Back to top
|
|
 |
soniabu

Joined: 01 Feb 2018 Posts: 162 Location: Paris
|
Posted: Fri 09 Feb 2018, 12:16 Post subject:
|
|
thx rcrsn51,
last question:
have you had experience with DNScrypt?
I have not trouble entering PWIFE the dnserver 127.0.0.2.
however I can not understand if this is a correct DNScrypt address in Xenialpup, because when I insert it and try to reach a website with palemoon
the browser stays in search without answering anything.
thx again
sonia
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Fri 09 Feb 2018, 12:35 Post subject:
|
|
I have no experience with DNScrypt.
In the other thread, labbe5 needs to confirm that he actually got this to run on a Puppy.
|
Back to top
|
|
 |
matchpoint
Joined: 26 Jan 2018 Posts: 169
|
Posted: Sun 11 Feb 2018, 14:00 Post subject:
|
|
Good afternoon Bill,
Nice program. Clean, straight-up interface. Works flawlessly on my Slacko 6.3.2, Tahr 6.0.5 and Xenial 7.5 saves. With Xenial I opted for the encrypted PIN. Upon completing the entry I'm unable to confirm the window with an "Enter" click. I see here, under number 9) Tips and tricks, Zigbert has code to "Press 'Enter' instead of clicking the 'Ok' button." Is this something you could easily incorporate into your peasywifi script?
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Sun 11 Feb 2018, 15:09 Post subject:
|
|
matchpoint wrote: | Upon completing the entry I'm unable to confirm the window with an "Enter" click. |
I don't understand. Are you talking about clicking the Encrypt button when you are setting up encryption?
Or the OK button when you start a connection and enter the PIN?
Either way, they work fine for me in Xenial.
|
Back to top
|
|
 |
matchpoint
Joined: 26 Jan 2018 Posts: 169
|
Posted: Sun 11 Feb 2018, 15:46 Post subject:
|
|
Yes, the PIN window to connect appears at boot. I can enter my code but have to use the mouse and click to okay the window. I would prefer to type my code, hit the enter key and bypass the mouse altogether. Like in a terminal, you type your command and hit enter. I hope this clarifies the objective for you.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Sun 11 Feb 2018, 16:12 Post subject:
|
|
I did it by pressing the TAB and ENTER keys.
|
Back to top
|
|
 |
matchpoint
Joined: 26 Jan 2018 Posts: 169
|
Posted: Sun 11 Feb 2018, 18:07 Post subject:
|
|
"Some are born great, some achieve greatness, and some have greatness (bestowed) upon them."
You have no idea just how many times I overlook this frequently used, keyboard execution.
Thank you Bill.
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1539 Location: Smithers, BC, Canada
|
Posted: Thu 22 Feb 2018, 15:27 Post subject:
rc.network in peasywifi only |
|
Hi Bill,
I have been very impressed using peasywifi in BionicDog. Very fast connections, both on ethernet and wifi. Very easy to use.
I am so impressed that I decided to Woof up a copy of Artfulpup using only peasywifi, no frisbee, no sns, no network-wizard. After trying a few configurations I was able to make it work by linking /etc/pwf/rc.network to /etc/init.d/rc.network. It wouldn't work linking to /etc/rc.d which seems odd because that is the usual location for rc.network and indeed is the location in BionicDog.
Also, I may be misremembering my choice, but pinstall.sh doesn't seem to have had any effect on the Woof build, so I set it up manually.
Anyway, it works a treat, much improved speed of connection.
Thank you very much, J
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Thu 22 Feb 2018, 16:52 Post subject:
|
|
Thanks for the report.
"Traditionally", /etc/rc.d/rc.sysinit does some setup stuff, then calls rc.network. It contains a bunch of legacy networking cruft, so PWF replaces it with a link to its own /etc/pwf/rc.network.
Putting the link in /etc/init.d would also work, provided that no other network manager is allowed to start. But if you removed the other ones from your build, that can't happen.
|
Back to top
|
|
 |
melon688
Joined: 24 Oct 2011 Posts: 47 Location: Taiwan
|
Posted: Thu 26 Apr 2018, 11:12 Post subject:
|
|
I try to change MAC address
ifconfig wlan0 down
macchanger -m xx:xx:xx:xx:xx:xx wlan0
ifconfig wlan0 up
using Dpup Stretch 7.5
test1
wireless:frisbee
network work
ifconfig wlan0 down
ifconfig wlan0 up
network work
test2
wireless:PeasyWiFi
network work
ifconfig wlan0 down
ifconfig wlan0 up
Network is unreachable
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Thu 26 Apr 2018, 12:08 Post subject:
|
|
I just did a disconnect/reconnect and it worked fine.
Or change the MAC address before you connect.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Sun 29 Apr 2018, 08:40 Post subject:
|
|
@melon688:
No reply?
|
Back to top
|
|
 |
|