Fedora Networking :: Setup Pppd On Startup With Init.d Script For Vpn?

Apr 3, 2011

I can connect to Strongvpn (pptp) through command line call 'sudo pppd call stongvpn' followed by' route add default dev ppp0'. Everything works well.I would like to set this up on start up. I use kde. I have set up basic /etc/init.d/strongvpn script which gets called at boot and creates ppp0 but the route command does not seem to work. When I use command route add in terminal the connection comes up.Here's my /etc/init.d script

#!/bin/bash
# chkconfig: 345 85 15
pppd call strongvpn

[code]....

View 3 Replies


ADVERTISEMENT

Networking :: Need To Setup Dialup Server To Accept Dial Up Connection Using Pppd

Aug 3, 2009

I'm using fedora core-8. I need to setup dialup server to accept dial up connection.Dial up server shoudl also allocate ip address to client (trying to connect using modem)If some one knows how to do this, please let me know.I'm trying to achieve peer to peer communication between two computers connected using modem on both side over PSTN line.

View 2 Replies View Related

Fedora :: View The Startup Programs Of Init Whenever Boot Up?

Aug 26, 2010

I am trying to view the startup programs of init whenever I boot up, but don't know how to edit /etc/inittab file. I am running Fedora FC13 and my runlevel is 3. I have the following in my inittab file:

Quote:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>

[Code]...

View 5 Replies View Related

Ubuntu :: Init.d Startup Script ?

Oct 24, 2010

I have a startup bash script to give the user options at startup (launch firefox etc), however it causes ubuntu to hang on the loading screen with red things at startup. I dropped into command line and removed it, so that is definitely the problem. The script works...does anyone know if having a startup script in init.d can open a terminal to interact with the user, and why this script causes ubuntu to be unable to startup?

View 4 Replies View Related

Ubuntu :: /etc/init.d Script Not Loading On Startup?

Jul 14, 2011

I fear I may have missed something simple, but I have a "miner" under /etc/init.d

Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides: Miner
# Required-Start: $all
# Required-Stop: $all

[Code].....

I can also manually can start, stop, and restart on it. However, it does not launch on startup. I can find no messages in /var/log/syslog showing any attempt to start it. Did I miss a step?

FYI: uname -a Linux wrath 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux

View 7 Replies View Related

Ubuntu Networking :: Pppd And Wvdial Used To Connect?

Oct 23, 2010

I have a couple of questions for anybody willing to answer them. I have a GSM modem with a t-mobile SIM card that I am currently trying to use to connect to the Internet. I am using Lucid amd64 machine.I have been running wvdial with a baud rate of 115200 with much success getting the output below:

Code:
sudo wvdial
--> WvDial: Internet dialer version 1.60

[code]....

View 1 Replies View Related

General :: Ubuntu Init.d Script Not Being Called On Startup

Oct 29, 2010

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct

-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test

[code]....

The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:

#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script

[code]....

When the machine starts, I don't see "script called" or "start called" in the test.log at all.

View 1 Replies View Related

Programming :: Startup Scripts In Init.d Disappear After Boot Up

Jul 8, 2010

I'm running a Debian based Linux compiled for ARM9 hardware. I am trying to auto start a process on bootup but occasionally I find that my startup script becomes empty (i.e. the file still exists but has not data). The script is located in /etc/init.d/S91-sercom

Here's the script:

Code:
#!/bin/sh # /etc/init.d/S91-sercom
# Start the Serial Communication Protocol Program at boot
echo "Starting Serial Communication"

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Kppp: Pppd Terminates On Signal 15?

Dec 14, 2010

I am using kppp in ubuntu10.10 to connect via my samsung c3010 mobile and Airtel connection. But when I dial through it, it terminates on signal 15! Some requests are rejected it seems. I am pasting the log:

Dec 14 20:08:02 pratik pppd[1883]: pppd 2.4.5 started by pratik, uid 1000
Dec 14 20:08:02 pratik pppd[1883]: using channel 5
Dec 14 20:08:02 pratik pppd[1883]: Using interface ppp0
Dec 14 20:08:02 pratik pppd[1883]: Connect: ppp0 <--> /dev/ttyACM0

[Code]....

I am connecting the modem over USB. The GUI shows me it is dialling the number, and then connecting to the network, and after a while ( it sends it 9 times it seems) it terminates.

View 9 Replies View Related

Networking :: Pppd Nomagic To Stop Loopback Errors?

Oct 16, 2010

QUESTION: Where do I add "pppd nomagic" to stop analog modem loopback errors? (I am using Gnome PPP.)BACKGROUND INFO:I am using Ubuntu LTS 8.04 on a laptop and have an analog modem connected via USB serial cable. The 8.04 dialup and the analog modem work flawlessly.Modem disconnects when using Ubuntu LTS 10.04.1 Live USB:I am testing LTS 10.04.1 on a live USB drive that I purchased preinstalled from On-Disk.On the live USB drive, I am able to get a dialup connection with my ISP long enough to pull up a web page with the browser. However, the analog modem disconnects within minutes with exit codes 16 or 17.an pppd:16 The link was terminated by the modem hanging up.The PPP negotiation failed because serial loopback was detected.

View 1 Replies View Related

Networking :: Create Simple Pppd Tunnel Between Two Machines?

Nov 26, 2010

I'm looking for a tutorial on how to create a simple pppd tunnel between two machines. I've found alot of tutorials about pppd over ssh (using the pty option) but for the purpose I just want a simple pppd tunnel.

Specs
host 1: lan ip 10.101.10.20 running slackware 13.0
host 2: lan ip 10.101.10.21 running slackware 13.1

View 2 Replies View Related

Networking :: Connecting To VPN Server Using Ppptp/pppd Failed Ubuntu 10.04

Oct 6, 2010

I followed the instructions given in the link below in order to connect to a VPN server from my Ubuntu 10.04 PC.

[URL]

As mentioned in the above link,i had the system setup. I am able to connect to VPN using the default network manager that comes with Ubuntu.

But from command line, using pppd dialing,i am unable to connect to server.I get only the following messages in /var/log/messages always.

Log:
####
Oct 6 15:01:09 hari-desktop pppd[3660]: pppd 2.4.5 started by root, uid 0
Oct 6 15:01:09 hari-desktop pppd[3660]: Using interface ppp0
Oct 6 15:01:09 hari-desktop pppd[3660]: Connect: ppp0 <--> /dev/pts/5
Oct 6 15:01:10 hari-desktop pppd[3660]: Connection terminated.

[Code]....

Is there any specific VPN client using which i can establish a connection with the following information in hand ?

View 3 Replies View Related

Fedora Networking :: Can't Restart /etc/rc.d/init.d/smb?

Nov 11, 2009

im just stating in fedora..why does i cant restart/start/stop my /etc/rc.d/init.d/smb ? actually i notice that there are no "smb" or "samba" file exist in my /etc/rc.d/init.d/ or in /etc/init.d/

and there is no smb or samba found in my /sbin/chkconfig but i have my samba installed. Im using fedora 10

View 2 Replies View Related

Networking :: Create A Pppd Server To Allow Other Users To Connect Through Telephone Line?

Oct 9, 2010

create a pppd server to allow other users to connect through my telephone line.Could you suggest a documentation to get started?

View 2 Replies View Related

Networking :: Connect To A Vpn Server - The Required Daemons - Pppd And Pptpd - Aren't Availabale

Apr 12, 2010

I want to connect to a vpn server and I'm using debian 5.

I installed Kvpnc package but when I try to make a new profile I choose "Microsoft pptp" as vpn type and I receive the following message: the required daemons (pppd and pptpd) aren't availabale

Is there anyway to download required daemons in another computer and use them in my computer (I'm worried about dependencies)?

View 3 Replies View Related

Ubuntu Servers :: Init Not Found After RAID Setup?

Apr 4, 2011

I have the current disk setup :

disk1 :

Code:
sda:
(primary) sda1 ntfs
(primary) sda2 ext3 (mounted as / )[code]....

Before i set up the raid, but with this exact partitioning, the system booted perfectly. When i installed mdadm and created the raid1 mirroring on sda6 and sdb1, the init got screwed up, and all i get is a shell on initramfs, from where i can inspect that sda is binded on md, and cat /proc/mdstat tells me that i have an inactive sda[4].I can't mount the root partition (sda2), because it's busy (i suspect dmraid to lock it), which is, i guess, why init cannot be found.

I wonder if my error is to setup a raid array using a logical partition contained in an extended partition (but i hardly see why it would not work - but the sda bind and the sda[4] in mdstat seems to tell me that it does not), or it's just the initrd that is improperly configured. The other things that bothers me, is that changing the partition type of the raid partitions (fd to 0 - Empty), to disable raid autodetection, resulted in the same behavior on boot. Which might lead me again to think about configuration file problem instead of improper setup.The live cd doesn't not seem to recognize raid, so i can't inspect problems any further, but i could inspect system configuration, but i don't really know where to start.

View 2 Replies View Related

Ubuntu :: Running Old Script Instead Of Updated Init.d Script On Startup

May 27, 2011

i wrote a script and placed it in init.d some time ago to run on system startup. that all works well and good. but now i have changed the script (all i basically did was add the line echo 'afasdfasdfsf' > /tmp/x at the start), and the problem is that when i reboot, the old script still seems to be running (ie nothing shows up in /tmp/x). is this a standard feature of ubuntu and i simply need to reload the new script into some sort of cache?

View 2 Replies View Related

OpenSUSE :: VirtualBox Keeps Failing Even Though Ran "/init.d/vboxdrv Setup"?

Sep 4, 2010

I keep getting the error below even though I:

1. Added myself to vboxusers
2. Installed dkms
3. Ran the "sudo /etc/init.d/vboxdrv setup" command.

When I run "/etc/init.d/vboxdrv setup" it gives me the error: modprobe vboxdrv failed. use 'dmesg' to find out why

Code:
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. One other thing, I looked in the file system and there is no "/dev/vboxdrv". Is this correct?

View 9 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

Fedora Networking :: Add B43 To Startup?

May 27, 2009

I'm getting sick of typing modprobe b43 every time I restart the machine. In the network manager, I've check the box to have wlan0 start on boot up, but it doesn't. How does one either add wlan0 to startup (a different way???) or have modprobe b43 run on startup?

View 1 Replies View Related

Debian Configuration :: Setup Ddclient At Startup?

Feb 21, 2011

how can i setup ddclient at startup i already configured the client all i need is to let it start on bootup

View 3 Replies View Related

Ubuntu :: Setup To Run One Command Automatically At Startup?

Dec 30, 2010

I want to auto run
Code:
sudo updatedb at Ubuntu startup. Is this okay: [URL]...

View 5 Replies View Related

Ubuntu :: Setup A Command To Run When Startup The Terminal

Apr 19, 2011

I would like to setup a command to run when I start up the terminal, but have the terminal stay open for use when it's finished. I was trying to get my terminal to run fortune whenever I start it just for cosmetic value, so I tried changing the launcher command to gnome-terminal --command=fortune, but that makes it just output the fortune result and then terminate.

View 1 Replies View Related

Debian :: Setup Squeeze To Log In Automaticall On Startup?

May 19, 2011

i just installed Debian on one of the computers in the house and nobody likes being prompted for a password so i want it to login as a normal user without requesting a password on startup. how do i do this

View 13 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Ubuntu Networking :: Error Appearsubu@ubu-AOD255E:~$ Sudo /etc/init.d/networking Restart?

May 21, 2011

trying to bond two 3G modems but I cant Im really new in this matther so I really This is the error that appears

ubu@ubu-AOD255E:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface ppp0=ppp0.

[code]....

View 3 Replies View Related

Fedora Networking :: No Network Connection On Startup?

May 11, 2009

Suddenly, for no reason apparent to me, on initial logon I don' t have an eth0 connection. I click on the Network Manager icon in the tray, and connect that way. But it would be nice if it connected automagically. How do I fix network to connect on 1st logon?

View 3 Replies View Related

Fedora Networking :: Send Out Ip Address At Startup?

Aug 8, 2011

I need to send out ip address every time a machine is booted. So I have a script getting ip address through ifconfig command, parse the result (I do this with python since I'm not familiar with shell) and send out an email. I tried run it after login, and it worked. But it doesn't work if I don't login, but just call it from rc.local.

View 2 Replies View Related

Ubuntu Networking :: Sudo /etc/init.d/networking Restart For Karmic?

Oct 2, 2010

It didn't work. I plugged the cable back in, and it didn't auto-connect, and still says no connection is available after doing the CLI command.

View 2 Replies View Related







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