Results 1 to 10 of 10

Thread: HOWTO : HUAWEI E630 Data Card (HSDPA) PCMCIA of 3 (Hong Kong) on Ubuntu 6.10

Threaded View

  1. #1
    Join Date
    Aug 2006
    Location
    Somewhere in the hell
    Beans
    294
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb HOWTO : HUAWEI E630 Data Card (HSDPA) PCMCIA of 3 (Hong Kong) on Ubuntu 6.10

    HOWTO : HUAWEI E630 Data Card (HSDPA) PCMCIA of 3 (Hong Kong) on Ubuntu 6.10

    Version : 1.1 (updated on 6th January, 2007)
    Author : Samiux, Hong Kong

    Telecom Company
    3 : www.three.com.hk
    Plan : Turbo 3G EasyPlus - minimum $98-HK for 50MB and maximum is $488-HK for unlimited usage. The plan will automatically adjust the charge that depends on the usage.

    Hardware
    Datacard Manufacturer : Option (OEM by HUAWEI)
    Serial Number : Starts with “EA”
    Speed : DL 3.6Mbps; UL 384kbps

    Software
    Operating system : Ubuntu 6.10 (Kernel 2.6.17-10-generic)
    Signal program : comgt 0.32
    Dial up program : KPPP

    Installation
    Step 1 : Get the KPPP

    sudo apt-get install kppp

    Step 2 : Get the datacard signal program

    comgt :
    http://sourceforge.net/project/showfiles.php?group_id=174961


    Step 3 : Compile and install comgt

    make
    sudo make install


    Step 4 : Make usbserial to work in high speed

    Reason : Since default packet setting of usbserial is in small size, the following steps to be applied to increase the speed of the usbserial.

    sudo modprobe usbserial maxSize=2048
    sudo depmod -a


    *** I am not sure if the usbserial.c has not been patched will work. You can simply ignore this step. ***

    Step 5 : Edit kppprc

    nano /home/samiux/.kde/share/config/kppprc
    (assume the user is “samiux”)
    *** If you do not have ".kde/share/config" directories, you simply run the kppp once and the said directories will be created. ***

    Copy the following to the kppprc and save with ctrl-o and ctrl-x :
    Code:
    [Account0]
    AccountingEnabled=0
    AccountingFile=
    Authentication=4
    AutoDNS=1
    AutoName=0
    BeforeConnect=xterm -e /usr/local/bin/comgt -x -d /dev/ttyUSB0
    BeforeDisconnect=
    CallbackPhone=
    CallbackType=0
    Command=
    DNS=
    DefaultRoute=1
    DisconnectCommand=
    Domain=
    ExDNSDisabled=0
    Gateway=0.0.0.0
    IPAddr=0.0.0.0
    Name=HUAWEI-3
    Password=pass
    Phonenumber=*99#
    ScriptArguments=
    ScriptCommands=
    StorePassword=1
    SubnetMask=0.0.0.0
    Username=user
    VolumeAccountingEnabled=0
    pppdArguments=defaultroute,replacedefaultroute,crtscts,modem,noipdefault,usepeerdns,novj,debug
    
    [Account1]
    pppdArguments=
    
    [General]
    AutomaticRedial=0
    DefaultAccount=HUAWEI-3
    DefaultModem=GT_3G_EDGE_HSDPA
    DockIntoPanel=1
    NumberOfAccounts=2
    NumberOfModems=3
    PPPDebug=0
    QuitOnDisconnect=1
    RedialOnNoCarrier=0
    ShowLogWindow=1
    
    [Graph]
    Background=255,255,255
    Enabled=true
    InBytes=0,0,255
    OutBytes=255,0,0
    Text=0,0,0
    
    [Modem0]
    AnswerResponse=CONNECT
    AnswerString=ATA
    BusyResponse=BUSY
    BusyWait=0
    ConnectResponse=CONNECT
    DLPResponse=DIGITAL LINE DETECTED
    Device=/dev/ttyUSB0
    DialString=ATD
    Enter=CR
    EscapeGuardTime=50
    EscapeResponse=OK
    EscapeString=+++
    FlowControl=Hardware [CRTSCTS]
    HangUpResponse=OK
    HangupString=+++ATH
    InitDelay=50
    InitResponse=OK
    InitString=AT+CFUN=1
    InitString1=AT+CGDCONT=1,"IP","","",0,0
    Name=GLOBETROTTER3G
    NoCarrierResponse=NO CARRIER
    NoDialToneDetection=ATX3
    NoDialToneResp=NO DIALTONE
    PreInitDelay=50
    RingResponse=RING
    Speed=460800
    Timeout=82
    ToneDuration=70
    UseLockFile=1
    Volume=0
    VolumeHigh=M1L3
    VolumeMedium=M1L1
    VolumeOff=M0L0
    WaitForDialTone=1
    
    [Modem1]
    AnswerResponse=CONNECT
    AnswerString=ATA
    BusyResponse=BUSY
    BusyWait=0
    ConnectResponse=CONNECT
    DLPResponse=DIGITAL LINE DETECTED
    Device=/dev/ttyS4
    DialString=ATD
    Enter=CR
    EscapeGuardTime=50
    EscapeResponse=OK
    EscapeString=+++
    FlowControl=Hardware [CRTSCTS]
    HangUpResponse=OK
    HangupString=+++ATH
    InitDelay=100
    InitResponse=OK
    InitString=AT+cfun=1
    InitString1=at+cgdcont=1,"IP","internet"
    Name=GTEDGE
    NoCarrierResponse=NO CARRIER
    NoDialToneDetection=AT
    NoDialToneResp=NO DIALTONE
    PreInitDelay=52
    RingResponse=RING
    Speed=57600
    Timeout=60
    ToneDuration=70
    UseLockFile=1
    Volume=1
    VolumeHigh=
    VolumeMedium=
    VolumeOff=
    WaitForDialTone=0
    
    [Modem2]
    AnswerResponse=CONNECT
    AnswerString=ATA
    BusyResponse=BUSY
    BusyWait=0
    ConnectResponse=CONNECT
    DLPResponse=DIGITAL LINE DETECTED
    Device=/dev/modem
    DialString=ATD
    Enter=CR
    EscapeGuardTime=50
    EscapeResponse=OK
    EscapeString=+++
    FlowControl=Hardware [CRTSCTS]
    HangUpResponse=OK
    HangupString=+++ATH
    InitDelay=100
    InitResponse=OK
    InitString=AT+cfun=1
    InitString1=at+cgdcont=1,"IP","internet"
    Name=GT_3G_EDGE_HSDPA
    NoCarrierResponse=NO CARRIER
    NoDialToneDetection=AT
    NoDialToneResp=NO DIALTONE
    PreInitDelay=52
    RingResponse=RING
    Speed=460800
    Timeout=60
    ToneDuration=70
    UseLockFile=1
    Volume=1
    VolumeHigh=
    VolumeMedium=
    VolumeOff=
    WaitForDialTone=0
    
    [WindowPosition]
    WindowPositionConWinX=487
    WindowPositionConWinY=498
    WindowPositionStatWinX=811
    WindowPositionStatWinY=454
    Step 6 : Create ip-up.local

    Reason : Since 3 (Hong Kong) is using Microsoft server, the data card cannot detect the DNS correctly under Linux. Thus, the following steps to be applied.

    Primary DNS 203.145.64.200
    Secondary DNS 202.67.240.222

    Tip : If you found the 3's DNSs are too slow for you, you can simply use your fastest DNSs instead of 3.

    sudo nano /etc/ppp/ip-up.local

    Copy the following to the file and save by ctrl-o and ctrl-x.

    Code:
    # Location : /etc/ppp/ip-up.local
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    export PATH
    echo "created by pppd via ip-up.local" > /etc/resolv.conf
    echo "nameserver 203.145.64.200" >> /etc/resolv.conf
    echo "nameserver 202.67.240.222" >> /etc/resolv.conf
    chmod go+r /etc/resolv.conf
    sudo chmod +x /etc/ppp/ip-up.local

    Connecting to internet

    Execute the KPPP to dial up

    At the <Application> <Internet> <KPPP> <GLOBETROTTER3G>

    Before pressing the “Connect” button, select the “Configure”. Go to <Misc> and select the “Dock into panel on connect”.

    Disconnect from internet

    At the panel on the top of the screen, left click the icon (a blue world with 2 lights) and select “disconnect”.

    Tip : Before packing your notebook computer, you should take out the data card from the slot.

    Remarks

    If I have money and time, I will test the HUAWEI E220 USB modem.

    Finally, enjoy surfing the internet anywhere at anytime!!!

    HUAWEI E220 USB Modem

    For USB modem, I think that driver is not required also. (However, I have not try it).
    HUAWEI E220 HOWTO

    Samiux
    Created on 30th December, 2006 (Version 1.0)

    Update note (Version 1.1) (6th January, 2007) :
    - cancelled the driver installation
    - updated the kppprc script
    - added comment to some instructions
    - added red colour on commands
    Last edited by samiux; January 6th, 2007 at 04:09 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •