LinuxQuestions.org
Review your favorite Linux distribution.
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 01-24-2004, 05:26 PM   #1
pjw035
LQ Newbie
 
Registered: Jan 2004
Location: Queensland
Distribution: SuSe 9
Posts: 3

Rep: Reputation: 0
Post Can not dial up


Have just purchased SuSe 9 Pro.I have partitioned my HD which also has Win XP. SuSe detected all my hardware & configured it.I have the modem dialing up my ISP & pinging it but it will not connect.I then borrowed & installed Mandrake,which although it will not recognize my modem,still dialed out & connected to my ISP!! Can anyone explain this phenomenon?
Thanks pjw035
 
Old 01-24-2004, 06:01 PM   #2
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
ok, first of all what modem do you have? what do you mean by "it will not connect"?
 
Old 01-24-2004, 06:30 PM   #3
pjw035
LQ Newbie
 
Registered: Jan 2004
Location: Queensland
Distribution: SuSe 9
Posts: 3

Original Poster
Rep: Reputation: 0
Post

CatSc The modem is an external Swann Speed Demon built right here in Australia for Australian telephone lines.When I say it will not connect,I mean that the modem dials up the ISP's number and pings it,but the server does not reply to it.I know all this sounds a bit vague but I am familiar with Windows but am attempting to migrate away from it.Why did the same modem dial up the same server in Mandrake 9.2?
Thanks pjw035
 
Old 01-24-2004, 06:46 PM   #4
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
Did your modem came with Linux drivers?
you might try searching the net for drivers for SuSE.
What program were you using to dialup on Mandrake and on SuSE?(eg Kppp)
 
Old 01-24-2004, 06:56 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
if them modem Dials Out, then it MUST have drivers installed, loaded and working.

whats the error message when it fials to connect ?

connect via command line

/sbin/ifup (name of interface, possibly ppp)

maybe you just havnt entered the usrename and password correctly ?

what program are you using to dial anyways ?
 
Old 01-25-2004, 07:18 PM   #6
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
K now I have the same problem :/
My modem (with intel chipset 536ep) had drivers for RH7 when I put them on RH9 with 2.4.20-8 it started to complain about unresolved symbols... When I compiled my new kernel (2.4.22) it modem worked only for 5 min and then disconnects. With 2.4.24 it dialups and then disconnects...
The only way is to find a new driver...
 
Old 01-26-2004, 12:35 AM   #7
pjw035
LQ Newbie
 
Registered: Jan 2004
Location: Queensland
Distribution: SuSe 9
Posts: 3

Original Poster
Rep: Reputation: 0
qwijibow The error message when connection fails is :-pppd daemon died unexpectedly and exit status 3.Because I'm a NEWBIE I don't know what the exit status 3 refers to.
The programme I am using to dial is kppp because when I try kinternet it tells me that it is already in use!!!
Thanks for all your help but I'm just about ready to return to XP as much as I dislike Microsoft and all their greed and arrogance.At least I can get it to work!!
pjw035
 
Old 01-27-2004, 02:00 AM   #8
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
Ok I'm pretty sure you will get it to work
I had this problem before when I started.
There's a command in linux called 'man'
if you type 'man pppd' nad scroll down you will find:
"3 Pppd is not setuid-root and the invoking user is not root."
Try to login as root and then connect.

I'll try to find out how to make so that every user can use it...
 
Old 01-27-2004, 02:16 AM   #9
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
K, to get it work you need to
login as root
you need to find where is exe file of pppd so you do 'which pppd' it will tell you something like:
/usr/sbin/pppd
then you go to thet dir 'cd /usr/sbin/'(depending on what 'which pppd' says).
then you add setuid flag to the pppd file with 'chmod +s pppd'
than if you do 'ls -l pppd' it should show you
-rwsr-sr-x 1 root root 25 Jan 27 21:04 pppd

say if you have any problems
 
Old 02-07-2004, 12:44 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally posted by CatSC
K now I have the same problem :/
My modem (with intel chipset 536ep) had drivers for RH7 when I put them on RH9 with 2.4.20-8 it started to complain about unresolved symbols... When I compiled my new kernel (2.4.22) it modem worked only for 5 min and then disconnects. With 2.4.24 it dialups and then disconnects...
The only way is to find a new driver...
You'll have seen that you need to log in as root.
This is a pain.

Intels 536-install script what came with the modem will install the driver with root as the owner and group. However, in the same place as the driver there may be a symbolic link (called "modem" on mine) with has rwx permissions for everybody. If you don't have one you can make one of your own. Then wherever you needed to enter the driver in the dailup config, you write in the link.

That should solve that one.
Simon
 
Old 02-07-2004, 03:10 AM   #11
jerrymei
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat
Posts: 20

Rep: Reputation: 0
Hi,

Here are some tips for debugging:

First you redirect all log messages for your dial up connection to a separate file.

Add these two line to the end of you /etc/syslog.conf file

daemon.* /var/log/pppmsg
local.* /var/log/pppmsg

Then you have restart your logging daemon

# service syslog restart

Now use the tail command with -f option to view this file as it is growing

# tail -f /var/log/pppmsg

Open another terminal window and start the dialing:

#ifup ppp0 (Replace the ppp0 with your ppp connection)

Now you can see all information in the /var/log/pppmsg.

This will tell you exactly what happens during dialing, authentication and connection.

Hope it would be useful.
 
  


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
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
BT dial-up. APB_4 Linux - General 5 02-24-2005 03:18 PM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 09:11 PM
dial up zexter Slackware 1 10-23-2003 03:49 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 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
Open Source Consulting | Domain Registration