Networking Forums

Networking Forums > Computer Networking > Linux Networking > Kppp problem with philips fisio 825 and bluetooth

Reply
Thread Tools Display Modes

Kppp problem with philips fisio 825 and bluetooth

 
 
Marco Mangiante
Guest
Posts: n/a

 
      06-26-2004, 05:46 PM
I have a dlink dbt-120 bluetooth usb adapter and a philips fisio 825
gprs phone that I use to connect to internet with Vodafone Italy. I
installed the dlink adapter under mandrake 10.0 community and tried to
connect to internet with the phone via kppp but have found problems:
infact the phone starts the communication and the handshake with
provider but stop with the message "Couldn't set active-filter in
kernel: Invalid argument".
Here is the log of kppp:
Jun 26 18:43:30 localhost pppd[4188]: pppd 2.4.1 started by root, uid
0

Jun 26 18:43:30 localhost pppd[4188]: using channel 4

Jun 26 18:43:30 localhost pppd[4188]: Using interface ppp0

Jun 26 18:43:30 localhost pppd[4188]: Connect: ppp0 <-->
/dev/bluetooth/rfcomm/0

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0xa3e

139f> <pcomp> <accomp>]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP ConfReq id=0x1
<asyncmap 0xa0000> <auth

pap>]

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfRej id=0x1 <auth
pap>]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP ConfRej id=0x1 <magic
0xa3e139f> <pcomp>

<accomp>]

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfReq id=0x2
<asyncmap 0x0>]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP ConfReq id=0x2
<asyncmap 0xa0000>]

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfAck id=0x2
<asyncmap 0xa0000>]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP ConfAck id=0x2
<asyncmap 0x0>]

Jun 26 18:43:30 localhost pppd[4188]: Couldn't set active-filter in
kernel: Invalid argument

Jun 26 18:43:30 localhost pppd[4188]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ

0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

Jun 26 18:43:30 localhost pppd[4188]: sent [CCP ConfReq id=0x1
<deflate 15> <deflate(old#)

15> <bsd v1 15>]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP TermReq id=0x3 "peer
refused to

authenticate"]

Jun 26 18:43:30 localhost pppd[4188]: LCP terminated by peer (peer
refused to authenticate)

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP TermAck id=0x3]

Jun 26 18:43:30 localhost pppd[4188]: rcvd [LCP ProtRej id=0x4 80 fd
01 01 00 0f 1a 04 78 00

18 04 78 00 15 03 2f]

Jun 26 18:43:33 localhost pppd[4188]: Connection terminated.

Jun 26 18:43:34 localhost pppd[4188]: Exit.

Can someone help me?
Regards
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      06-26-2004, 06:12 PM
Marco Mangiante <(E-Mail Removed)> wrote:
> I have a dlink dbt-120 bluetooth usb adapter and a philips fisio 825
> gprs phone that I use to connect to internet with Vodafone Italy. I
> installed the dlink adapter under mandrake 10.0 community and tried to
> connect to internet with the phone via kppp but have found problems:
> infact the phone starts the communication and the handshake with
> provider but stop with the message "Couldn't set active-filter in
> kernel: Invalid argument".


It very likely means that

1) Pppd, the program used by the dialing frontend kppp, is setup to
use the active-filter option.

2) The kernel wasn't compiled to support that option.

FYI, that's all I can say. Otherwise the arrangement you describe is
beyond my ken.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Those who can't write, write manuals. */
 
Reply With Quote
 
Marco Mangiante
Guest
Posts: n/a

 
      06-28-2004, 06:39 AM
Clifford Kite <(E-Mail Removed)> wrote in message

Hello,

> It very likely means that
>
> 1) Pppd, the program used by the dialing frontend kppp, is setup to
> use the active-filter option.
>
> 2) The kernel wasn't compiled to support that option.
>
> FYI, that's all I can say. Otherwise the arrangement you describe is
> beyond my ken.


thanks for your response. From my research in google it seems that
this is the problem, but it is very strange, m, but it is very
strange, because I installed a kppp and kernel from mandrake without
modify nothing, so it is very difficult to me that they compiled the
kppp with active-filter option and don't enabled it in the kernel.
Regards,

Marco Mangiante
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      06-28-2004, 02:54 PM
Marco Mangiante <(E-Mail Removed)> wrote:

> thanks for your response. From my research in google it seems that
> this is the problem, but it is very strange, m, but it is very
> strange, because I installed a kppp and kernel from mandrake without
> modify nothing, so it is very difficult to me that they compiled the
> kppp with active-filter option and don't enabled it in the kernel.


