[SOLVED]How to configure pptp vpn start on boot with netcfg?

I've configured 2 profiles:
eth0 and ppp0, where ppp0 is a pptp vpn tunnel.
$ ls /etc/network.d/
eth0  examples  interfaces  ppp0
$ cat /etc/network.d/ppp0
CONNECTION='ppp'
INTERFACE='ppp0'
PEER='dxt'
PPP_TIMEOUT=10
$ cat /etc/conf.d/netcfg
# Enable these netcfg profiles at boot time.
#   - prefix an entry with a '@' to background its startup
#   - set to 'last' to restore the profiles running at the last shutdown
#   - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(eth0 ppp0)
# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"
# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="wlan0"
Manually, I can start up ppp0 correctly.
$ sudo netcfg -u ppp0
:: ppp0 up                                                                                                                                                                 [ BUSY ] Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
Cannot determine ethernet address for proxy ARP
local  IP address 10.100.3.132
remote IP address 10.100.3.1
                                                                                                                                                                           [ DONE ]
$ ip addr list dev ppp0
8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 10.100.3.132 peer 10.100.3.1/32 scope global ppp0
But after booting, only eth0 is up. How to configure ppp0 to start on boot with netcfg?
Last edited by rchiang (2012-12-21 01:09:32)

Thanks a lot for your instruction.
netcfg works now!
chris_l wrote:
Did you
systemctl enable [email protected]

