Setup of GPRS Easy Connect:

1, Choose your phone.
2, Choose your provider.
3, If your provider has general username and password and those are known, and DNS number(s) are
known by GPRS Easy Connect then the program will automaticly insert those. Or
you can edit those manulaly.
 (If you have root privileg you can edit the DNS numbers and you can set the
static DNS, if you are not root you can set the DNS dynamicly.)
 The default DNS mode is dynamic.
4, Choose your communication port. (eg.: com1, irda, etc.)
4, You can set some optional parameters. (See program's setup.)
5, You can edit the special CID parameter if your provider needs this.
(That's a very rare special parameter.)

If you can not connect, then check your username, password and - if you
use static - DNS(s).
(We are not sure of every parameters are known correctly by GPRS Easy Connect.)

If you use IrDa or Buetooth connection, take the destance between your computer and
your phone into consideration. If the destance is more then 1 m, then rise the
"Time interval of watching the connection" option up.


#########################################################
Mustafa Ogun's mini-howto for IrDa to Slackware Linux 8.1
#########################################################

getting online with GPRS via IrDA on Linux

Operating System : Slackware Linux 8.1

Kernel : Linux mos-laptop 2.4.18 #4 Fri May 31 01:25:31 PDT 2002 i686 unknown

Phone : Ericsson r520m

Connecting Way : IrDA

****

firstly you should configure your IrDA device to establish a connection, download irda-utils for that from www.irda.sf.net

You will need to re-compile your kernel if it doesn't support IrDA, but most Linux distrubitions come with it by default.

After installing irda-utils , go /dev as root and type that lines to create the devices that we need.


>mknod /dev/ircomm0 c 161 0
>mknod /dev/ircomm1 c 161 1
>mknod /dev/irnet c 10 187
   for permissions :
>chmod 664 /dev/ir*

if you dont know which irq and adress used by your IrDA device, reboot your computer,take a look at your BIOS and write it down.

anyway, if you 've successfuly completed irda-utils installation,  type that lines as root in a terminal window
root@mos-laptop:/home/mos/progz# irattach /dev/ttyS1 -s (might be ttyS0 for your device, try it!)
root@mos-laptop:/home/mos/progz# irattach irda0 -s
root@mos-laptop:/home/mos/progz# modprobe irport io=0x2f8 irq=3  (this line can be different for your device)
root@mos-laptop:/home/mos/progz# irattach irda0 -s

then check your configuration by typing
> cat /proc/net/irda/discovery

you should get a report something like that (make sure your phone in range before )

IrLMP: Discovery log:

nickname: R520, hint: 0x9124, saddr: 0x57ce4e10, daddr: 0x10eb4046

----

now go to www.easyconnect.linuxuser.hu and get the file we need.
(This tool needs Tk for installation with GUI, if you dont have Tk you should download it too, its easy to install). but actually Tk (and of course GUI) is not neccessery, we just need pppd scripts, and the script generator make this for us easily.

well, after installation GPRS_Easy_Connect, type sg_en in a terminal window as root,
then it will show a huge list of supported phones, mine is ericsson r520 and its number is 60.

type this number when the script generator ask for it,
after this step it will ask you "which communication port will it use" , type /dev/ircomm0 here.

then it will ask "you APN's name" , type your GSM provider's APN name, mine is telsim

type No for username / password section.

now we have pppd scripts :)

type " pppd file sony-ericsson-r520 " and have fun

root@mos-laptop:/home/mos/progz# pppd file sonyericsson-r520
you will get a report something like that;

AT
OK
ATE0
OK

OK

ERICSSON

OK

286023010009552

OK

OK

OK

OK

OK

+CGATT: 1

OK

CONNECT
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ircomm0
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6614f8e1>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0x6614f8e1>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [PAP AuthReq id=0x1 user="xxx" password=<hidden>]
sent [PAP AuthReq id=0x2 user="xxx" password=<hidden>]
rcvd [PAP AuthAck id=0x2 ""]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 81.6.64.96>]
sent [IPCP ConfAck id=0x1 <addr 81.6.64.96>]
rcvd [IPCP ConfNak id=0x1 <addr 81.6.64.97> <ms-dns1 212.156.4.20> <ms-dns3 217.31.224.129>]
sent [IPCP ConfReq id=0x2 <addr 81.6.64.97> <ms-dns1 212.156.4.20> <ms-dns3 217.31.224.129>]
sent [IPCP ConfReq id=0x2 <addr 81.6.64.97> <ms-dns1 212.156.4.20> <ms-dns3 217.31.224.129>]
rcvd [IPCP ConfAck id=0x2 <addr 81.6.64.97> <ms-dns1 212.156.4.20> <ms-dns3 217.31.224.129>]
local  IP address 81.6.64.97
remote IP address 81.6.64.96
primary   DNS address 212.156.4.20
secondary DNS address 217.31.224.129
Script /etc/ppp/ip-up started (pid 320)
Script /etc/ppp/ip-up finished (pid 320), status = 0x0


now yor are online!

p.s. : you must be root for all of that things

MustafaOgun
mustafaogun@gmx.net

for extra information:
www.irda.sf.net
www.easyconnect.linuxuser.hu
www.google.com
Mustafa Ogun
Istanbul, TR