Again, the active-filter is a part of pppd, not kppp, which is really
just a dialing front-end for pppd. Only recently has pppd (version
2.4.2) come with filtering enabled in the pppd Makefile by default.
Mandrake probably missed that and didn't enable it in the kernel.

Filtering actually works for pppd 2.4.1 too (when enabled in the 2.4.1
Makefile), but was not well-supported by the kernel until some time
after pppd 2.4.1 first came out.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* I hear and I forget. I see and I remember. I do and I understand.
--Confucius, 551-479 BC */
 
Reply With Quote
 
Marco Mangiante
Guest
Posts: n/a

 
      06-29-2004, 06:40 AM
Hello,

>Clifford Kite <(E-Mail Removed)> wrote in message


> Again, the active-filter is a part of pppd, not kppp, which is really
> just a dialing front-end for pppd. Only recently has pppd (version
> 2.4.2) come with filtering enabled in the pppd Makefile by default.
> Mandrake probably missed that and didn't enable it in the kernel.
>
> Filtering actually works for pppd 2.4.1 too (when enabled in the 2.4.1
> Makefile), but was not well-supported by the kernel until some time
> after pppd 2.4.1 first came out.


thanks for your comments. I see in my log and the pppd version that I
have is 2.4.1, so like you say maybe the kernel is not compiled with
support for active-filter option. I think I must update my version of
mandrake (I have 10 community) and maybe it resolve the problem, or I
must try to recompile the kernl (I'm not an expert, so hope to do the
things well). Do you know what voice I must check if I compile the
kernel for this problem?
Regards,

Marco Mangiante
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      06-29-2004, 03:11 PM
Marco Mangiante <(E-Mail Removed)> wrote:

> thanks for your comments. I see in my log and the pppd version that I
> have is 2.4.1, so like you say maybe the kernel is not compiled with
> support for active-filter option. I think I must update my version of
> mandrake (I have 10 community) and maybe it resolve the problem, or I
> must try to recompile the kernl (I'm not an expert, so hope to do the
> things well). Do you know what voice I must check if I compile the
> kernel for this problem?


I think the question is how to check/configure the kernel source for
PPP filtering. Anyway, the answer to that question can depend on the
kernel version.

For the 2.4.24 kernel, which should also apply to most 2.4.x kernels,
I would use

make menuconfig

while in the top source directory. Then look at

Network device support --->[*] PPP filtering

If there is no * in the brackets ([ ]) then the kernel lacks support
for PPP filtering. Press "y" to add filtering, and then select Yes on
the final exit menu.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Marco Mangiante
Guest
Posts: n/a

 
      06-30-2004, 06:40 AM
Hello Clifford,

>Clifford Kite <(E-Mail Removed)> wrote in message
> I think the question is how to check/configure the kernel source for
> PPP filtering. Anyway, the answer to that question can depend on the
> kernel version.
>
> For the 2.4.24 kernel, which should also apply to most 2.4.x kernels,
> I would use
>
> make menuconfig
>
> while in the top source directory. Then look at
>
> Network device support --->
>[*] PPP filtering
>
> If there is no * in the brackets ([ ]) then the kernel lacks support
> for PPP filtering. Press "y" to add filtering, and then select Yes on
> the final exit menu.


the mandrake community have the kernel 2.6.x: is the process the same?
Regards,

Marco Mangiante
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      06-30-2004, 01:46 PM
Marco Mangiante <(E-Mail Removed)> wrote:
> Hello Clifford,


>>Clifford Kite <(E-Mail Removed)> wrote in message
>> I think the question is how to check/configure the kernel source for
>> PPP filtering. Anyway, the answer to that question can depend on the
>> kernel version.
>>
>> For the 2.4.24 kernel, which should also apply to most 2.4.x kernels,
>> I would use
>>
>> make menuconfig
>>
>> while in the top source directory. Then look at
>>
>> Network device support --->
>>[*] PPP filtering
>>
>> If there is no * in the brackets ([ ]) then the kernel lacks support
>> for PPP filtering. Press "y" to add filtering, and then select Yes on
>> the final exit menu.


> the mandrake community have the kernel 2.6.x: is the process the same?
> Regards,


You can use "make menuconfig" but the menu structure has changed
significantly:

make menuconfig
Device Drivers --->
Networking support --->[*] PPP filtering

I currently run a 2.6.4 kernel and active-filtering works as expected
for it. I have also tried a 2.6.6 and found that active-filtering
does *NOT* work correctly for it. I configure and compile my own
kernels, with sources taken from kernel.org, so it's not related to
a particular distribution.

The problem doesn't seem to be the same as yours; there no message
such as you get. But the use of active-filtering stops all traffic
(inbound or outbound) from resetting the idle timer when an idle-off
time is set for pppd. I inquired about that on the linux-ppp mailing
list but there has been no response. In fact, I haven't received
anything from the list for several months.

"Stable" kernels are not supposed to be "on bleeding edge," but I've
experienced significant bleeding when using early versions of a new
stable series (and occasionally much later versions as well).

There's also another problem you have. I reviewed your first post and
found that the ISP requested PAP authentication and pppd rejects PAP:

Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfRej id=0x1 <auth
pap>]

(Apparently I read just far enough to reply to your initial question and
no further.)

GPRS (cell) phone PPP services seem to do strange things, which is
one reason I said I couldn't help with anything else. In particular,
I can't really say what you need to do to configure PAP authentication
for a cell phone connection. In fact, I think there are at least some
cell phone ISPs with PPP implementations which require PAP responses
that pppd can't be configured to provide.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Speak softly and carry a +6 two-handed sword. */
 
Reply With Quote
 
Marco Mangiante
Guest
Posts: n/a

 
      07-01-2004, 06:41 AM
Hello Clifford

>Clifford Kite <(E-Mail Removed)> wrote in message >


> You can use "make menuconfig" but the menu structure has changed
> significantly:
>
> make menuconfig
> Device Drivers --->
> Networking support --->
>[*] PPP filtering
>
> I currently run a 2.6.4 kernel and active-filtering works as expected
> for it. I have also tried a 2.6.6 and found that active-filtering
> does *NOT* work correctly for it. I configure and compile my own
> kernels, with sources taken from kernel.org, so it's not related to
> a particular distribution.


Do you know if mandrake have a particular procedure for compile its
kernel? For example, I remember that with redhat 9 you can compile the
kernel starting from the base kernel that you have, so many options
are there.

> There's also another problem you have. I reviewed your first post and
> found that the ISP requested PAP authentication and pppd rejects PAP:
>
> Jun 26 18:43:30 localhost pppd[4188]: sent [LCP ConfRej id=0x1 <auth
> pap>]
>
> (Apparently I read just far enough to reply to your initial question and
> no further.)
>
> GPRS (cell) phone PPP services seem to do strange things, which is
> one reason I said I couldn't help with anything else. In particular,
> I can't really say what you need to do to configure PAP authentication
> for a cell phone connection. In fact, I think there are at least some
> cell phone ISPs with PPP implementations which require PAP responses
> that pppd can't be configured to provide.


Yes, the GPRS ppp services do strange things. I remember that
previously, I connected another telephone (nokia 7650) with infrared
and because the pppd ask for pap parameter, I set the connection with
script-based parameter and I have no parameter and nor script but it
works. I tried with this phone this time but it seems that it doesn't
accepted it. I may try to ask in the group of Vodafone Italy if
someone connected with gprs under linux and find problem, because I
think that phone to vodafone is a lost phone.
Regards,

Marco Mangiante
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      07-02-2004, 02:59 AM
Marco Mangiante <(E-Mail Removed)> wrote:

> Do you know if mandrake have a particular procedure for compile its
> kernel? For example, I remember that with redhat 9 you can compile the
> kernel starting from the base kernel that you have, so many options
> are there.


Sorry, I only use Slackware. But I did try using the 2.4.24 .config
and "make oldconfig".

I didn't like what I saw during the configuration process so I removed
the new .config and did the initial configuration from scratch with
"make bzImage" - going through the whole tedious process of answering
all the questions. Then I did "make menuconfig" to check on what was
there and changed two or three configurations. Then I had to run it
again to correct for some omission (which one, I don't recall) before
the kernel would boot.

-- Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* "PPPoE has many advantages for DSL service providers, and
practically none for DSL consumers."
- David F. Skoll */
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
router wireless philips Luigi Network Routers 1 11-17-2006 12:43 AM
Followup to Philips Fax/phone/ans.m/c problem David Broadband 0 10-21-2004 09:28 AM
Kppp & Isdn Modem problem. beatnik Linux Networking 0 08-13-2004 07:36 AM
Another KPPP problem Ed Kessinger Linux Networking 4 10-14-2003 12:21 PM
Kppp problem Vick Linux Networking 3 10-02-2003 10:23 PM



1 2 3 4 5 6 7 8 9 10 11