LinuxQuestions.org
Visit Jeremy's Blog.
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 12-21-2007, 12:02 AM   #1
Mohamed Mydeen A
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Rep: Reputation: 0
GPRS modem problems


Hi,

I am using SuSE Linux 10.1

I want to connect MOXA GPRS/GSM Modem (Model No is: G21501)with my linux system in COM1 port that is ttyS0.

But the OS partly detected the modem and I am not able to communicate properly through my modem.

Expecting your reply...

Thanks

Mohamed Mydeen A
 
Old 12-22-2007, 03:49 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This post was moved out of the thread it was posted and placed in Linux-Newbie to help your thread/question get the exposure it deserves.

How do you try to communicate with the modem? At the lowest layer easily accessible, connect to the modem with minicom and try some at commands. For instance, AT<enter> should show an echo.
 
Old 12-22-2007, 04:44 PM   #3
lin_myworld
Member
 
Registered: Oct 2007
Location: India
Distribution: Ubuntu 8.04
Posts: 93

Rep: Reputation: 15
Just do the following:
Code:
[Modem0] 

Modem=/dev/ttyACM0 or ttyS0
Baud=115200 

SetVolume=0 

Dial Command = ATDT 

init1=ATZ 

init2=AT+CGDCONT=1,"ip","<ur APN>" 

FlowControl= Hardware (CRTSCTS) 

[Dialer xyz] 

Username= <ur no> 

Password= <ur no>

Phone=<to dial>

Stupid Mode= 1 

Inherits = Modem0

paste the above in
/etc/wvdial.conf

replace <ur no > with your no.
to dial with the no.u use to connect to gprs for example in bsnl it is *99#
and ur APN with the adress used to connect gprs..check mobile settings.for eg. in bsnl it is gprsnorth.cellone.in

n save it,,

n then cum on the prompt , n type

wvdial xyz


u must be connecting to internet
if this doent happen then on the second line ,, try /dev/ttyS1

or S2 .... for the usb ports . all u hav to do , just to identify the port ur cell is connected to ,try changing that. keep that terminal open in which u hav run wvdial ,

it will work ..
best of luck
 
Old 01-02-2008, 02:54 AM   #4
Mohamed Mydeen A
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Openswan setup in linux

Hi,

I am using Openswan-2.4.10 which is running under SuSE Linux 10.1

Now I want to connect my laptop to my office network which is behind firewall (Sonicwall).

I am facing problem to create tunnel to my laptop to my office network.

I am using MOXA modem which is wireless modem (G21501) which is having SIM Card which is got from one ISP and it is connected to my laptop. My laptop is running with Openswan-2.4.10 (which is open source for VPN) under SuSE Linux 10.1

Now I am trying to connect my laptop to my office network but my office is behind firewall. So What I should do with Openswan-2.4.10 in ipsec.conf file ?


Expecting your favourable replies.

Quote:
Originally Posted by Mohamed Mydeen A View Post
Hi,

I am using SuSE Linux 10.1

I want to connect MOXA GPRS/GSM Modem (Model No is: G21501)with my linux system in COM1 port that is ttyS0.

But the OS partly detected the modem and I am not able to communicate properly through my modem.

Expecting your reply...

Thanks

Mohamed Mydeen A
 
Old 01-02-2008, 02:59 AM   #5
Mohamed Mydeen A
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

I am using Openswan-2.4.10 which is running under SuSE Linux 10.1

Now I want to connect my laptop to my office network which is behind firewall (Sonicwall).

I am facing problem to create tunnel to my laptop to my office network.

I am using MOXA modem which is wireless modem (G21501) which is having SIM Card which is got from one ISP and it is connected to my laptop. My laptop is running with Openswan-2.4.10 (which is open source for VPN) under SuSE Linux 10.1

Now I am trying to connect my laptop to my office network but my office is behind firewall. So What I should do with Openswan-2.4.10 in ipsec.conf file ?


Expecting your favourable replies.
 
  


Reply

Tags
gprs, modem


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
Solomon GPRS USB modem tw7ug Linux - Hardware 1 01-23-2008 07:52 AM
USB GPRS modem does not dial-up xptchina Linux - Wireless Networking 2 08-01-2007 01:34 AM
hotplugging gprs modem in FC6 zhnupy Fedora 10 03-28-2007 03:55 AM
GPRS USB modem and Apache myrmidon Linux - Wireless Networking 3 10-01-2006 10:48 PM
Anyone used a gprs modem under redhat paulb2244 Linux - Hardware 1 04-25-2004 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 AM.

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
Open Source Consulting | Domain Registration