LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2002, 07:14 PM   #1
DJ-Xploit
LQ Newbie
 
Registered: May 2002
Posts: 1

Rep: Reputation: 0
Question authentication for internet connection


I am new to linux and have tried setting my dialup connection with no luck. It gets to the authorisation part but then fails. I rang my ISP tech support and all they said was that i needed chap authentication, can someone explain how i set the connection to use this and what i need to actually do!

Thanks in advance!!

DJ Xploit
 
Old 05-15-2002, 07:23 PM   #2
ForgottenSoul
LQ Newbie
 
Registered: May 2002
Posts: 1

Rep: Reputation: 0
PCI Modem Configuration

PCI NON-Winmodem Configuration for Linux

The kernel should have serial support and you should have some communications program, such as minicom, installed.

The modem will come configured to work on a COM port referred to by the files /dev/ttySx or /dev/cuax. If these files do not exist in your /dev directory, they can be added as follows.

Step 1 : As root, type :

cd dev

and press ENTER. Next, type :

# ./MAKEDEV ttySx

Where x is the COM port. This will create the appropriate files.

NOTE : There is no MAKEDEV in OpenLinux (Caldera OpenLinux). In this case, the commands will be as follows (as root):

mknod /dev/ttyS4 c 4 68

and press ENTER. Next, type :

mknody /dev/cua4 c 5 68

and press ENTER.

NOTE : Versions of Linux with the 2.2.x kernel or newer versions of Linux. The /dev/cua4 device is obsolete.

Step 2 : Many programs use the /dev/modem symbolic link to refer to the modem. To create this link, type :

ln -s /dev/ttyS4 /dev/modem

and press ENTER. Typing the following :

chmod 666 /dev/ttyS4

pressing ENTER, then typing :

chmod 666 /dev/modem

instead (where x is the COM port) will let all users access the modem.

Step 3 : Determine the port and IRQ assined to the device by typing :

cat /proc/pci

and pressing ENTER. The following is an example of a possible outcome :

5. Non-prefetchable 32 bit memory at 0x00000000.
Bus 0, device 17, function 0:
Communication controller: Unknown vendor Unknown de-
vice (rev 0).
Vendor id=11c1. Device id=480
Medium devsel. Fast back-to-back capable. IRQ 11.
Master Capable
No Bursts
Min Gnt=252. Max Lat=14
Non-prefetchable 32 bit memor at 0xe4000000
I/O at 0x6400.
I/O at 0x6800.
I/O at 0x6c00.

Step 4 : Write down the first input/output range and IRQ. In this case, the I/O address is 0x6400 and the IRQ type is 11. Type :

setserial /dev/modem uart 16550A port 0x6400 irq 11

(The IRQ and port may vary depending on the results from step 3.)

Step 5 : Try out the settings in a program such as minicom.

Step 6 : If the settings work, then add the line above in the /etc/rc.d/rc.local file. This way, the modem will be set properly each time Linux is booted.

Step 7 : To set Linux to configure the modem on boot-up there are several options. One method is going to the /etc/rc.d/ driectory, and, using an editing program such as jed, edit the rc.local file, inserting the following :

setserial /dev/modem uart 16550A port 0x6400 irq 11

as the last line.

If the following setserial commands do not work in the terminal or give you an error you may have to enter the following during this setup :

setserial /dev/modem uart 16550A port 0x6400 irq 11

To check and see if your modem has been proberly setup type :

setserial /dev/modem

and press ENTER.

You will see the following line below :

/dev/modem, UART: 16550A, Port : 0x6400, IRQ : 11

Example :

[root@localhost forgottensoul]# setserial /dev/modem uart 16550A port 0x6400 irq 11
[root@localhost forgottensoul]# setserial /dev/modem
/dev/modem, UART 16550A, Port : 0x6400, IRQ: 11
[root@localhost forgottensoul]# _

You have now successfully setup your modem.

Now all that leaves you to do is go to KPPP and setup your dialup properties =) Enjoy !
 
Old 05-16-2002, 03:46 PM   #3
Dutch3
Member
 
Registered: Feb 2002
Location: UK
Distribution: Mandriva
Posts: 179

Rep: Reputation: 30
What distro are you using? The main ones have graphical setup for connection which is a lot easier, especially for n00bs !

If memory serves, kppp in KDE gives you CHAP authentication as an option in the setup process......

HTH


Dutch
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 12:48 PM
How to configure an ADSL connection with authentication? ricguitar Linux - Networking 14 09-02-2004 02:51 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM
wireless shared internet service: which authentication implementation? F1uX Linux - Security 3 01-21-2004 07:43 AM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration