Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-01-2011, 05:33 AM   #1
LQ Newbie
Registered: May 2010
Posts: 2

Rep: Reputation: 0
3G Static IP with PPP

Hello All Guys,
This is Tunca from Turkey, and my first post to LQ Forums.

This topic is tagged as SOLVED. however it doesn't solve my problem about 3G PPP static IP.
Purchased static IP from the 3G network provider turkcell/Turkey the static ip works with windows box, however it doesn't work with the my custom linux build.
I was able to connect without static ip purchased from the network provider.
Do I have to make any changes to /etc/ppp configuration files or chat.connect/disconnect scripts?


Old 05-01-2011, 04:02 PM   #2
LQ Newbie
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
To use static ip, you only need to change the APN in the chat.connect script as specified by the network operator.
For turkcell/turkey to use static ip I used mgbs rather then mgb for dynamic ip allocation.

/ # cat /etc/ppp/peers/chat.connect.huawei.static
'' ATZ
OK AT+CGDCONT=1,"IP","mgbs"
OK-AT-OK ATDT*99***1#


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
etablish one connection ppp between a client ppp and a server ppp camilla261086 Linux - Server 2 07-20-2010 08:09 AM
non-default route to static host through gateway for ppp failover testing jrscandora Linux - Networking 3 04-21-2009 03:20 AM
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 06:01 AM
ppp client cannot browes internet while connecting in the ppp dialin server joel17 Linux - Networking 0 09-04-2006 02:38 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 09:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration