* [gentoo-user] rfcomm0 interface missing
@ 2013-11-17 18:46 Mick
2013-11-23 11:44 ` Robin Atwood
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2013-11-17 18:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1491 bytes --]
After more than a year I tried to tether my mobile to my laptop to connect to
GPRS using kppp. I noticed that kppp hangs and I have to kill it, while it
hangs with "Modem Ready". I can query the modem successfully using kppp, and
it responds to ATI initialisation commands, so now I am trying to understand
what is wrong with it and why the connection does not complete.
ifconfig -a does not show rfcomm0, but this may be because it never completes
the connection to my mobile phone provider's network, so the ppp link is not
established.
I can see that the rfcomm device is being created:
# ls -la /dev/rfcomm*
crw-rw---- 1 root uucp 216, 0 Nov 17 15:51 /dev/rfcomm0
and it does try to connect until it freezes showing "Modem Ready", but I am
getting no more errors to know what to do next.
I was thinking that this may be related to the udev NIC renaming change that
happened within the last year. However, I never had any udev rules to manage
rfcomm and from what I recall vaguely when the udev update came, I had no
problem connecting (but memory may be failing me after all this time). It
could of course be related to my mobile phone providers settings - I haven't
changed these for a long time and looking on the Internet I can't find if they
are any different now.
How should I troubleshoot this further?
Could someone please hold my hand to set up ppp so that I can avoid kppp and
its freezing behaviour?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] rfcomm0 interface missing
2013-11-17 18:46 [gentoo-user] rfcomm0 interface missing Mick
@ 2013-11-23 11:44 ` Robin Atwood
2013-11-23 12:35 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Robin Atwood @ 2013-11-23 11:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1973 bytes --]
On Monday 18 November 2013, Mick wrote:
> After more than a year I tried to tether my mobile to my laptop to connect
> to GPRS using kppp. I noticed that kppp hangs and I have to kill it,
> while it hangs with "Modem Ready". I can query the modem successfully
> using kppp, and it responds to ATI initialisation commands, so now I am
> trying to understand what is wrong with it and why the connection does not
> complete.
>
> ifconfig -a does not show rfcomm0, but this may be because it never
> completes the connection to my mobile phone provider's network, so the ppp
> link is not established.
>
> I can see that the rfcomm device is being created:
>
> # ls -la /dev/rfcomm*
> crw-rw---- 1 root uucp 216, 0 Nov 17 15:51 /dev/rfcomm0
>
> and it does try to connect until it freezes showing "Modem Ready", but I am
> getting no more errors to know what to do next.
>
> I was thinking that this may be related to the udev NIC renaming change
> that happened within the last year. However, I never had any udev rules
> to manage rfcomm and from what I recall vaguely when the udev update came,
> I had no problem connecting (but memory may be failing me after all this
> time). It could of course be related to my mobile phone providers
> settings - I haven't changed these for a long time and looking on the
> Internet I can't find if they are any different now.
>
> How should I troubleshoot this further?
>
> Could someone please hold my hand to set up ppp so that I can avoid kppp
> and its freezing behaviour?
Have you started the rfcomm service? I remember having trouble until I did
that.
HTH
Robin
--
----------------------------------------------------------------------
Robin Atwood.
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------
[-- Attachment #2: Type: text/html, Size: 10379 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] rfcomm0 interface missing
2013-11-23 11:44 ` Robin Atwood
@ 2013-11-23 12:35 ` Mick
2013-12-05 23:04 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2013-11-23 12:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2084 bytes --]
On Saturday 23 Nov 2013 11:44:58 Robin Atwood wrote:
> On Monday 18 November 2013, Mick wrote:
> > After more than a year I tried to tether my mobile to my laptop to
> > connect to GPRS using kppp. I noticed that kppp hangs and I have to
> > kill it, while it hangs with "Modem Ready". I can query the modem
> > successfully using kppp, and it responds to ATI initialisation commands,
> > so now I am trying to understand what is wrong with it and why the
> > connection does not complete.
> >
> > ifconfig -a does not show rfcomm0, but this may be because it never
> > completes the connection to my mobile phone provider's network, so the
> > ppp link is not established.
> >
> > I can see that the rfcomm device is being created:
> >
> > # ls -la /dev/rfcomm*
> > crw-rw---- 1 root uucp 216, 0 Nov 17 15:51 /dev/rfcomm0
> >
> > and it does try to connect until it freezes showing "Modem Ready", but I
> > am getting no more errors to know what to do next.
> >
> > I was thinking that this may be related to the udev NIC renaming change
> > that happened within the last year. However, I never had any udev rules
> > to manage rfcomm and from what I recall vaguely when the udev update
> > came, I had no problem connecting (but memory may be failing me after
> > all this time). It could of course be related to my mobile phone
> > providers settings - I haven't changed these for a long time and looking
> > on the Internet I can't find if they are any different now.
> >
> > How should I troubleshoot this further?
> >
> > Could someone please hold my hand to set up ppp so that I can avoid kppp
> > and its freezing behaviour?
>
> Have you started the rfcomm service? I remember having trouble until I did
> that.
Thanks Robin, yes I started bluetooth and rfcomm as I used to do. I wonder if
this is an ISP problem, i.e. they are no longer offering GPRS on this mobile
phone account, or if I need a different login. I'll try again later to see if
this is a temporary fault when I get a minute.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] rfcomm0 interface missing
2013-11-23 12:35 ` Mick
@ 2013-12-05 23:04 ` Mick
2013-12-06 0:21 ` Daniel Frey
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2013-12-05 23:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 3221 bytes --]
On Saturday 23 Nov 2013 12:35:35 Mick wrote:
> On Saturday 23 Nov 2013 11:44:58 Robin Atwood wrote:
> > On Monday 18 November 2013, Mick wrote:
> > > After more than a year I tried to tether my mobile to my laptop to
> > > connect to GPRS using kppp. I noticed that kppp hangs and I have to
> > > kill it, while it hangs with "Modem Ready". I can query the modem
> > > successfully using kppp, and it responds to ATI initialisation
> > > commands, so now I am trying to understand what is wrong with it and
> > > why the connection does not complete.
> > >
> > > ifconfig -a does not show rfcomm0, but this may be because it never
> > > completes the connection to my mobile phone provider's network, so the
> > > ppp link is not established.
> > >
> > > I can see that the rfcomm device is being created:
> > >
> > > # ls -la /dev/rfcomm*
> > > crw-rw---- 1 root uucp 216, 0 Nov 17 15:51 /dev/rfcomm0
> > >
> > > and it does try to connect until it freezes showing "Modem Ready", but
> > > I am getting no more errors to know what to do next.
> > >
> > > I was thinking that this may be related to the udev NIC renaming change
> > > that happened within the last year. However, I never had any udev
> > > rules to manage rfcomm and from what I recall vaguely when the udev
> > > update came, I had no problem connecting (but memory may be failing
> > > me after all this time). It could of course be related to my mobile
> > > phone providers settings - I haven't changed these for a long time and
> > > looking on the Internet I can't find if they are any different now.
> > >
> > > How should I troubleshoot this further?
> > >
> > > Could someone please hold my hand to set up ppp so that I can avoid
> > > kppp and its freezing behaviour?
> >
> > Have you started the rfcomm service? I remember having trouble until I
> > did that.
>
> Thanks Robin, yes I started bluetooth and rfcomm as I used to do. I wonder
> if this is an ISP problem, i.e. they are no longer offering GPRS on this
> mobile phone account, or if I need a different login. I'll try again
> later to see if this is a temporary fault when I get a minute.
I set up ppp but wasn't able to get anywhere:
Dec 4 16:42:30 pppd[5167]: pppd 2.4.5 started by michael, uid 0
Dec 4 16:42:31 pppd[5167]: Serial connection established.
Dec 4 16:42:31 pppd[5167]: Using interface ppp0
Dec 4 16:42:31 pppd[5167]: Connect: ppp0 <--> /dev/rfcomm0
Dec 4 16:42:32 pppd[5167]: Serial line is looped back.
Dec 4 16:42:32 pppd[5167]: Connection terminated.
The connection bails out. I don't understand what the message "Serial line is
looped back." means. Any ideas?
Anyway, after all that effort, I discovered that the ISP has decided to block
tethering, because they are now peddling 4G services and want people to buy
separate data accounts for tablets. Those of us who only occasionally need to
use our mobile phone as a modem to get on the Internet are left without a
service. :-(
Would you know how the ISP's network equipment knows if the phone is
connecting and sending GPRS packets on its own, or due to a PC initiating the
connection?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] rfcomm0 interface missing
2013-12-05 23:04 ` Mick
@ 2013-12-06 0:21 ` Daniel Frey
2013-12-06 16:28 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Frey @ 2013-12-06 0:21 UTC (permalink / raw
To: gentoo-user
On 12/05/2013 03:04 PM, Mick wrote:
> The connection bails out. I don't understand what the message "Serial line is
> looped back." means. Any ideas?
This usually means the host is just echoing everything back to the
client. Most times this means the host is not starting the session or is
waiting for something before it starts the session.
This could very well be something to with your ISP blocking tethering.
I can't really offer assistance otherwise, but figured I'd chime in
because I've seen this message before.
Dan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] rfcomm0 interface missing
2013-12-06 0:21 ` Daniel Frey
@ 2013-12-06 16:28 ` Mick
0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2013-12-06 16:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2340 bytes --]
On Friday 06 Dec 2013 00:21:24 Daniel Frey wrote:
> On 12/05/2013 03:04 PM, Mick wrote:
> > The connection bails out. I don't understand what the message "Serial
> > line is looped back." means. Any ideas?
>
> This usually means the host is just echoing everything back to the
> client. Most times this means the host is not starting the session or is
> waiting for something before it starts the session.
Yes! It was my phone's way of telling me that whatever I was sending, it was
not what it was expecting, echoing back the same information.
So, I experimented with the relevant /etc/ppp/ip-up.d/45-mySIP_connect.sh by
removing all entries but this:
#!/bin/sh
exec /usr/sbin/chat -v '' ATZ OK ATDT*99# CONNECT ''
It now works! :-)
=================================================================
Dec 6 12:40:21 pppd[5644]: pppd 2.4.5 started by michael, uid 0
Dec 6 12:40:21 chat[5647]: send (ATZ^M)
Dec 6 12:40:21 chat[5647]: expect (OK)
Dec 6 12:40:21 chat[5647]: ATZ^M^M
Dec 6 12:40:21 chat[5647]: OK
Dec 6 12:40:21 chat[5647]: -- got it
Dec 6 12:40:21 chat[5647]: send (ATDT*99#^M)
Dec 6 12:40:21 chat[5647]: expect (CONNECT)
Dec 6 12:40:21 chat[5647]: ^M
Dec 6 12:40:23 chat[5647]: ATDT*99#^M^M
Dec 6 12:40:23 chat[5647]: CONNECT
Dec 6 12:40:23 chat[5647]: -- got it
Dec 6 12:40:23 chat[5647]: send (^M)
Dec 6 12:40:23 pppd[5644]: Serial connection established.
Dec 6 12:40:23 pppd[5644]: Using interface ppp0
Dec 6 12:40:23 pppd[5644]: Connect: ppp0 <--> /dev/rfcomm0
Dec 6 12:40:26 pppd[5644]: PAP authentication succeeded
Dec 6 12:40:27 pppd[5644]: local IP address XX.XXX.XX.XX
Dec 6 12:40:27 pppd[5644]: remote IP address XX.X.X.XX
Dec 6 12:40:27 pppd[5644]: primary DNS address XXX.XX.XXX.X
Dec 6 12:40:27 pppd[5644]: secondary DNS address XXX.XX.XXX.X
Dec 6 12:40:27 chat[5652]: Can't get terminal parameters: Inappropriate
ioctl for device
=================================================================
Not sure what the last error is. I suspect something to do with certain
characters that need to be escaped in the terminal by bash? Grateful for any
pointers.
Otherwise, kppp still hangs being able to complete the connection. I have not
been able to troublshoot that further.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-12-06 16:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 18:46 [gentoo-user] rfcomm0 interface missing Mick
2013-11-23 11:44 ` Robin Atwood
2013-11-23 12:35 ` Mick
2013-12-05 23:04 ` Mick
2013-12-06 0:21 ` Daniel Frey
2013-12-06 16:28 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox