LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Connecting to internet through HTC-Cha Cha in Slackware (https://www.linuxquestions.org/questions/slackware-14/connecting-to-internet-through-htc-cha-cha-in-slackware-4175413133/)

chekkizhar 06-24-2012 11:23 AM

Connecting to internet through HTC-Cha Cha in Slackware
 
Hi,

how can I connect my mobile, [HTC Cha Cha] to system[wired-connection, not over BT] for internet access .
Previously I used USB modem, for that I used usb-modeswitch and wvdial packages.
Will the same work in this case ?

KDHofAvalon 06-24-2012 11:54 AM

I assume this is your phone: http://www.gsmarena.com/htc_chacha-3787.php
If it isn't then you can disregard this post.

I'm not sure this will work with your specific phone but I've used Android phones to connect to the Internet before, and as long as your phone isn't horribly crippled it should work as well. First connect the phone to the computer and select "Menu -> Settings -> Wireless and networks -> Tethering and Portable Hotspot" and enable USB tethering from there.

Then on the computer you need to run
Code:

# modprobe usbnet
as root to load the usb network driver (if it isn't already loaded). You'll see the new interface by running ifconfig, and from there it's just like starting an ethernet connection from the command line.
Code:

# ifconfig <ifname>
# dhcpcd <ifname>

I hope this helps, but as I've never used your particular phone before I don't know if it requires any special steps or even a completely different procedure.

chekkizhar 06-25-2012 10:41 AM

Thanks KDHofAvalon
yeah, the mobile is same that you mentioned.

I aware about usb-tehering and use that on WIndows and Ubuntu.
In slackware, if I connect normally, it is showing as block device and if I connect using usb-tethering , the lsusb command list the mobile as modem.
But, no change in the ifconfig output and inserting usbnet module


All times are GMT -5. The time now is 10:46 PM.