Debian :: Running VPN Connection At Boot

Jan 4, 2016

I have a headless Pi running Rasbian on my network. Upon booting I'd like it to automatically connect via the VPN connection. However upon startup this does not occur. I'm relatively new to Linux/Raspbian, so the I might not be going about the issue in the correct manner!

I connect to the Pi via TightVNC viewer. However when connecting using this method the GUI access is not admin/SU, hence when I try and start the VPN connection it states that this is not possible as I am "Not authorised to control networking". The only way I can connect via the VPN is to hook up the Pi to a monitor and keyboard.

1) How can I ensure that the VPN connection occurs at startup?
2) Using TightVNC viewer, how can I access the gui in admin/SU mode?
3) Is it possible (easily) to connect to the VPN using terminal commands?

View 1 Replies


ADVERTISEMENT

Networking :: Debian Lenny 5.0.7 AMD 64 Connection Stops Running?

Feb 23, 2011

I have a Dell PowerEdge 2900 on which I just installed from scratch Debian Lenny 5.0.7 AMD 64bit. I am having issues where when I ifup a second nic card the server will maintain connectivity for a period then all connectivity is lost and I have to ifdown all eth interfaces and bring them back up to regain connectivity. Here's how the server is laid out: I have 12gb or ram with 2 Xeon 5450s in the server, as I mentioned it's a Dell Poweredge 2900. It has a build in Perc6i raid controller with 2 drives in Raid 1 for the OS and 4 drives in Raid 5 for storage. It also has a Perc 5e card in it connected to 3x6TB raid arrays. I mention this because they are all sharing the PCI bus if that matters.

The nic cards I started with were the two builtin Broadcoms and lspci reports them both as:

Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

After I started experiencing the problem I added an inexpensive Trendnet based off the Realtek RTL-8169 chip rev(10). Debian sees this card without any need for additional drivers. The Broadcoms required the non-free network drivers provided by and built against the Debian kernel (no custom drivers). One nic card is configured with a public IP address and I use IP tables to reign in the traffic to http and https only. There is also an outbound openvpn tunnel from this machine back to our offices through this interface. The second nic card is hard wired to a mac mini directly and is assigned an 10.x.x.x address. I am able to see the mac mini from it.

The amount of time the network connection stays up doesn't seem to follow any set pattern. I have flood pinged the 10.x.x.x while running apt-get and one time it fails, the next time it doesn't. Sometimes the network connection degrades and I can do an nslookup one second and get nothing and the next I get a response. Finally though it fails and it requires me to ifdown the eth connections and ifup them to get them going again. I don't really see anything in the logs. I've looked in kern.log, messages, syslog and pretty much came up empty, but not 100% certain I'm looking for anything more subtle than obvious errors. The routes all look good too.

Naturally, as Murphy's Law would have it, this is a remote server at a colo so that doesn't make troubleshooting any easier. What I have done to temporarily prevent me from losing complete access to the server is setup a cron script that runs once a minute and pings something. If there is 100% packet loss, it restarts the nics and I'm going again for another arbitrary period of time. Lastly, this has no effect on the OS running. I don't have a hung system when this happens just a trashed network connection.

View 1 Replies View Related

Debian :: Running Boot Processes In Parallel?

Apr 5, 2011

Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I

configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options

[code]...

View 2 Replies View Related

Debian Hardware :: Surface Pro 3 - Running Dual Boot

Feb 16, 2015

This is a recollection of my experience using Microsoft Surface Pro 3. I am running Debian Jessie RC1, using the latest linux kernel (as of now, 3.19).

Assume that everything works, except:

- grub2 does not allow to select menu entries without TypeCover/USB Keyboard (Ubuntu had a popup software keyboard in the live CD)
- there is no "right button click" on the touchscreen. Most interfaces use a long press as a right click.
- the touchscreen is sometimes unresponsive, especially when plugging/unplugging the TypeCover;
- cameras don't work (although there is a fix)
- wireless card works 80% of the time only (but the newest marvell firmware from github solves the problem)
- secure boot does not work (need to disable that from the boot menu)
- touchpad gestures don't work (e.g. two fingers scrolling - this is particularly puzzling, as Ubuntu 14.10 live had the touchpad working (including two fingers scrolling) but not the TypeCover)
- touchpad and touchscreen scrolling do not work in certain applications (e.g. in Iceweasel one needs to install an add-on)
- pen works (even when the touchscreen is unresponsive), but only one of three buttons work (with xournal)

