Author Topic: IRDA, PPP using Nokia  (Read 1188 times)

al_brain

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • http://
IRDA, PPP using Nokia
« on: September 05, 2004, 02:30:16 pm »
Here's how I configured my SL5500-OZ3.2 to use my Nokia 6310i as an IR modem.

Edit: Please note that this only works with OZ 3.2.

1. Make sure you have ppp installed, and the IRDA applet.

2. Make sure the IRDA applet is running on the taskbar (Settings/Launcher/Taskbar)

3. Open a Konsole.

4. go to /etc/ppp. You will find the following files:
- ip-down
- ip-up
- no_ppp_on_boot
- options
- options.ttyXX

5. move options to options.old (mv options options.old)

6. create a new options file (touch options). Edit this file to the following:
Quote
lock
modem
crtscts
asyncmap 0
mtu 1524
mru 1524
noipdefault
ipcp-accept-local
ipcp-accept-remote
noauth
defaultroute
debug
7. create a new file called chat-isp with the following contents:
Quote
ABORT 'NO CARRIER'
ABORT 'ERROR'
ABORT 'NO DIAL'
ABORT 'BUSY'
"" ATe1
""
ATZ
OK
"ATDT your-isp-number"
CONNECT ' '
ogin: your-username
ssword: your-password
Change your-isp-numer, your-username and your-password to whatever you use.

8. create a directory called peers

9. go into this directory and create a file called isp (touch isp) containing:
Quote
ircomm 115200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat-isp'
noauth
10. go back to /etc and edit resolve.conf and add your nameservers:
Quote
nameserver XX.XX.XX.XX
nameserver XX.XX.XX.XX
etc.
11. Now your ready to connect. Switch IR on your phone and make sure it's a couple of inches away from the ir port on the Zaurus.

12. Enable IR from the taskbar applet and Enable Discovery. It should pick up your phone.

13. At the Konsole, type the following:
Quote
pppd call isp
14. Your phone should start to dial.

15 Leave it a couple of seconds, then start your web browser. You should be able to surf!

16. When your done, hang up your phone and switch of IR.

References I used were:
http://www.rt.com/man/pppd.8.html
http://www.rt.com/man/chat.8.html
http://www.openzaurus.org/oz_website/faq/faq?id=76

Best of luck!

Al.
« Last Edit: November 16, 2004, 09:37:31 am by al_brain »

al_brain

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • http://
IRDA, PPP using Nokia
« Reply #1 on: November 16, 2004, 09:38:57 am »
I've tried this with OZ 3.5.1, but the "ircomm" command isn't installed.

Can anybody tell me if I can do the above with 3.5.1?

Cheers,

Al.