Re: lug-bg: linux-2.4.0 & ppp-2.4.0
- Subject: Re: lug-bg: linux-2.4.0 & ppp-2.4.0
- From: v_valchev@xxxxxxxxxx (Valentin Pavlov)
- Date: Wed, 24 Jan 2001 09:38:31 +0200
Eto kakvo pishe v Documents\Changes:
----
If you are not using devfs, you must have the device file /dev/ppp
which can be made by:
mknod /dev/ppp c 108 0
as root.
If you build ppp support as modules, you will need the following in
your /etc/modules.conf file:
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
If you use devfsd and build ppp support as modules, you will need
the following in your /etc/devfsd.conf file:
-----
Predpolagam che si pusnal devfsd i problema ti e samo s negovata conf.
Osven tova ako ne si - mozebi serijniqt ti port veche ne e /dev/ttyS0
ami /dev/tts/0
-------------------------------------------------------------
ProSyst Bulgaria Valentin Pavlov
44 D. Hadjikocev Street Team Leader/Programmer
Sofia 1407, Bulgaria Dept: mBedded Server
http://www.prosyst.bg/ Phone: +359 02 (9631394) 223
-------------------------------------------------------------
Leading Software Technology for Open Service Gateways
----- Original Message -----
From: "Valery Dachev" <v.dachev@xxxxxxxx>
To: "LUG-BG" <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, January 23, 2001 7:36 PM
Subject: lug-bg: linux-2.4.0 & ppp-2.4.0
> Hiya,
> Ta, znachi, kompilirah si az linux-2.4.0 - wsichko na 6, greshka
> nqma. Samo che se okaza, che iska ppp pone 2.4.0. Ta kompilirah si go az,
> ama dawa nqkakwa dosadna greshka, zaradi koqto ne move da se connect
> wyobshte:
> Couldn't set tty to PPP discipline: Invalid argument
> Kodyt, kydeto se poluchawa towa e w sys-linux.c:
>
> --- cut --- cut --- cut --- cut ---
> #ifndef N_SYNC_PPP
> #define N_SYNC_PPP 14
> #endif
> ppp_disc = (new_style_driver && sync_serial)? N_SYNC_PPP: N_PPP;
> if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
> if ( ! ok_error (errno) ) {
> error("Couldn't set tty to PPP discipline: %m");
> return -1;
> }
> }
> --- cut --- cut --- cut --- cut ---
>
> Symnqwam se razrabotchicite da sa propusnali neshto - po-weroqtno az da
> sym go naprawil tozi nomer. Na dali ima neshto obshto s devfs-a kojto sym
> kompiliral, tyj kato wyprosnata devfs fajlowa sistema se mount w druga
> direktoriq i na dali otwarq device ottam. A i predi towa ima nqkolko
> uspeshni ioctl()-i predi towa. W dokumentaciqta, estestweno, nishto ne
> namerih. Nqkakwi idei ?
>
> . . . . . . . . .
> Windows is like a flower - it smells good, it looks beautiful ...
> ... but it SUCKS ! Best regards, Valery Dachev
> .........................................................................
> : User ID : Valery Dachev <v.dachev@xxxxxxxx> :
> : Homepage : http://valery.zonebg.com/ :
> : PGP Key ID : 1024D/1C4C9712 (DSA) :
> : Fingerprint : C451 0CC8 8EB4 655C D7C8 9D7F DCE9 C14E 1C4C 9712 :
> :..............:........................................................:
> : Organization : Bulgarian GNU/Linux Society <info@xxxxxxxxxxxxxxxx> :
> : Homepage : http://linux.zonebg.com :
> :..............:........................................................:
>
> ==================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
>
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|