GPRS na Toshiba 5005 sattelite 507
Zastavlyaem rabotat' infrakrasnyj port Toshiba Sattelite 5005-507
|ta glava specifichna dlya moego laptopa Toshiba Sattelite 5005-507,
dlya drugih mashin aktivaciya IR mozhet byt' poproshche.
Telefony Siemens S45 i Nokia 6510, 8310
Linux RedHat 7.3
Kernel version 2.4.18 (s bolee starymi yadrami dobit'sya
uspeha problematichno)
0. Skoree vsego v S45 ustarelaya proshivka, s nej GPRS rabotal _tol'ko_ cherez
COM-port. Pomogaet ustanovka S45_210306_UpdateTool.exe s sajta
www.mysiemens.com -> s45 -> device
V Toshiba Sattelite 5005-507 net BIOS-nastroek, zhelezo konfiguritsya
programmno. IR port i ISA-bridge, na kotorom on sidit, draverami ne
raspoznayutsya, poetomu ih predvaritel'no neobhodimo aktivirovat'.
// lspci on 5005-507 says
// 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05): 82801BA (0x2440)
// IR-controller: SMC,LPC47N227,2.0,0x2e,0x3f8,0x130,3,3,128,0,1
1. Perekompilirovat' yadro, chtoby v nem uchastvuyushchie dravera byli modulyami:
##############################################################
* Character devices
M Standart/generic serial support
* IrDA (infrared support)
M IrDA subsystem support
M IrLAN support
M IrNET protocol
M IrCOMM protocol
Y Ultra protocol
**Infrared-port device drivers)
SIR device
M IrTTY
M IrPORT
FIR device
M SMC IrCC
##############################################################
2. S pomoshch'yu ispravlennoj programmy tosh5100-smcinit (skachat' iz interneta, ispravit')
///////// Ispravit' stroku /////
if (twobyte != 0x248c){
/////////////// na /////////////
if ( twobyte != 0x248c && twobyte != 0x2440 ){
////////////////////////////////
gcc -O2 -o /usr/local/sbin/tosh5100-smcinit tosh5100-smcinit.c -lpci -L/usr/lib -I/usr/include/pci
Proverka:
/usr/local/sbin/tosh5100-smcinit # setapim IR
/usr/sbin/findchip # ubezhdaemsya, chto kontroller ozhil
SMC,LPC47N227,2.0,0x2e,0x3f8,0x130,3,3,128,0,1
3. Dopisyvaem v fajl /etc/modules.conf
##############################################################
# smc-ircc Infra Red
# aktivaciya IR-porta (v Toshiba-507 on saditsya na io 0x3f8 irq 3)
# FIR ya ne ispol'zoval: pre-install smc-ircc /usr/local/sbin/tosh5100-smcinit
pre-install serial /usr/local/sbin/tosh5100-smcinit
# zavodim COM1 na io/irq IR-porta
post-install serial /bin/setserial /dev/ttyS0 uart 16550 port 0x3F8 irq 3
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
alias char-major-10-187 irnet
##############################################################
4. Propisyvaem v fajl /etc/sysconfig/irda
##############################################################
IRDA=yes
DEVICE=/dev/ttyS0
DISCOVERY=yes
##############################################################
5. Zapuskaem
/usr/local/sbin/tosh5100-smcinit
/bin/setserial /dev/ttyS0 uart 16550 port 0x3F8 irq 3
irattach /dev/ttyS0 -s
Finita - teper' infrakrasnyj port v rezhime SIR (do 115bod) ispol'zuem po
imeni /dev/ircomm0. Primechatel'no, chto irattch nasazhivaetsya na ttyS0,
a my pol'zuemsya devajsom /dev/ircomm0. Nichego strashnogo. Tak nado :)
Vse ukazannye komandy pri perezagruzke budut uzhe ispolnyat'sya avtomaticheski,
vruchnuyu zapuskat' nichego ne potrebuetsya.
Proverit', chto port zhiv
irdadump
Dlya IR v rezhime skorostnogo FIR nuzhno podnimat' specializirovannyj FIR-draver
modprobe smc-ircc
(eksperimenty uspehom ne zavershilis')
Nastrojki pppd dlya Linux mts-gprs
Nichego ekstraordinarnogo v nastrojkah PPP ne trebuetsya, dlya GPRS specifichny
sleduyushchie momenty (v skobkah klyuchi pppd):
IP-adresa vydayutsya serverom (ipcp-accept-local ipcp-accept-remote noipdefault)
DNS-servera vydaetsya serverom (usepeerdns)
(libo propisyvaetsya rukami v /etc/resolv.conf 213.87.0.1 i 213.87.1.1)
Kompressiya zagolovkov NE ispol'zuetsya (novj nobsdcomp novjccomp nopcomp noaccomp)
Init-stroka mobil'nika soderzhit AT+CGDCONT=1,"IP","internet.mts.ru" OK
Ispol'zuetsya PAP-avtorizaciya (user mts i /etc/ppp/pap-secrets)
Login/parol' ne ispol'zuyutsya, poetomu loginnnyj skript banalen: "CONNECT"
pppd boitsya naznachat' "svoj" default router, esli takovoj uzhe imeetsya, poetomu
pered startom pppd default router nado udalit' rukami/programmno
1. # Gotovim fajl dlya PAP-avtorizacii s pop-serverom mts
Edinorazovo vypolnyaem komandu
echo 'mts * mts *' >> /etc/ppp/pap-secrets
2. Sozdaem komandnyj fajl pppup
==================== CUT HERE ==============================
#!/bin/sh
DIALTIMEOUT=20
# esli mobil'nik podceplen k COM1 a ne k IR, zamenit' v skripte ircomm0 na ttyS0
case "$1" in
mts0885)
MODEM=ircomm0 SPEED=57600 MODEM_INIT=""
IH_IP=" ipcp-accept-local ipcp-accept-remote noipdefault user mts"
LOGSCRIPT="CONNECT"
PHONE="0885"
;;
mtsgprs|*)
MODEM=ircomm0 SPEED=115200 MODEM_INIT='AT+CGDCONT=1,\"IP\",\"internet.mts.ru\" OK'
IH_IP=" ipcp-accept-local ipcp-accept-remote noipdefault
debug usepeerdns user mts
novj nobsdcomp novjccomp nopcomp noaccomp"
LOGSCRIPT="CONNECT"
PHONE="*99***1#"
# *99# dlya QTEK
;;
esac
# pered zapuskom pppd udalyaet default router, po okonchanii - vosstanavlivaet
# Bolee korrektno bylo by vstavit' eti dejstviya v /etc/ppp/ip-up.local i /etc/ppp/ip-down.local
DR=`route -n | egrep '^0.0.0.0'| grep -v ppp | sed 's/^[^ ]* *\([^ ]*\) .*/default gw \1/'` ;
if [ -n "$DR" ] ; then
trap "echo route add $DR ; route add $DR ; exit" 2 3 9 15
route delete $DR
echo route delete $DR
fi
##########################
##################### Pri obryve soedineniya pppd perezapuskaetsya ####################
while true ; do
pppd \
connect 'chat -v ABORT "NO DIALTONE" ABORT "NO CARRIER" ABORT BUSY "" '"$MODEM_INIT"' ATDP'$PHONE' '"$LOGSCRIPT"' ;' \
crtscts defaultroute modem -detach mru 1500 \
$NASH_IP:$IH_IP /dev/$MODEM $SPEED
sleep $DIALTIMEOUT
done
======================== END CUT HERE ==============================
Zapusk soedineniya:
pppup mtsgprs
Ostanovka: CTRL+C
Esli telefon ne otklikaetsya - vyklyuchit'/vklyuchit' ego
Tablica parametrov dlya GPRS-podklyucheniya k operatoram
Nomer telefona:
Dlya Siemens: *99***1#
Motorola, Nokia, Ericsson: *99#
QTEK : *99#
MTS
user: mts
APN: internet.mts.ru
DNS: 213.087.0.1, 213.087.0.1 ili Avto
Header-compresion: NONE
BeeLine
user: beeline
APN: internet.beeline.ru
DNS: 217.118.66.243, 217.118.66.244
Header-compresion: NONE
Megafon
user: gdata
APN: internet
DNS: Avto
Header-compresion: Yes
V Toshiba 507 (kak i v bol'shinstve novyh noutbukah) net COM-porta. Zato est'
USB i IR. Perehodnik USB->COM po stoit okolo 15$ i ponimaetsya FTDI-ishnym
draverom dlya USB, odnako net 100% garantii, chto vse eto udastsya nastroit'.
Vtoroj minus podklyucheniya mobil'nika cherez COM - neobhodimo imet' dovol'no
nedeshevyj COM-kabel' dlya telefona. Tretij minus: COM-podklyucheniya -
zanimaetsya raz®em dlya podklyucheniya pitaniya, a akkumulyator GPRS szhiraet
dovol'no bystro (1 chas GPRS = 1 sutkam v rezhime ozhidaniya)
S drugoj storony: ne vo vseh telefonah i noutbukah est' IR-port. K nekotorym
telefonam COM-kabel' prilagaetsya v standartnoj postavke, v otlichie ot IR,
telefon, visyashchij na kabele ne teryaet konnekta ot sluchajnyh smeshchenij.
Vyvody:
1) v noutbuke zhelatelen IR-port.
2) v telefone zhelatelen IR-port.
3) v telefone zhelatelen COM-kabel'.
4) zhelatel'no, chtoby COM-kabel' i pitanie imeli razdel'nye raz®emy.
5) polezno imet' adapter ot avtomobil'nogo prikurivatelya.
6) lyubopyten variant s BlueTooth
Vopros podklyucheniya k Linux-noutbuku cherez USB ostaetsya otkrytym i zhdet
svoego issledovatelya.
O kachestve GPRS (MTS-GPRS i dacha - dve veshchi inogda sovmestnye)
Gromko ob®yavlennye mobil'nymi operatorami vysokie skorosti GPRS (do 115Kbod)
sushchestvuyut tol'ko v teorii. Real'naya skorost' peredachi dannyh 2.5-2.7Kb/sek.
Pri snizhenii kachestva signala - opuskaetsya do 0.5Kb/sek i dalee - do polnogo
nulya.
GPRS ochen' kritichen k sile signala. Pri oslablenii signala skorost' peredachi
zametno padaet, nachinayutsya zaderzhki i obryvy svyazi vplot' do polnoj
nerabotosposobnosti dazhe pri vpolne udovletvoritel'nom urovne priema.
Vse sil'no zavisit ot modeli(proizvoditelya?) telefona. Po nekotorym otzyvam,
Motorolla derzhit svyaz' tam, gde Siemens'y i Ericsson'y uzhe ne tyanut.
Po moemu sobstvennomu opytu tam, gde Siemens S45 ne rabotal, ustojchivo
rabotala Nokia 6510.
Konkretno Siemens S45 rabotaet _tol'ko_ v usloviyah horoshego signala - hotya
by "chetyre palki" po indikatoru iz pyati vozmozhnyh (t.e. primerno do -80dBm)
Pri "treh palkah" (-85dBm : -95dBm) soedinyaetsya, no ne rabotaet.
Pri "dvuh palkah" (-97dBm : -109dBm) dazhe ne soedinyaetsya.
Nokia 6510 pri "treh palkah" (-85dBm : -95dBm) rabotaet, inogda s
vremennymi vypadaniyami na 5-10 sekund, skorost' peredachi 450-700 bajt v
sekundu.
U menya na dache signal v "3 palki", dlya raboty cherez S45 ego neobhodimo
podnyat' na 20dBm. Standartnye odnoshtyrevye antenny, kotorye prodayutsya v
mobil'nyh salonah, imeyut usilenie ot 5dBm(300rub) do 11dBm(700rub) - t.e. v
moem sluchae ne pomogut.
Napravlennaya antenna v 16dB stoit okolo 80$
Buster (podnimaet signal, provalennyj dlinnym kabelem) - 60-100$
GSM-usilitel' na 20-25dB stoit ot 200$ do 1000$
Repiter (usilitel' sovmeshchennyj s mini GSM-retranslyatorom) - 300$
Vyvod: telefon Siemens S45 (a po sluham - i drugie modeli Siemens) dlya
obespecheniya GPRS v usloviyah sredne-posredstvennogo priema NEPRIGODEN, ili
trebuet ustanovki antenno/usilitel'nogo hozyajstva na summu v 100-200-300$.
A ya otpravlyayus' pokupat' Nokia (skoree vsego real'no protestirovannyj i
dokazavshij rabotosposobnost' 6510) - za 190$.
Podklyuchenie k ne Unix-sistemam
Windows (PC), Windows CE (Pocket PC):
Make new connection: via IR-port, PPP, noheadercompression, phonenumber, dns ...
Dopolnitel'no perejti v "Svojstva modema" i zabit' v stroku inicializacii
AT+CGDCONT=1,IP,internet.mts.ru
PalmOS (Palm)
Bole-menee analogichno, odnako zdes' v parametrah modema net ponyatiya "stroka
inicializacii modema", poetomu pridetsya napisat' dialup-script, soderzhashchij
etu stroku v nachale chata.
EPOC-32 (Psion)
1. V paneli upravleniya nastroit' novyj modem. V parametrah modema postavit'
"Modem type: Mobile", "Terminal Detect: NO", "Carrier Detect: NO"
2. V paneli "nastrojki Internet" zadat' DNS, i login
3. Posle podklyucheniya i pervoj popytki obrashcheniya k lyubomu sajtu poyavitsya
soobshchenie "operaciyu provesti nevozmozhno".
4. Posle etogo zapustit' programmu "GPRS Helper" ili "Mobile GPRS Update"
GPRS Helper: http://psiloc.com/psion/eng/gprs/
Mobile GPRS Update: http://www.mypsion.ru, dalee po ssylkam
IR i mobil'nik, i chto s nimi mozhno sdelat'
http://www.opennet.ru/prog/sml/101.shtml
Programmy dlya upravleniya adresnoj knigoj/kalendarem/sms:
Tekstovye, s kuchej klyuchej:
scmxx-0.6.3.7-1.i386.rpm
gsmlib-1.10.tar.gz
K primeru, otsylka SMS mozhet vyglyadet' tak:
gsmsendsms -d /dev/ircomm0 +79021234567 "Tekst SMS-soobsheniya zaklyuchennyj w kawychki"
Smena PIN u simkarty
gsmctl -o setpw sc 1234 2345
S graficheskim interfejsom
multisync-0.72-1.i386.rpm trebuet OBEX-bibliotek, u menya ne zarabotala
xgsmlib-0.2.tar.gz trebuet GNOME-development version 1.4, u menya ne sobralsya
* Dalee idet syroj nerazobrannyj material, nadergannyj iz raznyh istochnikov *
Origin: http://sn00per.narod.ru/gprs/mtu_w2k.html
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters\Protocols\0\ProtocolMTU
,
ustanavlivaem desyatichnoe znachenie MTU men'shee chem 1450, esli brat' po
analogii s vin98 - to
V nastrojkah soedineniya ustanavlivaem v kachestve proksi
proxy.mtsnet.ru i port 3128.
i sami zabudem pro
MTU!
Name: mts3.mtsnet.ru
Address: 213.87.0.3
Aliases: proxy.mtsnet.ru
Origin: http://sn00per.narod.ru/gprs/linux_gprs.html
Zapustit' GPRS pod linuksom dovol'no neslozhno. Est' massa raznyh variantov v inete, kak eto sdelat'.
Ne pretenduya na osobuyu original'nost', rasskazhu kak eto sdelal ya. YA ne stal poka paritsya s IRDA,
uchityvaya nalichie KOM-shnurka. Tak proshche i nadezhnee.
I tak.. YAdro 2.2.h, chat i pppd podrazumevayutsya ustanovlennymi. Po bol'shomu schetu osobyh otlichij ot
obychnogo modemnogo soedineniiya net. Otlichayutsya detali. I tak. Sozdaem fajly so sleduyushchim
soderzhaniem:
/etc/ppp/peers/gprs-connect-chat:
#!/bin/sh
# chat-gprs-connect
# The actual chat script:
exec chat \
TIMEOUT 5 \
ECHO ON \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
TIMEOUT 12 \
SAY "Press CTRL-C to close the connection at any stage!" \
SAY "\ndefining PDP context...\n" \
OK ATH \
OK ATE1 \
OK 'AT+CGDCONT=1,"IP","internet.mts.ru"' \
OK ATD*99***1# \
TIMEOUT 22 \
SAY "\nwaiting for connect...\n" \
CONNECT "" \
SAY "\nConnected." \
SAY "\nIf the following ppp negotiations fail,\n" \
SAY "try restarting the phone.\n"
#
/etc/ppp/peers/gprs-connect-chat:
#!/bin/sh
# chat-gprs-disconnect
exec /usr/sbin/chat -V -s -S \
ABORT "BUSY" \
ABORT "ERROR" \
ABORT "NO DIALTONE" \
SAY "\nSending break to the modem\n" \
"" "\K" \
"" "+++ATH" \
SAY "\nPDP context detached\n"
#
/etc/ppp/peers/gprs:
# Serial cable pppd options for GPRS phone
nodetach
debug
show-password
connect /etc/ppp/peers/gprs-connect-chat
disconnect /etc/ppp/peers/gprs-disconnect-chat
/dev/ttyS0 # COM1
#/dev/ttyS1 # COM2
115200
crtscts
local
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
# ppp compression
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
#
noauth
user "mts"
/etc/ppp/pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
mts * mts *
Teper' kasaemo DNS. Esli RRR stek telefona mozhet poluchat' DNS s servera GPRS
i skript /etc/ppp/ip-up mozhet pravil'no otrabatyvat' poluchennuyu informaciyu
ot pppd, to stavim parametr usepeerdns v /etc/ppp/peers/gprs. S etim
parametrom poluchennaya informaciya sohranyaetsya v fajle /etc/ppp/resolv.conf.
/etc/ppp/resolv.conf:
#
nameserver 213.87.0.1
nameserver 213.87.1.1
#
Esli takoj fint ne prokatyvaet - togda dobav'te eti stroki v /etc/re
solv.conf. Zaodno prover'te, chto /etc/host.conf soderzhit strochku "order
hosts,bind".
Vrode vse... Konnektim shnurkom telefon k komportu. Kak root daem komandu pp
pd call gprs i nablyudaem vyvod. Ochchen' poleznaya informaciya ob ustanovlenii
konnekta. Mozhno kontrolirovat', na kakoj stadii proishodyat problemy.. Vot
naprimer, segodnya ochen' chasto ne poluchaetsya poluchit' IP adres iz pula MTS,
vidimo, ves' ischerpalsya na moment konnekta. Potom vam etot debag-musor
nadoest, i togda mozhno parametr debug zakommentirovat'. Byl eshche odin moment,
svyazannyj s defoltovym marshrutom. V moem sluchae defoltovyj shlyuz byl v
lokalku pered konnktom k GPRS. YA napisal korotkij skriptik, kotoryj pered
vyzovom pppd ubival defoltovyj shlyuz. Posle zaversheniya konnekta
vosstanavlival lokal'nyj defoltovyj shlyuz v skripte /etc/ppp/ip-down.local
Vot i vse..potratil polchasa na pol'zu narodu. Prodolzhaem sledit' za bredom v
forume i vylavlivat' interesnye mysli i idei..Kak nadoeli eti halyavshchiki..
Vse voprosy v pochtu, hotya ya ne uveren, chto budet vremya otvechat'.
1.03.03
Glava 27. Nastrojka dostupa k Internetu cherez GPRS
Origin: http://ruslandh.narod.ru/GPRS/ch27.html
M.Bykov, I.Sinelobov, S.Skorohodov
Snachala nastroim infrakrasnyj port, dlya chego ustanovim paket irda-utils:
apt-get install irda-utils
Spisok ustanovlennyh v sostave paketa programm vy mozhete poluchit', vvedya sleduyushchuyu komandu:
rpm -ql irda-utils
Teper' u nas est' irdadump, irattach i dokumentaciya k nim. Man-stranicy s dokumentaciej sushchestvuyut
otdel'no ot paketa: http://mobilix.org/software/irda/
Teper', dlya togo chtoby opredelit' vash IR-chipset i sootvetstvuyushchij emu modul', vvedite komandu lspci,
predvaritel'no ubedivshis' v tom, chto infrakrasnyj port vklyuchen v BIOS. V vyvode konsoli v sluchae s
ukazannym vyshe noutbukom vy pomimo drugoj informacii uvidite sleduyushchee:
00:09.0 Communication controller: Toshiba America Info Systems
FIR Port (rev 23)
FIR (Fast Infra-Red) oznachaet horoshij chipset, kotoromu sootvetstvuet ustrojstvo /dev/ircomm0. V nekotoryh
modelyah noutbukov Toshiba stoyat chipsety SIR (Serial Infra-Red), kotorye "pritvoryayutsya" posledovatel'nym
portom /dev/ttyS0 i obespechivayut skorost' soedineniya do 115 Kb/sek, a FIR- do 4 Mb.
Vyvod komandy lspcidrake da£t nazvanie modulya:
toshoboe : Toshiba FIR Port
V LINUX-IFRARED govoritsya, chto v /etc/modules.conf dolzhno byt'
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
Dobavim neobhodimye stroki i zagruzim nuzhnye moduli:
$ modprobe toshoboe
$ service irda start
Proverim:
$ service irda status
irattach (pid XXX) is running...
Zamechanie
Komandu irattach ircomm0 -s 1, kotoraya vam vstretitsya v dokumentacii, davat' ne nuzhno- vs£ sdelaet service
irda start.
Aktiviziruem IR na sotovom telefone, "pristroim" telefon k IR-okoshku noutbuka, i, chtoby ubedit'sya v tom,
chto on opredelilsya, posledovatel'no vvodim sleduyushchie komandy i smotrim na ih vyvod:
# cat /proc/net/irda/discovery - pishet, uvidel Motorolu.
# irdadump (daet potok, no posle starta servisa irda ne vse
stroki odinakovye, yavno kakaya-to zhizn').
# ifconfig pokazyvaet irda0 i lo.
# dip -t
>port ircomm0
>term
v terminale- AT i vvod, na chto telefon chestno otvechaet OK. Mozhno pozvonit' ATDXXXXX na gorodskoj
telefon i uslyshat' pisk.
Teper' samoe slozhnoe- zapustit' ppp. Vnosim ispravleniya v skripty iz paketa gprs-ppp-scripts.tgz (privozhu
tol'ko otlichiya):
V fajl /etc/ppp/pap-secrets, delaya probel nazhatiem na klavishu Tab, vnosim sleduyushchuyu zapis':
mts * mts
beeline * beeline
V fajl /etc/ppp/peers/gprs-moto:
name mts
libo
name beeline
V fajl /etc/ppp/gprs-options:
debug - potom polezno vyklyuchit'
V fajl /etc/ppp/chatscripts/gprs-moto-connect-chat zapishem:
OK 'AT+CGDCONT=1,"IP","internet.mts.ru"'
(OK 'AT+CGDCONT=1,"IP","internet.beeline.ru"')
Teper' vved£m komandu pppd call gprs-moto i prochitaem e£ vyvod:
....
Script /etc/ppp/ip-up started (pid xxx)
Esli vy uvideli eti stroki, znachit est' local IP, i my v seti.
Zamechanie
Esli poyavitsya soobshchenie "not replacing existing default route to eth0", a
eto oznachaet, chto # ifconfig pokazyvaet eth0, irda0, i lo a # netstat -nr
pokazyvaet "defoltnyj" gateway, propisannyj dlya vashej setevoj kartochki,
prover'te opciyu default gateway v fajle /etc/ppp/gprs-options (ili prosto
dostan'te pcmcia-kartu).
Nastrojki telefonov smotrite na sajtah kompanij: obychno nastrojki po
umolchaniyu rabotayut, no inogda byvaet neobhodimo vklyuchit' i vyklyuchit' telefon
posle nastrojki ili aktivizacii servisa.
Paket gprs-ppp-scripts.tgz nuzhno zagruzit' so stranicy PPP over GPRS from a
UNIX machine.
Literatura
UniX and (Cellular) Phones. http://mobilix.org/phones_linux.html.
Linux Infrared HOWTO. http://mobilix.org/Infrared-HOWTO/Infrared-HOWTO.html.
LINUX GPRS HOWTO. http://turtiainen.dna.fi/GPRS-HOWTO.
Linux on the Road. http://mobilix.org/Mobile-Guide.db/Mobile-Guide.html.
something like "/usr/sbin/irattach /dev/ttyS1 -s 1".
[tlinux-users:02215] IrDA on Satellite Pro 6000
http://linux.toshiba-dme.co.jp/linux/eng/faq2/comm/02215.htm
05/21/2002
Hi,
I am currently trying to get the IrDA stuff working in my SatellitePro
6000, but with no success so far.
I already read, that it's some SMC hardware contained in the PCI-to-ISA
bridge (M1533) of the ALi chipset. Which makes me wondern, if I should
go for the ali-ircc or smc-ircc module of my current 2.4.19-pre7 kernel.
But I think, before I try to load a module, findchip (part of the
irda-common package in Debian Woody) should mention the related
hardware.
According to
http://www.pasta.cs.uit.no/pipermail/linux-irda/2001-October/003262.html
there is the problem of activating the SMC chip first. The tools setpci
and setsmc haven't changed the behaviour on my SatellitePro 6000.
On the other hand it's quite unlikely, that setpci/setsmc written for a
SP4600 will also work on a SP6000, even if the IrDA-component seems to
be identical.
Any ideas about further approaches to this problem?
[tlinux-users:02306] 05/31/2002
Hi,
I solved the problem in the meanwhile:
- The SMC hardware is using dma=1, irq=10, firbase=0x130, sirbase=0x2e8.
- Use Daniele Peri's tool to activate the IrDA stuff, which is not done
automatically by the BIOS:
http://www.csai.unipa.it/peri/toshsat1800-irdasetup/
I am using a pre-install entry in my modules.conf:
options smc-ircc ircc_dma=1 ircc_irq=10 ircc_sir=0x2e8 ircc_fir=0x130
pre-install smc-ircc /usr/local/bin/toshsat1800-irdasetup --dma=1 --irq=10 -
-firbase=0x130 --sirbase=0x2e8
- Take care to exclude the ioports for smc-ircc in the pcmcia
configuration (file /etc/pcmcia/config.opts on my Debian Woody box):
exclude port 0x130-0x137, port 0x2e8-0x2ef
In my case the 0x130 port would otherwise be used by orinoco_cs.
Utility dlya raboty s mobil'nymi telefonami
Toshiba Software Modem AMR
Askey 1456VQL4(INT) Lucent Scorpio
Download slmdm-2.7.9.tar.gz (resp. the newer version) from the following
webpage and copy it into the /tmp folder:
http://linmodems.technion.ac.il/packages/smartlink/
slmdm-2.7.9.tar.gz
Install all necessary developer packages gcc, rpmbuild, kernel sources ...
Check if the "linux" link points to the kernel sources to avoid compilation
problems:
cd /usr/src
ls -l
Create "linux" link if it does not exist
ln -s linux-2.4... linux
Build rpm packages
cd /tmp
rpm -ta slmdm-2.7.9.tar.gz for SuSE
rpmbuild -ta slmdm-2.7.9.tar.gz for RedHat
(for older RedHat versions use: "rpm -ta slmdm-2.7.9.tar.gz")
Install new rpm-packages
cd /usr/src/packages/RPMS/i386/ for SuSE
cd /usr/src/redhat/RPMS/i386/ for RedHat
rpm -Uhv slmdm-2.7.9-0.i386.rpm
rpm -Uhv slmdm-amr-2.7.9-0.i386.rpm
Add the following line into /etc/modules.conf. Replace "GERMANY" with your
country.
Default setting is USA.
Look into the README for more details if necessary. See last lines.
options slmdm country=GERMANY
http://www.angelfire.com/linux/notebook/toshiba/satellite3000514.html
You can add the following lines into the /etc/rc.d/boot.local (SuSE),
/etc/rc.d/rc.local (RedHat)
to load modules at every bootup
(execute this commands also now in the console to load the modules
immediately for the following tests)
/sbin/insmod slmdm
/sbin/insmod slamrmo
/sbin/insmod slfax
(Your system should load this modules automatically at bootup.)
Stop for the test the network to exclude routing problems
rcnetwork stop for SuSE
service network stop for Red Hat
or
ifconfig eth0 down
ifconfig eth1 down ...
Start KDE -> open a Terminal and type kppp& or start it by menu.
Select "Device"-tab and set Modem Device: /dev/modem.
Select "Modem"-tab ->"Query Modem" if answer is ok click on "Modem
Commands".
Insert in the "Dial String:" Field "ATX3DT" if you are using your own
Telephone System (PBX).
Create your Dialup profile and dial into the internet.
For all other Linux distributions or additional information look into the
README file:
cd /tmp
tar -xvzf slmdm-2.7.9.tar.gz
cd slmdm-2.7.9
less README
Maybe it will work ... sometimes.
But it is not reliable!
I am using my PCMCIA Modem further on.
USB podklyuchenie telefona
1. Vklyuchit' v yadre podderzhku Serial over USB
Support for USB
V sekcii USB Serial Converter support->
USB Serial Converter support
USB Generic Serial Driver
USB Prolific 2303 Single Port Serial Driver(?)
I ispol'zovat' devajs /dev/usb/tts/0
Bluetooth-podklyuchenie telefona
http://www.hanscees.com/bluezhowto.html
http://bluez.sourceforge.net
Dialup podklyuchenie Linux PC cherez Bluetooth & GPRS
http://www.smartweb.ru/news.php?act=c&page=27&cat=2&scat=6
ssylki k stat'e:
http://www.linmodems.org/
a tam - kak povezet
Kopiruete fajl Z:\System\Data\irda.esk v C:\System\Data\irda.esk
dopisyvaete v konec fajla strochku "irMinLinkTurnaroundTime= 1".
irda.esk vyglyadit tak:
[sockman]
protocols= irmux,tinytp
[irmux]
filename= irda.prt
index= 1
[tinytp]
filename= irda.prt
index= 2
irPod= jeteye7401
irBaud= 115200
irPhysicalComPort= 3
irLinkDisconnectTime= 20
irSupportedBauds= 319
irWindowSize= 1
irMinLinkTurnaroundTime= 1
Tochka dostupa (APN): internet.beeline.ru
Imya pol'zovatelya (User id): beeline
Parol' (Password): beeline
Zapros parolya (Password reqest): Otkl (Off)
Razreshennye vyzovy (Allow calls): avtomaticheski
(Auto)
IP-adres (IP address): ostavit' pustym
Adres DNS (DNS): ostavit' pustym
Dopolnitel'nye nastrojki (Advan.settings):
Autentifikaciya (Authentication): obychnaya (normal)
Szhatie dannyh (Data compr): Otkl (Off)
Szhatie zagolovkov (Header compr): Otkl (Off)
Kachestvo obsluzhivaniya (Quality of serv): vo vseh
podpunktah ustanovite
?po umolchaniyu? (Subscribed)
*99***1#
AT+CGDCONT=1,"IP","internet.beeline.ru"
bez kompressii zagolovkov
Last-modified: Tue, 01 Aug 2006 05:57:57 GMT