[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Hardware Troubleshooting in Linux  |  Other Devices  |  Topic: Help me to connect to internet using LG LSP 340E
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1] 2
  Print  
Author Topic: Help me to connect to internet using LG LSP 340E  (Read 16020 times)
0 Members and 1 Guest are viewing this topic.
christopher_1
Linux Noob !
*
Offline Offline

Posts: 22


View Profile
« on: April 15, 2005, 12: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.
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #1 on: April 16, 2005, 01: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










(
Logged
christopher_1
Linux Noob !
*
Offline Offline

Posts: 22


View Profile
« Reply #2 on: April 17, 2005, 02: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.
Logged
ZeCougar
New Member

Offline Offline

Posts: 3


View Profile
« Reply #3 on: April 26, 2005, 01: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
Logged
christopher_1
Linux Noob !
*
Offline Offline

Posts: 22


View Profile
« Reply #4 on: June 23, 2005, 06: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.
Logged
rahul_patel
New Member

Offline Offline

Posts: 1


View Profile
« Reply #5 on: November 09, 2005, 02: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.
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #6 on: November 09, 2005, 04: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
Logged
13lackhat
New Member

Offline Offline

Posts: 2


View Profile
« Reply #7 on: May 28, 2006, 01: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.
Logged
sherifmayika
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #8 on: October 18, 2006, 12: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 ~]#
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #9 on: October 18, 2006, 05:58:28 AM »

Have you set up right baud rate in the phone ?

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

---> http://www.linuxsolved.com/forums/ftopic2084.html
Logged
sherifmayika
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #10 on: October 18, 2006, 06:10:42 AM »

two things I have set in phone are cable type and modem speed
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #11 on: October 18, 2006, 06:17:22 AM »

You try using rconnect script , may be that can help you straight !
Logged
sherifmayika
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #12 on: October 18, 2006, 06:20:23 AM »

in my win2k it is working
Logged
sherifmayika
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #13 on: October 18, 2006, 12:47:20 PM »

I have rconnect-cmdline-1.0. but I dont understand how to install it even after reading the readme

any help
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #14 on: October 18, 2006, 03:47:00 PM »

You have to all from commands.
Read it again and carefully, you will get the idea.
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1] 2
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 03:39:09 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:53:39 AM]

[Today at 02:45:38 AM]

[December 03, 2008, 10:18:57 AM]

[December 02, 2008, 11:32:02 AM]

[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]
Members
Total Members: 6261
Latest: Larrymossyx
Stats
Total Posts: 8290
Total Topics: 2261
Online Today: 19
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 11
Total: 11
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc