LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-01-2011, 04:33 AM   #1
att
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?

Regards

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

Original Poster
Rep: Reputation: 0
Hello,
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.

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


Reply


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 07:09 AM
non-default route to static host through gateway for ppp failover testing jrscandora Linux - Networking 3 04-21-2009 02:20 AM
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
ppp client cannot browes internet while connecting in the ppp dialin server joel17 Linux - Networking 0 09-04-2006 01:38 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM


All times are GMT -5. The time now is 02:47 PM.

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