Go to advanced search

by gstreeter
Sun Apr 01, 2018 10:36 am
Forum: Troubleshooting
Topic: Is cifs mount of a network share broken with latest kernel?
Replies: 9
Views: 3217

Re: Is cifs mount of a network share broken with latest kernel?

If you use vers=2.0 then you may find syslog spammed with messages like:

"CIFS VFS: Free previous auth_key.response =..."

A kernel change introduced a "feature" that causes these repeated messages.

Use vers=1.0 instead to avoid this bug.
by gstreeter
Sun Apr 01, 2018 10:27 am
Forum: Troubleshooting
Topic: Pi 3B+ Samba client mount issues... mount error(22)
Replies: 3
Views: 3050

Re: Pi 3B+ Samba client mount issues... mount error(22)

The latest update to the linux kernel defaults to SMB v3 instead of v1. In fstab add two values to the options for any cifs mount:

vers=1.0, sec=ntlmssp
by gstreeter
Thu Nov 09, 2017 3:59 pm
Forum: General discussion
Topic: Licence Keys for codecs??
Replies: 5
Views: 1404

Re: Licence Keys for codecs??

Same for me with a key purchased in Oct 2016. Thought it was the rubbish BT Yahoo email at first but it seems like the store is sending these out. Hope it's not a sign they've been hacked and have leaked personal information :-(
by gstreeter
Thu Feb 16, 2017 5:18 pm
Forum: General discussion
Topic: iptables-persistent broken *RESOLVED*
Replies: 5
Views: 8257

Re: iptables-persistent broken

Do you have netfilter-persistent installed. I believe that is required in Jessie. See dependencies here: https://packages.debian.org/jessie/admin/iptables-persistent iptables-persistent and netfilter-persistent are synonyms. The netfilter-persistent package is installed and is failing to start afte...
by gstreeter
Thu Feb 16, 2017 10:38 am
Forum: General discussion
Topic: iptables-persistent broken *RESOLVED*
Replies: 5
Views: 8257

iptables-persistent broken *RESOLVED*

I updated Raspbian on my Pi that I use to provide an external interface for VPN and SSH services this morning (16th Feb 17) with apt-get dist-upgrade. The internet exposed network services are protected with iptables firewall rules which also provide forwarding for the VPN service. I discovered that...
by gstreeter
Sat Jan 03, 2015 5:56 pm
Forum: Networking and servers
Topic: Pi as VPN server problem with Netbios Names
Replies: 3
Views: 1339

Re: Pi as VPN server problem with Netbios Names

On a separate note PPTP is insecure as the MS-CHAPv2 encryption has been successfully broken. Security experts and MS themselves recommend that it should no longer be used. I would recommend OpenVPN as it runs on all the major platforms. You can setup a pre-shared key authentication which is pretty ...
by gstreeter
Sat Jan 03, 2015 5:46 pm
Forum: Networking and servers
Topic: Pi as VPN server problem with Netbios Names
Replies: 3
Views: 1339

Re: Pi as VPN server problem with Netbios Names

Unless you are running very old versions of an MS operating system the machine names will be looked up via DNS and not WINS. All versions from Windows 2000 onwards will utilise DNS. You only need a WINS server for older OS versions such as Windows 98. Are you sure 192.168.1.1 is the address of the D...
by gstreeter
Sat Jan 03, 2015 11:13 am
Forum: Networking and servers
Topic: openvpn questions
Replies: 1
Views: 1076

Re: openvpn questions

Your local LAN and the VPN are allocating addresses from the same block. You will need to change the local LAN addresses allocated by the DHCP server on your LAN which is normally the router/modem. You should be able to find a page on the router's management screens that lets you select a suitable r...
by gstreeter
Sat Oct 04, 2014 1:10 pm
Forum: Networking and servers
Topic: RPi Hurricane Electric IPv6 Tunnel HOWTO
Replies: 13
Views: 12284

Re: RPi Hurricane Electric IPv6 Tunnel HOWTO

I've been using an HE IPV6 tunnel via an Rpi for some time now and it works well. However I did come across a significant issue that can prevent access. HE require that your broadband router responds to ICMP Echo "ping" messages in order to setup the tunnel (listed as a requirement on their site). U...
by gstreeter
Sun Feb 09, 2014 6:38 pm
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

Hang in there. It took me 3 months to get a working IPSEC VPN server up and running with Strongswan. I needed rehab after that!
by gstreeter
Sun Feb 09, 2014 6:13 pm
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

The iptables -v --list will contain a line for each of the rules you created and the packet counts for the matches against each rule.

Use --table nat to see the postrouting
by gstreeter
Sun Feb 09, 2014 6:01 pm
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

There are no rules listed in the iptables output, just the default global accepts. You won't have any postrouting. You need to use iptables-restore < file to load them if you change the file and also ensure they are reloaded when the Pi reboots. I put the rules into the file /etc/iptables and have t...
by gstreeter
Sun Feb 09, 2014 5:28 pm
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

I think I see the issue. You need the client packets to be masqueraded through the Pi gateway to the tun0 device as this is the endpoint connection to the VPN server. At present the packets are going to eth0:1 which is currently a synonym for the Pi itself so they don't find a route out to the inter...
by gstreeter
Sun Feb 09, 2014 8:26 am
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

I have no idea why eth1 appears instead of eth0. As you are using a custom image it's not possible to guess what's going on. I checked the site you mention and some of the info is out of date ( eg no need for custom kernel). I would suggest you start again with a new Raspbian image from raspberrypi....
by gstreeter
Sun Feb 02, 2014 10:22 am
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

If you want to route multiple clients through the VPN connection made via on Pi then you'll need the Pi to act as the client default gateway instead of your router which the clients currently direct their internet requests to. Are you using a second ethernet interface eth1 as well as the Pi eth0? If...
by gstreeter
Thu Jan 30, 2014 9:29 pm
Forum: Networking and servers
Topic: L2TP over IPsec & OpenVPN server on same Raspberry Pi
Replies: 4
Views: 1495

Re: L2TP over IPsec & OpenVPN server on same Raspberry Pi

Yes I connect through IOS, Android and Windows. I use the OpenVPN brand client on the iPad (IOS 7.0.4).
by gstreeter
Thu Jan 30, 2014 1:40 pm
Forum: Advanced users
Topic: OpenVPN Config issue
Replies: 18
Views: 3468

Re: OpenVPN Config issue

The route-method parameter is a windows-only option so it seems that the provided configuration file is for a windows OpenVPN client. Remove the route-method parameter and retry. Bad routing will cause apparent loss of connectivity. If that fails you might want to ask your VPN provider for a Linux c...
by gstreeter
Thu Jan 30, 2014 1:37 pm
Forum: Networking and servers
Topic: L2TP over IPsec & OpenVPN server on same Raspberry Pi
Replies: 4
Views: 1495

Re: L2TP over IPsec & OpenVPN server on same Raspberry Pi

Yes this can be done by running both servers on a single Pi. I run an OpenVPN and an IPSEC VPN server on the same Pi. They are simply separate processes that listen to different ports (1194 by default for OpenVPN and 500/4500 for IPSEC). There's no conflict and no need for virtualisation. Just make ...
by gstreeter
Sun Jan 05, 2014 9:09 pm
Forum: Troubleshooting
Topic: [SOLVED] DHT11/DHT22 showing incorrect humidity
Replies: 13
Views: 22799

Re: DHT11 is showing incorrect humidity

gstreeter wrote:
Onira wrote:which one is better then, DHT11 or DHT22 ?
The DHT-22 is more accurate but costs more. I found the results from the 22 more stable than the 11 under test.
Specs listed here: http://learn.adafruit.com/dht
by gstreeter
Sun Jan 05, 2014 8:57 pm
Forum: Troubleshooting
Topic: [SOLVED] DHT11/DHT22 showing incorrect humidity
Replies: 13
Views: 22799

Re: DHT11 is showing incorrect humidity

Onira wrote:which one is better then, DHT11 or DHT22 ?
The DHT-22 is more accurate but costs more. I found the results from the 22 more stable than the 11 under test.
by gstreeter
Sun Jan 05, 2014 4:58 pm
Forum: Troubleshooting
Topic: [SOLVED] DHT11/DHT22 showing incorrect humidity
Replies: 13
Views: 22799

Re: DHT11 is showing incorrect humidity

I have a breadboard with a DHT-22, BMP085 and a DS18B20 temperature sensor all being read via an Ardunio Nano. There are small differences between the temp readings on the three devices but this is to be expected as they each have accuracy limits as listed in the specs. The DHT-11 is the lower accur...
by gstreeter
Sat Dec 21, 2013 8:12 am
Forum: Beginners
Topic: VPN client
Replies: 6
Views: 3993

Re: VPN client

@gstreeter thanks, that package looks ok, however, I am not able to get a working connection due to lack of documentation. I've downloaded the package, finally got it installed but now I am stuck. I try to open a connection but it doesn't work. No error message, no feedback, nothing in /var/log/mes...
by gstreeter
Sat Dec 21, 2013 8:03 am
Forum: Beginners
Topic: VPN client
Replies: 6
Views: 3993

Re: VPN client

@gstreeter thanks, that package looks ok, however, I am not able to get a working connection due to lack of documentation. I've downloaded the package, finally got it installed but now I am stuck. I try to open a connection but it doesn't work. No error message, no feedback, nothing in /var/log/mes...
by gstreeter
Wed Dec 18, 2013 12:43 pm
Forum: Beginners
Topic: VPN client
Replies: 6
Views: 3993

Re: VPN client

SSTP VPN is mainly Windows based SSL VPN and sends PPP and L2TP traffic over https session and the use of SSTP VPN on Port 443 allows you to bypass through any internet firewall created by any government and up till now literally no firewall or router has been able to block the SSTP VPN. To block S...
by gstreeter
Mon Dec 16, 2013 4:52 pm
Forum: Beginners
Topic: VPN client
Replies: 6
Views: 3993

Re: VPN client

This might help: http://sstp-client.sourceforge.net

Note you will have to download the source and compile it yourself on the Pi.

Windows file shares are mounted with the "mount -t cifs" command. Plenty of examples on the forum and through Google.

Go to advanced search