Remote Networking

Reply
Contributor II

RAP-5WN with Huawei 3765 3G Modem not working

Hi There,

Just couldn't make it work, logged in the RAP through telnet, capture as below. I can see the PPPd.log says 'No such device'.

Connected to 172.16.1.103.
Escape character is '^]'.
~ # Switching to Full Access
~ #
~ #
~ # dmesg
0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
Parsing the partition info
i2c /dev entries driver
i2c-palomino: using default base 0x8001070000000000
: Found DS1374 on octeon twsi
Found CDCE906 on bus octeon twsi at address:69
AD7416 driver probing for devices on Palomino TPM0
.AD7416 driver probing for devices on octeon twsi
.FOUND AD7416 at address: 48
octeon_twsi_write8: (1byte) failed
Found AD7416 on bus octeon twsi.

Starting HW SHA1 KAT ...Completed HW SHA1 KAT
Starting HW HMAC-SHA1 KAT ...Completed HW HMAC-SHA1 KAT
Starting HW DES KAT ...Completed HW DES KAT
Starting HW AES KAT ...Completed HW AES KAT

_<6>Ethernet Channel Bonding Driver: v3.0.1 (January 9, 2006)
bonding: bond0: enslaving eth0 as a backup interface with a down link.
AP xml model 34, num_radios 1 (jiffies 2924)
init_asap_mod: installation:0
radio 0: band 2 ant 0 max_ssid 16
ethernet_device_event: dev eth0 is register
ethernet_device_event: dev eth0 is up
asap_gre_init: ADDED GRE protocol c0000000001e1bb0
setting bond0 as bridge child
setting gre0 as split child
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
SCSI subsystem initialized
usb_storage: Ignoring new-style parameters in presence of obsolete ones
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
dwc_otg: version 2.40a 10-APR-2006
DWC_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg.0: irq 64, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
USB Device: 0x00000000
USB Product: DWC OTG Controller
USB Manufacturer: Linux 2.6.16 dwc_otg_hcd
USB SerialNumber: dwc_otg.0
usb usb1: c->desc.bMaxPower 0, udev->busmA 0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high speed USB device using dwc_otg and address 2
USB Device: 0x12d11520
USB Product: HUAWEI Mobile
USB Manufacturer: HUAWEI Technology
USB SerialNumber:
usb 1-1: c->desc.bMaxPower 250, udev->busmA 500
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
option: adding vendor id 0x12d1 and device id 0x1520
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
Vendor: Vodafone Model: CD ROM (Huawei) Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr 0:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
Device not ready. Make sure there is a disc in the drive.
dwc_otg_driver_cleanup()
dwc_otg dwc_otg.0: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-1: USB disconnect, address 2
DWC_otg: PortPower off
dwc_otg dwc_otg.0: USB bus 1 deregistered
dwc_otg module removed
dwc_otg: version 2.40a 10-APR-2006
DWC_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg.0: irq 64, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
USB Device: 0x00000000
USB Product: DWC OTG Controller
USB Manufacturer: Linux 2.6.16 dwc_otg_hcd
USB SerialNumber: dwc_otg.0
usb usb1: c->desc.bMaxPower 0, udev->busmA 0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high speed USB device using dwc_otg and address 2
USB Device: 0x12d11520
USB Product: HUAWEI Mobile
USB Manufacturer: HUAWEI Technology
USB SerialNumber:
usb 1-1: c->desc.bMaxPower 250, udev->busmA 500
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Vodafone Model: CD ROM (Huawei) Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi-1 drive
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
Kernel watchdog refresh ended.
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.1 (AR5416, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_rate_atheros: Aruba Networks Rate Control Algorithm
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
wifi0: Base BSSID 00:1a:1e:41:ae:60, 16 available BSSID(s)
edev->dev_addr=00:0b:86:66:9b:9c
edev->dev_addr=00:0b:86:66:9b:9c
wifi0: AP type RAP-5WN, radio 0, max_bssids 16
wifi0: Atheros 9160: mem=0x11b00f0000000, irq=44 hw_base=0x90011b00f0000000
Kernel watchdog refresh ended.
vap_device_event: UTC Time:11:30:45 dev aruba000 (0:0) has been registered
vap_device_event: dev aruba000 (0:0) is up
vap aruba000 vlan is 10. not discovering tunnel vlan
vap_device_event: UTC Time:11:30:46 dev aruba001 (0:1) has been registered
vap_device_event: dev aruba001 (0:1) is up
vap aruba001 vlan is 10. not discovering tunnel vlan
vap_device_event: UTC Time:11:30:46 dev aruba002 (0:2) has been registered
vap_device_event: dev aruba002 (0:2) is up
vap aruba002 vlan is 7. not discovering tunnel vlan
vap_device_event: UTC Time:11:30:46 dev aruba003 (0:3) has been registered
vap_device_event: dev aruba003 (0:3) is up
vap aruba003 vlan is 16. not discovering tunnel vlan
eth0: Link down
bonding: bond0: link status definitely down for interface eth0, disabling it
bonding: bond0: now running without any active interface !
vap_device_event: dev aruba000 (0:0) is down
vap_device_event: UTC Time:11:46:36 dev aruba000 (0:0) has been unregistered
vap_device_event: dev aruba001 (0:1) is down
vap_device_event: UTC Time:11:46:36 dev aruba001 (0:1) has been unregistered
vap_device_event: dev aruba002 (0:2) is down
vap_device_event: UTC Time:11:46:36 dev aruba002 (0:2) has been unregistered
vap_device_event: dev aruba003 (0:3) is down
vap_device_event: UTC Time:11:46:37 dev aruba003 (0:3) has been unregistered
eth0: 100Mbs Full duplex, port 0, queue 0
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
vap_device_event: UTC Time:11:48:20 dev aruba000 (0:0) has been registered
vap_device_event: dev aruba000 (0:0) is up
vap aruba000 vlan is 10. not discovering tunnel vlan
vap_device_event: UTC Time:11:48:20 dev aruba001 (0:1) has been registered
vap_device_event: dev aruba001 (0:1) is up
vap aruba001 vlan is 10. not discovering tunnel vlan
vap_device_event: UTC Time:11:48:20 dev aruba002 (0:2) has been registered
vap_device_event: dev aruba002 (0:2) is up
vap aruba002 vlan is 7. not discovering tunnel vlan
vap_device_event: UTC Time:11:48:21 dev aruba003 (0:3) has been registered
vap_device_event: dev aruba003 (0:3) is up
vap aruba003 vlan is 16. not discovering tunnel vlan
usb 1-1: USB disconnect, address 2
~ #
~ # cd /tmp
/tmp #
/tmp # ls -al *_ _ppp*
-rw-r--r-- 1 root root 24 Jan 1 2000 _[0;0mppp_async.map_[0m
-rw-r--r-- 1 root root 26 Jan 1 2000 _[0;0mppp_generic.map_[0m
-rw-r--r-- 1 root root 196 Mar 11 22:47 _[0;0mpppd.log_[0m
-rw-r--r-- 1 root root 196 Mar 11 22:47 _[0;0mpppd.log.1_[0m
-rw-r--r-- 1 root root 196 Mar 11 22:46 _[0;0mpppd.log.2_[0m
/tmp #
/tmp # date
Fri Mar 11 23:05:58 AEST 2011
/tmp #
/tmp # more pppd.log
(951) Failed to open /dev/modem: No such device
(951) breaking from for loop
(951) out of for loop
(951) pppd died
(951) ppp connection broke. restarting rapper
killall: rapper: no process killed
/tmp #
/tmp # dmesg | grep tty
/tmp #
/tmp # mount
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
/dev/ttyUSB0 on /proc/bus/usb type usbfs (rw)
/tmp #
/tmp #


Thanks,
Patrick
Contributor II

RAP-5WN with Huawei 3765 3G Modem not working: resolved!

Dear All,

I've made it work. Thanks.

The modeswitch parameter is:

(config) #provision-ap usb-modeswitch "-v 12d1 -p 1520 -M 55534243123456780000000000000011060000000000000000000000000000"

Regards,
Patrick
Aruba Employee

Re: RAP-5WN with Huawei 3765 3G Modem not working



The modeswitch parameter is:

(config) #provision-ap usb-modeswitch "-v 12d1 -p 1520 -M 55534243123456780000000000000011060000000000000000000000000000"




Hi Patrick,

Good to hear that you got it working. Can you let us know what are the rest of the parameters. We want to update our record for anybody else who tried it. And if possible, can you send us the console output.

Make sure that you tested both warm boot (rebooting the AP remotely from controller) and cold boot (power cycle the AP). We found that after a modem got modeswitch once, it will behave unexpectedly if you modeswitch it again without power cycling it.

Thanks.

Albert.
Contributor II

Re: RAP-5WN with Huawei 3765 3G Modem not working


Hi Patrick,

Good to hear that you got it working. Can you let us know what are the rest of the parameters. We want to update our record for anybody else who tried it. And if possible, can you send us the console output.

Make sure that you tested both warm boot (rebooting the AP remotely from controller) and cold boot (power cycle the AP). We found that after a modem got modeswitch once, it will behave unexpectedly if you modeswitch it again without power cycling it.

Thanks.

Albert.




Hi Albert,

Sure. Please check the attachment.

I've tested by rebooting the RAP for a couple of times. Works well.

Regards,
Patrick
Occasional Contributor II

Re: RAP-5WN with Huawei 3765 3G Modem not working

Hi Patrick and Albert,

there is a 3G Modem named K3765-Z from ZTE, which obviously does not work with the same parameters.

I found some parameters which do not work:

usb-dev 0x19d22002
usb-dial ATD*99#
usb-tty ttyUSB0
usb-modeswitch "-v 0x19d2 -p 0x2000 -V 0x19d1 -P 0x2002 -M 5553424308E0CC852400000080000C85000000240000000000000000000000"

Do you know where I can find the correct parameters.

Thank you and kind regards
Kevin
Occasional Contributor II

Re: RAP-5WN with Huawei 3765 3G Modem not working

Hi,

is there anybody who can help me?
Who already tried the ZTE K3765-Z?

Kind regards
Kevin
Moderator

Re: RAP-5WN with Huawei 3765 3G Modem not working


Hi,

is there anybody who can help me?
Who already tried the ZTE K3765-Z?

Kind regards
Kevin




hi Kevin

these ZTE modems with VID/PID 0x19d22000 can be problematic to modeswitch. Some things you can try...

Make sure you have AOS > 5.0.3.1 installed, we did add a tweak to try and push these modems to work without any modeswitch command required. please try it.

Also, your usb params look a little wrong, ZTE tends to use ttyUSB2 or ttyUSB3, you specified

usb-dev 0x19d22002
usb-dial ATD*99#
usb-tty ttyUSB0
usb-modeswitch "-v 0x19d2 -p 0x2000 -V 0x19d1 -P 0x2002 -M 5553424308E0CC852400000080000C85000000240000000000 000000000000"

this should probably be

usb-dev 0x19d22002
usb-dial ATD*99#
usb-type option
usb-tty ttyUSB2

*if ttyUSB2 doesn't work, try ttyUSB3

For the modeswitch command, the modeswitch website (http://www.draisberghof.de) specifies multiple modeswitches for this model of modem, which may or may not work (also we don't currently support multiple modeswitch commands). I recommend that you try this as the modeswitch -M value: "55534243123456702000000080000c85010101180101010101000000000000"

or finally,take the easy way out and disable the storage mode on the modem. You will need to install the modem on a Windows machine, then, connect to it using some serial program (putty, teraterm, hyperterm) and enter the following:

AT+ZCDRUN=8

this will turn off the storage mode of the modem, it will start to work probably via ttyUSB2 after that, and will not require any modeswitching.

regards
-jeff
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: