:




                   Toshiba Sattelite 5005-507,
                 IR   .
              Siemens S45  Nokia 6510, 8310
             Linux RedHat 7.3
             Kernel version 2.4.18 (    
	      )

0.     S45  ,   GPRS  __ 
COM-.           S45_210306_UpdateTool.exe        
www.mysiemens.com -> s45 -> device

   Toshiba   Sattelite  5005-507    BIOS-,    
. IR      ISA-bridge,        ,    
,     .

// 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.  ,       :

##############################################################
* 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.     tosh5100-smcinit (  , )
/////////   /////
  if (twobyte != 0x248c){
///////////////  /////////////
  if ( twobyte != 0x248c && twobyte != 0x2440 ){
////////////////////////////////
  gcc -O2 -o /usr/local/sbin/tosh5100-smcinit tosh5100-smcinit.c -lpci -L/usr/lib -I/usr/include/pci

 :
 /usr/local/sbin/tosh5100-smcinit #  IR
 /usr/sbin/findchip               # ,   
SMC,LPC47N227,2.0,0x2e,0x3f8,0x130,3,3,128,0,1

3.    /etc/modules.conf

##############################################################
# smc-ircc Infra Red
#  IR- ( Toshiba-507    io 0x3f8 irq 3)
# FIR   :  pre-install smc-ircc /usr/local/sbin/tosh5100-smcinit
pre-install serial /usr/local/sbin/tosh5100-smcinit
#  COM1  io/irq IR-
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.    /etc/sysconfig/irda

##############################################################
IRDA=yes
DEVICE=/dev/ttyS0
DISCOVERY=yes
##############################################################

5. 
 /usr/local/sbin/tosh5100-smcinit
 /bin/setserial /dev/ttyS0 uart 16550 port 0x3F8 irq 3
 irattach /dev/ttyS0 -s

  -         SIR ( 115)  
 /dev/ircomm0. ,  irattch   ttyS0,
    /dev/ircomm0.  .   :)

         ,
    .

,   
 irdadump

  IR    FIR    FIR-
 modprobe smc-ircc
 (   )



     PPP  ,  GPRS 
  (   pppd):

 IP-   (ipcp-accept-local ipcp-accept-remote noipdefault)
 DNS-   (usepeerdns)
(    /etc/resolv.conf 213.87.0.1  213.87.1.1)
     (novj nobsdcomp novjccomp nopcomp noaccomp)
 -   AT+CGDCONT=1,"IP","internet.mts.ru" OK
  PAP- (user mts   /etc/ppp/pap-secrets)
 /  ,    : "CONNECT"
 pppd   "" default router,    , 
   pppd default router   /

1. #    PAP-  pop- mts
  

cho 'mts * mts *' >> /etc/ppp/pap-secrets

2.    pppup
==================== CUT HERE ==============================
#!/bin/sh
DIALTIMEOUT=20

#     COM1    IR,    ircomm0  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#  QTEK

  ;;
esac

#   pppd  default router,   - 
#         /etc/ppp/ip-up.local  /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
##########################

#####################    pppd  ####################
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 ==============================

 :

pppup mtsgprs

: CTRL+C

    - / 



       :
 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  
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:               
Header-compresion: Yes




 Toshiba 507 (     )  COM-.  
USB  IR.  USB->COM     15$      FTDI-
    USB,   100% ,     .
     COM -      
   COM-      .    :  COM-  -
       ,      GPRS  
  (1  GPRS = 1    )

  :        IR-.  
 COM-    ,       IR,
,         .

 :
 1)    IR-.
 2)    IR-.
 3)    COM-.
 4) ,  COM-     .
 5)      .
 6)    BlueTooth

      Linux-    USB     
 .



      GPRS ( 115)
   .     2.5-2.7/.
    -   0.5/   -  
.

GPRS     .     
  ,                
      .

    (?) .   ,
Motorolla   ,  Siemens'  Ericsson'   .

        ,    Siemens S45  , 
 Nokia 6510.

   Siemens S45  __     - 
 " "      (..   -80dBm)
  " " (-85dBm : -95dBm) ,   .
  " " (-97dBm : -109dBm)   .

 Nokia  6510    "  "  (-85dBm  :  -95dBm)  ,    
   5-10 ,      450-700    
.

            "3 ",    S45  
  20dBm.     ,      
  ,    5dBm(300)  11dBm(700) - .. 
   .
    16   80$
  ( ,   ) - 60-100$
 GSM-  20-25dB   200$  1000$
  (    GSM-) - 300$

 :    Siemens  S45  (    -    Siemens) 
 GPRS    -    , 
  /     100-200-300$.
         Nokia (    
  6510) -  190$.


    Windows (PC), Windows CE (Pocket PC):

Make new connection: via IR-port, PPP, noheadercompression, phonenumber, dns ...
   " "      
AT+CGDCONT=1,IP,internet.mts.ru

    PalmOS (Palm)

-  ,        "
 ",     dialup-script,  
    .

    EPOC-32 (Psion)

 1.      .    
"Modem type: Mobile", "Terminal Detect: NO", "Carrier Detect: NO"
 2.    " "  ,  
 3.              
 "  ".
 4.     "GPRS Helper"  "Mobile GPRS Update"

 GPRS Helper: http://psiloc.com/psion/eng/gprs/
 Mobile GPRS Update: http://www.mypsion.ru,   



http://www.opennet.ru/prog/sml/101.shtml
    //sms:

