LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-13-2004, 11:07 AM   #1
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
PPP Problems


Hi there,

I've been trying to get connected to the internet with Slackware for several months, giving myself long breaks between troubleshooting sessions, to avoid serious tantrums ;-)

I am running a Packard Bell Legend 115 Supreme (Pentium 100mhz), I don't know if you can really call it 'running', but it works. I have a couple of different modems I've been trying and I've been having the same problems with both. I don't think either is a Winmodem, but am positive that at least one of them isn't (coz a Linux dude gave me it).

When I try to connect (using ppp-go), I get "Connect Script Failed". I hear no dialtone, no dialing of numbers etc. So I'm assuming it's not even finding the modem.

I've input all the necessary numbers into pppsetup. I wasn't sure what COM port the modem is plugged into, but I'm assuming that if the PC is a desktop model, i.e: flat and wide instead of a tower, then the top COM port would be COM 1 or TTYS0. Because I wasn't sure about this I tried it with every COM port.

I spoke to the ISP people and they said they use PAP, but they didn't sound so sure. So I played around with SCRIPT and CHAP. Still the same problem.


If I have it set up for PAP and looking at TTYS1 for the modem (it is inserted into the slot second from the top) the messages in /var/log/messages are:

pppd[796]: ppd 2.3.11 started by root, uid 0
chat[796]: timeout set to 60 seconds
chat[796]: abort on (ERROR)
chat[796]: abort on (BUSY)
chat[796]: abort on (NO CARRIER)
chat[796]: abort on (NO DIALTONE)
chat[796]: send (AT&FH0^M)
chat[796]: expect (OK)
chat[796]: alarm
chat[796]: Failed
pppd[796]: Exit

Thanks
 
Old 03-13-2004, 11:15 AM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
the modem won't always be ttyS0, it may be ttyS14 or something, it doesn't operate like DOS.
the bost thing to do is see if there's a /dev/modem, the driver normally makes a symlink.
 
Old 03-13-2004, 06:26 PM   #3
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
Hi Randomblast,

In the connect to internet setup process slackware asks what COM port to create a symbolic link to. I've tried from ttys0 to ttys3. Do you think I need to try all the way up to ttys15 or so,

thanks
 
Old 03-13-2004, 06:35 PM   #4
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
modem driver

Do I need to install a driver for my modem?
 
Old 03-15-2004, 02:37 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
What model is your modem? And, are you running ppp-go as root ar as a user?
 
Old 03-18-2004, 02:42 PM   #6
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
hi gnashley,

it took me a little while to figure out what type of modems I have:

Jaton COMCL

Abocom Systems: FB WS-5614PMEB1

I have tried both modems to no avail.

I am running ppp-go as root.
 
Old 03-19-2004, 08:52 AM   #7
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
Serial modem

I also have a US Robotics 28,8 serial modem I could try, but I don't know how I would configure it. Slackware asks me which port my modem is connected to and there is no 'serial' choice. Only COM1 (ttys0), COM2 (ttys1), COM 3 (ttys2), and COM 4 (ttys3).

Anyone have any ideas?
 
Old 03-19-2004, 09:58 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
COM1 and COM2 are the serial ports.
A serial modem is much better as you'll always be able to make it work.
just point pppsetup to /dev/ttyS0 or /dev/ttyS1 and you are all set.
About the other modems, are they PCI or ISA cards that plug in to the mobo?
 
Old 03-19-2004, 10:43 AM   #9
yoshitec
LQ Newbie
 
Registered: Mar 2004
Location: Hudson Valley, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
Cool thanks for the tip, I'll give the serial modem a try tonight.

As for the other modems they both are internal. One of them is bigger and plugs into the bigger slot. One of them is smaller (is that the PCI slot). Sorry for the non-technical terminology.

I beginning to think (after further research) that the the one that plugs into the smaller slot:

Abocom Systems: FB WS-5614PMEB1

could be a Winmodem, perhaps similar to an HSP Micromodem, even though it doesn't say that anywhere on the actual modem.
 
Old 03-19-2004, 11:31 AM   #10
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
If u plug it into a PCI slot on ur Motherboard, then it definitely is a winmodem!
The REAL modems are connected to the serial ports at the back of ur cabinet.
 
Old 03-20-2004, 01:54 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
The large, usually black slots are ISA and the smaller, usually white are PCI.
There ARE PCI modems that are not winmodems. What makes a winmodem is that they are software modems that need windows code to function.
search vivisimo or google for winmodem linux or with your model number to see if they are winmodems or PCI
A nice 56K serial modem is a great piece of hardware to have.
 
Old 03-20-2004, 12:56 PM   #12
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Also see the winmodem faq on here. Oh yeah if a linux guy gave it too you it might have been for a reason

Adam
 
Old 03-22-2004, 03:33 AM   #13
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 792

Rep: Reputation: 106Reputation: 106
If your hardware modem don't work or is slow try your winmodem.

I've been using winmodems with linux since I started with linux in 2000. I currently have two slack boxes at work and one at home all running with winmodems. If you have a winmodem with a lucent chipset its very easy to get it set up for linux. They are cheap as chips.

You can find out if it is a winmodem with a lucent chipset by running the command "lspci" as root. If the modem card is plugged in correctly you will have it recognised even if you don't have it configured yet.

This is the relevant output on this box:
<snip>
00:0a.0 Communication controller: Lucent Microelectronics F-1156IV WinModem (V90, 56KFlex) (rev 01)
<snip>

If you have a lucent chipset and you want to use that for accessing the net get yourself ltmodem-8.26a9.tar.gz from www.heby.de/ltmodem. untar it, cd into it, and run the script ./build_module. Its painless and educational. Follow the prompts and in the end you will have built the ltmodem modules, installed them, and set your system up so that they are loaded at boot.

You may have to rm and your existing /dev/modem. The ltmodem script will create a /dev/ttyLT0 and a new symlinked /dev/modem pointing to /dev/ttyLT0. You will be prompted if you have to rm the old /dev/modem.

Set up your connection using pppsetup and in the first instance try connecting to your isp as root boot don't stay online (never as root). If you can logon as root then it's just a matter of of suid for ppp-go and ppp-off and changing some permissions in /etc/ppp so that you can run ppp-go and ppp-off as a normal user.
 
Old 03-22-2004, 07:11 AM   #14
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Hey justwantin,what kernel are you running?? I had a win modem until recently too, but when I upgraded to 2.6.x it didnīt want to work anymore.


Adam
 
Old 03-22-2004, 12:52 PM   #15
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 792

Rep: Reputation: 106Reputation: 106
bare.i 2.4.22, the stock kernel for slack-9.1

I compiled a 2.x.1 kernel for the heck of it but never tried it with my winmodem. hmmmm..........

Did you recompile, e.g. re-run wiith clean ltmodem source the build_module script against your 2.6 source?

I did a quick google using "ltmodem+2.6.x+kernel" and didn't come up with very much and I would've expected more if there was a problem with the most recent ltmodem package.

However, I did find another package for building ltmodem modules for 2.6. at
http://linmodems.technion.ac.il/pack...em/kernel-2.6/

I hadn't been to http://linmodems.technion.ac.il before and was unaware of alternatives.

The tar.bz2 seems to be the most recent of the two packages there and the README seems to indicate that the two modules created are similar to the ones created from the ltmodem package from the www.heby.de/ltmodem site but that the names are slightly different.

Here's the specs:
<snip>
1. Requirements
- Linux kernel 2.6.x (up to 2.6.2 tested at the moment of writing)
- serial_core enabled in kernel configuration
(Device Drivers/Character Devices/Serial Drivers/"8250/16550..."
in menuconfig to "Yes" or "Module")
(most vendor supplied kernels enable this)
- SMP is not supported yet
(however it works with preemtible kernel (maybe just luck))
(let me know if you have SMP system
and want to test experimental SMP-enabled version)
<snip>

README goes on to explain how to install etc. and isn't overlong.

The info would be kindof sparse for a newbie but I suppose most newbies wouldn't be messen round with compiling a 2.6 kernel

It'd be intersting to know about it if you try this package.


Cheers

Rick

Last edited by justwantin; 03-22-2004 at 12:56 PM.
 
  


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
PPP problems krisrao Linux - Networking 3 05-13-2004 02:44 PM
PPP problems rch Linux - Networking 3 03-13-2004 11:56 AM
PPP problems Obelus Slackware 1 01-17-2004 04:59 AM
ppp problems mohapi Linux - General 1 05-27-2003 12:18 PM
problems with PPP wrjt Linux - Newbie 1 12-24-2001 01:48 AM

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

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