Wireless CDMA 450 MHz Router
|Ralink RT3052||32MiB||4MiB||EV-DO Rev.A 450MHz||11 bgn||4 x 1||No||Yes||No||Yes|
- → build
Firmware image is obtained by compiling source from the latest development branch (trunk)
If you use LuCI, you may want to install following packages before compiling
./scripts/feeds install luci ./scripts/feeds install luci-proto-ppp ./scripts/feeds install luci-proto-3g
When performing "make menuconfig" select
CONFIG_TARGET_ramips=y CONFIG_TARGET_ramips_rt305x=y CONFIG_PACKAGE_kmod-usb-acm=y
If you use LuCI, additionally select
To install OpenWrt for the first time on a router with factory firmware you will need OpenWrt image in the standard “uImage” format. To compile such image, when performing "make menuconfig" select Target Images - ramdisk
After OpenWrt is successfully installed, it is recommended to perform sysupgrade to squashfs firmware. To compile such image, when performing "make menuconfig" select Target Images - squashfs
In PSR-680W factory firmware the bootloader menu is disabled.
Fortunately, bootloader contains TFTP client which is enabled by default and can be used for firmware upload.
The bootloader TFTP client expects firmware in the standard “uImage” format with file name "rt305x_image.bin".
Install TFTP server software on your PC, and give your PC static IP address 192.168.10.4 with network mask 255.255.255.0
Make sure the firmware file is “uImage” type, is renamed to rt305x_image.bin, and is located in the directory which TFTP server uses to upload files.
Connect your PC with the router using Ethernet cable.
Power cycle the router. You may have to repeat power off-on cycle several times till you see that file transfer is actually taking place.
PSR-680W with OpenWrt firmware installed has following flash layout:
6 cmdlinepart partitions found on MTD device physmap-flash.0 Creating 6 MTD partitions on "physmap-flash.0": 0x000000000000-0x000000030000 : "u-boot" 0x000000030000-0x000000040000 : "u-boot-env" 0x000000040000-0x000000050000 : "factory" 0x000000050000-0x000000130000 : "kernel" 0x000000130000-0x000000400000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=110000 0x0000002f0000-0x000000400000 : "rootfs_data" 0x000000050000-0x000000400000 : "firmware"
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
- Upload image file for sysupgrade to LuCI
- Wait for reboot
- Login as root via SSH on 192.168.1.1
- Use the following commands to upgrade.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
When OpenWrt is installed, by default there is no network interface for CDMA and Wi-Fi is disabled.
To add CDMA interface using LuCI:
- Go to Network - Interfaces - Add new interface…
- On the General Setup tab select:
|PAP/CHAP username||Provided by your network operator|
|PAP/CHAP password||Provided by your network operator|
- On the Firewall Settings tab select "wan".
Resulting configuration may look like this:
network.CDMA=interface network.CDMA.proto=3g network.CDMA.device=/dev/ttyACM0 network.CDMA.service=evdo network.CDMA.username=mobile network.CDMA.password=internet
To enable Wi-Fi using LuCI:
- Go to Network - Wifi and press Enable.
→ hardware.button on howto use and configure the hardware button(s).
The Petatel PSR-680W has one "Reset" button at the bottom. Here, we merely name the button, so we can use it in the above Howto:
|System-On-Chip:||Ralink RT3052 SoC|
|Flash-Chip:||NOR SAMSUNG K8P3215UQB|
|Flash size:||4 MiB|
|Ethernet:||1 WAN port and 4 LAN ports 10/100Mbps|
|Internet:||EVDO Rev.A 450 MHz (Internal Qualcomm MSM6800A mini PCI express module)|
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Serial console is the 4-pin header on the upper side of the board marked as "J10".
Device case should be opened to access the pins.
The pins are marked as "GND, RX, TX, 3.3V".
Actually, the pins are GND, TX, RX, V3.3 (TX pin sending signal from the router to the PC).
The voltage is 3.3V TTL.
Baud rate is 115200.
On device side, there are two serial ports which show up as following device nodes:
/dev/ttyS0 (UARTF) is used for communication with CDMA module using vendor-specific AT commands.
/dev/ttyS1 (UARTL) is used for the console.
For some Help with the Tags, please have a look here: tags
toh/petatel/psr-680w.txt · Last modified: 2013/04/13 10:31 by laibsch