Because your system is fedora9 + XP SP2, F9 usually asks you if you want to set auto-start upon startup when creating a connection on the Internet. It can be automatically connected every time it is started. However, it is a bit difficult to connect to the Internet on the desktop of XP. Google has found out that Microsoft's built-in rasdial command is used as follows:
1. Create a bat script with the following content:
- :::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
- Rasdial dgLAN01234567@16900.gd 123456 dgLAN01234567@16900.gd
- :::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
Just one line, where the first dgLAN01234567@16900.gd is the connection name of the 'broadband Connection' on the user desktop (called ISP), the second dgLAN01234567@16900.gd is the connection user name, this password and password 123456 are obtained only after the payment application is made.
2. Set this bat script (I save it as C:/adls_connect.bat) to auto-start upon startup. There are many methods I use: start --> Run --> enter gpedit. MSC --> Computer Configuration --> Windows Settings --> script (start/shut down) --> start --> Add the BAT file just now.
Appendix: the dial-up connection under fedora9 is self-started
First find the command:
- [Hsxzhe -- 01:25:09 ~] $: Whereis pppoe
- Pppoe:/sbin/pppoe/usr/share/man/man8/pppoe.8.gz
- [Hsxzhe -- 01:25:31 ~] $: Ls/sbin/| grep pppoe
- Pppoe
- Pppoe-Connect
- Pppoe-relay
- Pppoe-Server
- Pppoe-Setup
- Pppoe-sniff
- Pppoe-start
- Pppoe-status
- Pppoe-stop
Find the command:/sbin/pppoe-Setup
Then the root permission is required:
- [Hsxzhe -- 01:26:07 ~] $: Su
- Password:
- [Hsxzhe -- 01:26:28 hsxzhe] $:/sbin/pppoe-Setup
- Welcome to the pppoe Client Setup. First, I will run some checks on
- Your system to make sure the pppoe client is installed properly...
- The following DSL config was found on your system:
- Device: Name:
- Ppp0 dslppp0
- Please enter the device if you want to configure the present DSL config
- (Default ppp0) or enter 'n' if you want to create a new one:
- Login Name
- Enter your login name (default dgLAN01270661@16900.gd ):
- Interface
- Enter the Ethernet interface connected to the pppoe Modem
- For Solaris, this is likely to be something like/dev/hme0.
- For Linux, it will be ethx, where 'x' is a number.
- (Default eth0 ):
- Do you want the link to come up on demand, or stay up continuously?
- If you want it to come up on demand, enter the idle time in seconds
- After which the link shoshould be dropped. If you want the link
- Stay up permanently, enter 'no' (two letters, lower-case .)
- Note: Demand-activated links do not interact well with dynamic IP
- Addresses. You may have some problems with demand-activated links.
- Enter the demand value (default no ):
- DNS
- Please enter the IP address of your ISP's primary DNS server.
- If your ISP claims that 'the server will provide dynamic dns address ',
- Enter 'server' (all lower-case) here.
- If you just press enter, I will assume you know what you are
- Doing and not modify your DNS setup.
- Enter the DNS information here: Server
- Password
- Please enter your password:
- Please re-enter your password:
- Userctrl
- Please enter 'yes' (three letters, lower-case.) If you want to allow
- Normal user to start or stop DSL connection (default yes ):
- Firewalling
- Please choose the firewall rules to use. Note that these rules are
- Very basic. You are strongly encouraged to use a more sophisticated
- Firewall setup; however, these will provide basic security. If you
- Are running any servers on your machine, you must choose 'none' and
- Set up firewalling yourself. Otherwise, the firewall rules will deny
- Access to all standard servers like Web, e-mail, FTP, etc. If you
- Are Using SSH, the rules will block outgoing SSH connections which
- Allocate a privileged source port.
- The firewall choices are:
- 0-None: This script will not set any firewall rules. You are responsible
- For ensuring the security of your machine. You are strongly
- Recommended to use some kind of firewall rules.
- 1-standalone: appropriate for a basic stand-alone Web-surfing Workstation
- 2-masquerade: appropriate for a machine acting as an Internet gateway
- For a LAN
- Choose a type of firewall (0-2): 0
- Start this connection at boot time
- Do you want to start this connection at boot time?
- Please enter NO or yes (default no): Yes
- ** Summary of what you entered **
- Ethernet interface: eth0
- User name: dgLAN01270661@16900.gd
- Activate-on-demand: No
- DNS addresses: supplied by ISP's server
- Firewalling: None
- User Control: Yes
- Accept these settings and adjust configuration files (y/n )? Y
Enter: 1. enter; 2.dgLAN01270661@16900.gd (here I have previously created, by default there is this directly enter); 3. enter; 4. enter; 5. server; 6. enter the password twice. enter; 8.0; 9.yes( set automatic start upon startup); 10.y;
Created
You can start the instance with/sbin/pppoe-start or restart the instance.
View the connection status with/sbin/pppoe-status
- [Hsxzhe -- 01:34:40 hsxzhe] $:/sbin/pppoe-status
- Pppoe-status: link is up and running on interface ppp0
- 3: ppp0: <pointopoint, multicast, noarp, up, lower_up> MTU 1492 qdisc pfifo_fast state unknown qlen 3
- Link/PPP
- Inet 58.252.31.154 peer 58.252.28.1/32 scope global ppp0
- [Hsxzhe -- 01:42:43 hsxzhe] $:
The connection is normal.