CameronCalver
August 28th, 2006, 04:25 AM
This is the ULTIMATE guide to modem confuration and getting onto the www
Firstly getting the information which you will require
1. Your ISP's Phone number eg myn is 0198379000
2. your username and password for your isp myn is calversh*** and my password is ******** (lol you didnt think you really were getting it did you)
3.the location of your device which i will tell you ow to get later
4.Your ISP's DNS address myn is 203.0.178.191
Use this command to make a folder to put the scripts in
sudo mkdir /internetscript
Now use this command to create a script
Firstly Obataining the location of your modem
This is done very easyly firstly plug it into a serial port or a com port and go to System--->Administration---->Networking----Propterties on Modem Connection (Hope fully the modem is even there or i'd be going to a different thread or buying another modem)Then the Modem tab and click auto detect then remember that output myn was /dev/ttyS0
Next you have to set up ppp Open up a terminal and type Sudo pppAt the main arror to Create a Connection then
1.Leave leave the name as Provider
2.Arrow to Dynamic Use Dynamic DNS then hit "Ok"
3.Type in your Primary DNS that you got from your isp and if you did not get a secondary Ip do not worry it does not affect the proccess at all
4Then Go to Pap Peer Authentication Protocol and hit enter
5.Enter your username and password that you got from your ISP
6.Leave the speed at 115200 as default
7.Choose Tone or Pulse Dialing i would use Tone and if it does not work try pulse
8.Enter the phone number
9.CLick manual port configuraion and enter in that code you got from the gnome networking application
10Click Write Changes then exit the program
Testing
Now to test it with this command
ponAnd this command to disconnect poff
Now to to create a folder to put the scripts in
sudo mkdir /internetscript
Next to create the scripts, Use this command to create a script file in that resently creaed directory
sudo gedit /internetscript/on
Now insert this in the empty file
!# /bin/bash
pon
Now We need to create a script to turn the internet off
sudo gedit /internetscript/off
Then insert this is
!# /bin/bash
poff
now we need to make these files executable use these commands
sudo chmod +x /internetscript/on
and
sudo chmod +x /internetscript/off
Then All you have to do is make a lancher to /internetscript/on or off and you will have internet in no time so you can add a lancher from desktop or from the lancher panel
By Cameron
Firstly getting the information which you will require
1. Your ISP's Phone number eg myn is 0198379000
2. your username and password for your isp myn is calversh*** and my password is ******** (lol you didnt think you really were getting it did you)
3.the location of your device which i will tell you ow to get later
4.Your ISP's DNS address myn is 203.0.178.191
Use this command to make a folder to put the scripts in
sudo mkdir /internetscript
Now use this command to create a script
Firstly Obataining the location of your modem
This is done very easyly firstly plug it into a serial port or a com port and go to System--->Administration---->Networking----Propterties on Modem Connection (Hope fully the modem is even there or i'd be going to a different thread or buying another modem)Then the Modem tab and click auto detect then remember that output myn was /dev/ttyS0
Next you have to set up ppp Open up a terminal and type Sudo pppAt the main arror to Create a Connection then
1.Leave leave the name as Provider
2.Arrow to Dynamic Use Dynamic DNS then hit "Ok"
3.Type in your Primary DNS that you got from your isp and if you did not get a secondary Ip do not worry it does not affect the proccess at all
4Then Go to Pap Peer Authentication Protocol and hit enter
5.Enter your username and password that you got from your ISP
6.Leave the speed at 115200 as default
7.Choose Tone or Pulse Dialing i would use Tone and if it does not work try pulse
8.Enter the phone number
9.CLick manual port configuraion and enter in that code you got from the gnome networking application
10Click Write Changes then exit the program
Testing
Now to test it with this command
ponAnd this command to disconnect poff
Now to to create a folder to put the scripts in
sudo mkdir /internetscript
Next to create the scripts, Use this command to create a script file in that resently creaed directory
sudo gedit /internetscript/on
Now insert this in the empty file
!# /bin/bash
pon
Now We need to create a script to turn the internet off
sudo gedit /internetscript/off
Then insert this is
!# /bin/bash
poff
now we need to make these files executable use these commands
sudo chmod +x /internetscript/on
and
sudo chmod +x /internetscript/off
Then All you have to do is make a lancher to /internetscript/on or off and you will have internet in no time so you can add a lancher from desktop or from the lancher panel
By Cameron