Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ptys /dev not creating etc..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eosix
n00b
n00b


Joined: 14 Mar 2003
Posts: 1

PostPosted: Fri Mar 14, 2003 4:01 am    Post subject: ptys /dev not creating etc.. Reply with quote

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
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Sat Mar 15, 2003 7:11 pm    Post subject: Reply with quote

This is a dup of this thread: https://forums.gentoo.org/viewtopic.php?t=38780.
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Mon Mar 17, 2003 6:24 am    Post subject: MAKEDEV Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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