Jump to content
Reliance Jio & Reliance Mobile Discussion Forums
avkavk

RConnect & Linux

Recommended Posts

Hello Friends...

Is Net Connect Card Linux compatible?Can i connect to internet using this card in any linux flavour???

Edited by Eldergeek

Share this post


Link to post
Share on other sites

why u want to map port? let the wvdialer map it

just type sudo wvdialconf

and hit enter it will automatically detect ur port and modem and update it on wvdial.conf in etc/wvdialconf

dheeraj@avtar:~$ wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31
Modem Port Scan<*1>: S32  S33  S34  S35  S36  S37  S38  S39
Modem Port Scan<*1>: S40  S41  S42  S43  S44  S45  S46  S47
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 --
ttyUSB0<*1>: failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 --
ttyUSB0<*1>: failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- LG Electronics Inc.
ttyUSB0<*1>: Speed 230400: AT -- ��[18]
ttyUSB0<*1>: Speed 230400: AT -- ��[18]
ttyUSB0<*1>: Speed 230400: AT -- ��
ttyUSB0<*1>: Max speed is 115200; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp8444': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyUSB0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Note there is no need to excecute following command

modprobe uhci
modprobe usbserial
modprobe ftdi_sio

as it will not do any thing

this is the script i am using to connect net via my mobile using free airtel gprs trick

[Dialer Defaults]
Modem = /dev/ttyUSB0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = Analog Modem
Phone = *99#
ISDN = 0 
Username = a
Password = b
Baud = 115200

and this is the output when i connect internet successfully

dheeraj@avtar:~$ wvdial
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!}5} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"[01]t~~~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Sep 28 20:39:49 2006
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 6368
--> Using interface ppp0
--> pppd: ��[05][08]
--> pppd: ��[05][08]
--> pppd: ��[05][08]
--> pppd: ��[05][08]
--> local  IP address 10.190.39.173
--> pppd: ��[05][08]
--> remote IP address 10.0.0.1
--> pppd: ��[05][08]
--> primary   DNS address 202.56.230.5
--> pppd: ��[05][08]
--> secondary DNS address 202.56.240.5
--> pppd: ��[05][08]

screenshot1zm2.th.png

Edited by cracker

Share this post


Link to post
Share on other sites

ok cracker as u told me that to let the linux prob for my modem device.. ok i agree with u.. but the prob is that when i am pluggin my cable with the mobile with the laptop then the mobile gets hanged.. so once the mobile will be hanged up then what the benefit i will get !!! if the device will not be working then how it will detect the device...

btw as u said to type the sudo wvdialconf in the console mode by pressing <ctrl+alt+f2>.. i did it but when i attached my usb with my lap and another connector in the cell then the cell got hanged but the console showed some error messages... this is the following error i got there ..

kubuntu login : [4294786.808000] usb 2-1 : palm_os_4_probe -error -32 getting connection info
		[4294787.110000] usb 2-1 : palm_os_4_probe -error -110 getting connection info
		[4294787.501000] visor ttyUSB3: Device lied about number of ports, please use a lower one.
		[4294787.514000] visor ttyUSB0: Device lied about number of ports, please use a lower one.
		[4294787.524000] visor ttyUSB1: Device lied about number of ports, please use a lower one.

and in the screen of my cell this was the error at that time

usbdc.c	03530

and after that i think if i iwll type sudo wvdialconf then it will not be fruitful...

so cracker what i have to do now??? but the hanging problem is not happenning in my win box... it running super cool without any prob... i can plug and unplug the usb at any time.. and the cell is working too without any prob... so why its happenning... its making me maddddddddddd.... :)

i think i m not so lucky to use internet in kubuntu... :D

Edited by Eldergeek

Share this post


Link to post
Share on other sites

ok this time don't attach ur mobile with datacable and fire this command

dmesg

and post the out put

and if linux detect it on ttyACM0 than attach ur mobile to datacable and try this script

[Dialer Defaults]
Modem = /dev/ttyACM0 
stupid mode = 1
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = mobille no
Password = mobile no
Baud = 230400

Edited by cracker

Share this post


Link to post
Share on other sites

okie cracker... let me try this one...

but i am just wondering that why the mobile is switching off in linux :clap:

do u have any ideas on how this is happenning?? and what may be the problem??

Share this post


Link to post
Share on other sites

because ur datacable support 230400 baudrate and u r trying to connect it @115200 baudrate

Share this post


Link to post
Share on other sites

instead of selecting (use available free space) u may have choosen remove all partition and install fedora.

thats why u all partition.

next time use following procedure to format

>>automatic partition>> remove linux partition or use available free space.

Share this post


Link to post
Share on other sites

Ok, I did come across a few posts that describe how ZTE MC315 can be connected and used to access Internet.

Any ideas, how I can use it to send SMS?

I own an LG RD 3330 phone and a ZTE MC315 Card.

I am able to send emails using my phone. However, I would also like to be notified by SMS everytime I receive email.

The service from Reliance (R World) is a bit slow and charges Rs. 3 per session. In addition, it gives me an email address of the kind MYPHONENUMBER@reliancemail.com

I would like to use myexistingemail@mytld.com

This is what I am planning to do:

  • Use fetchmail to periodically check for messages on the server.
  • Retrieve message
  • Parse retrieved message and recreate a smaller version enough to fit in 1 SMS.
  • SMS the message to me using ZTE Card

(My computer is on almost 24 hours so this is not a problem)

Can someone advise how I can establish this? That is, how I can use the ZTE Card from Linux to send SMS?

Share this post


Link to post
Share on other sites

Ok, I did come across a few posts that describe how ZTE MC315 can be connected and used to access Internet.

[*]SMS the message to me using ZTE Card

(My computer is on almost 24 hours so this is not a problem)

Can someone advise how I can establish this? That is, how I can use the ZTE Card from Linux to send SMS?

Could you establish connection through ZTE MC315 in Linux? If yes, can you post any details since no other post i have come across has mentioned success with this.

Thanks

Share this post


Link to post
Share on other sites
Could you establish connection through ZTE MC315 in Linux? If yes, can you post any details since no other post i have come across has mentioned success with this.

Thanks

I am trying to dig deeper in this problem and see if we can find a solution. I have two leads right now:

1. A report (unconfirmed) that it works on Novell Suse distribution. Trying to get more specific details.

2. This card uses Oxford Semiconductor OXCF950 UART with interface to PCMCIA or CF. As per the manufacturer's claim this is supposed to be compatible to 16C550 UART but I have found problems being faced by various products based on this in Linux support. SOme relevant links for the product details are as follows:

http://www.ecplaza.net/tradeleads/seller/3...315_series.html

3. The part of the Kernel that handles this is

Linux-2.6.17/drivers/serial/serial_cs.c

This has patches related to Oxford Semiconductor device.

As and when i make any progress, I would inform the Forum.

Share this post


Link to post
Share on other sites

Thanks i had no idea to connect using reliance atlest now i am about to get connected using your help.

I am using a usb cable for LG LSP-350R phone. here i am giving my configurations and console output.

#/etc/wvdial.conf

[Modem0]

Modem= /dev/ttyACM0

Baud= 115200

SetVolume= 0

Dial Command = ATDT

Init1 = ATZ

Init3 = ATM0

FlowControl= CRTSCTS

[Dialer Reliance]

Username = myphone no

Password = myphone no

Phone = #777

Stupid Mode = 1

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Inherits = Modem0

#Console

[root@localhost ~]# modprobe uhci

[root@localhost ~]# modprobe usbserial

[root@localhost ~]# modprobe ftdi_sio

# 1) With the data baud on phone set to usb

[root@localhost ~]# wvdial Reliance

--> WvDial: Internet dialer version 1.54.0

--> Cannot get information for serial port.

--> Initializing modem.

--> Sending: ATZ

ATZ

OK

--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

OK

--> Sending: ATM0

ATM0

OK

--> Modem initialized.

--> Sending: ATDT#777

--> Waiting for carrier.

ATDT#777

NO CARRIER

--> No Carrier! Trying again.

--> Sending: ATDT#777

--> Waiting for carrier.

ATDT#777

NO CARRIER

# "Async Data" is being displayed on the phone display and is connecting and disconnecting repeatedly

# 2) After Changing the data baud on phone to 115200

[root@localhost ~]# wvdial Reliance

--> WvDial: Internet dialer version 1.54.0

--> Cannot get information for serial port.

--> Initializing modem.

--> Sending: ATZ

--> Sending: ATQ0

--> Re-Sending: ATZ

--> Modem not responding.

# No response on the phone

can any body figure it out. expectig your valuable reply

thanks once more

Rahul

Share this post


Link to post
Share on other sites

Hello,

Man: Nokia

Model: 2112

Cable : DKU5

OS: Ubuntu 6.06 (debian Kernal)

Recognized modem : ttyUSB0 (defaultly it recognizes this..) checked by wvdialconf

/etc/wvdial.conf

[Modem0]

Modem=/dev/ttyUSB0
Baud=115200
SetVolume=0
DialCommand= ATDT
Init1=ATZ
Init2=AT+CRM=1;+cso=33
FlowControl=Hardware(CRTSCTS)
[Dialer reliance]
Username=9345******
Password=9345******
Phone=#777
Stupid Mode=1
Inherits=Modem0

edited Resolv.conf as per advice from one post in this forum..

I dialed by

wvdial reliance

Result

Could not modify /etc/ppp/pap-secrets: Permission denied
--&gt; --&gt; PAP (Password Authentication Protocol) may be flaky.
--&gt; Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--&gt; --&gt; CHAP (Challenge Handshake) may be flaky.
--&gt; Pid of pppd: 5698
--&gt; Using interface ppp0
--&gt; Disconnecting at Sat Dec  2 05:33:33 2006
--&gt; The PPP daemon has died: A modem hung up the phone (exit code = 16)
--&gt; man pppd explains pppd error codes in more detail.
--&gt; Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--&gt; Auto Reconnect will be attempted in 5 seconds
--&gt; Cannot get information for serial port.
--&gt; Initializing modem.
--&gt; Sending: ATZ
~[7f]}#@!}!}!} }&lt;}!}$}%j}"}&amp;} } } } }#}$@#}%}&amp;}71S }'}"}(}"[14] ~~[7f]}#@!}&amp;}#} }$HW~~[7f]}#@!}!}"} }&lt;}!}$}%j}"}&amp;} } } } }#}$@#}%}&amp;}71S }'}"}(}"LV~~[7f]}#@!}!}#} }&lt;}!}$}%j}"}&amp;} } } } }#}$@#}%}&amp;}71S }'}"}

After this it continues showing garbage value..

i cannt use internet..

In that time it shows

Dialing #777...

and data transfer indication arrows in my mobile...

But dont know what is the problem :(

Edited by blazing_bruce

Share this post


Link to post
Share on other sites

Hi ,

i m trying to connect USB data card of Huwaei by ur method in FC5 but the changes in the file suggested by you are not possible as it says i do not have rights though i m administrator of the account :P help

HI all,

after much strugle , i am connected to Internet from my Linux OS

here is the complete set of steps i followed (it took me 4 months and N number of Hr to Connect to Internet)

To Connect to Internet using Reliance Phone (any)

with Fedora core 3

I create a file in /etc/wvdial.conf

1.file:/etc/wvdial.conf

[Modem0]

Modem= /dev/ttyACM0

Baud= 115200

SetVolume=0

DialCommand= ATDT

FlowControl= Hardware(CRTSCTS)

[Dialer R]

Username= my phone number

Password= my phone number

Phone= #777

Stupid Mode= 1

Inherits= Modem0

2. edit following file as follow

file:/etc/resolv.conf

service named start

nameserver 202.138.103.100

nameserver 202.138.97.193

nameserver 127.0.0.1

3. change Mobile\settings\phone\datarate = 115200

4. now to dial to Internet we need to follow these things

5. Connect Mobile to system using a USB cable

6. login as root

7. type following command

modprobe uhci

modprobe usbserial

modprobe ftdi_sio

wvdial R

Huuuuure I am connected to Internet

to disconnect

killall pppd

remove phone after some time

:rofl_200:

Share this post


Link to post
Share on other sites
Thanks i had no idea to connect using reliance atlest now i am about to get connected using your help.

I am using a usb cable for LG LSP-350R phone. here i am giving my configurations and console output.

#/etc/wvdial.conf

[Modem0]

Modem= /dev/ttyACM0

Baud= 115200

SetVolume= 0

Dial Command = ATDT

Init1 = ATZ

Init3 = ATM0

FlowControl= CRTSCTS

[Dialer Reliance]

Username = myphone no

Password = myphone no

Phone = #777

Stupid Mode = 1

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Inherits = Modem0

#Console

[root@localhost ~]# modprobe uhci

[root@localhost ~]# modprobe usbserial

[root@localhost ~]# modprobe ftdi_sio

# 1) With the data baud on phone set to usb

[root@localhost ~]# wvdial Reliance

--> WvDial: Internet dialer version 1.54.0

--> Cannot get information for serial port.

--> Initializing modem.

--> Sending: ATZ

ATZ

OK

--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

OK

--> Sending: ATM0

ATM0

OK

--> Modem initialized.

--> Sending: ATDT#777

--> Waiting for carrier.

ATDT#777

NO CARRIER

--> No Carrier! Trying again.

--> Sending: ATDT#777

--> Waiting for carrier.

ATDT#777

NO CARRIER

# "Async Data" is being displayed on the phone display and is connecting and disconnecting repeatedly

# 2) After Changing the data baud on phone to 115200

[root@localhost ~]# wvdial Reliance

--> WvDial: Internet dialer version 1.54.0

--> Cannot get information for serial port.

--> Initializing modem.

--> Sending: ATZ

--> Sending: ATQ0

--> Re-Sending: ATZ

--> Modem not responding.

# No response on the phone

can any body figure it out. expectig your valuable reply

thanks once more

Rahul

Use atd#777,instead of atdt#777

Share this post


Link to post
Share on other sites

U should mention the port that is being used. U can find out 4 same system in Windows. :P

I am using FC5 and was using usb data card for internet . The name of hardware is HUAWEI EC 325 ( provided by reliance along with my laptop).The comany address is www.huawei.com. Huawei has no drivers for FC5 or

any other version of LINUX. Can u help me how to use it in FC5. I have tried other method mentioned in foum.

PLZ check the screen shot of error.

because ur datacable support 230400 baudrate and u r trying to connect it @115200 baudrate

I am also trying to connect my USB data card to my laptop provided by laptop. Can u tell me how u editedetc/wvdial.conf ; b'coz when i am trying to do it it says i have no permission. I tried to work out as root then also it fails. I m new to FC5 and linux also so let me know how to login so that i can edit the wvdail.conf. :P

PLZ check the screen shot of error.

post-16312-1166289815_thumb.png

post-16312-1166292249_thumb.png

Share this post


Link to post
Share on other sites

First , Its great site that resolve the dialup problem for linux.Thnx

I am using same setting , I can see if I use "wvdial reliance " its dialing to my phone ,but I am not able to surf any site ( not able to ping also any site).Any clue, where I can see error msg if any, even I saw in /var/log/message file , I dont find any error except "recieved bad configure-nak/rej".

I am not sure what is the problem.it will be great if any clue ??

First , Its great site that resolve the dialup problem for linux.Thnx

I am using same setting below,

I create a file in /etc/wvdial.conf

1.file:/etc/wvdial.conf

[Modem0]

Modem= /dev/ttyACM0

Baud= 115200

SetVolume=0

DialCommand= ATDT

FlowControl= Hardware(CRTSCTS)

[Dialer R]

Username= my phone number

Password= my phone number

Phone= #777

Stupid Mode= 1

Inherits= Modem0

2. edit following file as follow

file:/etc/resolv.conf

service named start

nameserver 202.138.103.100

nameserver 202.138.97.193

nameserver 127.0.0.1

3. change Mobile\settings\phone\datarate = 115200

4. now to dial to Internet we need to follow these things

5. Connect Mobile to system using a USB cable

6. login as root

7. type following command

modprobe uhci

modprobe usbserial

modprobe ftdi_sio

wvdial R

I can see if I use "wvdial reliance " its dialing to my phone ,but I am not able to surf any site ( not able to ping also any site).Any clue, where I can see error msg if any, even I saw in /var/log/message file , I dont find any error except "recieved bad configure-nak/rej".

I am not sure what is the problem.it will be great if any clue ??

First , Its great site that resolve the dialup problem for linux.Thnx

I am using same setting below,

I create a file in /etc/wvdial.conf

1.file:/etc/wvdial.conf

[Modem0]

Modem= /dev/ttyACM0

Baud= 115200

SetVolume=0

DialCommand= ATDT

FlowControl= Hardware(CRTSCTS)

[Dialer R]

Username= my phone number

Password= my phone number

Phone= #777

Stupid Mode= 1

Inherits= Modem0

2. edit following file as follow

file:/etc/resolv.conf

service named start

nameserver 202.138.103.100

nameserver 202.138.97.193

nameserver 127.0.0.1

3. change Mobile\settings\phone\datarate = 115200

4. now to dial to Internet we need to follow these things

5. Connect Mobile to system using a USB cable

6. login as root

7. type following command

modprobe uhci

modprobe usbserial

modprobe ftdi_sio

wvdial R

I can see if I use "wvdial reliance " its dialing to my phone ,but I am not able to surf any site ( not able to ping also any site).Any clue, where I can see error msg if any, even I saw in /var/log/message file , I dont find any error except "recieved bad configure-nak/rej".

I am not sure what is the problem.it will be great if any clue ??

Share this post


Link to post
Share on other sites
U should mention the port that is being used. U can find out 4 same system in Windows. :NO:

I am using FC5 and was using usb data card for internet . The name of hardware is HUAWEI EC 325 ( provided by reliance along with my laptop).The comany address is www.huawei.com. Huawei has no drivers for FC5 or

any other version of LINUX. Can u help me how to use it in FC5. I have tried other method mentioned in foum.

PLZ check the screen shot of error.

because ur datacable support 230400 baudrate and u r trying to connect it @115200 baudrate

I am also trying to connect my USB data card to my laptop provided by laptop. Can u tell me how u editedetc/wvdial.conf ; b'coz when i am trying to do it it says i have no permission. I tried to work out as root then also it fails. I m new to FC5 and linux also so let me know how to login so that i can edit the wvdail.conf. :GirandoOjos:

PLZ check the screen shot of error.

what the hell u r doing mate? i think u should learn little bit basic oflinux before using it :angry:

correct path is

gedit /etc/wvdial.conf

but u r opening wvdial.conf file from desktop directory!

Share this post


Link to post
Share on other sites

Hey Buddies

i am very new to linux, but i found a very good future with linux than with windows.... Kindly help me out how to install programs, drivers etc for r connect.... iam using a Nokia 6255 i want to get connected to the net in Linux(Ubuntu) Kindly help.. Pls start from the basics........

Thanks in advance.....

Share this post


Link to post
Share on other sites
its already discussed here and solutions for linux related issues has been posted here http://www.rimweb.in/forums/index.php?showtopic=6347

But there is nothing mentioned for Nokia 6255..... Kindly tell me whether it is possible to use rconnect with Nokia 6255 in linux....

Share this post


Link to post
Share on other sites

Hi,

Please please help me on this ...

I have Nokia 2112 handset with USB datacable and Im trying to connect Rconnect from Fedora Core 3.

Please give me Step By Step procedure of doing this.

May be how to configure USB datacable.

How to select correct device in //dev

How to install 2112 modem

How to create dial up connection..

etc.etc. what ever required

Thanks in advance, waiting for reply.

Regards

Saurah

hi everyone

i registered to this site a few days ago and find that many people are having problems running internet from their NOKIA handsets on linux. I have a NOKIA 3125 and this is how I did it.

I made two configuration files. The first is the file that gives pppd its options and the second is the file that tells pppd the username and password to use in order to log into the ISP.

File: /etc/ppp/options

Perms: 640 (-rw-r-----)

Owner: root.root

This is the pppd options file. It looks like the following (without the dashes):

---------------------------

updetach

modem

lock

crtscts

defaultroute

asyncmap 0

---------------------------

File: /etc/ppp/pap-secrets

Perms: 640 (-rw-r-----)

Owner: root.root

This is the file that contains the username and password for the ISP. The password must be in clear text. It should look like the following (without dashes):

---------------------------

username * password

---------------------------

I also made three script files

These are the files that actually connect you to the ISP. There are a total of three scripts that connect and disconnect you from the Internet.

File: /etc/ppp/ppp-on

perms: 750

Owner root.root

This is the actual connect script. You will need to edit the script with your username and telephone number to dial in the correct locations, after which, run it and you should connect.

---------------------------

#!/bin/sh

USERNAME= # Your username goes here

TELEPHONE=#777 # The telephone number you dial to connect

LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0

REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0

export TELEPHONE ACCOUNT PASSWORD

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer

exec /usr/sbin/pppd debug /dev/ttyUSB0 115200 name $USERNAME \

$LOCAL_IP:$REMOTE_IP \

connect $DIALER_SCRIPT

# use /dev/USB* or /dev/ACM* as per your requirement

cat /etc/resolve.conf >> /etc/resolv.conf

----------------------------

File: /etc/ppp-on-dialer

Perms: 750

Owner: root.root

This script actually performs the dialing function. It receives the telephone number from ppp-on. If you wish, you may add a modem initialization string where indicated. If you do not wish for a initialization string then remove the line completely.

----------------------------

#!/bin/sh

exec /usr/sbin/chat -v \

TIMEOUT 3 \

ABORT '\nBUSY\r' \

ABORT '\nNO ANSWER\r' \

ABORT '\nRINGING\r\n\r\nRINGING\r' \

'' \rAT \

'OK-+++\c-OK' ATH0 \

OK 'AT+CRM=1;+CSO=33' \

TIMEOUT 30 \

OK ATDT$TELEPHONE \

CONNECT '' \

----------------------------

File: /etc/ppp/ppp-off

Perms: 750

Owner: root.root

This is the script that will disconnect you from the Internet. No modifications are necessary.

----------------------------

#!/bin/sh

if [ "$1" = "" ]; then

DEVICE=ppp0

else

DEVICE=$1

fi

if [ -r /var/run/$DEVICE.pid ]; then

kill -INT `cat /var/run/$DEVICE.pid`

if [ ! "$?" = "0" ]; then

rm -f /var/run/$DEVICE.pid

echo "ERROR: Removed stale pid file"

exit 1

fi

echo "PPP link to $DEVICE terminated."

exit 0

fi

echo "ERROR: PPP link is not active on $DEVICE"

exit 1

----------------------------

also create /etc/resolve.conf as follows

nameserver 202.138.103.100

nameserver 202.138.97.193

nameserver 127.0.0.1

now to run the script cd /etc/ppp

sh ppp-on and ENJOY!!!!! :winko:

sometome ppp-off does not disconnect

then killall pppd

and then sh ppp-on again

data call definitely end now

I FEEL this WILL WORK ON ANY NOKIA PHONE. IN CASE IT DOESNT PLEASE POST YOUR PROBLEM

IF IT DOES THEN TOO PLEASE SHARE YOUR EXPERIENCE

Share this post


Link to post
Share on other sites
hi everyone

i registered to this site a few days ago and find that many people are having problems running internet from their NOKIA handsets on linux. I have a NOKIA 3125 and this is how I did it.

I made two configuration files. The first is the file that gives pppd its options and the second is the file that tells pppd the username and password to use in order to log into the ISP.

File: /etc/ppp/options

Perms: 640 (-rw-r-----)

Owner: root.root

This is the pppd options file. It looks like the following (without the dashes):

---------------------------

updetach

modem

lock

crtscts

defaultroute

asyncmap 0

---------------------------

File: /etc/ppp/pap-secrets

Perms: 640 (-rw-r-----)

Owner: root.root

This is the file that contains the username and password for the ISP. The password must be in clear text. It should look like the following (without dashes):

---------------------------

username * password

---------------------------

I also made three script files

These are the files that actually connect you to the ISP. There are a total of three scripts that connect and disconnect you from the Internet.

File: /etc/ppp/ppp-on

perms: 750

Owner root.root

This is the actual connect script. You will need to edit the script with your username and telephone number to dial in the correct locations, after which, run it and you should connect.

---------------------------

#!/bin/sh

USERNAME= # Your username goes here

TELEPHONE=#777 # The telephone number you dial to connect

LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0

REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0

export TELEPHONE ACCOUNT PASSWORD

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer

exec /usr/sbin/pppd debug /dev/ttyUSB0 115200 name $USERNAME \

$LOCAL_IP:$REMOTE_IP \

connect $DIALER_SCRIPT

# use /dev/USB* or /dev/ACM* as per your requirement

cat /etc/resolve.conf >> /etc/resolv.conf

----------------------------

File: /etc/ppp-on-dialer

Perms: 750

Owner: root.root

This script actually performs the dialing function. It receives the telephone number from ppp-on. If you wish, you may add a modem initialization string where indicated. If you do not wish for a initialization string then remove the line completely.

----------------------------

#!/bin/sh

exec /usr/sbin/chat -v \

TIMEOUT 3 \

ABORT '\nBUSY\r' \

ABORT '\nNO ANSWER\r' \

ABORT '\nRINGING\r\n\r\nRINGING\r' \

'' \rAT \

'OK-+++\c-OK' ATH0 \

OK 'AT+CRM=1;+CSO=33' \

TIMEOUT 30 \

OK ATDT$TELEPHONE \

CONNECT '' \

----------------------------

File: /etc/ppp/ppp-off

Perms: 750

Owner: root.root

This is the script that will disconnect you from the Internet. No modifications are necessary.

----------------------------

#!/bin/sh

if [ "$1" = "" ]; then

DEVICE=ppp0

else

DEVICE=$1

fi

if [ -r /var/run/$DEVICE.pid ]; then

kill -INT `cat /var/run/$DEVICE.pid`

if [ ! "$?" = "0" ]; then

rm -f /var/run/$DEVICE.pid

echo "ERROR: Removed stale pid file"

exit 1

fi

echo "PPP link to $DEVICE terminated."

exit 0

fi

echo "ERROR: PPP link is not active on $DEVICE"

exit 1

----------------------------

also create /etc/resolve.conf as follows

nameserver 202.138.103.100

nameserver 202.138.97.193

nameserver 127.0.0.1

now to run the script cd /etc/ppp

sh ppp-on and ENJOY!!!!! :P

sometome ppp-off does not disconnect

then killall pppd

and then sh ppp-on again

data call definitely end now

I FEEL this WILL WORK ON ANY NOKIA PHONE. IN CASE IT DOESNT PLEASE POST YOUR PROBLEM

IF IT DOES THEN TOO PLEASE SHARE YOUR EXPERIENCE

I get this please help me resolving this problem

ppp-on: line 3: 932*******: command not found

/usr/sbin/pppd: unrecognized option '/dev/ttyUSB0'

pppd version 2.4.2

Usage: /usr/sbin/pppd [ options ], where options are:

<device> Communicate over the named device

<speed> Set the baud rate to <speed>

<loc>:<rem> Set the local and/or remote interface IP

addresses. Either one may be omitted.

asyncmap <n> Set the desired async map to hex <n>

auth Require authentication from peer

connect <p> Invoke shell command <p> to set up the serial line

crtscts Use hardware RTS/CTS flow control

defaultroute Add default route through interface

file <f> Take options from file <f>

modem Use modem control lines

mru <n> Set MRU value to <n> for negotiation

See pppd(8) for more options.

Share this post


Link to post
Share on other sites

you can see this post the solution provided here works for all nokia phones

its already discussed here and solutions for linux related issues has been posted here http://www.rimweb.in/forums/index.php?showtopic=6347

But there is nothing mentioned for Nokia 6255..... Kindly tell me whether it is possible to use rconnect with Nokia 6255 in linux....

Share this post


Link to post
Share on other sites

its already discussed here and solutions for linux related issues has been posted here http://www.rimweb.in/forums/index.php?showtopic=6347

But there is nothing mentioned for Nokia 6255..... Kindly tell me whether it is possible to use rconnect with Nokia 6255 in linux....

just follow the same procedure :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×