In this post I'll explain the 2 methods that can be used to share your Android smartphone connection with CentOS 6.2 machine:
- USB tethering, wired connection
- Portable Wi-Fi hotspot, wireless connection
USB tethering
Activate the 3G data connection on the Android smartphone, connect the USB cable to the Android device and then to your computer. On the Android smartphone go to Settings -> Wireless & networks -> Tethering & portable hotspot and activate USB tethering.CentOS' Network Manager with automatically create a wired connection assigning the cdc_ether driver to the USB device thus creating an ethernet interface such as usb0.
When your done just disable the 3G data connection or disable USB tethering on the Android smartphone.
Portable Wi-Fi hotspot
Activate the 3G data connection on the Android smartphone and go to Settings -> Wireless & networks -> Tethering & portable hotspot and activate Portable Wi-Fi hotspot.Tap the Portable Wi-Fi hotspot settings and then Configure Wi-Fi hotspot. Type in a Network SSID such as MyAndroidAP, select Security and choose WPA2 PSK and type in a password in the Password field.
CentOS' Network Manager will identify Android's wireless Network SSID, connect to it and a Wireless Network Authentication Required pop-up will appear. Select WPA & WPA2 Personal and type in the password that you've chosen while configuring the Android smartphone.
To end the connection disable 3G or the Portable Wi-Fi hotspot.
No comments:
Post a Comment