im struggeling now for days to get this working. I really hope someone can help me.
Im living in a dormitory which does not have wifi, but a LAN socket. To connect to the internet you have to install Cisco AnyConnect and login with your student account. This works, but there is no way I can connect my phone with the internet.
So a friend said I can buy a router and use LEDE to connect to the University VPN. Well, I bought a TP-Link WR940N v4, not knowing it has just 4MB of flash :(.
What I tried till now
First I installed the LEDE firmware for this router (lede-17.01.4-ar71xx-generic-tl-wr940n-v4-squashfs-factory-eu.bin) which was working. Then I tried to install vpnc (I tried to follow this guide), but the flash size was obviously not enough (which I didn't know before of course).
So I started to try out the image builder an build my own image with:
make image PROFILE=tl-wr940n-v4 PACKAGES="vpnc vpnc-scripts luci-proto-vpnc ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -ppp -ppp-mod-pppoe"
Cause I guessed I don't need IPv6 and PPP. Then I flashed the router with this file: "bin/targets/ar71xx/generic/lede-17.01.4-ar71xx-generic-tl-wr940n-v4-squashfs-sysupgrade.bin".
After that I tried to open LuCI and it didn't open, so I checked with "opkg list-installed" the packages and surprise neither where the PPP or IPv6 removed nor was the vpnc installed.
So I checked my make image command again, and it just doesn't matter what packages I put, in the end the generated file is always 3145732 bytes big, so I guess its just not updating the syupgrade.bin file (the only file which is changing is lede-17.01.4-ar71xx-generic-root.squashfs). No idea why.
Then I tried to use an other user generated image. The OpenVPN build of this post. Which is working, but I cannot figure out how to configure the VPN to connect to the cisco server. So im stuck there too.
- why does the make image command does not change the *.bin files, what do I do wrong?
- can I remove the PPP and IPv6?
- is it possible to use OpenVPN to connect to a cisco system and how is it done? I read a lot of tutorial's but I just couldn't figure it out. I don't have .ovpn file or a CA file or anything from the university.
Sorry for the long text and thanks in advance!