Hi All, I've only just joined ALUG, so a quick intro: My name is Earl Brannigan, I work near Newmarket for a small software house and eventually convinced the boss after much effort to go Linux, Now he loves it and we've put together some nice stuff on Linux Web Servers (Not our own page yet mind). But I am now pretty proficient with apache, security etc so we'll see. I run Linux at home - Red-Hat 6-2, and have been doing pretty well with it - until 4am some nights. So here's the problem : Wanting to use my 56k Internal Hardware PCI Modem I eagerly awaited kernel-2.4, and was probably one of the first to grab it from kernel.org in the early morning of Jan 6th. I then spent some time finding and installing the necessary support stuff - especially ppp-2.4. Now having built the kernel, installed the necessary other stuff etc my ppp refuses to work - I get the dial out, the PAP works, then nothing (BTW - My machine is much faster with the new kernel, and the PCI probing etc has improved the functionality of my soundcard - it also talks to my motherboard better (VIA Apollo) and uses my Celery Processor to the max). Looking through the logs I am getting unfound modules for ppp (I also installed modutils-2.4 and ksymoops-2.4) Am I missing something? I use either kppp or rp3 to take care of the connection, which also utilize wvdial I think. Do I need to recompile these packages from source in order to utilize the new ppp libraries? Or do I have to wait for updated versions to be released. If so how do I utilize pppd without them?
If anyone has any thoughts/suggestions just push em through, or if you need other info I'd be glad to supply it. Just let me know. Many Thanks. Happy Linuxing Earl
On Thu, Jan 11, 2001 at 05:02:25PM -0000, Earl Brannigan wrote:
Hi All,
Wanting to use my 56k Internal Hardware PCI Modem I eagerly awaited kernel-2.4, and was probably one of the first to grab it from kernel.org in the early morning of Jan 6th. I then spent some time finding and installing the necessary support stuff - especially ppp-2.4. Now having built the kernel, installed the necessary other stuff etc my ppp refuses to work
When I played with pppd in 2.4 I had some problems with it not being able to "set line discipline". Basically, I think that pppd could not swap it's connection to /dev/ttySx to a pty once dialling up. Maybe?
Anyway, I solved the problem by actually loading the right modules, modprobe ppp_async modprobe ppp_synctty modprobe ppp_generic
Worked for me.
On Thu, Jan 11, 2001 at 05:26:43PM +0000, Toby Jaffey wrote:
When I played with pppd in 2.4 I had some problems with it not being able to "set line discipline". Basically, I think that pppd could not swap it's connection to /dev/ttySx to a pty once dialling up. Maybe?
The line line discipline determines how a tty device behaves - how characters that pass through the device in each direction get changed or translated and if any other side effects happen as certain special characters are spotted.
The default line discipline is the one that gives us what we would regard as normal tty behaviour including CR and NL translations, erase (backspace) character processing and generating the tty originated signals (SIGINT, SIGTSTP, SIGQUIT etc.)
When pppd wants to use that same tty device to talk PPP it wants to change the rules on how the device behaves and tells the kernel to use a different line discipline - one suited for PPP. The code to implement the line discipline for PPP is in the kernel PPP modules so if the kernel can't load these, or they don't work as expected, the kernel reports back to the pppd that it couldn't set the line discipline as requested, hence the error message.
Steve