LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2004, 03:50 AM   #1
Kaelis
LQ Newbie
 
Registered: Mar 2004
Location: Vicinity of Washington, D.C.
Distribution: Mandrake 9.1
Posts: 2

Rep: Reputation: 0
Unhappy Need help connecting out via dial-up with Mandrake 9.1


I've been having trouble finding any info that will help me with this problem....

I have tried to initiate a connection using KPPP ( After configuring KPPP to match the confiuration below ) and it shows normal indications of a connection ( host IP, local IP, and connection speed ). However, when I try to ping the server I'm dialed into, I find that there is no logical connection present.

I have tried to initiate the connection via terminal commands and it initially negotiates, authenticates successfully, and then drops the connection. ( Carrier Loss )



--> I am running Mandrake 9.1 ( Haven't booted Linux in a few weeks thanks to this problem )

--> I have a Diamond SupraMax PCI modem ( Conexant HCFPCI chipset ) and have downloaded the appropriate drivers from Linuxant. ( I'm also having trouble figuring out how to get my drivers to load automatically at boot, but that problem is secondary. )

--> I can verify that my modem is functional and accessible using the appropriate Conexant drivers from Linuxant.

--> My ISP is Earthlink ( Doesn't officially support Linux but was nice enough to give me all the settings needed for my modem and PPPD and told me which files I needed to modify with what information. ) Here's the configuration I was given:


#----/etc/hosts----
#
127.0.0.1 localhost
0.0.0.0 UserID.users.earthlink.net
#
#---------------------


#----/etc/host.conf----
#
order hosts,bind
multi on
#
#-------------------------


#----/etc/resolv.conf----
#
search earthlink.net
nameserver 207.217.126.81
nameserver 207.217.120.83
#
#----------------------------


#----/etc/hosts.deny----
#
ALL: ALL
#
#----------------------------


#----/etc/hosts.allow----
#
ALL: 127.0.0.1
#
#----------------------------


#----/etc/ppp/options----
#
defaultroute /dev/modem 115200
netmask 255.255.255.0
mtu 1500
connect "/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' ' '
ATS11=40 OK ATDTphoneno ogin UserID@earthlink.net word PASSWORD"
#
#-----------------------------



I am fairly certain that this is a protocol issue with PPP dropping the ball at NCP negotiation, but I have no idea how to correct it. If anyone can help me or guide me in the right direction, I would appreciate it greatly as I am still fairly new to Linux and dealing directly with network configuration at the protocol level. Please keep in mind that I have already read up on PPPD within the Linux manpages and have not found anything that would seem to indicate where, or if, this is going wrong within the settings supplied to PPPD. ( Perhaps someone more familiar with PPPD can show me something I may have overlooked... )

Thanks in advance.

Last edited by Kaelis; 03-30-2004 at 01:25 AM.
 
Old 03-29-2004, 09:20 PM   #2
Kaelis
LQ Newbie
 
Registered: Mar 2004
Location: Vicinity of Washington, D.C.
Distribution: Mandrake 9.1
Posts: 2

Original Poster
Rep: Reputation: 0
A few other things about that configuration:

Earthlink's instructions to initiate the connection are to simply type in "pppd" at the console (apparently as root). This did nothing for me whatsoever, the shell basically told me I was smoking crack 'cause it's an invalid command.

Also, in reference to the "connect" command string in the configuration of /etc/ppp/options, I noticed that I have no package named "chat" in /usr/sbin and Mandrake 9.1 doesn't list a package named "chat" anywhere in the install. Is this a problem?

Last question: would it create a conflict, or any other sort of problem, to have the specific files modified under /etc and then try to use KPPP or the connection terminal it provides to initiate the connection?

Last edited by Kaelis; 04-12-2004 at 12:06 AM.
 
Old 04-28-2004, 10:58 PM   #3
AussieJohn0110
LQ Newbie
 
Registered: Apr 2004
Location: Australia
Distribution: Mandrake 9.0
Posts: 1

Rep: Reputation: 0
PPPd Dies

Hi guys,

I am having a similar problem as Kaelis is.

I'm running:
Mandrake 9.0
Kernel 2.4.19-16mdk
KDE3 & GNOME2.0
Dialer: Kppp
Browsers: Konquerer, Galeon, Mozilla
PPPd Version: 2.4.1

At first I tried using my Netcomm USB Rave! modem (bad idea), turns out it's a WinModem....
So decided to try my slightly older, Maestro Jetstream k56flex modem. This modem is a 'proper' hardware modem, and does indeed work with Linux.

I am using Kppp, and dial into my account just fine,
however, after being online for about 10 seconds, the remote modem sends me a 'NO CARRIER' signal, (or so it seems from a terminal) for whatever reason it may be.
The only addresses I seem to be able to ping are my own (assigned by ISP) IP address and that of the remote modem I am dialing in to.

I have followed just about every troubleshooting guide I could find,
setting my pppd and kppp SUID's to root,
setting DNS entries and the like in the hosts (and resolv.conf) files...
none of these seem to be working....

In addition to these, I have tried just about every possible solution as far as modem commands go, and am now dreaming Hayes AT commands (ugh... I rather dream in PHP or something )

If anyone can offer any insight, and/or direct me towards a solution, that would be greatly appreciated.

Recently I was speaking to a friend of mine, and he mentioned something about the authentication process between me and my ISP.
Could this authentication be forced, so a connection will be auth'd ?

Cheerz,

John
 
Old 05-12-2004, 02:18 AM   #4
mdriftmeyer
LQ Newbie
 
Registered: May 2004
Location: Northwest USA
Distribution: Debian Sid
Posts: 5

Rep: Reputation: 0
I have Earthlink and it sporadically drops connection but then it will go idle for a very long time without dumping connection:

At any rate:

System : Debian Sid

This is my /etc/ppp/peers/earthlink.net settings:

hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/earthlink.net"
debug
/dev/ttyS0
115200
defaultroute
noipdefault
asyncmap 0


persist
#usepeerdns
ipparam earthlink.net

I use tinyDNS to forward DNS.

This is my /etc/chatscripts/earthlink.net settings:

# This chatfile was generated by pppconfig 2.1.1.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED

# set 5 sec maximum window for the modem to respond to
# the following commands
TIMEOUT 5

# modeminit --make sure the modem is awake/initialized
'' 'AT'

# modem initialization strings to set the model: Zoom Lucent 2949L

'OK' 'AT&FE0&C1&D2V1'
'OK' 'ATS7=60S30=0M1L1\N3%C1&K3B0B15B2N1\J1X4'

# instruct the modem not to answer incoming calls
'OK' 'ATS0=0'


## uncomment the following line to turn off the speaker while dialing
#'OK' 'ATM0L0'


## Connection Speed Readout

#'' 'ATZW2'


# ispnumber
OK-AT-OK "ATDTphonenumberHere"

#allow timeout to establish the connection
TIMEOUT 60

# ispconnect
ECHO ON CONNECT ''
# prelogin

# ispname
ogin <userID>@earthlink.net
# isppassword
word <passwordHere>
# postlogin
'' \d\c
# end of pppconfig stuff

My /etc/hosts is set up as yours.

I added the group dip and added my user to dip and chown root:dip my /chatscripts/earthlink.net file and /etc/ppp/peers/earthlink.net file.

at the command line I just do the following:

>pon earthlink.net (use your file name accordingly)

>poff (signing off)
 
  


Reply



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
Unable to connect to Dial-up internet using Fedora 3 balnair Linux - Software 5 04-30-2005 09:03 PM
unable to connect using dial up modem gooserider Linux - Networking 2 02-19-2005 07:58 PM
Unable to connect to TightVNC on Mandrake 10 kt8993 Linux - Networking 3 09-30-2004 11:36 AM
Unable to connect through dial up connection anupverma Linux - Newbie 1 04-24-2004 09:22 AM
Intel HaM Dial-Up Modem, Redhat 8.0, Unable to connect ATrx2k Linux - Hardware 6 02-16-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:56 AM.

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
Open Source Consulting | Domain Registration