Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Setup a Mobile Broadband connection in BT4

  1. #1
    Senior Member
    Join Date
    Jun 2007
    Location
    UK
    Posts
    175

    Default Setup a Mobile Broadband connection in BT4

    This is how I got my mobile broadband working on BT4

    Huawei model E160 USB stick modem on T Mobile network works on BT4

    1 first plug in the usb modem
    2 run from console
    Code:
       #wvdialconf
    - this creates
    Code:
     /etc/vwdial.conf
    3 Edit wvdial.conf
    this is copy of my edited wvdial.conf:-
    Code:
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Phone = *99#
    ISDN = 0
    Password = pass
    New PPPD = yes
    Dial Command = ATDT
    Username = user
    Modem = /dev/ttyUSB0
    Baud = 9600
    Stupid Mode = 1
    Notes about wvdial.conf
    edit phone number T-Mobile *99#
    Password can be either pass or net (lower case)
    username = user or net (lower case )
    add lines
    Code:
     Dial Command = ATDT
           Stupid Mode = 1
    4 now run #wvdial the following is the output displayed:-
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Sat Jun  5 10:46:46 2010
    --> Pid of pppd: 18229
    --> Using interface ppp0
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> local  IP address 10.169.89.37
    --> pppd: ��N (�N
    --> remote IP address 10.64.64.64
    --> pppd: ��N (�N
    --> primary   DNS address 149.254.230.7
    --> pppd: ��N (�N
    --> secondary DNS address 149.254.201.126
    --> pppd: ��N (�N
    5 now use your browser to surf the net

    6 stop
    Code:
     ctrl C  (to exit)
    
    console output:-
    ^CCaught signal 2:  Attempting to exit gracefully...
    --> Terminating on signal 15
    --> pppd: ��N (�N
    --> Connect time 251.6 minutes.
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> Disconnecting at Sat Jun  5 14:58:24 2010
    root@bt:~#
    Last edited by Archangel-Amael; 06-06-2010 at 08:09 AM.

  2. #2
    Junior Member roybatty's Avatar
    Join Date
    Jan 2010
    Location
    Tannhauser Gate
    Posts
    55

    Default Re: Mobile Broadband BT4

    Try different rate values

    Baud = 460800
    Baud = 921600
    ...
    I've seen things you people wouldn't believe.

  3. #3
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    2

    Default Re: Setup a Mobile Broadband connection in BT4

    HUAWEI USB MODEM INSTALL BT4
    continuing from parrotfaces tutorial

    Later modems [ those that can accept a memory card] these require “switching “ to detach the memory card .to do this we need usb_modeswitch .
    A list of supported modems can be found here:-

    Draisberghof - Software - USB_ModeSwitch

    code: modeswitch
    wget http://www.draisberghof.de/usb_modes...-1.1.2.tar.bz2
    sudo tar jxvf usb-modeswitch-1.1.2.tar.bz2
    cd usb-modeswitch-1.1.2
    sudo make install

    code: modeswitch-data
    wget http://www.draisberghof.de/usb_modes...100418.tar.bz2
    sudo tar jxvf usb-modeswitch-data-20100418.tar.bz2
    cd usb-modeswitch-data-20100418
    sudo make install

    The next thing we need is sakis3g. This is a connection manager
    which configures the modem , and makes the network connection .

    code: sakis

    wget "http://www.sakis3g.org/versions/latest/sakis3g.gz"
    gunzip sakis3g.gz
    chmod +x sakis3g
    ./sakis3g --interactive

    to start the connection , open a terminal , type “ ./sakis3g --interactive “
    follow the on-screen prompts .


    Auto dial icon on the task-bar [works with older/newer modems]

    right click task-bar select this from the fly out menu
    /add application to panel /non-KDE application
    button title = give it a name eg 3G
    icon = pick an icon from the menu
    executable = wvdial or ./sakis3g --interactive
    command line = put " / " in the box
    tick the box next to “ run in terminal window “

    Thats it you now should have a working 3g connection in bt4 .

  4. #4
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    2

    Unhappy Re: Setup a Mobile Broadband connection in BT4

    I edited wvdial.conf as you directed except my APN or others that is different for my network connection. But i got the following error "error in opening ttyusb0". I searched it in the given directory, but there is no file like "ttyusb0".
    previously I install usb_modeswitch, also try sakis3g. bt not working.

  5. #5
    Just burned his ISO
    Join Date
    Aug 2010
    Posts
    15

    Default Re: Setup a Mobile Broadband connection in BT4

    I personally had success with sakis3g.. but my 5800 dint work..tried it out with various huawei modems though..(E1570 & E220). I recommend you try that out. Or if you want it using the cellphone have a look at joikuspot. Its a mobile app that turns your WLAN enabled phone into an AP.

  6. #6
    Just burned his ISO
    Join Date
    Mar 2010
    Location
    Indonesia
    Posts
    8

    Default Re: Setup a Mobile Broadband connection in BT4

    Quote Originally Posted by actdaft View Post
    Draisberghof - Software - USB_ModeSwitch

    code: modeswitch
    wget http://www.draisberghof.de/usb_modes...-1.1.2.tar.bz2
    sudo tar jxvf usb-modeswitch-1.1.2.tar.bz2
    cd usb-modeswitch-1.1.2
    sudo make install

    code: modeswitch-data
    wget http://www.draisberghof.de/usb_modes...100418.tar.bz2
    sudo tar jxvf usb-modeswitch-data-20100418.tar.bz2
    cd usb-modeswitch-data-20100418
    sudo make install

    The next thing we need is sakis3g. This is a connection manager
    which configures the modem , and makes the network connection .

    code: sakis

    wget "http://www.sakis3g.org/versions/latest/sakis3g.gz"
    gunzip sakis3g.gz
    chmod +x sakis3g
    ./sakis3g --interactive

    to start the connection , open a terminal , type “ ./sakis3g --interactive “
    follow the on-screen prompts .


    Auto dial icon on the task-bar [works with older/newer modems]
    When I try and it can be connected to the Internet. But after walking a few minutes, suddenly could not move the mouse and the computer hang. I can not do anything more than pressing the power button to turn off the system. So what's wrong? I expect the help to solve it?

    thanks.
    I was just a dumb person who wanted to be a brainy.

  7. #7
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    13

    Default Re: Setup a Mobile Broadband connection in BT4

    Quote Originally Posted by parrotface View Post
    This is how I got my mobile broadband working on BT4

    Huawei model E160 USB stick modem on T Mobile network works on BT4

    1 first plug in the usb modem
    2 run from console
    Code:
       #wvdialconf
    - this creates
    Code:
     /etc/vwdial.conf
    3 Edit wvdial.conf
    this is copy of my edited wvdial.conf:-
    Code:
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Phone = *99#
    ISDN = 0
    Password = pass
    New PPPD = yes
    Dial Command = ATDT
    Username = user
    Modem = /dev/ttyUSB0
    Baud = 9600
    Stupid Mode = 1
    Notes about wvdial.conf
    edit phone number T-Mobile *99#
    Password can be either pass or net (lower case)
    username = user or net (lower case )
    add lines
    Code:
     Dial Command = ATDT
           Stupid Mode = 1
    4 now run #wvdial the following is the output displayed:-
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Sat Jun  5 10:46:46 2010
    --> Pid of pppd: 18229
    --> Using interface ppp0
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> local  IP address 10.169.89.37
    --> pppd: ��N (�N
    --> remote IP address 10.64.64.64
    --> pppd: ��N (�N
    --> primary   DNS address 149.254.230.7
    --> pppd: ��N (�N
    --> secondary DNS address 149.254.201.126
    --> pppd: ��N (�N
    5 now use your browser to surf the net

    6 stop
    Code:
     ctrl C  (to exit)
    
    console output:-
    ^CCaught signal 2:  Attempting to exit gracefully...
    --> Terminating on signal 15
    --> pppd: ��N (�N
    --> Connect time 251.6 minutes.
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> pppd: ��N (�N
    --> Disconnecting at Sat Jun  5 14:58:24 2010
    root@bt:~#




    hey i am getting the output upto the remote ip address:
    oot@bt:~# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Sending: AT+CGDCONT=1,"IP","gateway"
    AT+CGDCONT=1,"IP","gateway"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99***1#
    --> Waiting for carrier.
    ATDT*99***1#
    CONNECT
    ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Mon Dec 13 05:48:55 2010
    --> Pid of pppd: 17328
    --> Using interface ppp0
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]
    --> local IP address 10.158.10.115
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]
    --> remote IP address 10.6.6.6
    --> pppd: ��[0c][08][08]�[0c][08][18]�[0c][08]

    cant access to net.....wat to do??

  8. #8
    Just burned his ISO podjackel's Avatar
    Join Date
    Aug 2009
    Posts
    3

    Default Re: Setup a Mobile Broadband connection in BT4

    Another option if your using an android with wifi hotspot capability & unlimited data is simply root your phone, use SuperUser app to protect access to 'su', and activate a wifi tether.

    But hey, not every one had a droid =p

  9. #9
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    1

    Default Re: Setup a Mobile Broadband connection in BT4

    How do I edit wvdial.conf
    i tried gedit cat/etc/wvdial.conf
    but i'm getting the message that gedit has not been installed and i have to install it.
    But i don't have internet connection to do so.
    So for 4 days i'm searching for this information to connect my nokia 5800 which has 3g.
    Please help me solve it. I'm a beginner and i'm not so familiar with many codes.
    thank you.

  10. #10
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Setup a Mobile Broadband connection in BT4

    Quote Originally Posted by suriyaj View Post
    How do I edit wvdial.conf
    i tried gedit cat/etc/wvdial.conf
    but i'm getting the message that gedit has not been installed and i have to install it.
    But i don't have internet connection to do so.
    So for 4 days i'm searching for this information to connect my nokia 5800 which has 3g.
    Please help me solve it. I'm a beginner and i'm not so familiar with many codes.
    thank you.
    First of all gedit is not included in Backtrack and second that is a basic linux issue.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

Page 1 of 2 12 LastLast

Similar Threads

  1. mobile broadband
    By parrotface in forum Beginners Forum
    Replies: 2
    Last Post: 06-04-2010, 12:58 PM
  2. Please help me to install USB Mobile Broadband Connection
    By bsdoole in forum OLD BackTrack 4 General Support
    Replies: 1
    Last Post: 01-10-2010, 02:28 AM
  3. Mobile broadband on BT4
    By Danboy in forum OLD BT4beta HowTo's
    Replies: 0
    Last Post: 05-31-2009, 02:39 PM
  4. Mobile broadband via usb dongle
    By Danboy in forum OLD Latest Public Release - BackTrack4 Beta
    Replies: 4
    Last Post: 05-31-2009, 01:45 AM
  5. Replies: 1
    Last Post: 07-29-2007, 09:38 AM

Posting Permissions

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