View previous topic :: View next topic |
Author |
Message |
eosix n00b

Joined: 14 Mar 2003 Posts: 1
|
Posted: Fri Mar 14, 2003 4:01 am Post subject: ptys /dev not creating etc.. |
|
|
hey folks, sorry if this has been hashed somewhere. I didn't see it and frankly am unfamiliar with how the /dev system works as a whole. I did a restore of my gentoo system (using mondo-archive) and it seemed to not restore my /dev/ptys/ entries. These appear dynamically created, I'm not totally sure. The issue is, if I run sshd, it runs but when I log in now, it trys to createpty and then my login session just freezes. If I run telnetd, it just says all available ports are in use. I've also had problems with xterms too but I went to a known good gentoo box and tar'd up the ptys and used those. That seemed to mitigate that problem (so far) but ssh doesn't work. I'm trying to use this for an rmon server on a high speed network but I can't ssh in. What I was wondering was, how does the pty's get created? I'm not sure how gentoo, or linux for the most part does this. I know vc's use getty of some sort and that works just fine.
But I don't know what creates the pty's. I'm sorry if this is a lame question. I'd ask the mondo folks but really I'd like to see how its done from a gentoo perspective anyways. I have quite a few of them running now in production
Any help will be appreciated. Thanks - eo |
|
Back to top |
|
 |
fifo Guru


Joined: 14 Jan 2003 Posts: 437
|
|
Back to top |
|
 |
tgoodaire Tux's lil' helper


Joined: 31 Jan 2003 Posts: 145 Location: Dartmouth, Nova Scotia, Canada
|
Posted: Mon Mar 17, 2003 6:24 am Post subject: MAKEDEV |
|
|
Hi there,
I believe that the /dev entries are created at some point during emerge system. There is actually a script called MAKEDEV that you can download from here:
http://ftp.no.linuxfromscratch.org/lfs-packages/4.0/MAKEDEV-1.7.bz2
that will assist you in restoring your missing entries.
Copy it to /dev, cd /dev, bunzip2 MAKEDEV-1.7.bz2, chmod 754 MAKEDEV, ./MAKEDEV -v generic
This should create all the missing entries for you. _________________ I bent my wookie. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|