Announcement

Collapse
No announcement yet.

Configuring Hayes Accura 56k external modem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Configuring Hayes Accura 56k external modem

    I've got Kubuntu up and running with no problems and the last thing to do on this PC is to get the external Hayes modem configured. I've setup KPPP and have run a sudo pppconfig all to no avail. When I try to connect KPPP gives me an error message " cannot find device: dev/modem" and to be honest I also can't find it!

    So how to I create a entry in dev for my modem which is on COM1?

    Thanks

    Mark
    (so near, but so far!)

    #2
    Re: Configuring Hayes Accura 56k external modem

    After a bit of digging around and reading a few general Unix books, I realised where I had gone wrong! When I configured KPPP I chose dev/modem as the port the modem connected to, excpet that this device was not defined and I should have used dev/ttyS0 for COM1 also the /etc/ppp/peers/kppp-options file needs to have the REMark removed from in fromt of noauth. Once doen I connected without any further problems. Below I've written some notes which might be helpful to others who hit this problem:

    In Kubuntu, you connect to the Internet via 2dial-up” networking using KPPP Internet Dial-Up Tool, this can be found in K menu > Internet.

    Before you can connect to the Internet you need to configure the Modem and the connections settings as you would on a Windows PC. Linux by default does not support WINmodems directly, so we are going to use a standard Hayes Accura 56k external modem connected to COM1.

    In KPPP, click on the Configure button and create a new ISP account by clicking New, choose Manual set-up.

    Enter a Connection Name of your choosing, and then click Add to enter the phone number of your ISP. Leave the other settings as they are.

    Most ISPs use Dynamic IP Address allocation so leave the IP address set to this setting. If your ISP has give you the IP addresses of its DNS servers, then enter them in the DNS tab, otherwise leave as automatic. The remaining tabs do not need changing so click OK to save the changes.

    Now add the modem by clicking on the Modem tab and click New. Give the modem a name, normally the make and model of the modem so in this case “Hayes Accura 56k” and as it is a 56k modem change the connection speed to 57600. as the modem is connected to COM1 you will need to set the modem device to dev/ttyS0 which is how Linux names its Com ports. if it was on COM2 the modem device would be dev/ttyS1 and so on. Click OK to save the changes and OK again to exit the configuration window back to KPPP.

    Now enter you ISP's Login Id (Login name) and Password and check the Show log window box, click Quit. KPPP will remember your settings.

    Now open up the text editor Kate K Menu > Utilities > Kate and at the bottom of the screen click on Terminal. This will split the window in two, giving you the test editor in the top half and a terminal window in the bottom, all very useful for what we are about to do!

    In the terminal window enter the following command:

    sudo chown userid /etc/ppp/peers/kppp-options

    This will change the ownership of the kppp-options file to your userid from root and then enter the following to edit the file:

    sudo kate /etc/ppp/peers/kppp-options

    This will load the file kppp-options in the top half of the window which will have a one line entry in it which will look like this

    #noauth

    Remove the # sign (which is used to REMark out lines) so the line now looks like

    noauth

    Save the file and then in the terminal window enter the following to revert the ownership of the file back to root

    sudo chown root /etc/ppp/peers/kppp-options

    Close Kate and for good measure restart Kubuntu, remembering to switch on your modem you Kubuntu is now configured for “dial-up” networking!

    Login to Kubuntu and launch KPPP, if all is well the PC will dial your ISP and you will get a connection status window displayed. Once connected, the connection window will minimise.

    When you want to disconnect from your “dial-up” connection, click on this minimised window and select disconnect.

    Mark

    Still "Loving Kubuntu"

    Comment

    Working...
    X