📄 dialup.txt
字号:
From: Roger Willcocks <Roger.Willcocks@LOOT.com>To: devel@wapgateway.orgSubject: RE: WAPGatewayDate: Mon, 17 Jan 2000 18:39:58 -0000Here's a list of the changes I had to make to RedHat 6.1 'out of the box' toget the WAPGateway 0.2 up and running ...My modems serial line rate is fixed at 9600 baud.Install the mgetty package:rpm --install mgetty-<version>-RPMIn /etc/inittab add a line:S0:2345:respawn:/sbin/mgetty ttyS0 -x 6 -D /dev/ttyS0In kannel.conf add (the IP address is the address of the Linux box)wdp-udp = wapinterface-name = 192.9.200.100wap-service = "wsp/wtp"In kannel.wapconf change the heartbeat-frequency to the same as inkannel.confheartbeat-freq = 5---XXX: sidenote 7.7.2000: In new Kannel (version 0.9.2 and up) configuration files are a bit different. Just use gw/wapkannel.conf for both the bearerbox and wapbox and you should do just fine (except that if the wdp-interface-name '*' does not work, replace it with actual IP of your Linux box) -- rpr@wapit.com---Add /etc/ppp/options.server (first IP address is server address, 2nd isassigned phone address):-detachdefault-asyncmapmodemcrtsctslock+pap-chapproxyarpnoauthpassive192.9.200.100:192.9.200.200debugIn /etc/mgetty+sendfax/login.config change about line fifty to say:/AutoPPP/ - - /usr/sbin/pppd 9600 file /etc/ppp/options.serverin /etc/mgetty+sendfax/mgetty.config change the connect speed (was 38400):speed 9600Add hello.wml in the root html directory of your http server (RedHat 6.1supplies Apache)<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml><card id="main" title="Hello, world" newcontext="true"> <p>Hello, this is a message from Roger's Linux WAP server :-)</p></card></wml>In /etc/hosts add 'x' as an alias for the local server:127.0.0.1 x localhostIn /etc/syslog.conf add a line saying (to enable ppp debug messages):daemon.* /dev/consoleIn /etc/ppp/pap-secrets add a line saying (ip address is phone's assignedaddress):wap * "" 192.9.200.200---Now configure your phone (mine is 7110) withhomepage http:/x/hello.wmlconnection type continuousconnection security offbearer datadial up number <your modem>ip address 192.9.200.100 (or whatever)auth type normaldata call type analoguedata call speed 9600username wappassword <blank>--Hope this helps,--Roger-----------------------------------------------------------------------------When you access a "web page" using a PC based browser, the "web server" tells your PC browser what kind of document itshould expect. This is done by using something called MIME-types.The common MIME type for a plain HTML document is "text/html".However, for a WAP micro browser, which cannot read HTML, theMIME type has to be different. The MIME types for serving WML contents are: Document type MIME type Typical ext Plain WML documents text/vnd.wap.wml .wml Wireless Bitmap Images image/vnd.wap.wbmp .wbmp Compiled WML documents application/vnd.wap.wmlc .wmlc WMLScripts text/vnd.wap.wmlscript .wmls .wmls Compiled WML Scripts application/vnd.wap.wmlscriptc .wmlscTo add the above MIME types to the Apache HTTP server,here's what you do: Edit the srm.conf file (usually in /etc/httpd/conf) Locate the AddType section, and add the followingsection to the file: # MIME Types for WAP AddType text/vnd.wap.wml .wml AddType image/vnd.wap.wbmp .wbmp AddType application/vnd.wap.wmlc .wmlc AddType text/vnd.wap.wmlscript .wmls AddType application/vnd.wap.wmlscriptc .wmlscSave the file and restart the Apache HTTPd. ------------------------------------------------------------------------------Date: Mon, 3 Jul 2000 09:33:16 +0200From: Wutke Matthias <Matthias.Wutke@erl9.siemens.de>To: devel@kannel.orgSubject: kannel working with S35iThe new version kannel 0.10 works really fine with the Siemens S35i.The preferences for the Gateway can be found in the menuinternet -> profiles -> <choose a profile> -> preferencesThey are to be configured as written below:Profile: Name of your profileDial Number: Phone number for connecting with your provider (Server)Connection Type: Analogue or ISDN (has no effect)User: Registered user at the providerPasswd: Password of userIP: IP-Address of the Provider's GatewayPort: Port, which the Gateway listens to (e.g. 9201 for wsp/wtp protocol)Startpage: Homepage of your Provider or any other wml-pageCancel Time: Time in seconds, after which the connection is closed
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -