maxim wexler wrote: > Hello everybody, > > When I try to dialup the 'net on a fresh 2.6.16 > install I get: > > #pon <isp> > /usr/sbin/pppd: In file /etc/peers/hd: unrecognized > option '/dev/ttyS0' > > Sure enough, there's no such file, just /dev/tty, 0, 1 > ... On my 2.6.12 and 2.6.15 boxen /dev/ttyS0 is a > sym-link to tts/0 and I can dial out no problem. On > the 2.6.16 box ls /dev/tty* just reveals a numerical, > unlinked list. /dev/ttyS* no longer exists.
Hi,
I suppose you've connected your modem to a serial port (COMx
under windows, /dev/ttySx under linux). /dev/ttyx is a terminal, i dont
think modem is that device. Why dont you create a sym-link /dev/ttySx
to /dev/tts/x?
>
> Here's what pppconfig wrote(identical on all my PCs):
>
> sarawak heathen # cat /etc/ppp/peers/hd
> # This optionfile was generated by pppconfig 2.3.10.
> #
> #
> hide-password
> noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/hd"
> debug
> /dev/ttyS0
> 115200
> defaultroute
> noipdefault
> user "[EMAIL PROTECTED]"
> remotename hd
> ipparam hd
Well learn to substitue a nonsence id for your real id (something like
xyz will do) when posting your config's.
>
> As it stands now I can dial out from the 2.6.16 box
> only if I boot the install-cd and copy over from
> another drive my ppp config files and use the pppd
> that comes with the install-cd. And *it* uses
> /dev/ttyS0. If I try to go with /dev/tty or /dev/tty0
> on the fresh install without benefit of install-cd,
> nothing happens -- no error on the console or the
> logs, no dialtone, nothing.
Again /dev/ttyx is a terminal, u can check that by doing
'echo "hi" >> /dev/tty1'
as root. You'll see 'hi' being printed in tty1. A dialup modem usually
connects to the serial port (i.e., /dev/ttyS0). If this device does not
exist create a symlink to tts/0.
>
> Yes, I did mknod /dev/ppp c 108 0
>
> and here's lsmod copied over from the 2.6.16 box.
>
> [EMAIL PROTECTED] ~ $ cat /floppy/lsmod
> Module Size Used by
> ppp_async 11840 0
> crc_ccitt 1952 1 ppp_async
> ppp_deflate 6176 0
> zlib_deflate 21528 1 ppp_deflate
> zlib_inflate 17440 1 ppp_deflate
> bsd_comp 5952 0
> ppp_generic 26484 3
> ppp_async,ppp_deflate,bsd_comp
> slhc 6912 1 ppp_generic
> rtc 14452 0
> usbcore 148804 1
> unix 29712 4
>
> I'm using ppp-2.4.3-r14. When I emerged it I was told
> that I must
>
> emerge -u '>=sys-apps/baselayout-1.12.0_pre11'
>
> as well as add bsd_comp and ppp_deflate to my kernel
> config. Both of which I did.
Have you compiled serial port support in your new kernel?
Hope this helps,
Farhan Ahmed
--
Place : Bangalore, Karnataka, India
GPG Key : 8BE90E98
WengoPhone ID : farhanahmed
IRC Nick : farhanahmed / farhanahmed06 (irc.freenode.net)
pgpHPgqSKu8Ro.pgp
Description: PGP signature

