STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Internet in your pocket
Big network in small devices
Marcin [email protected]
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Agenda• PDA – Personal Digital Assistant• Wireless networks: types and specs:
– WLAN– Bluetooth– GPRS
• Equipment list• Experiments:
– Bluetooth/GPRS/IrDA/IPv6– audio/video/web browsing/chatting
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
iPAQ – what is it?• product from COMPAQ (HPQ)• 206 MHz strongARM processor• 64MB RAM, 32 MB Flash ROM• IrDA, Bluetooth• 320x240 colour touch screen• audio in/out• secure digital (SD) card slot• expansion modules• VGA output expansion
(presentations...)
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
02468
1012
Mpbs
GPRS Bluetooth WLAN
Wireless technologies - overview
• WLAN – Wireless Ethernet (802.11b)
• Bluetooth – short range, small devices
• GPRS – extension of mobile networks
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Wireless LAN• Wireless Ethernet• up to 11Mbps• IEEE 802.11b standard• Access points + PCI/PCMCIA cards
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Bluetooth overview• small, cheap & simple(goal:1 unit<$10)• low power consumption (batteries...)• 2.4 GHz ISM band (unlicensed)• 79 channels, frequency hopping• speed up to 721 kbps• open standard• supported by 1000s of manufacturers• (not just) IrDA replacement
Wireless connection for all mobile devices
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBFrequency Hopping principle
time
freq
uenc
y
1600 hops / second !!!
79 c
hann
e ls
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBPiconet
• Star Topology– 1 Master, up to 7 active slaves– Unlimited number of parked
slaves• Master:
– determines hopping scheme and timing
– Administers piconet (polling)• Logical Channels
– Asynchronous, packet oriented - ACL
– Synchronous, connection-oriented (voice, slot reservation) - SCO
M1
5
3
4
6
2
7
P
P
P
Pn
Masteractive slave
parked slavestandby
M
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBScatternet
M
M
M
• multiple piconets• overlapping coverage areas• one master / piconet• master for one piconet may be slave for another piconet• each piconet has its own hopping scheme
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBScatternet
M
M
M
• multiple piconets• overlapping coverage areas• one master / piconet• master for one piconet may be slave for another piconet• each piconet has its own hopping scheme
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Bluetooth equipment• built in: notebooks,
PDAs, mobile phones, cameras, pens…
• PCMCIA cards, USB adapters, motherboards
• printer adapters• hands-free
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Bluetooth - applications• connecting devices in short range:
– hands-free to phone– transfer pictures from camera to PC/printer– connect to Internet– phone2phone: send business card– cordless phone (like DECT)– send/receive files (LAN)
• how? -> SDP – service discovery protocolhttp://www.ics.agh.edu.pl/~mmich/ - Master’s Thesis
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
GPRS• extension to GSM network• packet-based transmission• volume-based charging• always-on connectivity• multi-slot operation• up to 171 kbps download
General Packet Radio Services
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
GPRS – what’s the trick?
1 2 3 4 5 6 7 8
2G: GSM: 8 Time slots (TS)
one user = one time slot = one callspeed: 9.6 kbps (14.4 kbps extended)
1 2 3 4 5 6 7 82 6 7
one user = many slots assigned on demand
2,5 G: GPRS: 8 Time slots (TS)
speed: up to 171.2 kbps (8 x 21.4 kbps)
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
What we have:iPAQ 3870 with Bluetooth and
Linux
Ericsson T39m with GPRS & Bluetooth
3Com Bluetooth USB adapter
notebook with Linux and Windows
3Com Bluetooth PCMCIA card
CompaqWLAN PCMCIA card
CompaqWLAN Access Point
iPAQ 3660with PocketWindows
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Demos - list• basic connectivity: GPRS
– Windows with IrDA/Bluetooth (notebook/iPAQ)– Linux with Bluetooth (iPAQ)
• web browsing (iihe, ngnlab, ...)• audio & video transfer
– Windows: Media Player + PocketTV– Linux: vic (IPv6), rat + scream (audio), gaim
• IPv6 – setting up the Freenet6 tunnel (iPAQ)• iPAQ Linux applications
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBTask 0 (easy): Notebook with
GPRS• always-on connectivity• like Dial-UP (speed as well...)• IrDA or Bluetooth• PIN: 1111• let me do it myself...
GSM/GPRSnetwork
Internet
IrDA
wwwmail
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Task 1: iPAQ to GPRSiPAQ:• turn on iPAQ 3660• tap the flag• choose ‘Settings’• tap ‘Connections’ tab• tap ‘Connections’ icon• make sure ‘gprs proximus’ is chosenPhone:• Extras/4 Infrared Port/On• place it next to (above) iPAQiPAQ:• tap ‘Connect’ button• wait... and use
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Task 2: Use and enjoy• web browsing: Internet Explorer• multimedia:
– playing MP3 files– Windows Media Player (4FM, videos)– PocketTV – live feed
• check e-mail, chat, ...Note: check phone battery after usage (infrared)
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
OK, let’s get serious...• Linux on iPAQ 3870 (X-Windows
incl.)• Bluetooth working (uffff....)• GPRS connection via Bluetooth• Bluetooth connection via notebook
GPRS
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBTask 3: Connect to
phone/GPRS• prepare the phone• run: rfcommd –n –f /etc/rfcommdGPRS.conf na 00:80:37:11:8f:edshort: ./GPRS• see the output
– on the phone (slide down)– on iPAQ
• remarks:– Bluetooth emulates serial connection (like IrDA)– GPRS service: extra request @operator needed
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Task 4: IPv6 connectivity• Freenet6.net service – free & everybody• works on Windows NT, 2000, Linux, FreeBSD• your computer may also be a router!• run on iPAQ:
tspc• run: ifconfig• run:
ping6 www.kame.netping6 www.6bone.netping6 www.ipv6.iihe.ac.be
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBIPv6 tunnel – how it
works?
Freenet6 [email protected]
IPv6
Internet
GSM/GPRSnetwork
IPv6-in-IPv4 tunnel
• connection to Internet IPv4 via Bluetooth & GPRS• IPv6-over-IPv4 tunnel to Freenet6• connection to EURODEMO through Canada...
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULBTask 5: Bluetooth
connection• notebook as a router• Bluetooth USB Adapter• connection up to 721kbps• run:
./NBtspc (another IPv6 tunnel)
• check if works (ifconfig, ping)• next step is...
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Task 6: Applications• web browsing with dillo• playing audio – scream• listening to the radio online• vic and rat over IPv4/IPv6• gaim – chat• and more...
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
dillo – web browser• Menu/Viewers/dillo• F/Open URL...• browse your favourites
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
scream – audio player• play mp3 files• listen to the radio
online:– Mode-> Icecast– Server tab/+/choose
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
vic and rat• let’s try...• IPv4: webmail PC & iPAQ• IPv6 (vic): Isabel PC & iPAQ
IPv4
193.190.246.20(webmail)193.190.247.35
193.190.247.433ffe:b80:2:883f::c1be:f72b
193.190.246.154 (Isabel)3ffe:b80:ca5:1:260:97ff:fe25:e8d8
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
gaim – chatting...• supports:
– ICQ– IRC– MSN– Yahoo
• feel like talking?
STC Seminar – May 24th Marcin Michalakhttp://www.ngnlab.org
STC-ULB
Questions?