RE: setting dial-in server
Hi Chris, Many thanks for your instruction. Jhun At 11:10 AM 3/24/03 +0100, you wrote: Hi Jhun, Yes, Red Hat supports ppp very well, similar to that offered by Windows RAS, but with many more granular options. 1) install mgetty and ppp from your linux distribition 2) add the following entries in /etc/inittab (this assumes two modems - on ttyS0 (com1) and ttyS1 (com2) d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul this will respawn mgetty if it dies. 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line concerning AutoPPP (remember it is case sensitive -- AutoPPP) /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options this line tells mgetty to execute the ppp daemon with options cotained in /etc/ppp/dialin-options 4) create /etc/ppp/dialin-options +chap asyncmap 0 10.1.1.254:10.1.1.1 ipcp-accept-remote #ipcp-accept-local ipparam dialin linkname dialin #kdebug 7 #debug logfile /var/log/ppp.dialin ms-dns 172.16.3.9 ms-wins 172.16.3.9 these are my options, some are remarked out, and you'll need to decide which ones you want and change ip addresses accordingly. check out the man page for pppd, it has all the options listed with their various meanings. 5) edit /etc/modules.conf and add the lines alias /dev/ppp ppp_generic alias char-major-108 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 this should get the compression scheme right with the kernel screaming. 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of dialin users. note that chap is more secure than pap -- my configuration includes only support for chap (the chap+) in dialin options. Reboot and give it a try. Voila! Cheers Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] --nothing is too difficult once you completely understand it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala Sent: Monday, March 24, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: setting dial-in server Hi, I'm planning of putting up a dial-in server in our office. My purpose for this is for me to be able to dial-up to that server and be connected to our server. Just like RAS. Anybody here that guide me on how to set it up? I was planning of using Redhat 8.0. TIA Jhun Bacala -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: setting dial-in server
Mark Olliver wrote: Hi I'm looking to do console redirection via modem, from all the way from boot to a fully running system, to allow for better remote management control. (ie. to allow me to take the machine to single user mode from home) Assuming that you are dealing with x86 based hardware, The part "all the way from boot to a fully running system" is where you will have an issue with anything but either: a. A server that supports a console on the serial port in the BIOS, many HP/Compaq, Dell and IBM servers support this (even in x86 arch) b. A PCI card that intercepts the Keyboard/Mouse/Video and translates it into either a serial port or access via a Java App, a Web Browser or a binary client app, (kind of like VNC) c. A KVM that supports remote access via a Java App, a Web Browser with Java, or a special client software package You can do either. Option "A" requires a server with the right BIOS, Option "B" requires a special PCI card and will only work with machines where the keyboard, video, and mouse bios are on the same PCI bus that the add on card is on. If you only have one server to manage then option B is probably the cheapest way to go. If you haven't bought any server yet, then you probably want to buy a good server (I personally recommend a Dell). If you have many servers you will wan't to use a KVM switch with remote access. Look at these: KVM <-> IP http://www.raritan.com/public/catalog/buildingblock_landing.aspx?bbid=3 Remote Access PCI card: http://ftp.us.dell.com/app/2q02-Bel.pdf Newer servers (both compaq/hp and dell and IBM) have a Remote Access PCI card built into the mother board. -Ben. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: setting dial-in server
Hi Mark, I see -- I think that the operative term is "remote management" -- I have a couple of Dell servers with remote management cards that allow for console redirection. this is pobably the most elegant and expensive option :-) although maybe others could comment if there are cards available at resaonable prices. Mine is built in and tied into bios allowing full remote control including bios modification. The issue becomes security, because if you have no means of securing the dial-in (a user authuntification sheme) then anyone with your modem number gets directly to a su console -- a horrible thought. I think that you could try to play with mingetty and a modem, but I have never done so. Please do post back if find a good solution. Cheers Christopher CUSE RHCE/CCNA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Olliver Sent: Tuesday, March 25, 2003 2:46 PM To: [EMAIL PROTECTED] Subject: RE: setting dial-in server Hi I'm looking to do console redirection via modem, from all the way from boot to a fully running system, to allow for better remote management control. (ie. to allow me to take the machine to single user mode from home) Thanks Mark -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: setting dial-in server
Hi I'm looking to do console redirection via modem, from all the way from boot to a fully running system, to allow for better remote management control. (ie. to allow me to take the machine to single user mode from home) Thanks Mark On Mon, 2003-03-24 at 11:53, christopher cuse wrote: > Hi Mark, > > Could you more fully explain what is it is that you would like to do -- I am > not sure I understand what your looking for ... > > Cheers > > Christopher CUSE > RHCE/CCNA > [EMAIL PROTECTED] > > --nothing is too difficult once you completely understand it. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mark Olliver > Sent: Monday, March 24, 2003 12:11 PM > To: [EMAIL PROTECTED] > Subject: RE: setting dial-in server > > > Hi > > I saw this post, and I am wondering, what would i do different to get > full console redirection via modem, preferably from boot up. Again using > redhat 8. > > Thanks > > Mark > > On Mon, 2003-03-24 at 10:10, christopher cuse wrote: > > Hi Jhun, > > > > Yes, Red Hat supports ppp very well, similar to that offered by Windows > RAS, > > but with many more granular options. > > > > 1) install mgetty and ppp from your linux distribition > > > > 2) add the following entries in /etc/inittab (this assumes two modems - on > > ttyS0 (com1) and ttyS1 (com2) > > > > d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul > > d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul > > > > this will respawn mgetty if it dies. > > > > 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line > > concerning AutoPPP (remember it is case sensitive -- AutoPPP) > > /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options > > > > this line tells mgetty to execute the ppp daemon with options cotained in > > /etc/ppp/dialin-options > > > > 4) create /etc/ppp/dialin-options > > +chap > > asyncmap 0 > > 10.1.1.254:10.1.1.1 > > ipcp-accept-remote > > #ipcp-accept-local > > ipparam dialin > > linkname dialin > > #kdebug 7 > > #debug > > logfile /var/log/ppp.dialin > > ms-dns 172.16.3.9 > > ms-wins 172.16.3.9 > > > > these are my options, some are remarked out, and you'll need to decide > which > > ones you want and change ip addresses accordingly. check out the man page > > for pppd, it has all the options listed with their various meanings. > > > > 5) edit /etc/modules.conf and add the lines > > alias /dev/ppp ppp_generic > > alias char-major-108 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 > > > > this should get the compression scheme right with the kernel screaming. > > > > 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of > > dialin users. note that chap is more secure than pap -- my configuration > > includes only support for chap (the chap+) in dialin options. > > > > > > Reboot and give it a try. > > > > Voila! > > > > Cheers > > > > Christopher CUSE > > RHCE/CCNA > > [EMAIL PROTECTED] > > > > --nothing is too difficult once you completely understand it. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala > > Sent: Monday, March 24, 2003 10:05 AM > > To: [EMAIL PROTECTED] > > Subject: setting dial-in server > > > > > > Hi, > > > > I'm planning of putting up a dial-in server in our office. My purpose for > > this is for me to be able to dial-up to that server and be > > connected to our server. Just like RAS. Anybody here that guide me on how > > to set it up? I was planning of using Redhat 8.0. > > > > TIA > > > > Jhun Bacala > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > signature.asc Description: This is a digitally signed message part
Re: setting dial-in server
Hi, There's a couple of ways you can do this but generally speaking, if you're only to have one dialup server, use mgetty, if you're going to need redundancy and multiple dialup servers, use portslave, radiusclient and freeradius. Michael. --- Jhun Bacala <[EMAIL PROTECTED]> wrote: > Hi, > > I'm planning of putting up a dial-in server in our > office. My purpose for > this is for me to be able to dial-up to that server > and be > connected to our server. Just like RAS. Anybody here > that guide me on how > to set it up? I was planning of using Redhat 8.0. > > TIA > > Jhun Bacala > > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: setting dial-in server
Hi Mark, Could you more fully explain what is it is that you would like to do -- I am not sure I understand what your looking for ... Cheers Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] --nothing is too difficult once you completely understand it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Olliver Sent: Monday, March 24, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: RE: setting dial-in server Hi I saw this post, and I am wondering, what would i do different to get full console redirection via modem, preferably from boot up. Again using redhat 8. Thanks Mark On Mon, 2003-03-24 at 10:10, christopher cuse wrote: > Hi Jhun, > > Yes, Red Hat supports ppp very well, similar to that offered by Windows RAS, > but with many more granular options. > > 1) install mgetty and ppp from your linux distribition > > 2) add the following entries in /etc/inittab (this assumes two modems - on > ttyS0 (com1) and ttyS1 (com2) > > d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul > d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul > > this will respawn mgetty if it dies. > > 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line > concerning AutoPPP (remember it is case sensitive -- AutoPPP) > /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options > > this line tells mgetty to execute the ppp daemon with options cotained in > /etc/ppp/dialin-options > > 4) create /etc/ppp/dialin-options > +chap > asyncmap 0 > 10.1.1.254:10.1.1.1 > ipcp-accept-remote > #ipcp-accept-local > ipparam dialin > linkname dialin > #kdebug 7 > #debug > logfile /var/log/ppp.dialin > ms-dns 172.16.3.9 > ms-wins 172.16.3.9 > > these are my options, some are remarked out, and you'll need to decide which > ones you want and change ip addresses accordingly. check out the man page > for pppd, it has all the options listed with their various meanings. > > 5) edit /etc/modules.conf and add the lines > alias /dev/ppp ppp_generic > alias char-major-108 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 > > this should get the compression scheme right with the kernel screaming. > > 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of > dialin users. note that chap is more secure than pap -- my configuration > includes only support for chap (the chap+) in dialin options. > > > Reboot and give it a try. > > Voila! > > Cheers > > Christopher CUSE > RHCE/CCNA > [EMAIL PROTECTED] > > --nothing is too difficult once you completely understand it. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala > Sent: Monday, March 24, 2003 10:05 AM > To: [EMAIL PROTECTED] > Subject: setting dial-in server > > > Hi, > > I'm planning of putting up a dial-in server in our office. My purpose for > this is for me to be able to dial-up to that server and be > connected to our server. Just like RAS. Anybody here that guide me on how > to set it up? I was planning of using Redhat 8.0. > > TIA > > Jhun Bacala > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: setting dial-in server
Hi I saw this post, and I am wondering, what would i do different to get full console redirection via modem, preferably from boot up. Again using redhat 8. Thanks Mark On Mon, 2003-03-24 at 10:10, christopher cuse wrote: > Hi Jhun, > > Yes, Red Hat supports ppp very well, similar to that offered by Windows RAS, > but with many more granular options. > > 1) install mgetty and ppp from your linux distribition > > 2) add the following entries in /etc/inittab (this assumes two modems - on > ttyS0 (com1) and ttyS1 (com2) > > d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul > d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul > > this will respawn mgetty if it dies. > > 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line > concerning AutoPPP (remember it is case sensitive -- AutoPPP) > /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options > > this line tells mgetty to execute the ppp daemon with options cotained in > /etc/ppp/dialin-options > > 4) create /etc/ppp/dialin-options > +chap > asyncmap 0 > 10.1.1.254:10.1.1.1 > ipcp-accept-remote > #ipcp-accept-local > ipparam dialin > linkname dialin > #kdebug 7 > #debug > logfile /var/log/ppp.dialin > ms-dns 172.16.3.9 > ms-wins 172.16.3.9 > > these are my options, some are remarked out, and you'll need to decide which > ones you want and change ip addresses accordingly. check out the man page > for pppd, it has all the options listed with their various meanings. > > 5) edit /etc/modules.conf and add the lines > alias /dev/ppp ppp_generic > alias char-major-108 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 > > this should get the compression scheme right with the kernel screaming. > > 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of > dialin users. note that chap is more secure than pap -- my configuration > includes only support for chap (the chap+) in dialin options. > > > Reboot and give it a try. > > Voila! > > Cheers > > Christopher CUSE > RHCE/CCNA > [EMAIL PROTECTED] > > --nothing is too difficult once you completely understand it. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala > Sent: Monday, March 24, 2003 10:05 AM > To: [EMAIL PROTECTED] > Subject: setting dial-in server > > > Hi, > > I'm planning of putting up a dial-in server in our office. My purpose for > this is for me to be able to dial-up to that server and be > connected to our server. Just like RAS. Anybody here that guide me on how > to set it up? I was planning of using Redhat 8.0. > > TIA > > Jhun Bacala > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > signature.asc Description: This is a digitally signed message part
RE: setting dial-in server
Hi Jhun, Yes, Red Hat supports ppp very well, similar to that offered by Windows RAS, but with many more granular options. 1) install mgetty and ppp from your linux distribition 2) add the following entries in /etc/inittab (this assumes two modems - on ttyS0 (com1) and ttyS1 (com2) d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul this will respawn mgetty if it dies. 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line concerning AutoPPP (remember it is case sensitive -- AutoPPP) /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options this line tells mgetty to execute the ppp daemon with options cotained in /etc/ppp/dialin-options 4) create /etc/ppp/dialin-options +chap asyncmap 0 10.1.1.254:10.1.1.1 ipcp-accept-remote #ipcp-accept-local ipparam dialin linkname dialin #kdebug 7 #debug logfile /var/log/ppp.dialin ms-dns 172.16.3.9 ms-wins 172.16.3.9 these are my options, some are remarked out, and you'll need to decide which ones you want and change ip addresses accordingly. check out the man page for pppd, it has all the options listed with their various meanings. 5) edit /etc/modules.conf and add the lines alias /dev/ppp ppp_generic alias char-major-108 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 this should get the compression scheme right with the kernel screaming. 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of dialin users. note that chap is more secure than pap -- my configuration includes only support for chap (the chap+) in dialin options. Reboot and give it a try. Voila! Cheers Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] --nothing is too difficult once you completely understand it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala Sent: Monday, March 24, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: setting dial-in server Hi, I'm planning of putting up a dial-in server in our office. My purpose for this is for me to be able to dial-up to that server and be connected to our server. Just like RAS. Anybody here that guide me on how to set it up? I was planning of using Redhat 8.0. TIA Jhun Bacala -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list