1

Temat: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Witam,
dwa dni temu zakupiłem VPS aby zainstalować na nim serwer PPTPD. Po jego zainstalowaniu chciałem się połączyć za pomocą routera (nie przez PC) więc zainstalowałem ppp-mod-pptp, pptpd itp.

Wg. tutoriala miałem dodać do /etc/config/network:

config interface 'ppp0'
        option proto 'pptp'
        option server '188.***.***.***'
        option username 'NazwaUzytkownika'
        option password 'Haslo'
    option keepalive '10'

Wykonuje polecenie ,, /etc/init.d/network restart '' i wpisuje ,, ifup ppp0 ''

Lecz w logach nie ma żadnych informacji o połączeniu tak jak w ,, ifconfig ''

Z góry dziękuję za pomoc.

2

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Dodam że bez problemu łączę się na PC z serwerem.

3

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

uci show network (zobacz czy nie ma błędów wypisanych przez uci)

a później pokaż wyniki poleceń:

opkg list_installed | grep ppp
opkg list_installed | grep pptp
ifup ppp0
logread

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Wyniki:

uci show network


network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth1
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.2.1
network.lan.dns=208.67.222.222 208.67.220.220
network.ppp0=interface
network.ppp0.proto=pptp
network.ppp0.server=188.***.***.***
network.ppp0.username=******
network.ppp0.password=******
network.ppp0.keepalive=10
network.wan=interface
network.wan.proto=dhcp
network.wan.ifname=eth2
network.wan.mtu=1472
network.wan.dns=208.67.222.222 208.67.220.220
network.wan.peerdns=0
network.@switch[0]=switch
network.@switch[0].name=switch0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=switch0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0 1 2 3 4

opkg list_installed | grep ppp

kmod-ppp - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
kmod-pppoe - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
kmod-pppox - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
ppp - 2.4.5-10
ppp-mod-pppoe - 2.4.5-10
ppp-mod-pptp - 2.4.5-10

opkg list_installed | grep pptp

kmod-pptp - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
ppp-mod-pptp - 2.4.5-10
pptpd - 1.3.4-2

ifup ppp0

logread

0 wyników z ppp0

5

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Choć nie powinno mieć to znaczenia to zmień nazwę sekcji z ppp0 na np. vpn.

I pokaż cały logread.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Logread:


