LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-28-2014, 04:59 AM   #1
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Phone is not detected as ppp0 interface


Hello,

I connect to internet with using my phone dialup connection.

I have a Samsung Android phone which is detected as /dev/ttyACM0 and which
shows my network interface as ppp0(GPRS/EDGE/3G).

I have another phone i.e. Nokia 200 which is also detected as /dev/ttyACM0 but
it shows the network interface as usbpn0 when I am selecting PC suite mode.
Hence I am unable to connect with it to internet. How do I make it detected as
ppp0 interface?

Please help if any ideas.
 
Old 06-28-2014, 09:40 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i'm confused.
i have a pretty old android phone, but it has an option settings => wireless&networks => usb tethering.
activating that, i can connect my phone to my computer via usb and get a new wired internet connection (check it with "ip link").
alternatively, i can create a wireless hotspot (mobile ap).

no need for ppp.

unless you have a particular reason why it has to be ppp?
 
Old 06-28-2014, 09:42 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What versions of Android? That may have a significant bearing on this.
 
Old 06-28-2014, 11:33 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by kedarp View Post
Hello,

I connect to internet with using my phone dialup connection.

I have a Samsung Android phone which is detected as /dev/ttyACM0 and which
shows my network interface as ppp0(GPRS/EDGE/3G).

I have another phone i.e. Nokia 200 which is also detected as /dev/ttyACM0 but
it shows the network interface as usbpn0 when I am selecting PC suite mode.
Hence I am unable to connect with it to internet. How do I make it detected as
ppp0 interface?

Please help if any ideas.
the name of an interface is an arbitrary label meant to differentiate which interface is which, and should have NO bearing WHATSOEVER on the actual connectivity

it is more likely that either your DNS is configured wrong or the interface is not set as the default route

what exactly is the error, and what happens when you try to ping www.google.com from a terminal?

also, post an output of 'ifconfig'
 
Old 06-29-2014, 02:49 AM   #5
s.verma
Member
 
Registered: Oct 2013
Distribution: Debian Sid, Gentoo, Arch, Debian
Posts: 186
Blog Entries: 4

Rep: Reputation: 25
Quote:
Originally Posted by kedarp View Post

I have another phone i.e. Nokia 200 which is also detected as /dev/ttyACM0 but
it shows the network interface as usbpn0 when I am selecting PC suite mode.
Hence I am unable to connect with it to internet. How do I make it detected as
ppp0 interface?

Please help if any ideas.
Dear kdearp,
Let me share with you my experience. I also have Nokia Phones. When I try to connect with mobile network, I connect it to my computer with USB data cable. Then it is detected and /dev/ttyACM0 is created in filesystem. Also usbpn0 interface is created, but ppp0 is not created. ppp0 is only created when I connect my computer to internet (using mobile) by giving APN and dialing to ISP, i.e. after when I got connected to internet.

So first don't bother about interface. Just bother about your APN (Access Point Name) and dialing number to be used with your phone service provider (It is also available in network manager nm-applet application on linux).

Then using your correct APN and number try dialing and connecting through your phone to internet.

Last edited by s.verma; 06-29-2014 at 02:51 AM.
 
Old 07-02-2014, 08:58 AM   #6
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198

Original Poster
Blog Entries: 3

Rep: Reputation: 23
Quote:
Also usbpn0 interface is created, but ppp0 is not created. ppp0 is only created when I connect my computer to internet (using mobile) by giving APN and dialing to ISP, i.e. after when I got connected to internet.
Yes, but my network-manager applet in Cinnamon does not give that option to enter APN and dial no.

For now, I am connecting to internet using wvdial. Found the procedure to connect from here -

http://tareqalam.com/2008/07/11/conn...hout-pc-suite/

Last edited by kedarp; 07-02-2014 at 09:01 AM.
 
Old 07-04-2014, 12:42 AM   #7
s.verma
Member
 
Registered: Oct 2013
Distribution: Debian Sid, Gentoo, Arch, Debian
Posts: 186
Blog Entries: 4

Rep: Reputation: 25
Quote:
Originally Posted by kedarp View Post
Yes, but my network-manager applet in Cinnamon does not give that option to enter APN and dial no.

For now, I am connecting to internet using wvdial. Found the procedure to connect from here -

http://tareqalam.com/2008/07/11/conn...hout-pc-suite/
As far as networkmanager applet is concerned, first of all it is essential that Modem Manager & Network Manager service are running. Second you have to create/add a new Mobile Broadband connection from the menu of network-manager applet. This will ask you your service provider, and automatically use APN and number, although you can manually change them. This will happen only if service provider info package is installed.

It is also better to use wvdial if you can.

So are the things working fine now?
 
Old 07-04-2014, 05:36 PM   #8
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198

Original Poster
Blog Entries: 3

Rep: Reputation: 23
Quote:
Originally Posted by s.verma View Post
It is also better to use wvdial if you can.

So are the things working fine now?
Yes, I can connect to internet with wvdial. wvdial has always been the saviour.
Marking this thread as solved.
 
  


Reply



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
can't bridge ppp0 interface a550ee Linux - Networking 2 07-16-2007 03:07 AM
ppp0 interface setup zsjoska Linux - Networking 1 11-04-2004 01:01 PM
interface PPP0 walker#1 Linux - Hardware 4 08-28-2004 07:39 AM
No interface ppp0 exists Likosin Linux - Networking 3 08-09-2004 02:49 AM
for a year now... interface ppp0: failed Lee_Beck Linux - Networking 7 03-31-2003 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:09 PM.

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