Re: RE forward eth0 to ppp0
For that you need to setup NAT, masquerading. For this you need to setup iptables. This is actually a good thing to do when you connect to the internet, anyway. You cannot use ordinary routing because 10.2.0.0 will never propagate over most Internet routers because that is in one of several reserved address spaces for private networks. You can learn about iptables at http://www.netfilter.org/ and you can lean about masquerading at http://ipmasq.cjb.net/. The latter address has some example iptables scripts that should get you going with minimal effort. {^_^} - Original Message - From: "auzie morgan" <[EMAIL PROTECTED]> > Any one have a strait forward suggestion on forwarding all 10.2.0.0 eth0 > incoming traffic to a ppp0 gateway? I have ipv.forward = 1 that wasn't > enough.. I could swear with two eth's this is fairly simple.. static > routes file doesn't get it as the dev ppp0 does not exist when the net > starts.. adding a static route almost got it, but then it fragmented and > stoped routing.. apache Proxy keeps getting stuck over read permissions > on sites like yahoo.. so I really would rather setup a caching dns and > route so that systems in the lan can route through the system with the > modem connect .. its a ptp connection.. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: rp-pppoe and firewall scripts
From: "Wolfgang Rapp" <[EMAIL PROTECTED]> > The question is - adsl-start and adsl-connect call the firewall scripts > in /etc/ppp and these are using ipchains. > Do adsl-setupt modify the iptables also. So is my version of rp-pppoe to > old or do I have remove the calls to /etc/ppp/firewall.xxx in > adsl-connect because these scripts are out of date if the iptables are > modified by adsl-setup the correct way. It is easy to get iptables scripts to adapt. I call mine from the "ip-up.local" script in /etc/ppp. I picked up my basic script from the IP Masquerade resource site, http://ipmasq.cjb.net/. I made some modifications for specific needs here. But most people can use either of their scripts pretty much right out of the box. {^_^} -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: rp-pppoe and firewall scripts
On Wed, 12 Feb 2003, Wolfgang Rapp wrote: > The question is - adsl-start and adsl-connect call the firewall scripts > in /etc/ppp and these are using ipchains. > Do adsl-setupt modify the iptables also. So is my version of rp-pppoe to > old or do I have remove the calls to /etc/ppp/firewall.xxx in > adsl-connect because these scripts are out of date if the iptables are > modified by adsl-setup the correct way. You're right. I was confused, I already set it up with RH72 (where the rp-pppoe was broken), and completely forgot how it worked. Yes, rp-pppoe uses ipchains. So, I did: iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE iptables-save >/etc/sysconfig/iptables Though it was already posted before, but for sake of completeness, you need to enable ip forwarding in /etc/sysctl.conf: net.ipv4.ip_forward = 1 This should get you running. Cheers, Michael -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Special Club
Thanks for the replies...here is what I have. After installing RH8, I could not boot further than INIT: 2.84 booting... Someone suggested that I add the following line to the kernel line of grub.conf: apm=off_threshold=100 This worked great, however when I try and shutdown it seems to close most processes but it won't go further than: POWER DOWN Can anyone help? Regards Scott -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
bind: Setting up DNS on a small home network
Hello all, Does anyone know of any good documentation for installing and configuring bind on RH 8.0 for a small home network. I have setup DHCP successfully, so I am not completely green, but the DNS configuration looks like greek to me. Any info would be appreciated. Thanx Emil -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: RE forward eth0 to ppp0
Ahh yes I know of that method was reading about it, tripy though with dual nics and two nets you just need ip forwarding. KO Thanks for the assurance, Ill give it a twirl and post it on the list / my website.. www.auzievision.com (a redhat 8.0 postnuke site that I play with) On Wed, 2003-02-12 at 00:19, jdow wrote: > For that you need to setup NAT, masquerading. For this you need to setup > iptables. This is actually a good thing to do when you connect to the > internet, anyway. You cannot use ordinary routing because 10.2.0.0 will > never propagate over most Internet routers because that is in one of several > reserved address spaces for private networks. > > You can learn about iptables at http://www.netfilter.org/ and you can lean > about masquerading at http://ipmasq.cjb.net/. The latter address has some > example iptables scripts that should get you going with minimal effort. > > {^_^} > - Original Message - > From: "auzie morgan" <[EMAIL PROTECTED]> > > > > Any one have a strait forward suggestion on forwarding all 10.2.0.0 eth0 > > incoming traffic to a ppp0 gateway? I have ipv.forward = 1 that wasn't > > enough.. I could swear with two eth's this is fairly simple.. static > > routes file doesn't get it as the dev ppp0 does not exist when the net > > starts.. adding a static route almost got it, but then it fragmented and > > stoped routing.. apache Proxy keeps getting stuck over read permissions > > on sites like yahoo.. so I really would rather setup a caching dns and > > route so that systems in the lan can route through the system with the > > modem connect .. its a ptp connection.. > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: bind: Setting up DNS on a small home network
You could use webmin to configure your DNS Patrick Op wo 12-02-2003, om 14:58 schreef Diego, Emil: > Hello all, > > Does anyone know of any good documentation for installing and > configuring bind on RH 8.0 for a small home network. I have setup DHCP > successfully, so I am not completely green, but the DNS configuration looks > like greek to me. Any info would be appreciated. > > Thanx > > Emil -- Knowledge in a databank,is like food which is in a deepfreeze. Nothing comes out better than what is initially put in. PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Registered Linux User #44550 http://counter.li.org signature.asc Description: Dit berichtdeel is digitaal gesigneerd
Re: hex to Ascii converter program
On Tue, 2003-02-11 at 17:17, Stephen Mah wrote: > I'm looking for a command line program that converts between ascii and > hex and vice versa. I think you might be looking for hexedit. or others like it. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Special Club
On Tue, 2003-02-11 at 13:07, Scott Taylor wrote: > I'm curious...do you have to be in some special club to get your email posts >answered. > I dont know how to solve your problem, sorry, but 1. You either must be subscribed to the mailing list (much traffic) or have stated that you were not on the list, otherwise nobody would know. 2. try and send only non-html mail. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: hex to Ascii converter program
On Tue, Feb 11, 2003 at 03:17:57PM -0800, Stephen Mah wrote: > I'm looking for a command line program that converts between ascii and > hex and vice versa. 'hexdump' would be the command of your choice... -Marcel -- == Marcel J.E. MolMESA Consulting B.V. ===-ph. +31-(0)6-54724868 P.O. Box 112 ===-[EMAIL PROTECTED] 2630 AC Nootdorp __ www.mesa.nl ---U_n_i_x__I_n_t_e_r_n_e_t The Netherlands They couldn't think of a number, Linux user 1148 -- counter.li.org so they gave me a name! -- Rupert Hine -- www.ruperthine.com -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Setting up DNS on a small home network
here !!! http://www.ibiblio.org/pub/Linux/docs/HOWTO/DNS-HOWTO there's a very good howto ... this doc show how setup dns (bind) v9 - only cache - primary dns server - slave dns server - security tips ... and more... see ya! - Original Message - From: "Diego, Emil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 10:58 AM Subject: bind: Setting up DNS on a small home network > Does anyone know of any good documentation for installing and > configuring bind on RH 8.0 for a small home network. I have setup DHCP > successfully, so I am not completely green, but the DNS configuration looks > like greek to me. Any info would be appreciated. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: RE forward eth0 to ppp0
I posted an example for all this in my forum.. http://www.auzievision.com/modules.php?op=modload&name=XForum&file=viewthread&tid=15 feel free to drop by n comment etc. thanks for the direction.. worked great, though not a newbee compatable method,, it works .. Next Ill link my notebook via adhock wireless and later bluetooth to this gateway. :) Lates all.. PS: Should I build up a mirror of our threads in my xforum? Ive been thinking of it.. maybe even doing a mailbox script that auto maps the psyche mail into a psyche forum? Ny hoo cool... On Wed, 2003-02-12 at 00:19, jdow wrote: > For that you need to setup NAT, masquerading. For this you need to setup > iptables. This is actually a good thing to do when you connect to the > internet, anyway. You cannot use ordinary routing because 10.2.0.0 will > never propagate over most Internet routers because that is in one of several > reserved address spaces for private networks. > > You can learn about iptables at http://www.netfilter.org/ and you can lean > about masquerading at http://ipmasq.cjb.net/. The latter address has some > example iptables scripts that should get you going with minimal effort. > > {^_^} > - Original Message - > From: "auzie morgan" <[EMAIL PROTECTED]> > > > > Any one have a strait forward suggestion on forwarding all 10.2.0.0 eth0 > > incoming traffic to a ppp0 gateway? I have ipv.forward = 1 that wasn't > > enough.. I could swear with two eth's this is fairly simple.. static > > routes file doesn't get it as the dev ppp0 does not exist when the net > > starts.. adding a static route almost got it, but then it fragmented and > > stoped routing.. apache Proxy keeps getting stuck over read permissions > > on sites like yahoo.. so I really would rather setup a caching dns and > > route so that systems in the lan can route through the system with the > > modem connect .. its a ptp connection.. > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: environment variable
-- Original Message --- From: Joe Klemmer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: 10 Feb 2003 17:48:48 -0500 Subject: Re: environment variable > On Mon, 2003-02-10 at 17:36, Jerry Roy wrote: > > > How do I permanently set an environment variable so it works across reboots? I have the command down, just don't know which is the correct file (.bashrc? .profile?) to place it in. Someone said there is a "Better" way. Please offer suggestions on writing the command. > > > > set $ICAClient:/test/icadir > > export $ICAClient > > If you only need this for your login put it in $HOME/.bash_profile. > But if it's needed by the system for every login you should put it in > /etc/profile. --- End of Original Message --- When should one use /etc/bashrc as opposed to /etc/profile? Not always sure which one in which to put system wide changes. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
sgi_fam libwrap messages
I am getting the following in the LogWatch for one of my computers. The number of this messages has been increasing. Should I be worried? Connections: Service sgi_fam: : 125 Time(s) **Unmatched Entries** xinetd[1084]: FAIL: sgi_fam libwrap from= xinetd[1085]: FAIL: sgi_fam libwrap from= xinetd[1086]: FAIL: sgi_fam libwrap from= xinetd[1087]: FAIL: sgi_fam libwrap from= xinetd[1088]: FAIL: sgi_fam libwrap from= xinetd[1089]: FAIL: sgi_fam libwrap from= xinetd[1090]: FAIL: sgi_fam libwrap from= xinetd[1091]: FAIL: sgi_fam libwrap from= xinetd[1092]: FAIL: sgi_fam libwrap from= xinetd[1093]: FAIL: sgi_fam libwrap from= xinetd[1094]: FAIL: sgi_fam libwrap from= xinetd[1095]: FAIL: sgi_fam libwrap from= xinetd[1096]: FAIL: sgi_fam libwrap from= xinetd[1097]: FAIL: sgi_fam libwrap from= xinetd[1098]: FAIL: sgi_fam libwrap from= xinetd[1099]: FAIL: sgi_fam libwrap from= xinetd[1100]: FAIL: sgi_fam libwrap from= xinetd[1101]: FAIL: sgi_fam libwrap from= xinetd[1102]: FAIL: sgi_fam libwrap from= xinetd[1103]: FAIL: sgi_fam libwrap from= xinetd[1104]: FAIL: sgi_fam libwrap from= xinetd[1105]: FAIL: sgi_fam libwrap from= xinetd[1106]: FAIL: sgi_fam libwrap from= xinetd[1107]: FAIL: sgi_fam libwrap from= xinetd[1108]: FAIL: sgi_fam libwrap from= xinetd[647]: FAIL: sgi_fam connections per second from= -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: bind: Setting up DNS on a small home network
On Wednesday 12 February 2003 05:58, Diego, Emil uttered: > Does anyone know of any good documentation for installing and > configuring bind on RH 8.0 for a small home network. I have setup DHCP > successfully, so I am not completely green, but the DNS configuration looks > like greek to me. Any info would be appreciated. When in doubt, try Red Hat documentation. Works great for me. http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/ref-guide/ch-bind.html -- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (www.mondorescue.org) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
(no subject)
When the network is restarted I get a message at the end SIOCADDRT: File exists I haven't been able to get this machine to connect to the internet. There was 3 people that have been working on it it was fine for a while. But does anyone know what that my be and how to fix my problem. Thanks Brian
SIOCADDRT (network)
When the network is restarted I get a message at the end SIOCADDRT: File exists I haven't been able to get this machine to connect to the internet. There was 3 people that have been working on it it was fine for a while. But does anyone know what that my be and how to fix my problem. Thanks Brian
Re: SIOCADDRT (network)
On Wed, Feb 12, 2003 at 10:49:59AM -0500, Brian York wrote: > When the network is restarted I get a message at the end > SIOCADDRT: File exists A quick google search on "SIOCADDRT file exists" finds a bunch of hints and suggestions. Have you done this search and followed any of the suggestions? -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: environment variable
System wide environment variables should go in /etc/profile. System wide functions and aliases Should go in /etc/bashrc When should one use /etc/bashrc as opposed to /etc/profile? Not always sure which one in which to put system wide changes. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: sgi_fam libwrap messages
Am Mit, 2003-02-12 um 16.39 schrieb Margaret_Doll: > I am getting the following in the LogWatch for one of my computers. > The number of this messages has been increasing. > Should I be worried? **Unmatched Entries** xinetd[1084]: FAIL: sgi_fam libwrap from= xinetd[1085]: FAIL: sgi_fam libwrap from= Do you know what sgi_fam is? Have you read the manpage? Well, in short: sgi_fam is a file alteration monitor. It is used by applications like nautilus to check whether directories change or new email has arrived. So is is nothing nasty. Secondly if you look at xinetd configuration file covering sgi_fam (/etc/xinetd.d/sgi_fam) you will see that it is bound to localhost only. It is not accessable from the outside. So no danger here. The messages are probably popping up, because you entered "ALL:ALL" in /etc/hosts.deny. You might want to allow access to this service, so add a "sgi_fam: 127.0.0.1" to your /etc/hosts.allow. Cheers, Ralf -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: (no subject)
Am Mit, 2003-02-12 um 16.41 schrieb Brian York: > When the network is restarted I get a message at the end > SIOCADDRT: File exists > > I haven't been able to get this machine to connect to the internet. There > was 3 people that have been working on it it was fine for a while. But does > anyone know what that my be and how to fix my problem. > Sounds like the same interface or route is added twice. Print your network configuration: cat /etc/sysconfig/network cat /etc/sysconfig/network-scripts/ifcfg* Cheers, Ralf > Thanks > Brian -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Special Club
On Wed, 12 Feb 2003, Scott Taylor wrote: >After installing RH8, I could not boot further than > >INIT: 2.84 booting... > >Someone suggested that I add the following line to the kernel line of >grub.conf: > >apm=off_threshold=100 > >This worked great, however when I try and shutdown it seems to close >most processes but it won't go further than: > >POWER DOWN > What command are you using to "try and shutdown"? Oisin Feeley -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Special Club
I right click to logout from KDE, then choose System>Shutdown from log in screen Scott - Original Message - From: "Oisin C. Feeley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 3:45 PM Subject: Re: Special Club > > > On Wed, 12 Feb 2003, Scott Taylor wrote: > > >After installing RH8, I could not boot further than > > > >INIT: 2.84 booting... > > > >Someone suggested that I add the following line to the kernel line of > >grub.conf: > > > >apm=off_threshold=100 > > > >This worked great, however when I try and shutdown it seems to close > >most processes but it won't go further than: > > > >POWER DOWN > > > > What command are you using to "try and shutdown"? > > > Oisin Feeley > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
apt on RH8
can i install and configure apt to work with rh8 ... ?? exist any howto ?? wich server i'll use on apt config ?? the apt works like up2date ?? eg. when redhat release any update on rhn , this release will be available to apt too ?? thkz! ps: i used apt in the conectiva linux (brazilian distro rpm based) and it's works fine!! -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Special Club
--- Scott Taylor <[EMAIL PROTECTED]> wrote: > I right click to logout from KDE, then choose > System>Shutdown from log in > screen > > Scott You should post things like hardware specs, BIOS revision, etc. Most likely that your BIOS needs acpid to shutdown and turn itself off completely without you needing to hit the power switch or something along those lines. As for me, I'm not really that lazy, so if I really wanted my computer to turn off after it said power down, I would hit the switch, but my computers never turn off. In the future, it might help if you check out this FAQ before posting to the list: http://linux-bangalore.org/articles/smart-questions.php = Kevin C. McConnell --RHCE-- __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: apt on RH8
>From here: http://psyche.freshrpms.net/rpm.html?id=244 Regards "Sergio Durand" <[EMAIL PROTECTED]>@redhat.com con fecha 12/02/2003 05:55:20 p.m. Por favor, responda a [EMAIL PROTECTED] Enviado por: [EMAIL PROTECTED] Destinatarios: "Red Hat" <[EMAIL PROTECTED]> CC: Asunto: apt on RH8 can i install and configure apt to work with rh8 ... ?? exist any howto ?? wich server i'll use on apt config ?? the apt works like up2date ?? eg. when redhat release any update on rhn , this release will be available to apt too ?? thkz! ps: i used apt in the conectiva linux (brazilian distro rpm based) and it's works fine!! -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: apt on RH8
check out apt4rpm at freshrpm.net (outstanding site, thanks Matthias). There is also a SynAPTic rpm available there. As far as updating goes, as soon as the apt mirror is able to grab the updates, they are available via apt also. Shaun -Original Message- From: Sergio Durand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 11:25 AM To: Red Hat Subject: apt on RH8 can i install and configure apt to work with rh8 ... ?? exist any howto ?? wich server i'll use on apt config ?? the apt works like up2date ?? eg. when redhat release any update on rhn , this release will be available to apt too ?? thkz! ps: i used apt in the conectiva linux (brazilian distro rpm based) and it's works fine!! -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: (no subject)
Brian York IT, Servers and Operations Northen Kentucky Univ. 859-572-5121 AC 220 -Original Message- From: Ralf Spenneberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 11:08 AM To: [EMAIL PROTECTED] Subject: Re: (no subject) Am Mit, 2003-02-12 um 16.41 schrieb Brian York: > When the network is restarted I get a message at the end > SIOCADDRT: File exists > > I haven't been able to get this machine to connect to the internet. There nothing else has the gateway route entry in it. We have two servers NS3 and NS4. I copied the /etc/init.d/network file to NS3 (the one not working) and that didn't help. > was 3 people that have been working on it it was fine for a while. But no > anyone know what that my be and how to fix my problem. > Sounds like the same interface or route is added twice. Print your network configuration: cat /etc/sysconfig/network cat /etc/sysconfig/network-scripts/ifcfg* Cheers, Ralf > Thanks > Brian -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: environment variable
On Wed, 12 Feb 2003, Mike Vanecek wrote: => =>-- Original Message --- =>From: Joe Klemmer <[EMAIL PROTECTED]> =>To: [EMAIL PROTECTED] =>Sent: 10 Feb 2003 17:48:48 -0500 =>Subject: Re: environment variable => =>> On Mon, 2003-02-10 at 17:36, Jerry Roy wrote: =>> =>> > How do I permanently set an environment variable so it works across =>reboots? I have the command down, just don't know which is the correct file =>(.bashrc? .profile?) to place it in. Someone said there is a "Better" way. =>Please offer suggestions on writing the command. =>> > =>> > set $ICAClient:/test/icadir =>> > export $ICAClient =>> =>> If you only need this for your login put it in $HOME/.bash_profile. =>> But if it's needed by the system for every login you should put it in =>> /etc/profile. =>--- End of Original Message --- => =>When should one use /etc/bashrc as opposed to /etc/profile? Not always sure =>which one in which to put system wide changes. The .bash_profile runs when you first log in. It then sucks in the .bashrc. The .bashrc is sucked in automatically by subshells. So the answer is to put all of your environment variable definitions in the .bash_profile so they can be inherited by all of the subprocesses. The one exception to the rule is if you need to use rsh. Then be aware that remote jobs do *not* go through the .bash_profile and instead jut use the .bashrc. So what's a girl to do? Simple: Just check in your .bashrc to see if you're interactive by seeing if your PS1 variable is no set. If it is not set then just source in your section of your .bash_profile that sets those variable. Is that clear? -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zero. Listen to me! We are all- -individuals! What if this weren't a hypothetical question? steveo at syslang.net -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: (no subject)
> nothing else has the gateway route entry in it. We have two servers NS3 and > NS4. I copied the /etc/init.d/network file to NS3 (the one not working) and > that didn't help. Well, that file does not keep the network configuration. Post cat /etc/sysconfig/network cat /etc/sysconfig/network-scripts/ifcfg* cat /etc/sysconfig/static-routes and maybe we can help you Cheers, Ralf > > > was 3 people that have been working on it it was fine for a while. But no > > anyone know what that my be and how to fix my problem. > > > Sounds like the same interface or route is added twice. > Print your network configuration: > cat /etc/sysconfig/network > cat /etc/sysconfig/network-scripts/ifcfg* > > Cheers, > > Ralf > > Thanks > > Brian > -- > Ralf Spenneberg > > IPsec/PPTP Kernels for Red Hat Linux: > http://www.spenneberg.com/.net/.org/.de > Honeynet Project Mirror:http://honeynet.spenneberg.org > Snort Mirror: http://snort.spenneberg.org > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: ProxyPass with Apache
Hi, On Tue, Jan 28, 2003 at 12:22:41PM -0800, Raul Acevedo wrote: > I'm having problems setting up a very simple proxy with Apache. > Something seems to have changed between 1.x and the 2.0 in RedHat, > because I used to have this working. > > Anyway, on the firewall I have: > > > ... ServerName and other typical stuff here ... > ProxyPass /foo http://internal_server/foo > ProxyPassReverse /foo http://internal_server/foo > > > When I try http://firewall_machine/foo, I get a 403 error which shows up > in the error_log as "client denied by server configuration: > proxy:http://internal_server/foo";. ProxyPass works fine for me here... > I have tried: > > * Adding ProxyRequests On > > * Adding Order Allow,Deny Allow from all > > * Adding http://internal_server/foo> Order Allow,Deny > Allow from all You shouldn't need any of those. > None of these make a difference, though sometimes depending on the > variation I'll still get 403 but the error log will show "proxy: No > protocol handler was valid for the URL /foo. If you are using a DSO > version of mod_proxy, make sure the proxy submodules are included in the > configuration using LoadModule." (Yes, the LoadModule for proxy is > there.) Make sure your config has all the following lines (which the default does): LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_connect_module modules/mod_proxy_connect.so you'll get a 403 if you're missing mod_proxy_http and you try to reverse proxy to an HTTP site. Regards, joe -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: environment variable
On Wed, Feb 12, 2003 at 09:21:04AM -0600, Mike Vanecek wrote: > > -- Original Message --- > From: Joe Klemmer <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: 10 Feb 2003 17:48:48 -0500 > Subject: Re: environment variable > > > On Mon, 2003-02-10 at 17:36, Jerry Roy wrote: > > > > > How do I permanently set an environment variable so it works across > reboots? I have the command down, just don't know which is the correct file > (.bashrc? .profile?) to place it in. Someone said there is a "Better" way. > Please offer suggestions on writing the command. > > > > > > set $ICAClient:/test/icadir > > > export $ICAClient > > > > If you only need this for your login put it in $HOME/.bash_profile. > > But if it's needed by the system for every login you should put it in > > /etc/profile. > --- End of Original Message --- > If it is a really system wide variable, for example the name of the default PRINTER, it should go in /etc/profile...that is the place. Probably won't help if you use tcsh though... -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
still installing 8.0 on HP Kayak
So, many interesting events have transpired since we last discussed this: 1. I'm trying to install RedHat 8.0 on an HP Kayak 2. Kayak's configuration 2 500mhz Pent. III's 3 SCSI hard drives (no RAID card) 512 meg of RAM 3. I've learned how to get the kernel to see both CPU's (thanks!) 4. I've tried an install of WinBlows 2000 Professional it found both CPU's and all three hard drives it (correctly) found no RAID controller 5. From 4, above, I've concluded that there are not hardware/BOIS problems 6. The Red Hat install only found one of the SCSI hard drives, even though it loaded the proper SCSI driver without displaying any error messages 7.After trying to get Red Hat 8.0 installed the system hangs with what I believe is a POST message: "error loading operating system" Any ideas? Thanks in advance, Steve -- Steve Strong Computer Science Teacher Washington High School 2205 Forest Dr. SE Cedar Rapids, Iowa 52403 phone: 319-398-2161 email: [EMAIL PROTECTED] web: http://crwash.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
ppp0 internet
I have dsl cablemodem connected to eth1=66.x.x.x and lan eth0=10.0.0.1. When I dial-in=ppp0 I am able to connect to the linux box do whaterver...excecpt connect to the internet or other machines on the 10.0.0.0 network. Does anyone have a solution? I have no route anywhere else except to the machine I am dialed into. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: still installing 8.0 on HP Kayak
maybe boot loader problem ... create a lilo bootable disk (have this option in finish instalation) and boot from this disk ... i had a seems problem (in another dist) ... see ya - Original Message - From: "Steve Strong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 2:41 PM Subject: still installing 8.0 on HP Kayak > So, many interesting events have transpired since we last discussed > this: > > 1. I'm trying to install RedHat 8.0 on an HP Kayak > 2. Kayak's configuration > 2 500mhz Pent. III's > 3 SCSI hard drives (no RAID card) > 512 meg of RAM > 3. I've learned how to get the kernel to see both CPU's (thanks!) > 4. I've tried an install of WinBlows 2000 Professional > it found both CPU's and all three hard drives > it (correctly) found no RAID controller > 5. From 4, above, I've concluded that there are not hardware/BOIS > problems > 6. The Red Hat install only found one of the SCSI hard drives, even > though it loaded the proper SCSI driver without displaying any error > messages > 7.After trying to get Red Hat 8.0 installed the system hangs with what I > believe is a POST message: "error loading operating system" > > Any ideas? > > Thanks in advance, > Steve > -- > > > Steve Strong > Computer Science Teacher > Washington High School > 2205 Forest Dr. SE > Cedar Rapids, Iowa 52403 > phone: 319-398-2161 > email: [EMAIL PROTECTED] > web: http://crwash.org > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: still installing 8.0 on HP Kayak
Steve Strong wrote: 6. The Red Hat install only found one of the SCSI hard drives, even though it loaded the proper SCSI driver without displaying any error messages 7.After trying to get Red Hat 8.0 installed the system hangs with what I believe is a POST message: "error loading operating system" Any ideas? I would try disconnecting two of the disks, getting RH installed and bootable, then reconnecting the other two one at a time to see if they are causing the problems. Tom -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: bind: Setting up DNS on a small home network
If you already have bind installed. From the command line run bindconf. Configure the parameters that match your network. > > From: "Diego, Emil" <[EMAIL PROTECTED]> > Date: 2003/02/12 Wed AM 08:58:52 EST > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: bind: Setting up DNS on a small home network > > Hello all, > > Does anyone know of any good documentation for installing and > configuring bind on RH 8.0 for a small home network. I have setup DHCP > successfully, so I am not completely green, but the DNS configuration looks > like greek to me. Any info would be appreciated. > > Thanx > > Emil > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: (no subject)
Well that's message is gone now but still now conection to the internet. I have compared all of the network config files that I know of and they are all the same. Brian -Original Message- From: Ralf Spenneberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 11:50 AM To: [EMAIL PROTECTED] Subject: RE: (no subject) > nothing else has the gateway route entry in it. We have two servers NS3 and > NS4. I copied the /etc/init.d/network file to NS3 (the one not working) and > that didn't help. Well, that file does not keep the network configuration. Post cat /etc/sysconfig/network cat /etc/sysconfig/network-scripts/ifcfg* cat /etc/sysconfig/static-routes and maybe we can help you Cheers, Ralf > > > was 3 people that have been working on it it was fine for a while. But no > > anyone know what that my be and how to fix my problem. > > > Sounds like the same interface or route is added twice. > Print your network configuration: > cat /etc/sysconfig/network > cat /etc/sysconfig/network-scripts/ifcfg* > > Cheers, > > Ralf > > Thanks > > Brian > -- > Ralf Spenneberg > > IPsec/PPTP Kernels for Red Hat Linux: > http://www.spenneberg.com/.net/.org/.de > Honeynet Project Mirror:http://honeynet.spenneberg.org > Snort Mirror: http://snort.spenneberg.org > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: (no subject)
Am Mit, 2003-02-12 um 19.53 schrieb Brian York: > Well that's message is gone now but still now conection to the internet. I > have compared all of the network config files that I know of and they are > all the same. > you do not provide any more information but "It does not work". How should we be able to help you? What have you tried? What is your configuration (the exact files please) What does ifconfig and route -n tell you? Cheers, Ralf -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: still installing 8.0 on HP Kayak
good suggestion, but when I did the trial install of WinBlows the drives worked fine. The could be formatted and were visible during and after the install. Doesn't this isolate the problem to Red Hat not being able to see the hard drives? Still, would kudzu see the other drives if I added them later? Steve On Wed, 2003-02-12 at 12:39, Tom Georgoulias wrote: > Steve Strong wrote: > > 6. The Red Hat install only found one of the SCSI hard drives, even > > though it loaded the proper SCSI driver without displaying any error > > messages > > 7.After trying to get Red Hat 8.0 installed the system hangs with what I > > believe is a POST message: "error loading operating system" > > > > Any ideas? > > I would try disconnecting two of the disks, getting RH installed and > bootable, then reconnecting the other two one at a time to see if they > are causing the problems. > > Tom > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > > -- Steve Strong Computer Science Teacher Washington High School 2205 Forest Dr. SE Cedar Rapids, Iowa 52403 phone: 319-398-2161 email: [EMAIL PROTECTED] web: http://crwash.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: still installing 8.0 on HP Kayak
Steve Strong wrote: Doesn't this isolate the problem to Red Hat not being able to see the hard drives? Maybe. It could be as simple as a boot loader record in the wrong place, or a bios setting, or it could be complicated and any number of other things. Getting the OS installed on the system with just one disk attached is a good way to isolate the problem. Still, would kudzu see the other drives if I added them later? If they're detected, you can see them with "fdisk -l". I (or someone else on the list) can help you partition the extra disks later on, if that's what is required. Tom -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Pushing updates ?
What is the best way to update many servers at customer sites? Let say for example that a new SSH package comes out. Since this is security related, we probably DO want to get this update on all of our servers in customer sites. Isn't there something better than telnet'ing into each server, FTP'ing (or other method) a RPM there and running RPM to update. There is rsync, but that end runs around the RPM package manager. Since these servers may not be identical clones, I think package management is recommended. Yes? Caldera gave us a sales presentation about a year ago and they had something (volution?) that did this, but their licensing costs were way high. They priced themselves out of the picture. Does RedHat or any third party have something to make remote system/package management easier for many (100+) systems? Allan -- "Someday I hope to meet Bill Gates..so I can knee him in the groin" -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Pushing updates ?
On Wed, Feb 12, 2003 at 04:26:47PM -0500, Allan M. Stewart wrote: > > What is the best way to update many servers at customer sites? > > Let say for example that a new SSH package comes out. Since this is > security related, we probably DO want to get this update on all > of our servers in customer sites. Isn't there something better > than telnet'ing into each server, FTP'ing (or other method) a RPM > there and running RPM to update. You might want to take a look at Red Hat Network (http://rhn.redhat.com) This does pretty much everything you just detailed. - jkt -- --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* Jay Turner, QA Manager [EMAIL PROTECTED] Red Hat, Inc. No amount of experimentation can ever prove me right; a single experiment can prove me wrong. -- Albert Einstein -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Pushing updates ?
On Wed, Feb 12, 2003 at 04:26:47PM -0500, Allan M. Stewart wrote: > > What is the best way to update many servers at customer sites? > > Let say for example that a new SSH package comes out. Since this is > security related, we probably DO want to get this update on all > of our servers in customer sites. Isn't there something better > than telnet'ing into each server, FTP'ing (or other method) a RPM > there and running RPM to update. A cheap choice would be to rsync/ftp/scp the package to the other end, and then rpm -Fvh the package. Next in line would be to configure each system with up2date. You can push the package out from the web, or you can have a local cron job do the dirty deed. > There is rsync, but that end runs around the RPM package manager. > Since these servers may not be identical clones, I think package > management is recommended. Yes? IMHO, package management is always recommended. rsync'ing the package and then using rpm would be much better. > Caldera gave us a sales presentation about a year ago and they had > something (volution?) that did this, but their licensing costs were > way high. They priced themselves out of the picture. Does RedHat > or any third party have something to make remote system/package > management easier for many (100+) systems? Red Hat can help. Check out https://rhn.redhat.com/info/overview_enterprise.pxt I'm sure that there are other solutions, but these are all supported and will work. .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Qt Tutorial
Hello, I can't get the Qt example "Hello world" to link and I don't know why? I clipped the program from the tutorial in the RH8 distribution: Then as instructed issued from Xterm commands: qmake -project qmake make It looks like I'm compiling but not linking with the follow error: [robo1@robo1 qt]$ make g++ -c -pipe -Wall -W -I/usr/include/fontconfig -I/usr/include/Xft2 -O2 -march=i 386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt3 -gcc3.2/include -I/usr/lib/qt3-gcc3.2/mkspecs/default -o main.o main.cpp g++ -o qt main.o-L/usr/X11R6/lib -lXext -lX11 -lm main.o: In function `main': main.o(.text+0x30): undefined reference to `QApplication::QApplication[in-charge ](int&, char**)' main.o(.text+0x40): undefined reference to `QString::QString[in-charge](char con st*)' main.o(.text+0x5c): undefined reference to `QPushButton::QPushButton[in-charge]( QString const&, QWidget*, char const*)' main.o(.text+0x77): undefined reference to `QString::shared_null' main.o(.text+0x81): undefined reference to `QStringData::deleteSelf()' main.o(.text+0x99): undefined reference to `QPushButton::resize(int, int)' main.o(.text+0xa5): undefined reference to `QApplication::setMainWidget(QWidget* )' main.o(.text+0xad): undefined reference to `QWidget::show()' main.o(.text+0xb5): undefined reference to `QApplication::exec()' main.o(.text+0xbf): undefined reference to `QPushButton::~QPushButton [in-charge ]()' main.o(.text+0xc7): undefined reference to `QApplication::~QApplication [in-char ge]()' main.o(.text+0xd9): undefined reference to `QString::shared_null' collect2: ld returned 1 exit status make: *** [qt] Error 1 Any guidance would be appreciated. Thanks -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RHAS list?
Hi everyone. Is there a mailing list available for RHAS? Thanks, -rw -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: RHAS list?
Rich Wilson wrote: Hi everyone. Is there a mailing list available for RHAS? IIRC, there was a pensacola list, but there was no discussion. I just checked the mailing lists, and they seem to have removed it. I would recommend asking on the Enigma list (7.2) or the Valhalla list (7.3). Forrest -- -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Pushing updates ?
On Wed, 2003-02-12 at 13:26, Allan M. Stewart wrote: > > What is the best way to update many servers at customer sites? All you need is an ssh key on the client system to log in as root. #! /bin/sh # Use: # ./update-em # - Runs apt-get upgrade to do a full update of the system # ./update-em [package1 [package2]...] # - Runs apt-get install to install or update a specific set of # packages HOSTS="host1.site1.com host1.site2.com" for HOST in $HOSTS; do if [ -z "$1" ] ; then ssh root@$HOST apt-get update '&&' apt-get upgrade else ssh root@$HOST apt-get update '&&' apt-get install "$@" fi done -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
kernel upgrade/ kickstart question
hello We have a kickstart server, hosting RH 8.0. I've just updated the RPMS folder with updated kernel rpms: kernel-2.4.18-14.i586.rpm, kernel-2.4.18-14.i686.rpm, kernel-source-2.4.18-14.i386.rpm, etc... I ran the genhdlist command and it seems to load the OS fine. However, I am now getting /dev/dsp errors. Something like "cannot open /dev/dsp", and obviously the sound does not work with the updated kernel. Do I need to include other errata packages for this to work? -steve -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Special Club
Scott Taylor wrote: I right click to logout from KDE, then choose System>Shutdown from log in screen Scott - Original Message - From: "Oisin C. Feeley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 3:45 PM Subject: Re: Special Club On Wed, 12 Feb 2003, Scott Taylor wrote: After installing RH8, I could not boot further than INIT: 2.84 booting... Someone suggested that I add the following line to the kernel line of grub.conf: apm=off_threshold=100 This worked great, however when I try and shutdown it seems to close most processes but it won't go further than: POWER DOWN What command are you using to "try and shutdown"? Oisin Feeley -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list What happens if you close all your running apps, open a console window in KDE, su to root and then do a shutdown -h now Cheers-- Charles -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: kernel upgrade/ kickstart question
On Wednesday 12 February 2003 16:52, Stephen Mah wrote: > hello > > We have a kickstart server, hosting RH 8.0. I've just updated the RPMS > folder with updated kernel rpms: kernel-2.4.18-14.i586.rpm, > kernel-2.4.18-14.i686.rpm, kernel-source-2.4.18-14.i386.rpm, etc... > > I ran the genhdlist command and it seems to load the OS fine. However, I > am now getting /dev/dsp errors. Something like "cannot open /dev/dsp", > and obviously the sound does not work with the updated kernel. > > Do I need to include other errata packages for this to work? Personally, I do all errata as a postinstall process. The Red Hat installer has not been tested with new package sets, and isn't recommended to work. Doing the base install, then applying applicable errata has worked great for us so far. -- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (www.mondorescue.org) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: kernel upgrade/ kickstart question
Jesse Keating wrote: On Wednesday 12 February 2003 16:52, Stephen Mah wrote: hello We have a kickstart server, hosting RH 8.0. I've just updated the RPMS folder with updated kernel rpms: kernel-2.4.18-14.i586.rpm, kernel-2.4.18-14.i686.rpm, kernel-source-2.4.18-14.i386.rpm, etc... I ran the genhdlist command and it seems to load the OS fine. However, I am now getting /dev/dsp errors. Something like "cannot open /dev/dsp", and obviously the sound does not work with the updated kernel. Do I need to include other errata packages for this to work? Personally, I do all errata as a postinstall process. The Red Hat installer has not been tested with new package sets, and isn't recommended to work. Doing the base install, then applying applicable errata has worked great for us so far. muchos gracias -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Pushing updates ?
- Original Message - From: "Allan M. Stewart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 1:26 PM Subject: Pushing updates ? > > What is the best way to update many servers at customer sites? > > Let say for example that a new SSH package comes out. Since this is > security related, we probably DO want to get this update on all > of our servers in customer sites. Isn't there something better > than telnet'ing into each server, FTP'ing (or other method) a RPM > there and running RPM to update. > > There is rsync, but that end runs around the RPM package manager. > Since these servers may not be identical clones, I think package > management is recommended. Yes? > > Caldera gave us a sales presentation about a year ago and they had > something (volution?) that did this, but their licensing costs were > way high. They priced themselves out of the picture. Does RedHat > or any third party have something to make remote system/package > management easier for many (100+) systems? > > Allan Hello, 2 come to mind, the first is 'yum' http://www.dulug.duke.edu/yum/ the second is 'frpms' http://www.blindjedi.org/frpms/ Basically you mirror the updates to a local ftp/http server and then fetch them from the client from cron. Kevin Brouelette, RHCE -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: Pushing updates ?
Use up2date in a cron job, it will resolve dependencies. This automates the process and saves you time and effort from you. For enterprise management I would use the rhn network. http://rhn.redhat.com > > What is the best way to update many servers at customer sites? > > > > Let say for example that a new SSH package comes out. Since this is > > security related, we probably DO want to get this update on all > > of our servers in customer sites. Isn't there something better > > than telnet'ing into each server, FTP'ing (or other method) a RPM > > there and running RPM to update. > > > > Allan > > Hello, > 2 come to mind, the first is 'yum' > http://www.dulug.duke.edu/yum/ > > the second is 'frpms' > http://www.blindjedi.org/frpms/ > > Basically you mirror the updates to a local ftp/http server and then fetch > them > from the client from cron. > Kevin Brouelette, RHCE > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
login-hang through mgetty (kernel serial driver bug?)
I have found a bug while using RedHat 8.0, I think it is in the kernel. The problem relates to the /dev/ttyS1 driver and behaves like a race condition because it does not give exactly predictable results. I have a workaround for the problem but have no idea about doing a real fix (and haven't bothered looking too seriously I'll admit). Some info about my system: -- [root@localhost /]# cat /proc/version Linux version 2.4.18-14 ([EMAIL PROTECTED]) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002 [root@localhost /]# egrep 'tty|Serial' /var/log/dmesg Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A [root@localhost /]# grep mget /etc/inittab mo:2345:respawn:/sbin/mgetty -D ttyS1 [root@localhost /]# rpm -q mgetty mgetty-1.1.28-9 [root@localhost /]# rpm -q util-linux util-linux-2.11r-10 [root@localhost /]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.53GHz stepping: 7 cpu MHz : 2539.135 cache size : 512 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips: 5036.33 [root@localhost /]# tail /etc/mgetty+sendfax/mgetty.config # direct y # speed 19200 # toggle-dtr n port ttyS0 init-chat "" AT&F OK AT&C1 OK AT&D3 OK AT&K3 OK AT&S0 OK port ttyS1 init-chat "" AT&F OK AT&C1 OK AT&D3 OK AT&K3 OK AT&S0 OK [root@localhost /]# lspci 00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02) 00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 02) 00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02) 00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02) 00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02) 00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82) 00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02) 00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation RIVA TNT2 Model 64 (rev 15) 02:05.0 Ethernet controller: Broadcom Corporation: Unknown device 4401 (rev 01) [root@localhost /]# minicom ATI 56000 OK ATI1 255 OK ATI2 OK ATI3 V1.200-K56_DLS M1200B OK ATI4 a007840284C6002F bC6000 r100551012000 r30007000 OK ATI5 022 OK ATI6 RCV56DPF L8570A Rev 45.0/45.0 OK ATI7 000 OK ATI8 Maestro Jetstream 56 Voice Modem OK ATI9 ERROR -- Contact me if you need to know more... the system is going to get delivered in a few days but now that I've got the modem working I expect to still have access. OK, now to describe the problem. What I want to do is run mgetty on a serial port to a modem so that I can login to this machine over the phone. These are bog-standard serial ports and what I'm doing should just work by now, this is a really basic thing. What happens is that *SOMETIMES* it does work perfectly, about one in three or maybe slightly less often. I can't seem to see a pattern to when it works and when it doesn't but at any rate, the number of failures is significant. The failures have nothing to do with the modems failing to connect or bad phone lines of any of that because I always get a connect and I always get a login banner, this is never a problem. When it does fail, it will just hang after I type my user name. The mgetty process correctly invokes the /bin/login and I can see it in the ps list, after waiting for a while (maybe a minute, not a long while) the login process seems to swap out to disc and that's were it stays until killed. Once in this state, lsof can't detect that the /dev/ttyS0 is open (which is annoying). [root@localhost /]# ps aux -w -w | grep login root 6333 0.0 0.0 1572 408 ttyS1S12:08 0:00 login [root@localhost /]# cat /proc/6333/maps 08048000-0804d000 r-xp 03:02 225895 /bin/login 0804d000-0804e000 rw-p 4000 03:02 225895 /bin/login 0804e000-0804f000 rwxp 00:00 0 4000-40012000 r-xp 03:02 224579 /lib/ld-2.2.93.so 40012000-40013000 rw-p 00012000 03:02 224579 /lib/ld-2.2.93.so 4001b000-4002 r-xp 03:02
Re: kernel upgrade/ kickstart question
On Wed Feb 12 2003 at 16:46, Jesse Keating wrote: > Personally, I do all errata as a postinstall process. The Red Hat installer > has not been tested with new package sets, and isn't recommended to work. Pity that. > Doing the base install, then applying applicable errata has worked great for > us so far. It seems so wasteful (in several ways) to a fresh install of a system and then (manually or in a kickstart %post script) immediately do an rpm -U (or -F) over a big bunch of update packages. It would be _so_ cool to simply put (replace) the updates into (or alongside?) the installer's RedHat/RPMS/ directory, do a genhdlist and pkgorder (etc) over it all, then away you go. This issue really bit me (and others) hard with rh7.3 when I was happily going along rebuilding the installer itself... all was well and good -- until the kernel was updated to 2.4.18- and the installer failed to build. Ouch. However, resorting to using the last kernel that did work (2.4.9-x iirc) for the installer did solve the problem, with the only post-install task left being to update to the new kernel. Perhaps there could be some mechanism added to the installer mechanisms so that if an "updates" directory existed then it would use that as a preferential package source to use before installing the original packages. (After making the appropriate sanity checks of course). That way you could even remove the obsoleted packages from the source tree. There would be some obvious and not-so-obvious technical issues to sort out (eg, install rather than update a new kernel), and from a distant perspecive I don't see why it couldn't be possible (eg, after creating a hdlist for the updates or whatever). Package updates are a fact of life. While the installer is primarily designed to install a distribution as originally released, it would be so useful if over time it could seamlessly cope with all the updates released for it. That being said, I admit that I'm not so familiar with the innards of anaconda, so I'm not so sure just how practical a suggestion this really is... I could be pi**ing into the wind :) [ ... snip on msg footer ... ] Oh, psyche-list? This really belongs in kickstart-list and/or anaconda-devel-list... (cross-posted to anaconda-devel to hit a more appropriate audience). Cheers Tony -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
how do I make a floppy from an image file?
I've downloaded a file that is a driver for my hard drives and it looks like it an image of a floppy -- it has an .img suffix. How do I make this into a floppy? steve -- Steve Strong Computer Science Teacher Washington High School 2205 Forest Dr. SE Cedar Rapids, IA52403 mailto: [EMAIL PROTECTED] website: http://crwash.org telephone: 319-398-2161 -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RE: how do I make a floppy from an image file?
>I've downloaded a file that is a driver for my hard drives and it looks >like it an image of a floppy -- it has an .img suffix. How do I make >this into a floppy? if you have another unix or linux system, use dd, with a syntax something like: dd if=/path_to_file/file.img of=/dev/fd0 if you don't, I believe you can try this: http://access1.sun.com/drivers/utilities/dd.exe or possibly the \dosutils\rawrite.exe on the redhat CD #1. Regards, Bernie. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Display Manager preference?
For Redhat 8 where (what file) is the display manager configured for X startup (i.e. TWM vs GDM vs KDM)? Thanks Dan -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Keyboard beeping problem (RH 8.0)
I'm running RH8.0 and have had a recurring problem with the keyboard. For some reason despite being able to login ok, when I log in as a certain user the keyboard bleeps whenever a key is pressed. I can type but I have no hold the key for almost a full two seconds for a letter to appear on the screen. I've had this problem before and it was solved somehow by logging out and then back in again. This hasn't solved the problem this time however. __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: kernel upgrade/ kickstart question
On Thu, 13 Feb 2003, Tony Nugent wrote: > On Wed Feb 12 2003 at 16:46, Jesse Keating wrote: > > > Personally, I do all errata as a postinstall process. The Red Hat installer > > has not been tested with new package sets, and isn't recommended to work. > > Pity that. > > > Doing the base install, then applying applicable errata has worked great for > > us so far. > > It seems so wasteful (in several ways) to a fresh install of a > system and then (manually or in a kickstart %post script) > immediately do an rpm -U (or -F) over a big bunch of update > packages. It would be _so_ cool to simply put (replace) the updates > into (or alongside?) the installer's RedHat/RPMS/ directory, do a > genhdlist and pkgorder (etc) over it all, then away you go. > > This issue really bit me (and others) hard with rh7.3 when I was > happily going along rebuilding the installer itself... all was well > and good -- until the kernel was updated to 2.4.18- and > the installer failed to build. Ouch. However, resorting to using > the last kernel that did work (2.4.9-x iirc) for the installer did > solve the problem, with the only post-install task left being to > update to the new kernel. > > Perhaps there could be some mechanism added to the installer > mechanisms so that if an "updates" directory existed then it would > use that as a preferential package source to use before installing > the original packages. (After making the appropriate sanity checks > of course). That way you could even remove the obsoleted packages > from the source tree. > > There would be some obvious and not-so-obvious technical issues to > sort out (eg, install rather than update a new kernel), and from a > distant perspecive I don't see why it couldn't be possible (eg, > after creating a hdlist for the updates or whatever). > > Package updates are a fact of life. While the installer is > primarily designed to install a distribution as originally released, > it would be so useful if over time it could seamlessly cope with all > the updates released for it. > > That being said, I admit that I'm not so familiar with the innards > of anaconda, so I'm not so sure just how practical a suggestion this > really is... I could be pi**ing into the wind :) > > [ ... snip on msg footer ... ] > > Oh, psyche-list? This really belongs in kickstart-list and/or > anaconda-devel-list... (cross-posted to anaconda-devel to hit a > more appropriate audience). > > Cheers > Tony > > > > Hi Tony, The last Valhalla kernel with which the installer could be built was kernel-BOOT-2.4.18-10. Just build the installer using that kernel, then update the tree to the latest kernel, as well as everything else, do the genhdlist and pkgorder and the rest as normal. When you install, you'll get the latest kernel, not 2.4.18-10. ISO's done this way can be found at ftp://linux-speakup.org/pub/speakup/disks/redhat/7.3/ although they're a bit stale now. HTH. -- Bill in Denver -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Minor bug (majorly annoying) in X11 and mouse
With a fresh install of RH8.0 set to graphical login (using PS/2 mouse) if you pull out the mouse and reboot what do you get? What would you expect to get? It can be really hard talking someone through a support call when their only report is "I'm looking at a black screen" and they try ALT-F1 from the console to still get a black screen, and they try CTRL-ALT-F1 from the console and STILL get a black screen. Even after several minutes the X11 keeps respawning and doesn't get disabled so you basically have absolutely no console access at this point. I would expect that it would either: [1] Start X11 anyhow and just not give you a mouse (so the user gets the idea, "hey my mouse is gone, maybe it isn't plugged it") [2] Disable X11 completely because it keeps crashing (the slowness of the X11 startup seems to protect it from init disable, maybe this depends on hardware). [3] Bring up X11, pop an error that gives the user something readable and hang there in space (at least allowing CTRL-ALT-F1 to get a text console plus the user knows what is wrong). - Tel -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Minor bug (majorly annoying) in X11 and mouse
On Thu, Feb 13, 2003 at 04:33:27PM +1100, Telford wrote: > With a fresh install of RH8.0 set to graphical login (using PS/2 mouse) > if you pull out the mouse and reboot what do you get? What would you > expect to get? > > It can be really hard talking someone through a support call when their > only report is "I'm looking at a black screen" and they try ALT-F1 from > the console to still get a black screen, and they try CTRL-ALT-F1 from > the console and STILL get a black screen. Even after several minutes the > X11 keeps respawning and doesn't get disabled so you basically have > absolutely no console access at this point. I would expect that it would > either: > > [1] Start X11 anyhow and just not give you a mouse (so the user > gets the idea, "hey my mouse is gone, maybe it isn't plugged it") > > [2] Disable X11 completely because it keeps crashing (the slowness of > the X11 startup seems to protect it from init disable, maybe this > depends on hardware). > > [3] Bring up X11, pop an error that gives the user something readable > and hang there in space (at least allowing CTRL-ALT-F1 to get a text > console plus the user knows what is wrong). > I believe it's an X11 option to allow startup without a mouse. I hope he was not advised to plug the mouse in while the machine was on. It is seriously inadvisable to plug in PS/2 connectors (mouse and k/board) when a system is turned on already. Could damage the motherboard. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Display Manager preference?
Am Don, 2003-02-13 um 04.18 schrieb Dan G: > For Redhat 8 where (what file) is the display manager configured for X > startup (i.e. TWM vs GDM vs KDM)? It its the file /etc/sysconfig/desktop. Cheers, Ralf > Thanks > > Dan > > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Ralf Spenneberg IPsec/PPTP Kernels for Red Hat Linux: http://www.spenneberg.com/.net/.org/.de Honeynet Project Mirror:http://honeynet.spenneberg.org Snort Mirror: http://snort.spenneberg.org -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
A question about up2date
When you run up2date there is an option on the install screen to "View advisory". I have never ever seen this work. I just tried it again and nothing happened..as always. I presume it is supposed to work. Any insights ? -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: A question about up2date
On Thu Feb 13 2003 at 07:12, Cliff Sarginson wrote: > When you run up2date there is an option on the install screen to "View > advisory". I have never ever seen this work. I just tried it again and > nothing happened..as always. I presume it is supposed to work. > Any insights ? Did you register your box with the redhat network registation utility? (rhn_register from the command line). >Cliff Sarginson >The Netherlands > > [ This mail has been checked as virus-free ] Oh, now this makes me feel so much more at ease! :-) Cheers Tony -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: A question about up2date
On Wed, 2003-02-12 at 22:12, Cliff Sarginson wrote: > When you run up2date there is an option on the install screen to "View > advisory". I have never ever seen this work. I just tried it again and > nothing happened..as always. I presume it is supposed to work. > Any insights ? If you highlight the uopdate first, then click on view errata. It confuised me for awhile as well ;) > > -- > Regards >Cliff Sarginson >The Netherlands Regards, Eric Burke > > [ This mail has been checked as virus-free ] > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list > -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: A question about up2date
On Thu, Feb 13, 2003 at 04:35:55PM +1000, Tony Nugent wrote: > On Thu Feb 13 2003 at 07:12, Cliff Sarginson wrote: > > > When you run up2date there is an option on the install screen to "View > > advisory". I have never ever seen this work. I just tried it again and > > nothing happened..as always. I presume it is supposed to work. > > Any insights ? > > Did you register your box with the redhat network registation > utility? (rhn_register from the command line). Yes I did ! > > [ This mail has been checked as virus-free ] > > Oh, now this makes me feel so much more at ease! :-) I could be lying of course ;) I am new to Redhat..there are a couple of things I don't quite get about the RHN. I get advisories that my profile shows I need to update something or other, but nothing ever happens consequent on that. I mean the little blue-tick stays blue, and running up2date. Produces nothing. Now the blue tick turned to a red shriek, and sure enough there was an update to Lynx .. but I received no email advisory about it ? Am I missing something here ? Or most probably misunderstanding something. I only have the demo registration that comes gratis, not because I think $60 is not wortwhile if the support is good, but I am evaluating Redhat at the moment...I run a small multi-platform network but am not very satisifed with my current Linux setup (no names mentioned). My evaluation is quite positive so-far .. btw. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Qt Tutorial
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 12 Feb 2003 17:03:55 -0500, John S. Dey wrote: > I can't get the Qt example "Hello world" to link and I don't know why? > > I clipped the program from the tutorial in the RH8 distribution: > > Then as instructed issued from Xterm commands: > qmake -project > qmake > make > > It looks like I'm compiling but not linking with the follow error: > > [robo1@robo1 qt]$ make > g++ -c -pipe -Wall -W -I/usr/include/fontconfig -I/usr/include/Xft2 -O2 -march=i > 386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt3 > -gcc3.2/include -I/usr/lib/qt3-gcc3.2/mkspecs/default -o main.o main.cpp > g++ -o qt main.o-L/usr/X11R6/lib -lXext -lX11 -lm Something's wrong here. You don't link against the Qt library with -lqt. > main.o: In function `main': > main.o(.text+0x30): undefined reference to `QApplication::QApplication[in-charge > ](int&, char**)' - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+S0vf0iMVcrivHFQRAqufAJ0UbqsEmhYgqLIgrmJPM8hwCl/awgCZAULE a8JgyPqwa8s5mpXUFvB0cQA= =mJKR -END PGP SIGNATURE- -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list