LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-30-2003, 03:30 AM   #1
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
ISDN connection


How can I establish a connection using an ISDN modem? I don't use X, so I need a solution console-only. Here's a few details about my system (and my knowledge):
-slackware 9.0
-kernel 2.4.20 compiled with ppp support, no modules
-ISDN line
-ISDN terminal (Intracom NetMod) connected through RS232 (serial port)
-internet account (local ISP)
-very basic linux knowledge (read - newbie)

How can I connect to my ISP using the above things? I want also to share the connection, but that's another story. I would appreciate a short explanation also, not only some commands. Or some good links to documentation that solves my problem.

If I missed some important info, just ask.
 
Old 05-30-2003, 09:10 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I have only used a Xyzel TA before on the RS-232 port. I would think it would be basically the same with your model though. Download the docs if you need too.

But it was basically the same as a normal ppp connection on a tty port. I had to use some special init commands to set the dial up numbers, etc. Some things I think that were different, instead of ATDT to dial, I think it was ATDI followed by the phone number. Get the first B channel working then concentrate on the second B channel.

Slack includes a neat program called "minicom" that you can use to talk with a async modem on a serial port. Nice program to use to figure out the exact dial sequence for your TA and programming the SPID's. Your TA might even have a builtin help command, many do.

I found the process such a pain by the time I got it working, I switched the server to a more reliable method and better hardware though. I purchased used Ascend Pipeline routers from eBay that have a menu driven interface, firewall, NAT, etc. They have only a single 10-Base-T LAN interface though, but it can be plugged into a concentrator and shared for a network if desired. Or interfaced directly to a NIC card on the computer. It also provides dhcp services for dynamic IP assignment if you prefer. Some units also offer regular telephone jacks so that analog telephone equipment can be connected on one or both of the B channels. Anyway the Linux config is far simpler because it is just a NIC interface. I think the units can be located with both a BRI-U interface or the ST interface if your area requires the ST. I mention this because you stated you were interested in sharing the connection. Linux will be able to do it once you get it configured and working. But a Pipeline and a concentrator is far easier for multiple machines for just simple internet sharing.
 
Old 06-02-2003, 03:53 AM   #3
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
Thanx for your answer. But (as you can read under my nick) I'm newbie. And a newbie with zero experience with modems. I mean I can configure a modem under windows, but command-line things like ATDT make me look at them like a dumb. Can you help me with step-by-step procedure, or at least give me some links with help for noobs?
I tried to "talk" to my modem with minicom, but no results. Maybe /dev/modem is not the right choice.
 
Old 06-02-2003, 10:36 AM   #4
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
I figured it out (with help from someone, of course). I will post here the solution, maybe somebody else will need it (and for me to know where to look when I need it on another machine ).

First step: create a file /etc/ppp/peers/my_file and write the following in it:
defaultroute
noipdefault
lock
modem
debug
nodetach
mru 576
mtu 576
passive
/dev/modem
name ONE_NAME
user MY_USER
connect
' /usr/sbin/chat -v \
ABORT BUSY \
ABORT "NO CARRIER" \
"" "atz" \
OK "atb0" \
OK atdtISP_PHONE_NO \
CONNECT'


Second, in /etc/ppp/pap-secrets file write
my_username * password *

And third, connect with
#pppd /dev/modem 115200 file /etc/ppp/peers/my_file

-when using only one channel line, remove atb0 line from file.
- if nodetach is commented, the process goes in background

And it works! For me, at least. Have to more.
 
Old 12-28-2003, 10:41 AM   #5
JoKo
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Is it possible to use KPPP? I have exactly the same modem and when I press connect, it expects OK without dialing at all...

My guess is that modem commands are not correct, but I've tried everything. Can anybody help?
 
  


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
Two problems-ISDN connection? ak-87 Linux - Hardware 0 04-23-2005 01:43 PM
ISDN connection dies phil81 Debian 0 01-05-2005 04:57 AM
Slack 10 and ISDN connection tsampouk Slackware 3 10-31-2004 07:39 AM
ISDN Connection ispnepal Linux - Networking 0 08-12-2004 06:49 AM
ISDN connection to Internet Joe Soap Linux - Newbie 2 09-18-2001 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:18 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