pkgh
Members-
Content count
1 -
Joined
-
Last visited
Everything posted by pkgh
-
Tutorial For Zte Mc315 Cdma 1x Reliance On Linux
pkgh replied to mailbhupal's topic in Data services
Now Surf the internet on Zte mc315 datacard on Reliance. Solution to your ZTE PCMCIA CARD Connection PROBLEMS Iam able to connect after loosing one night sleep and doing some experiements. to have ZTE card working try the following steps. open terminal and first of all run dmesg for getting card info you can also use pccardctl info but use dmesg it should be able to show you following output if your ZTE is detected. pccard: PCMCIA card inserted into slot 0 [ 17.688000] cs: memory probe 0xb0100000-0xb01fffff: excluding 0xb0100000-0xb010ffff [ 17.692000] pcmcia: registering new device pcmcia0.0 [ 17.712000] tifm_core: MMC/SD card detected in socket 0:3 [ 17.744000] cs: IO port probe 0x100-0x3af: clean. [ 17.748000] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7 [ 17.748000] cs: IO port probe 0x820-0x8ff: clean. [ 17.748000] cs: IO port probe 0xc00-0xcf7: clean. [ 17.748000] cs: IO port probe 0xa00-0xaff: clean. [ 17.876000] ttyS3: detected caps 00000700 should be 00000100 [ 17.876000] 0.0: ttyS3 at I/O 0x2e8 (irq = 3) is a 16C950/954 this shows there's a device pcmcia ttyS3 (irq = 3) we'll now setserial for this device by command. sudo setserial /dev/ttyS3 baud_base 230400 {note baud_base may be different on differnt versions of card, but on my currenlty only 230400 is working, i'll expieriment more soon} now edit your wvdial.conf, this needs to be done as super user. sudo pico /etc/wvdial.conf if your pcmcia card is detected as ttyS3 you can copy the code from below text Make sure you use stupid mode = yes instead of numeric value. save and exit from pico. now you are close to success, run sudo wvdial the modem should be responding by now and you should be able to see some handshaking text along with your DNS servers and local IP. sample output should be like :- $ [color="#FF0000"]sudo wvdial[/color] WvDial<*1>: WvDial: Internet dialer version 1.56 WvDial<*1>: Initializing modem. WvDial<*1>: Sending: ATZ WvDial Modem<*1>: ATZ WvDial Modem<*1>: OK WvDial<*1>: Modem initialized. WvDial<*1>: Sending: ATDT#777 WvDial<*1>: Waiting for carrier. WvDial Modem<*1>: ATDT#777 WvDial Modem<*1>: CONNECT WvDial<*1>: Carrier detected. Starting PPP immediately. WvDial<Notice>: Starting pppd at Thu Jan 10 01:45:21 2008 WvDial<Notice>: Pid of pppd: 7883 WvDial<*1>: Using interface ppp0 WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: local IP address 220.226.x.1xx WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: remote IP address 220.224.1xx.x WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: primary DNS address 202.138.Xxx.xxx WvDial<*1>: pppd: �[06][08]��[06][08] WvDial<*1>: secondary DNS address 202.138.Xx.x WvDial<*1>: pppd: �[06][08]��[06][08] if you see the DNS servers its time to save it to your resolv.conf file. ctrl + C will exit the Wvdial. sudo pico /etc/resolv.conf and just put 2 lines as nameserver 202.138.10x.1xx nameserver 202.138.9x.x save and exit ( above values may be different based on your ISP settings) just run $ sudo wvdial if all above was done correctly you should open firefox and do some testing. Enjoy net using ZTE MC 315 here's my speed test EDITED AGAIN as iam getting 132kbps now after re-connecting I mostly get 120kbps during nights and off peaks hours. anyway if anybody not able to get it working yet, let me know I'll check if i missed any tricks. thanks, pk