Linux Unwired [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Linux Unwired [Electronic resources] - نسخه متنی

Edd Dumbill, Brian Jepson, Roger Weeks

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








8.5 Connecting to the Internet with a Cell Phone


Making an Internet connection
over infrared is really no
different from making it over any other serial port, which is
described in detail in Chapter 9. For example,
to connect to AT&T Wireless's EDGE network with
a Nokia 6200 (see "GSM/GPRS Phone with Data
Cable" in Chapter 9), use the
peers script as shown in Example 8-1. You can use the same
attws-connect and
attws-disconnect scripts as shown in Chapter 9.

Example 8-1. PPP peer settings for AT&T Wireless and the Nokia 6200 over IrDA

# File: /etc/ppp/peers/attws-irda
#
/dev/ircomm0 # Nokia 6200
115200 # speed
defaultroute # use the cellular network for the default route
usepeerdns # use the DNS servers from the remote network
nodetach # keep pppd in the foreground
nocrtscts # no hardware flow control
lock # lock the serial port
noauth # don't expect the modem to authenticate itself
local # don't use Carrier Detect or Data Terminal Ready
connect "/usr/sbin/chat -v -f /etc/chatscripts/attws-connect"
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/attws-disconnect"


/ 100