Modify

Opened 8 years ago

Last modified 4 years ago

#5904 accepted enhancement

3G PIN code set at chat script

Reported by: nunojpg Owned by: nunojpg
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: comgt chat 3g gsm Cc:

Description

COMGT package enables to use a GSM modem for internet connections.

There are some initialization procedures before the connection can start.

That are for example unlocking the modem with the PINCODE and setting the APN.

Taking this two parameters, PIN is used to unlock at /lib/network/3g.sh/setup_interface_3g()

PINCODE="$pincode" gcom -d "$device" -s /etc/gcom/setpin.gcom

while APN is set on the chat scripts, called by the PPP Daemon.

The difference is that if the modem is removed and replaced again(or just plugged sometime after startup), the PPP daemon is unable to unlock the PIN, and so the connection must be restarted, i.e., ifup GSM.
That doesn't happen with the APN. (also doesn't happen if the modem have PIN code disabled).

My suggestion is to include PIN set up at chat scripts.

Attachments (1)

journal (37 bytes) - added by anonymous 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by nunojpg

  • Owner changed from developers to nunojpg
  • Status changed from new to assigned

comment:2 Changed 7 years ago by ari@…

This seems to happen with Huawei E1552 3G modem randomly. The pppd is running but the modem cannot connect. The blinking led on modem also indicates that PIN is not set. After issuing ifdown wan && ifup wan the connection works again. But the problem is that if the router is at remote location it is impossible to reset it remotely (as there is no connection).

Setting the PIN in chat script as suggested would obviously fix this.

Changed 4 years ago by anonymous

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.