LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-21-2012, 06:36 AM   #1
Mazer
LQ Newbie
 
Registered: Jun 2012
Posts: 20

Rep: Reputation: Disabled
Android phone as a usb modem


I realise this isn't really a distro specific issue, but I was wondering if you have any ideas about using an android phone as a modem on slackware.
Thank you!
 
Old 07-21-2012, 08:37 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

it's the same thing as an USB-UMTS-device as far as I know. You should search the forums for UMTS-Modem.

Markus
 
Old 07-21-2012, 09:23 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,313

Rep: Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306
it's actually easier: first you connect it by usb, then depending on the phone setup (android version and user preferences) it will ask on connection if you want to activate "usb tethering" (you want this).
if it won't ask it, go in the settings -> wireless connection menu and you should find the usb tethering option: if it's not activated, activate it from here.
then you should have a new unconfigured network interface usb0 in your slackware, you can check it by "ifconfig -a".
fire up the dhcp client for it
Code:
dhclient usb0
and this will do.

I'm posting this using my phone this way (I'm on holiday)

Last edited by ponce; 07-21-2012 at 09:24 AM.
 
1 members found this post helpful.
Old 07-22-2012, 05:20 AM   #4
Mazer
LQ Newbie
 
Registered: Jun 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Well, everything worked almost as you said. I got the tethering option on, my system saw my phone connection, but when I try to dhclient usb0 I get a weird terminal error, and nothing happens.
Do you have any ideas?

P.S.
Buone Vacanze Ponce!
 
Old 07-22-2012, 05:38 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,313

Rep: Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306Reputation: 4306
thanks

which is the weird terminal error? can you paste it here?
are you trying with the slackware kernel or are you using a custom built one? I suggest you to try with the stock one.

EDIT: you need the usb_net and cdc_ether modules enabled in your kernel (under "Device drivers" -> "Network device support" -> "USB Network Adapters" -> "Multi-purpose USB Networking Framework" -> "CDC Ethernet support")
Code:
$ zgrep USBNET /proc/config.gz 
CONFIG_USB_USBNET=m
$ zgrep CDCETHER /proc/config.gz 
CONFIG_USB_NET_CDCETHER=m

Last edited by ponce; 07-22-2012 at 12:18 PM.
 
1 members found this post helpful.
Old 07-23-2012, 04:56 PM   #6
Mazer
LQ Newbie
 
Registered: Jun 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thank you! Now everything works very well!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Nokia phone as usb modem in Linux.. myholysin Linux - Newbie 2 08-04-2008 01:05 PM
installing z55i phone as usb modem or bluetooth modem in fedora manoharan Linux - Hardware 1 10-17-2006 07:42 PM
usb cell phone modem bill brown Linux - Hardware 0 05-12-2006 06:37 PM
Cell phone as USB Modem tjoris Linux - Software 1 05-01-2006 06:00 PM
Using Mobile phone as USB Modem in linux RRolleston Debian 1 05-19-2005 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration