Any idea? Or /etc/config/network is depricated?

On 11/6/12, Илья Кучмин <ikuch...@gmail.com> wrote:
> It's ok
>
> This config is work:
> plugin pptp.so pptp_server server.avtograd.ru
> name 1234567890
> password ""
> nobsdcomp
> nodeflate
> defaultroute
>
> I would be happy if the uci will work. What my problem?
>
> Thanks for password. ;-)
>
> On Tue, Nov 6, 2012 at 9:36 PM, Илья Кучмин <ikuch...@gmail.com> wrote:
>
>>
>>
>> ---------- Forwarded message ----------
>> From: Илья Кучмин <ikuch...@gmail.com>
>> Date: Tue, Nov 6, 2012 at 9:35 PM
>> Subject: Re: [OpenWrt-Devel] pptp fails on x86
>> To: Daniel Golle <dgo...@allnet.de>
>>
>>
>> I using /etc/config/network:
>>
>> config interface loopback
>>        option ifname   lo
>>        option proto    static
>>        option ipaddr   127.0.0.1
>>        option netmask  255.0.0.0
>>
>> config interface wan
>>         option ifname   eth0
>>         option proto    static
>>         option ipaddr   10.1.141.15
>>         option netmask  255.255.255.192
>>         option peerdns  1
>>         option dns      '81.28.160.1 81.28.160.111'
>>
>> config 'interface' 'isp'
>>         option 'proto' 'pptp'
>>         option 'username' ''
>>         option 'password' ''
>>         option 'persist' '1'
>>         option server '192.168.0.1'
>>         #option 'server' 'server.avtograd.ru'
>>         option 'keepalive' '10'
>>         option 'buffering' '1'
>>
>> This config is not work. I execute ifup wan; ifup aist. Last command not
>> work. In logread not new messages. May be config is not correct?
>>
>>
>> On Tue, Nov 6, 2012 at 8:57 PM, Daniel Golle <dgo...@allnet.de> wrote:
>>
>>> You can either edit /etc/config/network or use LuCI to add a PPtP
>>> interface
>>> which will work fine. If you -- for which ever reason -- like to go the
>>> "old
>>> fashioned" way of directly using pppd, you have to change your
>>> configuration,
>>> so it can work with the pptp plugin instead of the external pty.
>>>
>>> On 06/11/12 18:52, Илья Кучмин wrote:
>>> [...]
>>> > pty "/usr/sbin/pptp server.avtograd.ru --nolaunchpppd"
>>> replace this line with:
>>> plugin pptp.so pptp_server server.avtograd.ru
>>>
>>> The rest should be ok as far as I can see.
>>>
>>> And don't forget to change your password ;)
>>>
>>>
>>
>>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to