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
- this creates3 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:~#
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 .
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.
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.
Re: Setup a Mobile Broadband connection in BT4
Quote:
Originally Posted by
actdaft
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.
Re: Setup a Mobile Broadband connection in BT4
Quote:
Originally Posted by
parrotface
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
- this creates
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??
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
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.
:confused::confused:
Re: Setup a Mobile Broadband connection in BT4
Quote:
Originally Posted by
suriyaj
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.
:confused::confused:
First of all gedit is not included in Backtrack and second that is a basic linux issue.