Similar Messages

  • How to configure the services(WDA) in ESS with EHP7

    Hi Experts,
    I have a requirement to configure ESS/MSS in R/3 . fisrt time am going to configure the ESS/MSS in R/3 with  EHP7.currently we are using
    ECC6.0  EHP7 with SP 2 and portal 7.4 can any one help me out which business functions need to be activate and which components need to activate.
    How to configure the service in launch pad with WDA.please guide me the step by step procedure.
    Please share the config guide if anyone have.

    hi sap scn ,
    Tips & Recommendations for customizing ESS Menu (WD ABAP) -   ess launchpad
    Summary of configuration options in ESS Personal Information scenario  -personal information
    go to t-code lpd_cust see ROLE ESS and INSTNACE MENU ...Clcik it and copy to Z launchpad and drag and drop the services which u want and use it
    if any other revert back again 

  • How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?

    hi.
    I found How to Configure Transparent caching on Cat 6500 with CSM in routed mode.
    But,
    I need help How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?
    Please let me know sample configuration.
    thanks.

    Hi,
    I wrote the document you mentioned and I also wrote the one below.
    http://www.cisco.com/en/US/partner/products/hw/modules/ps2706/products_configuration_example09186a00802c1201.shtml
    The one with the SSLM is a bridge mode config.
    If you replace the SSLM with a cache [or a farm of caches] it would be a similar config.
    Replace the SSL21 vserver with an HTTP vserver [most important is to keep the vlan configured on each vserver]
    Regards,
    Gilles.

  • [SOLVED] Shorewall Universal configuration fails to start

    I wanted to try shorewall.
    I installed it with pacman:
    $ pacman -Q shorewall
    shorewall 4.6.1.2-1
    I chose the Universal configuration, copying the corresponding files to /etc/shorewall.
    When I try to start it by 'systemctl start shorewall.service', it fails with:
    juin 25 17:54:24 arch64 systemd[1]: Starting Shorewall IPv4 firewall...
    juin 25 17:54:24 arch64 shorewall[24056]: Compiling...
    juin 25 17:54:24 arch64 shorewall[24056]: Processing /etc/shorewall/params ...
    juin 25 17:54:24 arch64 shorewall[24056]: Processing /etc/shorewall/shorewall.conf...
    juin 25 17:54:24 arch64 shorewall[24056]: Loading Modules...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /etc/shorewall/zones...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /etc/shorewall/interfaces...
    juin 25 17:54:25 arch64 shorewall[24056]: Determining Hosts in Zones...
    juin 25 17:54:25 arch64 shorewall[24056]: Locating Action Files...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /etc/shorewall/policy...
    juin 25 17:54:25 arch64 shorewall[24056]: Running /etc/shorewall/initdone...
    juin 25 17:54:25 arch64 shorewall[24056]: Adding rules for DHCP
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling TCP Flags filtering...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling Kernel Route Filtering...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling Martian Logging...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling MAC Filtration -- Phase 1...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /etc/shorewall/rules...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /etc/shorewall/conntrack...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling MAC Filtration -- Phase 2...
    juin 25 17:54:25 arch64 shorewall[24056]: Applying Policies...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /usr/share/shorewall/action.Drop for chain Drop...
    juin 25 17:54:25 arch64 shorewall[24056]: Compiling /usr/share/shorewall/action.Broadcast for chain Broadcast...
    juin 25 17:54:25 arch64 shorewall[24056]: Generating Rule Matrix...
    juin 25 17:54:25 arch64 shorewall[24056]: Optimizing Ruleset...
    juin 25 17:54:25 arch64 shorewall[24056]: Can't use string ("filter") as a HASH ref while "strict refs" in use at /usr/share/shorewall/Chains.pm line 3486.
    juin 25 17:54:25 arch64 shorewall[24056]: /bin/sh: /var/lib/shorewall/.start: Aucun fichier ou dossier de ce type
    juin 25 17:54:25 arch64 shorewall[24056]: /bin/sh: /var/lib/shorewall/.start: Aucun fichier ou dossier de ce type
    juin 25 17:54:25 arch64 systemd[1]: shorewall.service: main process exited, code=exited, status=127/n/a
    juin 25 17:54:25 arch64 systemd[1]: Failed to start Shorewall IPv4 firewall.
    juin 25 17:54:25 arch64 systemd[1]: Unit shorewall.service entered failed state.
    I am unable to understand and fix this issue.
    Can someone help me please?
    Edit: changed the title of the thread.
    Last edited by berbae (2014-08-22 12:33:58)

    Since shorewall 4.6.2.5 the 'interfaces' file of the Universal configuration doesn't work anymore:
    août 19 16:14:09 arch64 shorewall[572]: Shorewall configuration compiled to /var/lib/shorewall/.start
    août 19 16:14:09 arch64 shorewall[572]: Starting Shorewall....
    août 19 16:14:10 arch64 shorewall[572]: ERROR: No network interface available: Firewall state not changed
    août 19 16:14:10 arch64 shorewall[572]: [112B blob data]
    août 19 16:14:10 arch64 systemd[1]: shorewall.service: main process exited, code=exited, status=143/n/a
    août 19 16:14:10 arch64 systemd[1]: Failed to start Shorewall IPv4 firewall.
    août 19 16:14:10 arch64 systemd[1]: Unit shorewall.service entered failed state.
    The compiling stage worked but the generated script didn't.
    I identified the problem to be the usage of the '+' wildcard character in the 'physical' option value of the 'interfaces' file:
    #ZONE INTERFACE OPTIONS
    - lo ignore
    net all dhcp,physical=+,routeback,optional
    As I have only one interface 'eth0', I don't need to use a wildcard character and the 'all' value, so I changed the file to:
    #ZONE INTERFACE OPTIONS
    - lo ignore
    net eth0 dhcp,routeback,optional
    And the firewall works again after that change.
    It's certainly a regression bug introduced in the new releases.
    I changed the title of the thread
    from:
    Newly installed shorewall fails to start
    to:
    shorewall Universal configuration fails to start
    Last edited by berbae (2014-08-22 14:59:46)

  • How to configure Grub or enable dual boot Windows7 & Oracle Enterprise Linux6

    Hi,
    I had Windows 7 installed on my PC and later on I have installed Oracle Linux6 (Server).
    While installation I didn't get any option to configure dual boot and now I am unable to boot Windows7.
    If I do fsdik -l command on Linux prompt, I get the result:
    # fdisk -l
    Disk /dev/sda: 160.0 GB, 1600041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum.optimal): 512 bytes / 512 bytes
    Disk identifier: 0x9143f05b
    Device           Boot     Start     End     Blocks          Id     System
    /dev/sda1       *          1          1305    10482381     83     Linux
    /dev/sda2                  1306     6405    40960000      7       HPFS/NTFS
    /dev/sda3                  6405     12779  51200000      7       HPFS/NTFS
    /dev/sda4                  12779    19458 53646336      7       HPFS/NTFS
    I check the grub config file at /boot/grub/menu.lst but I do not see any entry for windows here.
    Please advise how to configure grub or other way to make the dual boot options enable and use windows and linux.
    Thanks in Advance.
    Anand

    Could you post your menu.lst file?
    It's not clear which exact partition Windows 7 is on from fdisk -l, but you could try adding this to your menu.lst file:
    title Microsoft Windows 7
    root (hd0,1)
    savedefault
    makeactive
    chainloader +1

  • How to Configure Transparent caching on Cat 6500 with CSM in routed mode

    I am trying to configure Transparent caching on Cat 6500 with CSM in routed mode, but facing some problems in it , also I have gone thru the example config on cisco site for transparent caching using CSM on Cat 6500 , but the above does not fit my clients requirement.
    The scenario is like
    Access Switches - Cat6500 with MSFC & CSM - Internet Router
    |
    Cache Engines and Real servers
    The clients as well as real servers are on seperate VLANs (L3) and the requirement is to load balance the internet traffic using cache engines.
    I'd really appreciate any helpful suggestions or any useful links/docs/info on this.
    Thanks
    kumar

    Hello Joerg,
    Thanks for the reply.
    I have already gone thru the sample config shown by this weblink, however this link refers to configuring transparent caching on the CSM in BRIDGED MODE ( i.e both the client and server vlans are having the same IP address ) but in our case , we have multiple L3 VLANS on the CAT6509 having IP addresses in different SUBNETS , and the Real servers to be used for caching also exist on one of these VLANS. Thus, the scenario described by the Weblink does not apply here. Also , in the configuration referred by the above weblink, the VLAN 100 is configured as client , however the endusers are shown to be on vlan200 which is configured as SERVER VLAN in the CSM.
    Dont you think there is something wrong here, I mean the endusers should be on VLAN 100 (Client) and real servers on VLAN 200 (SERVER).
    So, I have to configure CSM in routed mode ( i.e both the client and server vlans will have seperate IP addresses in different subnets ) and the endusers will be on all VLANS .
    Pls let me know , how I can implement this solution.
    Thanks again
    Sudhir

  • How to configure cRIO 9004 and link it with Labview?

    Today i tried to connect the cRIO 9004 to my pc using the serial cable
    but unfortunately the controller was not detecting on my pc. Then I
    turned on the IP reset button and tried connecting it using LAN to get
    an IP address but it also didn't work. I was looking for drivers on the
    internet and NI website but I couldn't find any directly related ones.
    Status light is blinking slowly and continuously(one flash every
    couple of seconds). According to cRIO 9004 manual it indicates "That the
    controller is unconfigured. Use MAX to configure the controller.
    Refer to the Measurement & Automation Explorer Help for information
    about configuring the controller".
    I tried MAX but its still not detecting the controller to configure.
    It would be great if you'll could help me out with this as I'm configuring this type of a controller for the first time.
    Thanks and regards
    Kavin

    Hey,
    First of all get sure that you have LV RT and FPGA as well as the NI RIO driver installed at your system.
    Then the easiest way would be to use a crossover ethernet cable to directly connect the cRIO to your PC.
    Give the PC a static IP Adress e.g. 100.100.100.100. Deactivate Firewall and Virus Scanners.
    Reboot the cRIO with IP Reset Switch ON, then it should appear in MAX under Network Devices with IP 0.0.0.0.
    Give the cRIO also a static IP like 100.100.100.111, set IP Reset switch to OFF before saving this settings.
    Now you can install the software at your cRIO also via MAX.
    Then you should be able to find it in LabVIEW by right-clicking "Project UntitledX" and "Add Targets and Devices".
    There should be different tutorials online how to configure a cRIO or other Realtime targets.
    Christian

  • Help - How to install Win XP in dual boot with Win 7 (first installed)?

    Hi everybody!
    I'm having some difficult in install a win xp in dual boot with win 7 (which came with the G550 notebook).
    I modified the D: (Lenovo) partition to a primary partition to install the XP.  Also I installed the EasyBCD to manange the boots and both S.O. load fine. 
    The problem is that Win XP is seeing a partition (the first partition on disk) with 200MB that is hidden for Win 7 !   So this partition takes the C: letter in XP and mess all the configuration once that many programs uses the C: as a default letter. 
    The disk is divided in (aprox):
    200 MB hidden partition (from factory)
    160GB with Win 7 installed
    40GB with Win XP installed
    19GB hidden partition (Recovery - from factory)
    Is anyone has some idea who to solve this problem or make install XP from the beginning without problems?
    Thank a lot! 

    jay4baps wrote:
    Are you sure VMWare Fusion 6 is Launched???  give me link then i download it...
    It's version 3.1

  • [Solved] How Can Internet Connection to Start Automatically?

    I have a fresh install and if I run "sudo dhcpcd eth0" then it works fine, but it doesn't start by itself.
    I tried
    sudo systemctl enable dhcpcd
    but the response was
    Failed to issue method call: No such file or directory
    I knew how to do this when we had rc.conf.
    How do I do it now?
    Last edited by CaptainKirk (2012-11-15 19:48:44)

    Ah, righto. I was looking at the page but I was stuck on the "Establish an internet connection" section, which actually says dhcpcd is started automatically--I guess that means just for the live CD. I didn't find the "Configure the network" section.
    Thank you.

  • [SOLVED] How to configure prosody and jitsi to work together?

    Hi,
    I want to use prosody to connect several jitsi accounts on different computers on a LAN. I have followed the Prosody page in our wiki to set up Prosody and some user accounts. The service starts and ss -tul indicates that it is listening on the expected ports. I have created the missing key and certificate files expected by the default setup and placed them in /etc/prosody/certs.
    I have created the account foo@localhost using prosodyctl adduser foo@localhost.
    In jitsi I have created an XMPP account (foo@localhost) on the same host as prosody. The account appears but it fails to connect to the server. Jitsi displays error messages on the console which indicates that the server does not support TLS connections even though these are enabled in the prosody configuration file (and lua51-sec is installed).
    I have tried numerous variations of disabling encryption in both prosody and jitsi but I either get the same error message or jitsi simply hangs while trying to connect to the server.
    So far the only thing that I've been able to find that deals specifically with prosody and jitsi is an episode of the Linux Action Show from last year that skimps on the details of the setup. The various online documentation that I've found seems to be for an older version or Prosody (e.g. Host entries in the configuration file).
    Does anyone have a similar setup working with the latest versions of Prosody and Jitsi? If so, please share your configurations.
    edit
    I went through the Prosody wiki page again today and managed to get it working. I think my problem was in misconfigured paths for the SSL server certificates in the VirtualHost section.
    Last edited by Xyne (2014-08-13 00:35:51)

    So, i tried both ways but it still didn't work.
    anrxc: i didn't know i could still prevent DNS leak without privoxy. Privoxy always blocked flash animations and videos (like youtube) here. I'll try to set up this better tomorrow when i have more time.
    By the way, after following your guide, i got this when executing /usr/bin/tor:
    Jan 10 19:29:16.993 [notice] Tor v0.2.1.21. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
    Jan 10 19:29:16.994 [warn] Skipping obsolete configuration option 'Group'
    Jan 10 19:29:16.995 [notice] Initialized libevent version 1.4.12-stable using method epoll. Good.
    Jan 10 19:29:16.995 [notice] Opening Socks listener on 127.0.0.1:9050
    Jan 10 19:29:16.995 [notice] Opening Socks listener on 192.168.0.1:9050
    Jan 10 19:29:16.995 [warn] Could not bind to 192.168.0.1:9050: Cannot assign requested address
    Jan 10 19:29:16.995 [notice] Closing partially-constructed listener Socks listener on 127.0.0.1:9050
    Jan 10 19:29:16.995 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
    Jan 10 19:29:16.995 [err] Reading config failed--see warnings above.
    Last edited by ILoveJapaneseGirls (2010-01-10 22:00:12)

  • How to enable PPTP VPN service in OS X Lion Server (10.7.1)

    This is pretty strange what Apple has removed the interface of PPTP settingfrom it VPN service!!
    I trued each and every think i knew and searched a lot over available recourseson the apple knowledge base pages. I also follow the below instructions toenable this service form terminal prompt:
    https://help.apple.com/advancedserveradmin/mac/10.7/#apd60aeac23-ac1b-4684-8988- 5c09283b13bb
    but no luck at all!
    Anyone can help?

    go to System Preferences > Users & Groups
    Login Options (underneath the list of users)
    Tick "Show fast user switching menu as .."

  • [SOLVED] - How to configure datasources in TP4

    Hello,
    I see there is no longer a Tools >> Embedded OC4J Server Preferences menu option in TP4.
    I have searched here and looked through the help to no avail...
    How/Where do we configure our Datasources under TP4?
    Thanks,
    Ripley
    Message was edited by:
    Ripley
    Message was edited by:
    Ripley

    I'm not sure this is exactly what you're looking for, but try Tools -> Java EE Runtime Preferences, then select the Embedded OC4J radio button option, followed by the Embedded OC4J Server Preferences button, and within the dialog that pops up their is a Data Sources node.
    Hope this helps.
    CM.

  • [Solved] How to configure ThinkPad trackpoint in arch?

    http://www.thinkwiki.org/wiki/How_to_co … TrackPoint
    Says how to do it.
    http://www.thinkwiki.org/wiki/Patch_to_ … figuration
    Says that it should be included unless it's removed by the archteam.
    I can come this far:
    echo -n 120 > /sys/devices/platform/i8042/serio0/
    but then the serio2 folder is missing.
    Any ideas?
    Package problem in the latest post!
    Last edited by bredin (2008-07-29 17:02:25)

    You missed a piece of info on the thinkwiki pages:
    # With kernels 2.6.19 and above config files for this driver are located in /sys/devices/platform/i8042/serio1.
    # With kernels 2.6.13 (inclusive) to 2.6.19 (exclusive) config files for this driver are located in /sys/devices/platform/i8042/serio0/serio2.
    I use the following config on my X61:
    echo -n 250 > /sys/devices/platform/i8042/serio1/sensitivity
    echo -n 160 > /sys/devices/platform/i8042/serio1/speed
    echo -n 1 > /sys/devices/platform/i8042/serio1/press_to_select
    echo -n 4 > /sys/devices/platform/i8042/serio1/upthresh

  • [SOLVED] How to create script that start serveral programs

    If i wrote to file
    firefox
    thunderbird
    i will make it executable
    if i run it then it will run firefox, after i close firefox then will run thunderbird,
    how i write this to run paralel thunderbird and firefox?
    Last edited by vito45 (2010-04-09 09:25:13)

    firefox&
    thunderbird&

  • [SOLVED] How to tell systemd to start decrypting as early as possible?

    Hello there,
    now that gnome got updated to 3.6 I had to finally convert to systemd. My system is encrypted and some of the data (for example my music collection) is on another hard disk which is also encrypted, although it cat be opened with a key file that is located in my root filesystem (so I only have to type in the keyphrase for my root at boot).
    When I tried to use systemd a few weeks ago, this was a problem. According to the wiki-article, I had two possibilities:
    1) simply have the appropriate entries in /etc/crypttab and /etc/fstab. This is problematic since then it has to be completely mounted for fs-local.service (or something like that) to be available, so for example gdm gets started rather late.
    2) add x-systemd-automount to the mount options. Gdm is then started earlier, but my music program (listen) takes a long time to start, since the unlock and mount only gets started as soon as it is accessed. Also, gdm seems to take a long time to start, so I suspect that it is also trying to access something and gets blocked.
    In general, I like the idea that any access to the file system is blocked until it is ready - this prevents listen from going through my playlist thinking that everything is deleted. But I'd like to tell systemd to start the unlocking as soon as it is started - maybe even before the root filesystem is remounted, since this only needs read access to /. At the moment I have a script in /etc/rc.d that does the unlocking, checking, and unlocking. This is usually finished before listen starts, but if the partition needs checking this will not be the case. Has anyone understood systemd good enough to have a suggestion?
    Last edited by viktordick (2014-11-06 12:46:27)

    I do something similar with my /home partition:
    LABEL=HOME              /home           ext4    x-systemd-automount               0       2
    Notice that I do not use the "noauto" option. This means that systemd will mount the partition as early as possible, but it will not wait for it to finish mounting (merely buffer any accesses using automount).

Maybe you are looking for

  • FCP 7 Won't launch

    ok, i've searched around for a WHILE before starting this thread.  strange FCP 7 behavior: i'm running 10.7.4 FCP 7.0 the splash screen comes up, as it's loading my plugins, it gets to "loading master templates" and just stops.  no error message.  i

  • Zoom non-functional in Crop mode?

    The zoom menu items are not disabled in Crop mode, but they do nothing. It is often necessary to zoom in when straightening in order to line up precisely with a known vertical or horizontal in the background.

  • How to use MRP for generate PO? any samlpe?

    I want to know how to using the MRP for generate purchase order. have any documents for showing the steps by using MRP? Thanks. On

  • Always Show BCC On Received Messages?

    Hello, Is there a setting to always enable BCC on received messages? Did I miss something with the upgrade in Mavericks or Yosemite? I have found the setting to enable BCC on messages I compose, but not receive. This has the potential to cause some e

  • Which is a efficient Data Structure to store data in a file

    I want tostire a data in file in sorted order. I am thinking about Bainary Search tree & heap sort Which is efficient technique. Please reply..