Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
[SOLVED] - CHECK BELOW
advocator said:
Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
Click to expand...
Click to collapse
I've been trying to do this but just forgot about it when I first got the phone. You need to compile the tun.ko driver.
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Gawis said:
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Click to expand...
Click to collapse
I'm root.
Now not sure about the tun.ko in the kernel. I guess it has the default one (I do afterall, manage to netcfg tun0 up and ifconfig tun0 IP MASK if I do them manually ... they fail when openvpn does them by itself) ..
Maybe I need a special tun.ko? how can I compile my own?
I suddenly remembered thread in which I posted a while back about SGSII and OpenVPN
that member confirmed it as working, the link is here:
http://forum.xda-developers.com/showthread.php?t=1074492
I will root my SGSII somewhere this or next month and try it myself then..
SOLVED
Had to reinstall BusyBox (so I'd have /system/xbin/bb folder).
Now everything works with the default tun.
re-install openvpn when prompt ifconfig directory select /system/xbin/bb. then open console add sym link "ln -s /system/xbin /system/xbin/bb"
your openvpn should now able to up the tun0 interface and accept the push config from openvpn server
İ want change mac adress i changed but not connect wifi i changed mac andress in terminal and bt5 i need help
I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11
Bad bad bad
aveq8 said:
I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11
Click to expand...
Click to collapse
The Question is Why do you want to do this. You know the MAC address is like a serial number to your WIFI Device in the Tablet.If you Change this to match a wifi address to Anyone on the same WAN. The two devices will Conflict and Likely Cause the WAN Provider (cable company) to BAN BOTH MAC Addresses. They do this to STOP Theft of Services.
I Seriously ADVISE Leaving it be.
If you have a issue that you think changing the MAC Will help please post that issue and someone may be able to help..
Hi all,
*
To my work, I can access to the WIFI by giving my MAC address. I gave my MAC address, and ok, I had access.
However, I flashed the rom CloudyG3 and following this, no access to WIFI... I've realized that my MAC address had changed (and I saw I 'wasn't alone in this case) ... So I did a new request for an access with the new MAC address, and it doesn't work ...
*
I used the application Wireless mac address change to replace the current MAC address with my old address and I regain access to the corporate network ...
*
So is there anyone could help me to find my old MAC address? I tried to reflash my phone, it does not change ... I tried to pass on the Rom OptimusG3, the MAC address remains on the new ...
*
Thank you in advance for your help
Mine does the same thing and I cannot get a answer on how to fix the wifi mac address change.
Flash with my Nandroid backup... unsuccessfully...
Hey,
I know it's possible and I've tried several apps including 'MacChanger'.
If I change it and view my mac address, it's changed.
If I connect, it says 'Connecting...' for a long time and stops after a while, resets the mac address back to it's default and successfully connects.
Yes the MAC Address is in the right format.
I rooted my phone (Huawei Y550) manually with SuperSU and busybox installed.
Using ifconfig command on the wlan0 interface it doesn't change at all,
and I guess MacChanger uses the method that edits the file containing the MAC Address, which it shows the new mac address, but changes it to the default after connecting.
Any advice?
Thanks.