lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Help with PPP connection - modem disconnects for no obv


From: Freddie Chopin
Subject: Re: [lwip-users] Help with PPP connection - modem disconnects for no obvious reason...
Date: Wed, 20 Mar 2019 19:37:27 +0100
User-agent: Evolution 3.30.5

Hi Patrick!

On Wed, 2019-03-20 at 13:20 -0400, Patrick Klos wrote:
> For whatever reason, you're not responding to the CHAP challenges.

I assume this is because my user and password are just `""` (empty
strings), but this is just my very wild guess.

> Are you dialing into an ISP (which would require authentication) or
> into 
> another system configured to be a "server"?  Either way, the peer is 
> expecting you to have a username and password of some kind, but
> you're 
> not responding to their challenges.

I'm trying to connect to a GSM modem connected via USB and with that
connect to the internet via ISPs GSM network. Wherever I look it says
that there is no authentication required for this ISP, also in my phone
the same SIM card uses no user and password, with authentication "not
configured".

https://www.play.pl/pomoc/serwis/reczna-konfiguracja-telefonu.html

This is in Polish, but the relevant part is here:

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

Transmisja danych - Internet (APN Internet)

    punkt dostępu (apn): internet
    numer dostępowy: *99#
    nazwa użytkownika: brak
    hasło: brak
    dns: dynamiczny

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

It says:

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

Data transfer - Internet (APN Internet)

access point (apn): internet
dial number: *99#
username: none
password: none
DNS: dynamic

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

> Also, what version of LwIP are you using?  I can't find some of
> these 
> debug strings (like "CHAP Challenge") in my (2.1.2) sources.

This is git head from a week ago. These strings are built dynamically,
I could not find the complete string either (;

> And are you sure all your modules were compiled with PPP_DEBUG
> defined as non-zero?

In my lwipopts.h I have:

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

#define LWIP_DEBUG                      1
#define LWIP_DBG_MIN_LEVEL         LWIP_DBG_LEVEL_ALL
#define PPP_DEBUG                  LWIP_DBG_ON
...
#define PRINTPKT_SUPPORT                1

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

Regards,
FCh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]