View 0 Replies View Related

Debian :: New Invalid Eth0 Connection On Boot

Jan 23, 2015

I'm using NetworkManager for networking.After a big Debian upgrade I had a new problem.Every boot it create a new (invalid) "eth0" connection, and NetworkManager connect automatically to it.As expected, the connection is invalid, and I'm not connection to the Internet.

What I do to fix this every boot is manually remove this wrong "eth0" connection and NetworkManager automatically connect to my good eth0 connection.

Note: If I boot my machine N times without deleting connections, I see N same and invalid "eth0" connections.I think this happen because /etc / network / interfaces conflicts with NetworkManager, but I don't know what trigger this. Here is my relevant configuration:
/etc/network/interfaces:

Code: Select all# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[code]....

* No "/etc/NetworkManager/system-connections/eth0" connection is created in configuration, but it's displayed.

View 1 Replies View Related

Debian Configuration :: Start VPN Connection On Boot

Jul 18, 2015

I am struggling to find out how to start the connection to my VPN on boot?

View 1 Replies View Related

Debian :: Whenever Boot - Internet Connection Kicks In Automatically

May 9, 2011

I've installed Debian squeeze using the net installer and while beginning the installation I loaded the 'ppp-udeb' module to connect to the internet for accessing the Debian mirrors during the installation. Now, whenever I boot into Debian, internet connection kicks in automatically. I would want to have control over when to start the internet connection. I don't want it to be triggered during my login.

View 2 Replies View Related

Debian :: Setting Up Internet Connection On Dual Boot System

Dec 14, 2010

I am new to Linux and Debian. I have Compaq Presario R3000 laptop, which is 5 years old now. I have RealTek RTL8139 family PCI Fast Ethernet NIC. Currently I have a broadband connection at home. I have dual boot Windows XP Professional and Debian (which I installed a week ago through CD). I have done some preliminary tests for the network and I am posting the screenshots for the tests (e.g. lspci, ifconfig, etc.). I also did two more commands. For 'cat /etc/network/ifstate' the output was 'No such file or directory'. Same output was for the command 'cat /etc/network/options'.

View 7 Replies View Related

Debian :: Change Boot Loader From Grub To System On Running Lenny Without Damage It?

Feb 1, 2011

How to change boot loader from Grub to syslinux on running Lenny without damage the system?

View 1 Replies View Related

General :: Lpq Printer 'sdst@other.domain' - Cannot Open Connection - Connection Timed Out Make Sure LPD Server Is Running On The Server

Mar 23, 2011

Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server

The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?

# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf

View 1 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

Debian Configuration :: Connection WPA Personal Says Connected To Wl Network But No Internet Connection

Apr 15, 2011

1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:

[code]....

I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.

View 4 Replies View Related

General :: Debian - Gnome: Wireless Connection List Missing Connection?

Nov 12, 2009

Each time I start up debian -lenny, the network-manager does not automatically connect me to my wireless network. The connection list shows a lot of networks available, but mine is always absent from the list. This means I each time have to go to "Connect to other Wireless Network" in and write in my network name (SSID) and password (PWA2 Personal). Then is connects nicely and everything works fine until next time I boot

View 5 Replies View Related

Debian Configuration :: WiFi Connection Which Then Is Sent To A Wired Connection

Sep 22, 2015

The situation: The office has a WiFi network on one DSL line, which is used for our VoIP call center, and a wired network for our internal network and the majority of web surfing/traffic . Part of the office must be temperature controlled/monitored - we have a rather nice digital thermometer which is WiFi enabled.I have a Debian Wheezy box with a WiFi card and ethernet connection

What I'm trying to accomplish:Connect wifi enabled thermometer to WiFi network so it can automatically send temp updates (currently I have to do it manually via USB)Have the Wheezy box accept the downloaded file then send it to a back up server in the wired network

Side things that may be useful : Prefer to use wired connection for internet and apt and suchWiFi connection will really just be used for connecting to the thermometer

This [URL] .... topic got me thinking that there might be a way to bring the two networks together, but I don't know if that will wreak havoc on things. I know, the Windows and Mac OS don't like having ethernet and wifi at the same time, might Linux be better for this?

v&n had this to offer in the prior thread [URL] .... which I'll be doing more research on.

View 2 Replies View Related

Ubuntu :: Sshd Not Running, Ssh Connection Refused?

Mar 13, 2011

I have been trying for weeks to solve this one and have researched everywhere I know to look. Nothing has helped. I am trying to ssh to my other machine (machine1=galla, machine2=cachin). Both run Maverick Meerkat 10.10. I get the following error when trying to ssh to galla:ssh: connect to host galla port 22: Connection refused

uname -a outputs:Linux galla 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/LinuxAlso, sshd does not stay running. I can start it, but a ps tells me it is never running. I imagine herein lies the problem. But why won't it stay running?I am not running any firewall on galla (iptables -L told me that).P.S. I can sucessfully ssh out of galla to cachin. And, even if I just try to ssh localhost on galla, same thing happens.

View 9 Replies View Related

Ubuntu :: 10.04 Running - Eth0 Connection Disappeared

Apr 3, 2011

I'm running 10.04 and my eth0 connection disappeared. If I go into my network tools, I can see the IPv4 connection and test the ping and all. When I go to my network connections, I do not see the eth0 at all. I have not made any serious changes lately and have no clue to what could have caused this. I have tested the cable with my laptop, and it works fine. I have serious reddit browsing that needs to be done!

View 3 Replies View Related

Ubuntu :: Packet Loss When Running Mtr On VPN Connection?

Jul 27, 2011

[Code]...

I adjusted my routes to use my ppp1 (VPN) connection for almost all browsing. Have I misconfigured something.? Some more background information: My VPN is about halfway around the world from where I am / my PPPoE connection. I've already changed my DNS servers in /etc/resolv.conf to Google's 8.8.8.8.I get around 2 kBps on Ubuntu and 50 kBps on Windows using the same VPN. =/

View 9 Replies View Related

Ubuntu :: Running The GUI Update Manager - Internet Connection ?

Feb 5, 2010

I can't tell if its my computer or just the internet? I'm just running the GUI Update Manager.

View 7 Replies View Related

General :: Cannot Enable Wireless Connection Running On Opensuse 11.2?

Feb 5, 2010

Opensuse 11.2 comes with a nice Network Manager application and when I first configured my wireless network everything went ok. Unfortunately after shutting down and turn it back on somehow it is being detected but could not enable it again.This is the current status I am getting#lspci|grep -i wireless02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)#iwconfig wlan1

wlan1 IEEE 802.11bgn ESSID:"PUBLIC-CIT.FH-Koeln.DE"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm

[code]...

View 3 Replies View Related

General :: Running Website Using Secure Connection (HTTPS)?

Feb 23, 2010

I have the following details on my system:

- CentOS
- RHEL 5
- WebWare for Python

We have an exisiting website written in Python and was developed by other entities and now being maintained by us. We want to run the website using secure connection (HTTPS), I tried reading this article and successfully executed every instructions but still failed to run the website using HTTPS.

[URL]

The way we run the website is using port 8080, e.g. [URL] I am sure I am missing something here, first, I am still looking on where does the port 8080 comes from since I've checked the httpd.config and it wasn't there.

View 14 Replies View Related

Slackware :: Wireless Connection Keeps Resetting - Dhcpcd Not Running

May 24, 2011

I am on slackware 13.37 using broadcom-sta and wicd from /extra. Every so often, sometimes really often, my wireless resets it's connection. The only common thread I can see in the system log is at the same time I get 4 messages that "dhcpcd not running"

View 11 Replies View Related

Ubuntu / Apple :: While Running A System Check It Says No Internet Connection

Jan 24, 2011

So I just installed ubuntu from a net install, and updated from the internet and posted on this site through firefox while installing vlc wich just froze at 90%.....

but when I try to add community repos it comes up with errors. And while running a system check it says I have no internet connection...

I'm connected through ethernet on a router wich works with the g5 in the other room running osx, and the pc upstairs running ubuntu meerkat. Now I had this same problem with SUSE 11.1 and worked around it by adding through terminal but I was never able to add from the GUI.

View 1 Replies View Related

Server :: When Cron Is Running, Monit Loses Its Connection To Postfix?

Mar 18, 2011

I've run into a strange problem on one of the servers I maintain. It's running CentOS 5, fully up to date. The server has Monit installed via RPMforge, and runs Postfix as its MTA. Every day at about 4:20am, when cron is running, Monit loses its connection to Postfix. As far as I can tell, nothing is actually going wrong with Postfix and it's always restarted just fine. I run a couple of Debian servers with very similar setups, and the problem does not occur on them.

Perhaps related, other daemons on the CentOS box often lose their pid files at the time when cron runs, which results in Monit thinking they're not running. One service in particular (zarafa-dagent) is so bad for this that I've had to completely disable monitoring of it in Monit. Again, this problem doesn't occur on the Debian boxes I maintain.The problem isn't hugely urgent as everything still runs fine, but it does mean that pretty much every day I get false positive mail alerts from Monit, which is (a) annoying and (b) makes me more likely to miss a real alert.

View 5 Replies View Related

Server :: IPtables - SSH Running On Port 2298 (Host Connection Refused)

Aug 1, 2011

I have 2 servers..
let say server A and server B
On server A open ssh is configured and is running on port 2298. So from my machine I can login there using ssh on port 2298
But when I login to server B and from there I try to connect to server A I cannot.
ssh: connect to host <ipaddress here> port 2298: Connection refused

View 2 Replies View Related

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Debian :: Debian Squeeze - Apt-get Running By Itself In The Background

Nov 15, 2010

I am running Debian Squeeze, apt-get update runs by itself in the background, taking up 100% of one of the two processor cores.

I have kept the system updated.

Heres the output of

Code:

Code:

I have noticed this a couple of times now, i can kill the process and it doesn't show up again ( i haven't noticed it showing up till next reboot).

I don't have update manager to set to automatically install anything, I have set it to "Only notify about available updates".

View 9 Replies View Related

Ubuntu :: Won't Boot From CD/DVD After Running?

Aug 31, 2010

I am posting here in hopes of getting some assistance with a problem I have been having. I have been running Ubuntu on my Dell Inspiron 1420 laptop, but I recently decided to try Windows 7. Windows 7 would not boot from CD/DVD as long as Ubuntu was still on the computer, so I completely reformatted the hard drive and tried to install it again. The computer would still not boot from the CD/DVD drive, even after removing Ubuntu. I have gone into the BIOS and changed the boot order so that CD/DVD is listed as number one, but it still will not work. I have also used F12 and selected boot from CD/DVD but this did not work either.

The Windows 7 disc works fine on other machines, so I know it's not a problem with the physical disc. The hard drive has been completely debugged and zeroed out. The funny thing is, the Ubuntu disc will boot from the CD drive just fine, but other discs won't work. I have tried to boot a Windows 7 and Windows XP disc but neither will work. In both instances I get "press any key to continue" but when I press a key nothing happens. I feel this has something to do with the Ubuntu, as my computer would boot from this drive with no issues before I used Ubuntu.I have spent several days trying to solve this problem to no avail.

View 2 Replies View Related

General :: An Isolated System In Total Chroot Running Lighttpd, Mysql, Ssh - Get "Connection Refused"?

Aug 12, 2010

Basically they all cover running a 32bit app running on 64bit host and so on.I want to have an isolated system in total chroot (running lighttpd, mysql, ssh, etc from there).(For security reasons I have to isolate the dev from the live one.) So I installed the chroot environment, mounted all the neccessary things and chrooted in. Everything went fine. Edited /etc/ssh/sshd_config to use port 22222 instead of 22. Used service ssh start then. It says service running but if I try this: ssh -p 22222 localhost I get "Connection refused". The chrooted is system is very minimal so far so there is no firewall, hosts.allow/deny or anything.

ps.: The chroot environment will be a development area as I already mentioned. I thought chroot is the easiest way but if you say KVM is better or something I can go for it. The machine is easily capable of running even 10 VMs easily.

View 1 Replies View Related

Debian :: Updating A Pc With Debian Without Internet Connection?

May 6, 2010

I have a pc with debian lenny, this machine doesn't have internet connection, when I need a new package I installed it with dpkg, updating phyton I got some broken dependences and some services doesn't work properly. I have another pc with debian lenny that is updated, my question is: what is the process to extract the packages downloaded in the pc-B, and create a mobile repository?

View 1 Replies View Related

Debian :: How To Set Up PPPoE Connection On Debian Lenny?

Aug 16, 2010

I've found that I need to use pppoeconf, but it doesn't work. I have default Debian kernel with PPPOE module. After looking for the modem it gives me the following message:"Sorry, I scanned 1 interface, but the Access Concentrator of you provider did not respond. Please check your network and modem cables. Another reason for the scan failure may also another pppoe process which controls the modem."pppoeconf detected the interface successfully (eth0, I have only one interface), but doesn't work. It does, however, work with my router connecting without any issues.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved