LinuxQuestions.org
Visit Jeremy's Blog.
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, 05: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, 07:37 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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, 08:23 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,398

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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 08:24 AM.
 
1 members found this post helpful.
Old 07-22-2012, 04: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, 04:38 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,398

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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 11:18 AM.
 
1 members found this post helpful.
Old 07-23-2012, 03: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 12:05 PM
installing z55i phone as usb modem or bluetooth modem in fedora manoharan Linux - Hardware 1 10-17-2006 06:42 PM
usb cell phone modem bill brown Linux - Hardware 0 05-12-2006 05:37 PM
Cell phone as USB Modem tjoris Linux - Software 1 05-01-2006 05:00 PM
Using Mobile phone as USB Modem in linux RRolleston Debian 1 05-19-2005 08:27 PM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration