Welcome, Guest. Please login or register.
Did you miss your activation email?
Wednesday 20 November 2024, 05:31:13 am

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Backup uplink for Vivo 3G ISP that requires "Stupid Mode" enabled
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Backup uplink for Vivo 3G ISP that requires "Stupid Mode" enabled  (Read 10450 times)
gmonteiro
Jr. Member
*
Offline Offline

Posts: 1


« on: Thursday 27 January 2011, 07:07:37 am »

Hello,

I'm using Endian Firewall 2.4.1 Community Edition, Kernel  2.6.32.25-57.e40.i586.
I've plugged a ZTE modem for the Brazilian Vivo ISP. The modem is detected as show in logs:
Quote
Jan 26 14:30:02 puma kernel: [ 9966.821148] usb 1-1: new full speed USB device using ohci_hcd and address 2
Jan 26 14:30:02 puma kernel: [ 9966.977884] usb 1-1: New USB device found, idVendor=19d2, idProduct=2000
Jan 26 14:30:02 puma kernel: [ 9966.977893] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Jan 26 14:30:02 puma kernel: [ 9966.977898] usb 1-1: Product: ZTE WCDMA Technologies MSM
Jan 26 14:30:02 puma kernel: [ 9966.977902] usb 1-1: Manufacturer: ZTE,Incorporated
Jan 26 14:30:02 puma kernel: [ 9966.977906] usb 1-1: SerialNumber: P671A2VIVD010000
Jan 26 14:30:02 puma kernel: [ 9967.023173] usb 1-1: configuration #1 chosen from 1 choice
Jan 26 14:30:02 puma kernel: [ 9967.038128] scsi0 : SCSI emulation for USB Mass Storage devices
Jan 26 14:30:02 puma kernel: [ 9967.070441] usb-storage: device found at 2
Jan 26 14:30:02 puma kernel: [ 9967.070447] usb-storage: waiting for device to settle before scanning
Jan 26 14:30:07 puma kernel: [ 9972.079507] scsi 0:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
Jan 26 14:30:07 puma kernel: [ 9972.103776] usb-storage: device scan complete
Jan 26 14:30:08 puma kernel: [ 9972.369260] sr0: scsi-1 drive
Jan 26 14:30:08 puma kernel: [ 9972.384396] sr 0:0:0:0: Attached scsi CD-ROM sr0
Jan 26 14:30:08 puma kernel: [ 9972.559359] sr 0:0:0:0: Attached scsi generic sg0 type 5

I've setup the backup uplink as:
  • Type: Analog/UMTS modem
  • Serial/USB Port: Serial Port 1
  • Modem Type: UMTS/HSDPA modem
  • Baud-rate: 460800
  • Access Point Name: zap.vivo.com.br
  • Username: vivo
  • Password: vivo
I've tried PAP, CHAP and "PAP or CHAP".

When enabling the uplink, it returns the error below:
Quote
Jan 26 14:40:13 puma pppd[3867]: Connect script failed
Quote
Jan 26 14:42:09 puma uplinksdaemon[4628]: Could not start uplink 'uplink1'. Uplink script left with status: FAILURE.

I know that I'm only able to connect to this provider enabling wvdial "Stupid Mode", that means:
Quote
Stupid Mode
    When wvdial is in Stupid Mode, it does not attempt to interpret any prompts from the terminal server. It starts pppd immediately after the modem connects. Apparently there are ISP's that actually give you a login prompt, but work only if you start PPP, rather than logging in. Go figure. Stupid Mode is (naturally) disabled by default.

The wvdial configuration that works on my linux host is:
Quote
[Dialer vivo]
Modem = /dev/ttyUSB2
Baud = 7200000
DialCommand = ATDT
Check Def Route = on
FlowControl = Hardware(CRTSCTS)
Username = vivo
Password = vivo
Phone = *99#
Stupid mode = 1
Auto Reconnect = on
Auto DNS = on
Init1 = AT
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","zap.vivo.com.br"
ISDN = 0
Modem Type = Analog Modem

Obviously EFW does not use wvdial so I'm looking for options to configure this with available tools. Any ideas?

[]s,
Guilherme Monteiro
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com