LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not dial up (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-dial-up-138243/)

pjw035 01-24-2004 05:26 PM

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

CatSC 01-24-2004 06:01 PM

ok, first of all what modem do you have? what do you mean by "it will not connect"?

pjw035 01-24-2004 06:30 PM

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

CatSC 01-24-2004 06:46 PM

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)

qwijibow 01-24-2004 06:56 PM

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 ?

CatSC 01-25-2004 07:18 PM

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...

pjw035 01-26-2004 12:35 AM

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

CatSC 01-27-2004 02:00 AM

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...

CatSC 01-27-2004 02:16 AM

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

Simon Bridge 02-07-2004 12:44 AM

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

jerrymei 02-07-2004 03:10 AM

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.


All times are GMT -5. The time now is 06:22 AM.