Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wiselynx

Pages: [1]
1
Security and Networking / Pppd Problem When Connecting With Audiovox
« on: July 03, 2008, 09:37:45 am »
Quote from: wiselynx
same problem here. I'm tyring to use an Audiovox RTM 8000 card on my HP hx4700 (arm based) running familiar linux 0.8.4, kernel is 2.6.15.
the card is correctly recognised, serial_cs is loaded, and the device maps to /dev/ttyS4, but I have to force the UART to 16550A and `cardctl reset`, or no program will be able to talk on the serial line. after that, I'm able to minicom out (also tried to call, and it works). but if I try to use ppp, it runs all right up to the LCP negotianion, where it gets stuck.

[snip]

any hint?

at last, I found the solution. I was sure to already have tried this, but evidently I was wrong.. the trick is about the correct UART to set. I was forcing 16550A, while the correct value is 16750.

here is the link to the post (moreover on this same forum) that gave me the hint:
https://www.oesf.org/forum/index.php?showto...mp;#entry157957

thanks to everyone that tried to help!

2
Security and Networking / Pppd Problem When Connecting With Audiovox
« on: April 18, 2008, 09:18:21 am »
same problem here. I'm tyring to use an Audiovox RTM 8000 card on my HP hx4700 (arm based) running familiar linux 0.8.4, kernel is 2.6.15.
the card is correctly recognised, serial_cs is loaded, and the device maps to /dev/ttyS4, but I have to force the UART to 16550A and `cardctl reset`, or no program will be able to talk on the serial line. after that, I'm able to minicom out (also tried to call, and it works). but if I try to use ppp, it runs all right up to the LCP negotianion, where it gets stuck.

here is my pppd script is:

Quote from: /etc/ppp/chat-cfgprs
ECHO ON
'ABORT' 'NO CARRIER'
'' 'AT&F'
'OK' 'ATE1V1'
'OK' 'ATQ0'
'OK' 'AT+CGDCONT=1,"IP","web.omnitel.it"'
'OK' 'ATD*99#'
'CONNECT' '\d\c'

(I already checked out with my service provider, and the values there are right.. I even could talk with an operator who really knew what I was talking about..)

with these configs, I get the following:

Quote from: running through minicom
CONNECT
~�}#.!}!}$} },}#}$.#}'}"}(}"..~~�}#.!}!}$} },}#}$.#}'}"}(}"..~~�}#.!}!}$} },}#}

thus it seems the connection is really initiated. last things to say:
  • I tried the same card on a gentoo linux based laptop, with the same configuration and the same result
  • I tried the card on a windows based laptop, and I could connect without any problems. I looked at the connect script output, and the AT commands Windows issues are almost the same I'm using
  • I tried with a similar confiiguration with a SIM of another service provider, and it didn't work either
  • I already tried lots of pppd options and AT commands, but none of them changed the behaviour, even the one suggested in the previous post
  • the (almost) same scripts work pretty well using, instead of the audiovox card, a mobile phone connected via bluetooth. here is the output of running pppd in those cases (chat output was suppressed, as I added the echo option only for debug):

    Quote
    chat:  Apr 16 11:08:28 CONNECT
    Serial connection established.
    using channel 5
    Using interface ppp0
    Connect: ppp0 <--> /dev/rfcomm0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8ff5dbbf> <pcomp> <accomp>]
    rcvd [LCP ConfRej id=0x1 <magic 0x8ff5dbbf> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
    rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
    rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
    No auth is possible
    sent [LCP ConfRej id=0x0 <auth pap>]
    rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
    sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
    sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
    sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
    rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
    sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
    rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
    rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
    sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
    rcvd [IPCP ConfNak id=0x2 <addr 91.80.113.29> <ms-dns1 83.224.65.134> <ms-dns3 83.224.66.134>]
    sent [IPCP ConfReq id=0x3 <addr 91.80.113.29> <ms-dns1 83.224.65.134> <ms-dns3 83.224.66.134>]
    rcvd [IPCP ConfAck id=0x3 <addr 91.80.113.29> <ms-dns1 83.224.65.134> <ms-dns3 83.224.66.134>]
    local  IP address 91.80.113.29
    remote IP address 10.6.6.6
    primary   DNS address 83.224.65.134
    secondary DNS address 83.224.66.134
any hint?

Pages: [1]