tc-bmobile_setup-20041015-KuntzR.txt Configure a b-mobile card on Debian GNU/Linux v1.2 - Last updated 2005-02-17 -------------------- Romain KUNTZ kuntz(at)sfc.wide.ad.jp In this memo, we will explain how to use a B-Mobile card on the Linux operating system. NOTE: same procedure can be applied with AirH cards. 1. Install wvdial ----------------- # apt-get install wvdial When asked, you can skip the configuration step. Webpage: http://open.nit.ca/wiki/?page=WvDial 2. Configure wvdial ------------------- Edit the wvdial configuration file: # vi /etc/wvdial.conf #### [Dialer Defaults] Modem = /dev/ttyS1 Init1 = ATZ Stupid Mode = yes Phone = your_phone_number Username = your_username Password = your_password New PPPD = yes #### 3. Connect to the Internet -------------------------- Plug card in PCMCIA slot, you should get some informations in /var/log/syslog > Oct 15 14:04:27 bender cardmgr[917]: socket 1: Serial or Modem > Oct 15 14:04:28 bender cardmgr[917]: executing: 'modprobe serial_cs' > Oct 15 14:04:28 bender cardmgr[917]: executing: './serial start ttyS1' > Oct 15 14:04:28 bender kernel: ttyS01 at port 0x02f8 (irq = 3) is a TI16750 Launch wvdial as root: # wvdial --> WvDial: Internet dialer version 1.54.0 --> Initializing modem. --> Sending: ATZ ATZ OK --> Modem initialized. --> Sending: ATDTXXXXXXXXXXXXXX --> Waiting for carrier. ATDTXXXXXXXXXXXXXX CONNECT 57600 --> Carrier detected. Starting PPP immediately. --> Starting pppd at Fri Oct 15 14:47:23 2004 --> pid of pppd: 3883 --> Using interface ppp0 --> local IP address 203.xxx.xxx.xxx --> remote IP address 202.xxx.xxx.xxx --> primary DNS address 202.xxx.xxx.xxx --> secondary DNS address 202.xxx.xxx.xxx You should be able to connect to the Internet! kuntz@bender:~$ ping www.free.fr PING www.free.fr (213.228.0.42) 56(84) bytes of data. 64 bytes from www1.free.fr (213.228.0.42): icmp_seq=1 ttl=37 time=488 ms 64 bytes from www1.free.fr (213.228.0.42): icmp_seq=2 ttl=37 time=519 ms 64 bytes from www1.free.fr (213.228.0.42): icmp_seq=3 ttl=37 time=499 ms To stop the connection, simply kill wvdial (control-c). -- Any questions ? Please mail me: kuntz(at)sfc.wide.ad.jp