desertwind
Cyborg Agent
I see many asking help for configuring DataOne on their gnu/Linux machine. I've tired of posting the same answers again and again. Hence this Tutorial.
The router configuration is specific to Huawei SmartAX MT880 ADSL router.
System Configuration
Login as root.
Select System Settings > Network or system-config-network-gui on terminal.
You'll see your NIC listed there. Select it and click Edit.
*www.iup.in/out.php/t817_1.png
Check Activate device when computer starts and Allow all users to enable and disable this device.
Select "Statically set IP addresses"
Enter the following values
*www.iup.in/out.php/t818_2.png
Press OK.
Press Activate.
open /etc/resolv.conf in your favourite text editor
Append the following lines.
*www.iup.in/out.php/t819_3.png
Router Configuration
Now start your Web Browser and type 192.168.1.1 in the address bar and press enter.
PS: Enable JavaScript in your browser, if not.
It will ask for username and password. Use admin as username and password.
Click on WAN Settings under Home in the left pane.
If not set, enter the following values
*www.iup.in/out.php/t820_4.png
Click Apply
When asking for save and reboot, select No and Press OK.
Now click on DNS under Home on left pane.
If not set, enter the following values
Click Apply
When asking for save and reboot, select No and Press OK.
Now click on LAN Settings Under Advanced on left pane.
If not set, enter the following values
Click Apply
When asking for save and reboot, select Yes and Press OK.
*www.iup.in/out.php/t821_5.png
The device will reboot now. It will take about a minute or more.
*www.iup.in/out.php/t822_6.png
Do not refresh or close the browser window while rebooting. It's better leave your computer alone while this operation.
After the device has been rebooted, refresh the page. Now scroll down and you should see the green light for LAN and WAN (PVC-0)Channels.
*www.iup.in/out.php/t823_7.png
Now click on Diagnostics under Status on left pane.
On Clicking Submit, it will do a series of tests. Important thing is that the result of first 3 under Modem Connection Test must be PASS. Don't care others.
*www.iup.in/out.php/t824_8.png
Now, you're done. Your machine will be connected to the internet from next reboot onwards and will be always on. If you still prefer manual connect/disconnect, uncheck the Activate device when computer starts option from network configuration window. you can use the following commands
for connecting - ifup eth0
for disconnecting - ifdown eth0
provided the device name of your NIC is eth0.
You can create launchers on Desktop/Panel for the same.
Reboot your machine and Enjoy!!! [Don't forget Data caps]
The router configuration is specific to Huawei SmartAX MT880 ADSL router.
System Configuration
Login as root.
Select System Settings > Network or system-config-network-gui on terminal.
You'll see your NIC listed there. Select it and click Edit.
*www.iup.in/out.php/t817_1.png
Check Activate device when computer starts and Allow all users to enable and disable this device.
Select "Statically set IP addresses"
Enter the following values
Code:
Address : 192.168.1.2
Subnet Mask : 255.255.255.0
Default gateway address : 192.168.1.1
*www.iup.in/out.php/t818_2.png
Press OK.
Press Activate.
open /etc/resolv.conf in your favourite text editor
Append the following lines.
Code:
nameserver 61.1.96.69
nameserver 61.1.96.71
*www.iup.in/out.php/t819_3.png
Router Configuration
Now start your Web Browser and type 192.168.1.1 in the address bar and press enter.
PS: Enable JavaScript in your browser, if not.
It will ask for username and password. Use admin as username and password.
Click on WAN Settings under Home in the left pane.
If not set, enter the following values
Code:
PVC No: PVC-0
Wan Type: PPP
Connection Type: PPPoE
VPI/VCI: 0 / 35
Default Route : Enabled
PPP
Username: yourusername
Password: yourpassword
Use DNS: Enabled
Max Idle Time: Always On
*www.iup.in/out.php/t820_4.png
Click Apply
When asking for save and reboot, select No and Press OK.
Now click on DNS under Home on left pane.
If not set, enter the following values
Code:
DNS Status: Enabled
Primary DNS Address: 61.1.96.69
Secondary DNS Address: 61.1.96.71
Click Apply
When asking for save and reboot, select No and Press OK.
Now click on LAN Settings Under Advanced on left pane.
If not set, enter the following values
Code:
IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Click Apply
When asking for save and reboot, select Yes and Press OK.
*www.iup.in/out.php/t821_5.png
The device will reboot now. It will take about a minute or more.
*www.iup.in/out.php/t822_6.png
Do not refresh or close the browser window while rebooting. It's better leave your computer alone while this operation.
After the device has been rebooted, refresh the page. Now scroll down and you should see the green light for LAN and WAN (PVC-0)Channels.
*www.iup.in/out.php/t823_7.png
Now click on Diagnostics under Status on left pane.
On Clicking Submit, it will do a series of tests. Important thing is that the result of first 3 under Modem Connection Test must be PASS. Don't care others.
*www.iup.in/out.php/t824_8.png
Now, you're done. Your machine will be connected to the internet from next reboot onwards and will be always on. If you still prefer manual connect/disconnect, uncheck the Activate device when computer starts option from network configuration window. you can use the following commands
for connecting - ifup eth0
for disconnecting - ifdown eth0
provided the device name of your NIC is eth0.
You can create launchers on Desktop/Panel for the same.
Reboot your machine and Enjoy!!! [Don't forget Data caps]