CDMA wireless Internet access

Source: Internet
Author: User
Tags syslog

Preparation:
USB wireless network card of Shenzhen chuangxing CDMA, Linux 2.6.14 environment, arm-uclibc-Linux-gcc
Ppp-2.4.1.tar.gzand script file script_ppp.tar,
The Linux system log file is configured by the/etc/syslog. conf file for debugging.

1. Compile the kernel: Make menuconfig: select three items
<*> Universal tun/TAP Device Driver Support
<*> PPP (Point-to-Point Protocol) Support

<*> Slip (Serial Line) Support
USB drop-down
<*> Usb modem (cdc acm) Support

2. Cross-Compilation: ppp-2.4.1.tar.gz, after decompression,
Export cc = arm-uclibc-Linux-gcc
Make
Obtain the four pppd, chat, pppdump, and pppstats files in different directories, and place them under/usr/sbin,
Four or more chmod 755 files

3. in the arm-Linux system, there is a syslogd daemon, but there is no configuration file. You can set the configuration file/etc/syslog in the Linux System of the PC. copy the conf file and modify the permission, which is also stored in the/etc directory. Create a lock directory under/var, which may be used for debugging.
Run syslogd before dialing to view the prompt information during dialing.

4.decompress the script_ppp.tar file to/etc.

5. Plug in the USB wireless Nic and notice that the/dev/USB/ACM/0 device file is generated (my arm Board)
Replace the/etc/PPP/peers CDMA script/dev/ttyacm0 line with/dev/USB/ACM/0.

6. Use pppd call CDMA dialing and ipconfig to check whether everything is OK. Just surf.
7. If the segment fault error occurs on the board, remove the-dhave_mmap Of The makefile of pppd.
Remove the debug of the script peer/CDMA.

Note:
In the script, abort "***" means that if the result is displayed with such a string, the dial-up program is interrupted. #777 is the dial-up number used to access the Internet through the China Unicom communication network.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.