General :: Run Script Before Starting Vpn Connection?
Jul 4, 2010
I need to run a bash script BEFORE connecting to a vpn (which I do by clicking the network manager applet).
I need this script because when connecting to the vpn the routes are incorrect. The script needs to run before connecting to the vpn because I need to use the command "host" to set new routes and if the vpn has already started I cant access internet.
I would also need to run another script when the vpn disconnect so I can roll everything back to normal.
How can I achieve this?
I am using ubuntu 10.04 lts.
View 1 Replies
ADVERTISEMENT
Mar 8, 2010
I am using a broadband internet connection. Currently I am using pon and poff commands to start and stop the internet connection respectively. But for these commands to execute I should switch to the root user. I want even a normal user to be able to start or stop the connection. How can I do this?
View 1 Replies
View Related
Apr 7, 2011
I set up 11.4 in my laptopnd, after updating and downloading the proper firmwareeverytihing runs great. I already configured the wireless network via the standard NetworkManager but the connection never starts automatically. When I boot up it reports all the wireless connections available and also let me connect to hidden networks (mine is not broadcasting so I have to use this option). I had to reconfigure my network options the first time I selected Hidden Networks but it connects fine. Please note I had already selected the "Automatic connection" optionSo the only question is how I configure my equipment so it connects automatically to the already configured network
View 3 Replies
View Related
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
Jun 25, 2010
I would like to have all traffic from the ethernet connection out through the wireless (basically using the box as a router) however I am having some trouble doing this.
I have done this before on Windows however I am having some trouble doing this on linux, I have tried using Squid Proxy however I am having some trouble using configuring/using it.
I am using Yellow Dog Linux however I am willing to change to any other distro as long as it is compatable with PS3 (as this is what im using linux on)
View 14 Replies
View Related
Jul 18, 2011
I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.
I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?
More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).
[Code]....
I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.
View 1 Replies
View Related
Mar 30, 2011
How do I execute xinit on a remote computer through ssh (preferrably)? ssh -X is NOT an option. I'm not looking for running a remote program on localhost. I want to run a program on the server displaying on the server's display. I can do that if X is running. But if for some reason I need to stop X, I can't restart it from the localhost and the program won't run. If I run xinit as root (through sudo) through ssh I get:
X: user not authorized to run the X server, aborting. giving up.
The user can do this if I run it directly on the server.
View 4 Replies
View Related
Feb 19, 2011
I have a home computer that I bought to try Linux. first I want to reformat the HD so it is completely empty, it has xp now, then start from scratch. But I have not been able to format the HD. I have used all the tricks I know.
View 1 Replies
View Related
Jan 3, 2010
I down loaded the 5.9 lite live version of vector it seems to start fine but I get a msg when starting to this effect going to runlevel 2 you don't have a window manager (kde ,gnome etc etc). Ive tried to find information on several sites including vectors & havn't found any thing. I did get a list of commands off of the disk but none of the combinations. is there a way to get say kde to come up when starting the live cd?
View 2 Replies
View Related
Jul 7, 2011
I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.
View 2 Replies
View Related
Aug 11, 2011
At the moment all I see is the message INIT: Sending processes the TERM signal. What does this mean?
View 1 Replies
View Related
Jul 10, 2010
I 'installed' Fedora12 nine days ago. Everything went smoothly until I booted-up today when I got a message in the top right corner of the desktop saying "WARNING, A CRASH PACKAGE NAUTILUS - 2.28.1 - 2 FC12 HAS BEEN DETECTED."All my icons have disappeared from the desktop.In the tool bar I have a continuous row of moving identical icons for "Starting File Manager".
View 3 Replies
View Related
Nov 29, 2010
To find all files recursively starting with a . (period), is the following OK:
find ./ -name '.'*
View 7 Replies
View Related
May 11, 2010
I want to start a service and a script SiteMonitor.sh at startup.
Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)
To start with i have modified /etc/rc.local file.
Here is the content of my /etc/rc.local file.
Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
[Code]....
View 14 Replies
View Related
Dec 11, 2010
I have Ubuntu 10.10 installed on my pc with XBMC installed. It's set to boot into xbmc on start up and works fine. I also have squeezebox server (a music server for my network) installed and again don't have any trouble. I'd now like to get squeezeslave running, a client for squeezebox server so I added the following lines to /etc/init.d/local:
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
squeezeslave -o0 -r3 192.168.1.3 &
exit 0
This fails to start the client on boot, however if I ssh into the machine and run /etc/init.d/local it runs fine.
View 3 Replies
View Related
Jun 22, 2011
Starting from what I would think is completely from scratch, maybe worse. A friend set up this computer on unix/linux when I expressed interest. Truthfully I don't have even the slightest clue where to start other than to offer my complete humility. If I could start with getting my dvd and cd functions to work that would be a good start.
View 15 Replies
View Related
Dec 6, 2010
I just converted my physical Suse 11 desktop to a virtural machine on an ESX 4.0 server. The machine boots, but there is no GUI interface, as there is one on the physical machine. How do I start GUI from the command line interface?
View 3 Replies
View Related
Jan 19, 2011
I just upgrade my latest version started problems with the system to running the initial load, sometimes the process is killed and I have to shutdown cutting of the power and start over again for two or three times in order to run properly. Sometimes the screen is frozen suddenly or closing application shutdown by itself. Someone have the same problem? and if someone know how to solve the problem please let me Know.
View 1 Replies
View Related
Oct 5, 2010
OK, I have been a lifelong windows programmer and user. I started using the Linux OS as my primary desktop OS a few months ago. I decided it would be a good time to focus on programming more for linux than windows.I have downloaded the source code of the Linux kernel. and to avoid me waisting time figuring this out on my own I would like someone to answer me this question.
what is the starting point of the kernel, which file(usually a main.c file)contains the very first line of code executed when the boot-loader starts Linux.
View 4 Replies
View Related
Feb 2, 2010
I was reading about Linux and found out that you can apparently custom build your own operating system.
The thing is, it all sounds great for what I would like to do but my knowledge in that area is zero, or sub-zero.
My question is: is there an operating system out there, that will start up the computer, then have a browser installed on it - lets say Firefox - with a homepage www.example.com?... (no start button or taskbar)
Maybe no toolbars or anything else except the webpage itself.
Also the hardware should be plug and play, such as printers, mobiles scanners or any usb driven devices.
View 5 Replies
View Related
Mar 31, 2011
I am trying to copy all files under directory A to directory B. All files under directory A are starting with dot, for example:
A/.a
A/.b
A/.c
which I found if I use: cp A/* B, always get error:
cp: cannot stat 'A/*': no such file or directory
It seems there is no option for cp as ls to handle entries started with dot
View 6 Replies
View Related
Aug 22, 2011
I'm logged into my Ubuntu 11.04 box using SSH, and I need to start a program - but it is a Windows GUI program which runs under WINE.
How can I start the program from the SSH terminal so that it opens on the desktop, and then stays open even after I log out of SSH.
View 3 Replies
View Related
Apr 10, 2011
I have a file and at some point in the file the string "DONE" appears (it's unambiguous). I want to redirect all that is coming starting from the next line to a new file. How do I do that?
View 6 Replies
View Related
Mar 24, 2010
Installed FC-8 (DVD) on old dell 866mhez desktop years ago; works like a champ. Inherited dimension 2400, used same DVD. No errors loading (std config). Reboot and linux starts. Gets to 'Set clock - ok' and hangs on 'starting UDev'
Celeron 2.4G
bus speed 400M
L2 cache 128kb
384 DDR SDRAM
FC-8 2.6.23.1-42 on the DVD.
I know FC-12 is out, but with older HW, trying to stay compatible.
View 10 Replies
View Related
Jan 25, 2010
I am using CentOS 5 Both a production server and VM CentOS get this problem.When issue:
# /etc/rc.d/init.d/haldaemon start
Starting HAL daemon: [FAILED]
View 1 Replies
View Related
Apr 7, 2010
I want to add some starting information in a file while creation. like if I type vi test.sh
then
#!/bin/bash
will be added automatically.
Somebosy suggest me how to do this ??
View 22 Replies
View Related
May 14, 2009
I deleted all the contents of the /tmp/ folder while X is running.rm -R /tmp/* Now the X is continuously restarting without showing the login screen. Is there any way to fix this
View 3 Replies
View Related
Feb 26, 2011
I have Dell rack server. With the network card of five network ports. But I am just using first one (eth0).
Now the problem:
Its connected the internet and the internet is working fine. I also got update using yum.
When I do ifconfig to check its dynamic IP. It also shows the IP(something like: 192.168.x.x), but if I go to services and try to start DHCPd service its fails. Its not starting at all. And If I go to other computer (Windows 7) and try to ping the dell servers IP, I cannot ping it. So since I cannot ping it from other computer, so no one we can have remote access to the dell server.
I dont understand without starting DHCPd how the dell server is getting the IP address.
So I thought maybe DHCP is corrupted so I removed it using yum and reinstalled it using yum, but no luck so far.
View 2 Replies
View Related
Mar 30, 2010
I just finished configuring my BIND DNS server through the Webmin interface.
When I try to start BIND, I get the following error:
Code:
This is the named.conf configuration file:
Code:
What I need to change in the file?
View 11 Replies
View Related
Jul 8, 2009
I am trying to install SAP Gui for linux 710r9 on fedora 10. After installing and configuring the client correctly I was able to LOGIN in to my SAP and use it properly, but when I select connect it gives me error box saying "Error when starting "gmux sever"." how to remove this error.
View 1 Replies
View Related