,   :

scmxx-0.6.3.7-1.i386.rpm
gsmlib-1.10.tar.gz

 ,     :
 gsmsendsms -d /dev/ircomm0 +79021234567 "Tekst SMS-soobsheniya zaklyuchennyj w kawychki"
 PIN  
 gsmctl -o setpw sc 1234 2345


  

multisync-0.72-1.i386.rpm  OBEX-,    
xgsmlib-0.2.tar.gz         GNOME-development version 1.4,    







Origin: http://sn00per.narod.ru/gprs/mtu_w2k.html


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters\Protocols\0\ProtocolMTU
             ,
       MTU      1450,   
  98 - 
      
                             proxy.mtsnet.ru   3128.
   
                             MTU!

                             Name: mts3.mtsnet.ru
                             Address: 213.87.0.3
                             Aliases: proxy.mtsnet.ru









Origin: http://sn00per.narod.ru/gprs/linux_gprs.html

 GPRS    .      ,   .
    ,     .       ,
  -.    .
 ..  2.2., chat  pppd  .      
   .  .  .    
:

/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 *



  .          GPRS
  /etc/ppp/ip-up       
  pppd,        usepeerdns    /etc/ppp/peers/gprs.   
      /etc/ppp/resolv.conf.

/etc/ppp/resolv.conf:

#
nameserver 213.87.0.1
nameserver 213.87.1.1
#


          -        /etc/re
solv.conf.  ,    /etc/host.conf      "order
hosts,bind".

 ...     .  root   pp
pd call gprs   .       
.    ,      .. 
,             ,
,          .     -
,     debug .    ,
      .           
    GPRS.     ,    
   pppd         .         
      /etc/ppp/ip-down.local

  ..    .     
      ..      ..
   ,    ,    .

1.03.03







Origin: http://ruslandh.narod.ru/GPRS/ch27.html

., ., .
   ,     irda-utils:

apt-get install irda-utils

        ,   :

rpm -ql irda-utils

    irdadump, irattach    . Man-   
  : http://mobilix.org/software/irda/

,      IR-    ,   lspci,
   ,      BIOS.      
        :

    00:09.0 Communication controller: Toshiba America Info Systems
    FIR Port (rev 23)


FIR (Fast Infra-Red)   ,    /dev/ircomm0.  
  Toshiba   SIR (Serial Infra-Red),  "" 
 /dev/ttyS0      115 /,  FIR-  4 .

  lspcidrake   :

    toshoboe    : Toshiba FIR Port


 LINUX-IFRARED ,   /etc/modules.conf  

    alias tty-ldisc-11 irtty
    alias char-major-161 ircomm-tty


      :

$ modprobe toshoboe

$ service irda start

:

$ service irda status

  irattach (pid XXX) is running...




 irattach ircomm0 -s 1,     ,   -   service
irda start.

 IR   , ""   IR- , ,    ,
  ,         :

    # cat /proc/net/irda/discovery - ,  .

    # irdadump ( ,     irda  
     ,  - ).

    # ifconfig  irda0  lo.

    # dip -t
    >port ircomm0
    >term


 - AT  ,      .   ATDXXXXX  
   .

  -  ppp.       gprs-ppp-scripts.tgz (
 ):

  /etc/ppp/pap-secrets,      Tab,   :

    mts *       mts
    beeline     *       beeline


  /etc/ppp/peers/gprs-moto:

    name mts




    name beeline


  /etc/ppp/gprs-options:

    debug -   


  /etc/ppp/chatscripts/gprs-moto-connect-chat :


    OK  'AT+CGDCONT=1,"IP","internet.mts.ru"'
    (OK         'AT+CGDCONT=1,"IP","internet.beeline.ru"')


   pppd call gprs-moto    :

    ....

    Script /etc/ppp/ip-up started (pid xxx)


    ,   local IP,    .



      "not replacing existing default route to eth0", 
 ,  # ifconfig  eth0, irda0,  lo   #  netstat  -nr
  ""  gateway,        ,
  default gateway    /etc/ppp/gprs-options  (  
 pcmcia-).

          :      
 ,        
    .

  gprs-ppp-scripts.tgz     PPP over GPRS from a
UNIX machine.



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".



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.







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.



1.     Serial over USB

 Support for USB
       USB Serial Converter support->
        USB Serial Converter support
        USB Generic Serial Driver
        USB Prolific 2303 Single Port Serial Driver(?)

   /dev/usb/tts/0



http://www.hanscees.com/bluezhowto.html
http://bluez.sourceforge.net

Dialup  Linux PC  Bluetooth & GPRS
http://www.smartweb.ru/news.php?act=c&page=27&cat=2&scat=6

                                                              :




http://www.linmodems.org/
  -  



  Z:\System\Data\irda.esk  C:\System\Data\irda.esk
     "irMinLinkTurnaroundTime= 1".

 irda.esk  :
[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



  (APN): internet.beeline.ru
  (User id): beeline
 (Password): beeline
  (Password reqest):  (Off)
  (Allow calls): 
(Auto)
IP- (IP address):  
 DNS (DNS):  
  (Advan.settings):

 (Authentication):  (normal)
  (Data compr):  (Off)
  (Header compr):  (Off)
  (Quality of serv):  
 
? ? (Subscribed)


*99***1#
AT+CGDCONT=1,"IP","internet.beeline.ru"
  




Last-modified: Tue, 01 Aug 2006 05:57:57 GMT
: