Hi
Tha last Magic android kernel has no Iptabels /firewall, it will result in wifi teathering not working even if you have a rooted phone.
I have tested Azilink , NO NEED for root access !
http://code.google.com/p/azilink/
I have posted a swedish guide , it is easy and what you need to do can be found there and you can use google to translate it .
I will just post the terminal command here .
Make sure usb debogging is on in the phone
download Android sdk or just adb from the link above
, then unzip it in some directory like below and
Code:
sudo cp ~/android-sdk-linux_x86-1.5_r2/tools/adb /usr/bin/adb
sudo chmod a+x /usr/bin/adb
This step is not needed , do it just if adb cant see the device ;
Code:
sudo gedit /etc/udev/rules.d/50-android.rules
paste this in , change username to you username in ubuntu
Code:
SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_adb",MODE="0666",OWNER="USERNAME"
SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",ATTR{idProduct}=="0c01",SYMLINK+="android_fastboot",MODE="0666",OWNER="USERNAME"
Code:
sudo chmod a+x /etc/udev/rules.d/50-android.rules
sudo /etc/init.d/udev restart
connect the phone and don't mount, you should get this if you run
Code:
adb devices
HT95xxxxxxxx device
now
Code:
sudo apt-get install network-manager-openvpn openvpn
sudo /etc/init.d/networking restart
sudo /etc/init.d/NetworkManager restart
use the phone to install this http://lfx.org/azilink/azilink.apk
or just
Code:
mkdir azilink
cd azilink
wget http://lfx.org/azilink/azilink.apk
adb install azilink.apk
wget http://azilink.googlecode.com/files/azilink.ovpn
make this file in the same directory
Code:
sudo nano resolv.conf
and paste this in it if you use Networkmanager
Code:
domain lan
search lan
nameserver 192.168.56.1
then start the app on the phone , make sure it is connected to the pc , and if you have fire wall open the portet used bellow
Code:
adb forward tcp:41927 tcp:41927
sudo cp resolv.conf /etc/
sudo openvpn --config azilink.ovpn
now yo can have fun , to stop the connection use ctrl+c , yo ushould run this three last lines every time you need to connect to the phone as modem
http://www.swedroid.se/forum/showthread.php?t=196
I have done another change to automate this let me post it later today .
Bookmarks