Description of problem: I created some patch for system-config-network with PPTP-connection support. But this connections must have ifup and ifdown files for working. So i attach this files with this feature request. Link to appropriate system-config-network request: https://bugzilla.redhat.com/show_bug.cgi?id=550054. See an attachement with ifup-pptp and ifdown-pptp scripts. But this files need some support in /ets/sysconfig/network-scripts/network-functions file. I can't find a cvs or svn of initscripts to create patch file for it. So i send you scripts and ask to modify network-functions: just two lines in source_config () function with new connection type: case "$TYPE" in .... PPTP | pptp) DEVICETYPE="pptp" ;; Thanks in advance. Cepreu.
Created attachment 385585 [details] Ifdown script
Created attachment 385586 [details] Ifup script
Thanks for your report. -- Fedora Bugzappers Team Member
Sorry, i temporarily forget about sending documentation for this scripts. See an attachment with sysconfig.txt file, where new type of config documented at the end of file.
Created attachment 385668 [details] Documentation
1) This shares so much code with the ppp code, it would seem to make more sense to leverage that somehow 2) Ideally, new connection type support is supported via NM, not via the legacy network scripts.
1) There is two ways to solve it. First: use standard ifup-ppp with empty MODEMPORT, LINESPEED, 60% settings, which needed to pptp connections, stored in PPPOPTIONS string. Negative side - not beautiful config and hard to reading settings in GUI part. Second: transfer shared code from ifup files to network-functions. Negative side - need serious modifications of ifup-ppp and network-functons. So i can do nothing or realize first method, or second, if you say. 2) This connection type are supported in NM, but there is some problem in concept of NM, which make this support useless in some situations: there is no way to establish connection from command line and without login in system, there is no way to forbid controlling of connection for non-root users. All of it because NM created for desktops. But enumerated things can be very useful for small offices or servers.
Hi again. There is modified ifup-ppp, and ifdown-ppp scripts. So now support of pptp connections in this scripts. It helps to reduce amount of shared code. ifup-pptp and ifdown-pptp now must be just symbolic links to ifup-ppp and ifdown-pptp.
Created attachment 398973 [details] ifup script
Created attachment 398974 [details] ifdown script
(In reply to comment #8) > Hi again. There is modified ifup-ppp, and ifdown-ppp scripts. So now support of > pptp connections in this scripts. It helps to reduce amount of shared code. > ifup-pptp and ifdown-pptp now must be just symbolic links to ifup-ppp and > ifdown-pptp. Fix: ...symbolic links to ifup-ppp and ifdown-ppp.
I am sorry, but may i help you somehow to integrate this pathes in upstream? Maybe initsripts have some git, cvs or something similar and i can create patch for this repository latest version? Or i can download latest fedora (beta 13, for example) and modify their ifup-ppp, ifdown-ppp and send you? Because files, which i send you - it is my modifications to fedora 11 scripts (i use it myself). Please, give me your advice, how i can be useful in this matter?
I am currently busy with other tasks; I hope to get to looking at this in the next couple of weeks. Please be patient.
Ok, thanks for attention.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
(In reply to Cepreu from comment #7) > 2) This connection type are supported in NM, but there is some problem in > concept of NM, which make this support useless in some situations: there is > no way to establish connection from command line There is a way now, with nmcli. > and without login in > system, Of course there is; the connections can be set to autoconnect. > there is no way to forbid controlling of connection for non-root > users. There is. Non-root users can't control networking (unless they are active console users). You can configure this with Policykit. > All of it because NM created for desktops. But enumerated things can > be very useful for small offices or servers. We support server setups too. I guess this is now obsolete and can be closed?