Ubuntu8.04 specific configuration for accessing the Internet through PPC mobile phone

Source: Internet
Author: User
In Windows, it is easy to access the Internet through ppc edge through the synchronization software of Microsoft software. But it is a little troublesome in Linux. After some efforts, I finally succeeded. I would like to share with you the pleasure of success. Ubuntu8.04 is actually equipped with an rndis_host driver and can treat PPC mobile phones as NICs. I just don't know why the built-in driver cannot be connected to the mobile phone. Use the following driver to replace the built-in driver. 2. download the new driver. Click Download 3. decompress the package. Set File Permissions

In Windows, it is easy to access the Internet through ppc edge through the synchronization software of Microsoft software. But it is a little troublesome in Linux. After some efforts, I finally succeeded. We will share with you the pleasure of success

Figure

1. Ubuntu 8.04 is actually equipped with an rndis_host driver, which can treat PPC mobile phones as NICs. I just don't know why the built-in driver cannot be connected to the mobile phone. Replace the built-in driver with the following drivers:

2. download the new driver. Click to download

3. decompress the package. Set file permissions. Sudo chmod 777-R usb

4. make Compilation

Make-C/lib/modules/2.6.24-18-generic/build SUBDIRS =/home/wolf/software/usb modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.24-18-generic'
CC [M]/home/wolf/software/usb/usbnet. o
CC [M]/home/wolf/software/usb/cdc_ether.o
CC [M]/home/wolf/software/usb/rndis_host.o
Building modules, stage 2.
MODPOST 3 modules
CC/home/wolf/software/usb/cdc_ether.mod.o
LD [M]/home/wolf/software/usb/cdc_ether.ko
CC/home/wolf/software/usb/rndis_host.mod.o
LD [M]/home/wolf/software/usb/rndis_host.ko
CC/home/wolf/software/usb/usbnet. mod. o
LD [M]/home/wolf/software/usb/usbnet. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.24-18-generic'


5. sudo./clean. sh run the program in the directory, which automatically deletes the built-in driver. (If sudo:./clean. sh: command not found appears) because of permission issues. Make sure to set the file to executable first

Deleted "/lib/modules/2.6.24-18-generic/kernel/drivers/net/usb/usbnet. ko"
Deleted "/lib/modules/2.6.24-18-generic/kernel/drivers/net/usb/cdc_ether.ko"
Deleted "/lib/modules/2.6.24-18-generic/kernel/drivers/net/usb/rndis_host.ko"
Done! :)

6. sudo make install

Make-C/lib/modules/2.6.24-18-generic/build SUBDIRS =/home/wolf/software/usb modules_install
Make [1]: Entering directory '/usr/src/linux-headers-2.6.24-18-generic'
INSTALL/home/wolf/software/usb/cdc_ether.ko
INSTALL/home/wolf/software/usb/rndis_host.ko
INSTALL/home/wolf/software/usb/usbnet. ko
DEPMOD 2.6.24-18-generic
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.24-18-generic'
Depmod-AE

7. Modify the/etc/network/interfaces file in
Auto lo
Iface lo inet loopback
Add below

Auto rndis0
Iface rndis0 inet dhcp

8. Connect to the ppc usb cable and start the internet sharing program.

9. Activate rndis0

Sudo ifconfig rndis0 up

10. Obtain the IP address from DHCP

Sudo dhclient rndis0

DHCPDISCOVER on rndis0 to specify 255.255.255 port 67 interval 6
DHCPOFFER of 192.168.0.103 from 192.168.0.1
DHCPREQUEST of 192.168.0.103 on rndis0 to specify 255.255.255 port 67
DHCPACK of 192.168.0.103 from 192.168.0.1
Bound to 192.168.0.103 -- renewal in 109104 seconds.

If the IP address is successfully obtained, you can directly access the Internet using CMNET. Set a proxy for CMWAP!

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.