Satt op GPRS Easy Connect:

1,Utvelge din telefon
2,Utvelge din familiefors?rger.
3,Dersom din familiefors?rger har general brukernavn og passord og those are kjenne, og DNS antall
kjenne ved GPRS Easy Connect dengang de program vilje automatisk innsatte denne.
deg kan redigere denne manually.
  (Dersom deg har root kraft deg kan redigere de DNS antall og deg kan satt de statik DNS, dersom deg har
ikke root deg kan satt de DNS dinamicly.)
 De misligholdelse DNS mode i dynamic.
4,Utvelge din kommunikasjon havn. (eg.: com1, irda, usb...)
5,Deg kan satt noe valgfri satt. (sage program satt opp)
6,Deg kan redigere de spesiell CID satt dersom deg familiefors?rger beh?ve denne.
(at is en meget sjelden spesiell satt)

Dersom deg kan not forbindelse, dengang sjekk deg brukernavn, passord og/dersom deg anvendelse statik DNS.

Dersom deg anvendelse IrDa eller Bluetooth forbindelse, ta de avstand fra din computer til din telefon til hensyn
(?rsak data tapt).

#########################################################
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

   

