November 21, 2024, 01:23:01 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Help me to connect to internet using LG LSP 340E  (Read 57719 times)

Offline christopher_1

  • Linux Noob !
  • *
  • Posts: 22
Help me to connect to internet using LG LSP 340E
« on: April 15, 2005, 04:42:25 PM »
Hi,

I am using a TataIndicom LG LDP 340 E phone, I want to connect to the net in Linux, but I am unsuccessful, I use red hat Linux version 2.4.20-6, I tried some of the methods given in the web. The following are the results I got from those steps:
Method1:
I ran the following commands from root.
# !/bin/bash
echo "user internet password internet" > $HOME/.ppprc
pppd /dev/ttyS0 115200 debug usepeerdns defaultroute noauth connect '/usr/sbin/chat -v "" at+crm=1 OK "atdt#777" CONNECT' mtu 264

It gets connected, I can infer that from my phone display because the timer starts and I get T 9.6 R 9.6, but when I try to browse I get the following message” www.yahoo.com could not be found. Please check the name and try again.”

I can get disconnected with this script.

# !/bin/bash
killall -9 pppd


Method 2:
I created a file with the name wvdial.conf in etc directory. The following are the contents of the file:
[Modem0]
Modem=/dev/ttyS0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl= Hardware (CRTSCTS)
[Dialer reliance]
Username= internet
Password= internet
Phone=#777
Stupid Mode= 1
Inherits = Modem0

After creating this file I ran wvdial from the root and this is what I got.

[root@localhost root]# wvdial tata
--> WvDial: Internet dialer version 1.53
--> Warning: section [Dialer tata] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Please help me to fix this problem, I am able to connect to the net in all windows versions like 98,2000,XP etc .

Regards,
Christopher.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Help me to connect to internet using LG LSP 340E
« Reply #1 on: April 16, 2005, 05:09:01 AM »
Hi
This is not a big issue, I have connected with this ph previously many times..
I know what u r missing...

Okk after Connected to internet .. Check ur ip-address..., If it gets ip-address automatically it means that u r connected...

& plzz make entry in /etc/resolv.conf file of ur DNS servers manually.......
as In this Connection there is a problem that it cant make entry in /etc/resolv.cnf file...

& if u dont know ur DNS addresses then go to windows & check the DNS addresses there, as when u conncted to windowz using this phone.. it takes DNS addresses automatically but in Linux it cant....
So after  saw ur DNS addresses entries in Windowz make it in Linux  
in /etc/resolv.conf file(THIS IS THE STEP U MISSED I THINK)

After that ur Internet  will work....

Enjoy

Gaurav










(

Offline christopher_1

  • Linux Noob !
  • *
  • Posts: 22
Help me to connect to internet using LG LSP 340E
« Reply #2 on: April 17, 2005, 06:28:54 AM »
Hi,
Thanks for your timely help, yes the problem was with DNS server,i got the settings from windows and now it is working fine.
Regards,
Christopher.

Offline ZeCougar

  • New Member
  • Posts: 3
Help me to connect to internet using LG LSP 340E
« Reply #3 on: April 26, 2005, 05:41:15 AM »
hi,

I am having a problem with the Tata walky phone conecting to the net.

I'm using the second approach (WvDial). Most of the time it does not dial. but even when it does dial i get the following error

"pppd returned with an exit code of 10".

I checked the man pages for this exit code and it means that "pppd was unable to find another server that acceptd IP protocol".


Weird ?

Any ideas what next ?

Please let me have my eyes (internet) back !!!

Cheers,
Abhinav

Offline christopher_1

  • Linux Noob !
  • *
  • Posts: 22
how to connect to the net using TATA LG lsp340E
« Reply #4 on: June 23, 2005, 10:04:07 AM »
Dear Abhinav,

Please try the following procedure:
1. create a script file called upnet.sh (used for connecting)with the following contents

# ! /bin/bash
echo "user internet password internet" > $HOME/.ppprc
pppd /dev/ttyS0 115200 debug usepeerdns defaultroute noauth connect '/usr/sbin/chat -v "" at+crm=1 OK "atdt#777" CONNECT' mtu 264

2. create another script file called downnet.sh(used for disconnecting) with the following contents

# !/bin/bash
killall -9 pppd
3. now you have to specify the dns server name in the file called resolv.conf which you have to create in the /etc directory.

if you dont know the dns server name you can follow this:
if you have windows OS, connect to the net , open a commond prompt and type ipconfig /all it gives ur primary DNS and secondary DNS note it down.

In the linux platform open the resolv.conf file and type
nameserver=the  primary DNS no u got in windows
nameserver=the  secondary DNS no u got in windows

NOW U CAN RUN upnet.sh TO CONNECT TO THE NET.

Regards,
Christopher.

Offline rahul_patel

  • New Member
  • Posts: 1
Re: Help me to connect to internet using LG LSP 340E
« Reply #5 on: November 09, 2005, 07:39:09 AM »
Quote from: "christopher_1"
Hi,

I am using a TataIndicom LG LDP 340 E phone, I want to connect to the net in Linux, but I am unsuccessful, I use fedora core 4, I tried some of the methods given in the web. The following are the results I got from those steps:
Method1:
I ran the following commands from root.
# !/bin/bash
echo "user internet password internet" > $HOME/.ppprc
pppd /dev/ttyS0 115200 debug usepeerdns defaultroute noauth connect '/usr/sbin/chat -v "" at+crm=1 OK "atdt#777" CONNECT' mtu 264

It gets connected, I can infer that from my phone display because the timer starts and I get T 9.6 R 9.6, but when I try to browse I get the following message” www.yahoo.com could not be found. Please check the name and try again.”

I can get disconnected with this script.

# !/bin/bash
killall -9 pppd


Method 2:
I created a file with the name wvdial.conf in etc directory. The following are the contents of the file:
[Modem0]
Modem=/dev/ttyS0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl= Hardware (CRTSCTS)
[Dialer reliance]
Username= internet
Password= internet
Phone=#777
Stupid Mode= 1
Inherits = Modem0

After creating this file I ran wvdial from the root and this is what I got.

[root@localhost root]# wvdial tata
--> WvDial: Internet dialer version 1.53
--> Warning: section [Dialer tata] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Please help me to fix this problem, I am able to connect to the net in all windows versions like 98,2000,XP etc .

Regards,
Christopher.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Help me to connect to internet using LG LSP 340E
« Reply #6 on: November 09, 2005, 09:21:17 AM »
Hi rahul
I have already given solution in my above post...

OK i will tell u again:

 After Connected to internet .. Check ur ip-address..., If it gets ip-address automatically it means that u r connected...
 
 & plzz make entry in /etc/resolv.conf file of ur DNS servers manually.......
 as In this Connection there is a problem that it cant make entry in /etc/resolv.conf file...
 
 & if u dont know ur DNS addresses then go to windows & check the DNS addresses there, as when u conncted to windowz using this phone.. it takes DNS addresses automatically but in Linux it cant....
 So after saw ur DNS addresses entries in Windowz make it in Linux
 in /etc/resolv.conf file(THIS IS THE STEP U MISSED I THINK)
 
 After that ur Internet will work....
 
 Enjoy
 
 Gaurav

Offline 13lackhat

  • New Member
  • Posts: 3
If your Tata Wlaky LG LST 350E (if I remember the model corr
« Reply #7 on: May 28, 2006, 05:28:52 PM »
If your Tata Wlaky LG LST 350E (if I remember the model correctly) is connected to a USB port then the device is /dev/ttyACMx where x is a number (zero onwards) to which the phone is connected. (Try all if you are not sure!) I personally use the rconnect-0.5 script to connect my phone on Fedora Core 4. I you want to use that search for it over the internet and download it.

PS:Don't forget to edit the file /etc/resolv.conf as described in the above posts.

Offline sherifmayika

  • Linux Noob !
  • *
  • Posts: 8
tata indiacom
« Reply #8 on: October 18, 2006, 04:38:12 AM »
my modem is trying to connect but fails plese help.


[root@localhost ~]# wvdial TATA
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
[root@localhost ~]#

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Help me to connect to internet using LG LSP 340E
« Reply #9 on: October 18, 2006, 09:58:28 AM »
Have you set up right baud rate in the phone ?

BTW, see this if that doesn't works..

---> internet on my linux FC5 reliance lg350 USB
« Last Edit: October 11, 2012, 05:28:49 AM by Ricky »

Offline sherifmayika

  • Linux Noob !
  • *
  • Posts: 8
you mean the speed?
« Reply #10 on: October 18, 2006, 10:10:42 AM »
two things I have set in phone are cable type and modem speed

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Help me to connect to internet using LG LSP 340E
« Reply #11 on: October 18, 2006, 10:17:22 AM »
You try using rconnect script , may be that can help you straight !

Offline sherifmayika

  • Linux Noob !
  • *
  • Posts: 8
in my win2k it is working
« Reply #12 on: October 18, 2006, 10:20:23 AM »
in my win2k it is working

Offline sherifmayika

  • Linux Noob !
  • *
  • Posts: 8
install rconnect
« Reply #13 on: October 18, 2006, 04:47:20 PM »
I have rconnect-cmdline-1.0. but I dont understand how to install it even after reading the readme

any help

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Help me to connect to internet using LG LSP 340E
« Reply #14 on: October 18, 2006, 07:47:00 PM »
You have to all from commands.
Read it again and carefully, you will get the idea.