Jan  1 01:00:36 Dom kern.debug kernel: [    4.980000] Registered led device: tp-link:green:wlan
Jan  1 01:00:36 Dom kern.debug kernel: [    4.990000] Registered led device: tp-link:green:3g
Jan  1 01:00:36 Dom kern.notice kernel: [    8.270000] JFFS2 notice: (446) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 24 of xref (0 dead, 7 orphan) found.
Jan  1 01:00:36 Dom kern.notice kernel: [    8.880000] SCSI subsystem initialized
Jan  1 01:00:36 Dom kern.info kernel: [    9.020000] usbcore: registered new interface driver usbfs
Jan  1 01:00:36 Dom kern.info kernel: [    9.030000] usbcore: registered new interface driver hub
Jan  1 01:00:36 Dom kern.info kernel: [    9.030000] usbcore: registered new device driver usb
Jan  1 01:00:36 Dom kern.info kernel: [    9.420000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 01:00:36 Dom kern.info kernel: [    9.430000] ehci-platform ehci-platform: Generic Platform EHCI Controller
Jan  1 01:00:36 Dom kern.info kernel: [    9.440000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Jan  1 01:00:36 Dom kern.info kernel: [    9.470000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Jan  1 01:00:36 Dom kern.info kernel: [    9.490000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Jan  1 01:00:36 Dom kern.info kernel: [    9.490000] hub 1-0:1.0: USB hub found
Jan  1 01:00:36 Dom kern.info kernel: [    9.500000] hub 1-0:1.0: 1 port detected
Jan  1 01:00:36 Dom kern.info kernel: [    9.510000] Initializing USB Mass Storage driver...
Jan  1 01:00:36 Dom kern.info kernel: [    9.520000] usbcore: registered new interface driver usb-storage
Jan  1 01:00:36 Dom kern.info kernel: [    9.530000] USB Mass Storage support registered.
Jan  1 01:00:36 Dom kern.info kernel: [   11.200000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=0123456789ABCDEF
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1f01 for mode switching
Jan  1 01:00:40 Dom kern.notice kernel: [   40.300000] sd 0:0:0:1: [sda] Synchronizing SCSI cache
Jan  1 01:00:40 Dom syslog.notice usb_modeswitch: switch device 12d1:1f01 on 001/002
Jan  1 01:00:40 Dom kern.warn kernel: [   40.320000] usb 1-1: usbfs: process 819 (usb_modeswitch) did not claim interface 0 before use
Jan  1 01:00:40 Dom kern.info kernel: [   40.350000] usb 1-1: USB disconnect, device number 2
Jan  1 01:00:42 Dom daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:42 Dom kern.info kernel: [   42.570000] device eth1 entered promiscuous mode
Jan  1 01:00:42 Dom daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:42 Dom user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:43 Dom kern.info kernel: [   43.720000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan  1 01:00:44 Dom kern.info kernel: [   44.490000] cdc_ether 1-1:1.0: eth2: register 'cdc_ether' at usb-ehci-platform-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
Jan  1 01:00:44 Dom kern.info kernel: [   44.520000] scsi1 : usb-storage 1-1:1.2
Jan  1 01:00:44 Dom kern.info kernel: [   44.670000] eth1: link up (1000Mbps/Full duplex)
Jan  1 01:00:44 Dom kern.info kernel: [   44.670000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:44 Dom kern.info kernel: [   44.680000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:44 Dom daemon.notice netifd: wan (963): udhcpc (v1.19.4) started
Jan  1 01:00:44 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:45 Dom kern.notice kernel: [   45.520000] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Jan  1 01:00:45 Dom kern.notice kernel: [   45.530000] sd 1:0:0:0: [sda] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
Jan  1 01:00:45 Dom kern.notice kernel: [   45.550000] sd 1:0:0:0: [sda] Write Protect is off
Jan  1 01:00:45 Dom kern.debug kernel: [   45.550000] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
Jan  1 01:00:45 Dom kern.notice kernel: [   45.550000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  1 01:00:45 Dom kern.info kernel: [   45.570000]  sda: sda1
Jan  1 01:00:45 Dom kern.notice kernel: [   45.580000] sd 1:0:0:0: [sda] Attached SCSI removable disk
Jan  1 01:00:46 Dom kern.info kernel: [   46.680000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:47 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:48 Dom kern.info kernel: [   48.360000] device wlan0 entered promiscuous mode
Jan  1 01:00:48 Dom kern.info kernel: [   48.800000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:48 Dom kern.info kernel: [   48.810000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:50 Dom kern.info kernel: [   50.810000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Sending select for 192.168.8.100...
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Lease of 192.168.8.100 obtained, lease time 86400
Jan  1 01:00:51 Dom kern.err kernel: [   51.120000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Jan  1 01:00:51 Dom kern.err kernel: [   51.150000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
Jan  1 01:00:51 Dom daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:51 Dom kern.warn kernel: [   51.260000] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
Jan  1 01:00:51 Dom kern.info kernel: [   51.280000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:02 Dom authpriv.info dropbear[1649]: Running in background
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:03 Dom daemon.warn httpd_gargoyle[1708]: started as root without requesting chroot(), warning only
Oct 17 12:00:03 Dom daemon.notice httpd_gargoyle[1708]: httpd_gargoyle/1.0 14mar2008 starting on Dom, port 80
Oct 17 12:00:04 Dom kern.err kernel: [   55.270000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Oct 17 12:00:04 Dom kern.err kernel: [   55.290000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
Oct 17 12:00:04 Dom kern.warn kernel: [   55.340000] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
Oct 17 12:00:04 Dom kern.info kernel: [   55.350000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: authenticated
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: associated (aid 1)
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: pairwise key handshake completed (RSN)
Oct 17 12:00:04 Dom user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 17 12:00:04 Dom user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 17 12:00:04 Dom user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: started, version 2.66 cachesize 150
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Oct 17 12:00:08 Dom daemon.info dnsmasq-dhcp[1797]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: read /etc/hosts - 3 addresses
Oct 17 12:00:08 Dom user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Oct 17 12:00:08 Dom user.info sysinit: (Did you specify correct configuration file path?)
Oct 17 15:31:44 Dom user.info sysinit: setting up led WAN
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN1
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN2
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN3
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN4
Oct 17 15:31:44 Dom user.info sysinit: setting up led WLAN
Oct 17 15:31:44 Dom user.info sysinit: setting up led USB
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: read /etc/ethers - 0 addresses
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPDISCOVER(br-lan) 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPOFFER(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:31:49 Dom authpriv.info dropbear[1827]: Child connection from 192.168.2.215:50796
Oct 17 15:31:54 Dom authpriv.notice dropbear[1827]: Password auth succeeded for 'root' from 192.168.2.215:50796
Oct 17 15:31:56 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.215 90:fb:a6:16:46:5b
Oct 17 15:31:56 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.215 90:fb:a6:16:46:5b Damian-PC
Oct 17 15:31:58 Dom user.notice firewall: Reloading firewall due to ifup of wan (eth2)
Oct 17 15:32:36 Dom cron.err crond[1572]: time disparity of 212 minutes detected
Oct 17 15:32:41 Dom authpriv.info dropbear[2104]: Child connection from 192.168.2.215:50804
Oct 17 15:32:44 Dom authpriv.notice dropbear[2104]: Password auth succeeded for 'root' from 192.168.2.215:50804
Oct 17 15:32:49 Dom kern.warn kernel: [  125.500000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
Oct 17 15:32:49 Dom kern.warn kernel: [  125.510000]                old minutes west=0, new minutes west=-120
Oct 17 15:32:51 Dom authpriv.info dropbear[2798]: Child connection from 192.168.2.215:50805
Oct 17 15:32:55 Dom kern.info kernel: [  131.300000] IMQ driver unloaded successfully.
Oct 17 15:32:55 Dom kern.info kernel: [  131.360000]    Hooked IMQ after mangle on INPUT
Oct 17 15:32:55 Dom kern.info kernel: [  131.360000]    Hooked IMQ after mangle on FORWARD
Oct 17 15:32:55 Dom kern.info kernel: [  131.370000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Oct 17 15:32:58 Dom authpriv.notice dropbear[2798]: Password auth succeeded for 'root' from 192.168.2.215:50805
Oct 17 15:33:10 Dom local5.info qosmon[3666]: starting socketfd = 5, statusfd = 4
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'lan' is now down
Oct 17 15:33:34 Dom kern.info kernel: [  169.860000] br-lan: port 2(wlan0) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.860000] br-lan: port 1(eth1) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.870000] device eth1 left promiscuous mode
Oct 17 15:33:34 Dom kern.info kernel: [  169.870000] br-lan: port 1(eth1) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.890000] eth1: link down
Oct 17 15:33:34 Dom kern.info kernel: [  169.890000] device wlan0 left promiscuous mode
Oct 17 15:33:34 Dom kern.info kernel: [  169.900000] br-lan: port 2(wlan0) entered disabled state
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'loopback' is now down
Oct 17 15:33:34 Dom daemon.notice netifd: wan (963): Sending renew...
Oct 17 15:33:34 Dom daemon.notice netifd: wan (963): Received SIGTERM
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'wan' is now down
Oct 17 15:33:34 Dom local5.notice qosmon[3666]: terminated sigterm=15, sel_err=-1
Oct 17 15:33:37 Dom daemon.warn dnsmasq[1797]: no servers found in /tmp/resolv.conf.auto, will retry
Oct 17 15:33:37 Dom kern.info kernel: [  173.460000] device eth1 entered promiscuous mode
Oct 17 15:33:37 Dom daemon.notice netifd: Interface 'lan' is now up
Oct 17 15:33:37 Dom daemon.notice netifd: Interface 'loopback' is now up
Oct 17 15:33:37 Dom daemon.notice netifd: wan (3888): udhcpc (v1.19.4) started
Oct 17 15:33:37 Dom user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Sending discover...
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Sending select for 192.168.8.100...
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Lease of 192.168.8.100 obtained, lease time 86400
Oct 17 15:33:38 Dom kern.info kernel: [  174.060000] eth1: link up (1000Mbps/Full duplex)
Oct 17 15:33:38 Dom kern.info kernel: [  174.060000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:38 Dom kern.info kernel: [  174.070000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 15:33:38 Dom daemon.notice netifd: Interface 'wan' is now up
Oct 17 15:33:40 Dom kern.info kernel: [  176.070000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 15:33:42 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.215 90:fb:a6:16:46:5b
Oct 17 15:33:42 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.215 90:fb:a6:16:46:5b Damian-PC
Oct 17 15:33:43 Dom kern.info kernel: [  179.050000] device wlan0 entered promiscuous mode
Oct 17 15:33:43 Dom kern.info kernel: [  179.280000] br-lan: port 2(wlan0) entered forwarding state
Oct 17 15:33:43 Dom kern.info kernel: [  179.280000] br-lan: port 2(wlan0) entered forwarding state
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: authenticated
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: associated (aid 1)
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: pairwise key handshake completed (RSN)
Oct 17 15:33:44 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:33:44 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:33:45 Dom kern.info kernel: [  181.280000] br-lan: port 2(wlan0) entered forwarding state

7

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

ls -al /lib/netifd/proto
ls -al /usr/lib/pppd/*/pptp.so

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Zapomniałem wspomnieć o tym iż zainstalowałem kilka pakietów na USB

Dodałem do opkg.conf
dest usb /mnt/sda1
I zlinkowałem wszystkie pliki z /usr/sbin /sbin /usr/bin /etc/modules.d itp. za pomocą ln -s

9

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

root@Dom:/etc/init.d# ls -al /lib/netifd/proto
drwxrwxr-x    2 root     root            72 Nov  8  2013 .
drwxrwxr-x    3 root     root           100 Oct 27  2013 ..
-rwxr-xr-x    1 root     root          2712 Sep 27  2014 3g.sh
-rwxrwxr-x    1 root     root          1317 Jul 10  2013 dhcp.sh
-rwxr-xr-x    1 root     root          2972 Nov  9  2013 ndis.sh
-rwxr-xr-x    1 root     root          4595 Sep 27  2014 ppp.sh


root@Dom:/etc/init.d# ls -al /usr/lib/pppd/*/pptp.so
lrwxrwxrwx    1 root     root            36 Oct 17 15:42 /usr/lib/pppd/2.4.5/pptp.so -> /mnt/sda1/usr/lib/pppd/2.4.5/pptp.so

10

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

I chyba to jest problem. Podczas dodowania proto  skrypty sprawdzają czy jest taki plik (a nie dowiązanie symboliczne). Zrób

rm  /usr/lib/pppd/2.4.5/pptp.so
cp /mnt/sda1/usr/lib/pppd/2.4.5/pptp.so /usr/lib/pppd/2.4.5/

(skopuj sam plik)

reboot

i zobacz co będzie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Podam odpowiedź za ok. 10 minut ponieważ zabrakło miejsca przez próbę skopiowania kilku kolejnych plików.

12

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Wynik:

Oct 17 16:03:55 Gargoyle daemon.notice netifd: Interface 'vpn' is now down
Oct 17 16:03:55 Gargoyle daemon.notice netifd: vpn (4613): ./ppp.sh: eval: line                   1: resolveip: not found
Oct 17 16:03:55 Gargoyle daemon.notice netifd: vpn (4613): Could not resolve ser                  ver address

13

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

pakiet resolveip zainstaluj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

root@Dom:/etc/init.d# opkg install resolveip
WARNING: Package resolveip is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

15

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Więc linków do niego nie zrobiłeś. wpisz z konsoli resolveip , musi dać się uruchomić.i

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Jan  1 01:09:19 Gargoyle daemon.info pppd[6988]: Plugin pptp.so loaded.
Jan  1 01:09:19 Gargoyle daemon.info pppd[6988]: PPTP plugin version 1.00
Jan  1 01:09:19 Gargoyle daemon.notice pppd[6988]: pppd 2.4.5 started by root, uid 0
Jan  1 01:09:19 Gargoyle daemon.err pppd[6988]: PPTP: failed to create PPTP socket (Protocol not supported)
Jan  1 01:09:28 Gargoyle daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: group key handshake completed (WPA)
Jan  1 01:09:35 Gargoyle daemon.info pppd[6988]: Terminating on signal 15
Jan  1 01:09:35 Gargoyle daemon.info pppd[6988]: Exit.
Jan  1 01:09:35 Gargoyle daemon.notice netifd: Interface 'vpn' is now down

17 (edytowany przez Vosly0 2016-10-17 15:28:44)

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

A jednak dalej ten sam błąd.

18

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

kmod-pp* też zlinkowałeś? Bo chyba modułów nie masz załadowanych (pptp.ko)

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19 (edytowany przez Vosly0 2016-10-17 15:49:32)

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Mam wiele plików które mogę zlinkować ale nwm dokładnie jakie. pptp.ko linkowałem ale to nic nie dało.

Znalazłem pliki /mnt/sda1/etc/modules.d /mnt/sda1/lib/modules/3.3.8/pptp.ko

Te mam zlinkować?

20

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Tak.

PS. Problem sobie zrobiłeś tą instalacją na zewnętrznym nośniku...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21 (edytowany przez Vosly0 2016-10-17 15:59:19)

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Zlinkowałem wszystkie pliki z /mnt/sda1 i nic to nie dało. Mam po zlinkowaniu zrestartować router czy od razu wpisywać ,, ifup vpn '' ?

Prawdopodobnie zrobię extroota jak przyjdzie hub ale aktualnie potrzebuję połączenia z PPTPD

22 (edytowany przez Vosly0 2016-10-17 16:09:19)

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

No dobra, więcej roboty niż pożytku. Dziękuje że próbowałeś mi pomóc. Jednak zaczekam na huba, zrobię extroota i dopiero zainstaluję pptp.

23

Odp: Problem z PPTP Client na Gargoyle TL-MR3420 v2

Masz załadowany moduł czy nie?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.