INSTALLING AND CONFIGURING USB 3G DATA ON CENTOS/RHEL
In this tutorial, How to installing and configuring USB 3G/4G Data on CENTOS/RHEL.
To install wvdial usb_modeswitch usb_modeswitch packages for USB 3G modem.
To check log
Plug and connected and detected for USB 3G modem on CENTOS/RHEL. To configure wvdial
The content wvdial file as below
Loading module USB 3G/4G modem
Running wvdial for 3gviettel
Yeh, You can add DNS in /etc/resolv.conf file.
The content resolv.conf as below
To use usb-devices or lsusb command
Or
INSTALLING AND CONFIGURING USB 3G DATA ON CENTOS/RHEL
To install wvdial usb_modeswitch usb_modeswitch packages for USB 3G modem.
$ sudo yum install wvdial usb_modeswitch-data usb_modeswitch
To check log
$ dmesg | grep tty
Plug and connected and detected for USB 3G modem on CENTOS/RHEL. To configure wvdial
$ vi /etc/wvdial.conf
The content wvdial file as below
[Dialer 3gviettel]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","e-internet"
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
New PPPD = yes
Username = { }
Password = { }
Baud = 460800
Auto DNS = off
check DNS =no
Auto Reconnect = on
Loading module USB 3G/4G modem
$ modprobe usb_wwan usb-storage usbserial
Running wvdial for 3gviettel
$ wvdial 3gviettel &
Yeh, You can add DNS in /etc/resolv.conf file.
$ vi /etc/resolv.conf
The content resolv.conf as below
nameserver 8.8.8.8
nameserver 208.67.222.222
Debugging steps for USB 3G/4G Modem
To use usb-devices or lsusb command
$ usb-devices
Or
$ lsusb
Comments
Post a Comment