Re: [gentoo-user] where is /dev/ttyS* ?

2006-04-21 Thread Farhan Ahmed
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_comp5952  0 
 ppp_generic26484  3
 ppp_async,ppp_deflate,bsd_comp
 slhc6912  1 ppp_generic
 rtc14452  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


Re: [gentoo-user] where is /dev/ttyS* ?

2006-04-21 Thread Alan E. Davis
I don't know whether this is off or on topic, but I noticed that my
modem was assigned to a different ttySX w/ 2.6.16.  I ran wvdialconf
again, which identified the new /dev/ name, and it has worked
flawlessly since.  2.6.X kernels have given me, at least, fits over
/dev/ttySX.  The /dev/ttyS device nodes are attached to /dev/tts/X .

I don't know whether any of this is valid for anyone else or not. 
Perhaps it's something idiosyncratic about my setup.

Alan

On 4/21/06, Farhan Ahmed [EMAIL PROTECTED] wrote:
 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_comp5952  0
  ppp_generic26484  3
  ppp_async,ppp_deflate,bsd_comp
  slhc6912  1 ppp_generic
  rtc14452  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)




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] where is /dev/ttyS* ?

2006-04-20 Thread maxim wexler
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.

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

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.

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_comp5952  0 
ppp_generic26484  3
ppp_async,ppp_deflate,bsd_comp
slhc6912  1 ppp_generic
rtc14452  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.

So, I'm stuck

-mw

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list