New User

John Seth johnseth at phoenixwing.com
Thu Jun 26 07:02:42 EDT 2003


If you're booting directly into X-windows, you'll be loading into what
is technically "init 5", whereas, non-x-windows, or console mode, is
"init 3". Knowing this, open a console window and as root (using "su -")
type:
chkconfig --list.

You will see something similar to this:

[johnseth at system johnseth]$ su -
Password:
[root at system root]# chkconfig --list
spamassassin    0:off   1:off   2:on    3:on    4:on    5:off   6:off
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
random          0:off   1:off   2:on    3:on    4:on    5:on    6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
keytable        0:off   1:on    2:on    3:on    4:on    5:on    6:off
apmd            0:off   1:off   2:on    3:on    4:on    5:off   6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
gpm             0:off   1:off   2:on    3:on    4:on    5:on    6:off
autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
irda            0:off   1:off   2:off   3:off   4:off   5:off   6:off
nscd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
portmap         0:off   1:off   2:off   3:on    4:on    5:off   6:off
nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off
nfslock         0:off   1:off   2:off   3:on    4:on    5:off   6:off
sendmail        0:off   1:off   2:on    3:on    4:on    5:off   6:off
rhnsd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
aep1000         0:off   1:off   2:off   3:off   4:off   5:off   6:off
bcm5820         0:off   1:off   2:off   3:off   4:off   5:off   6:off
winbind         0:off   1:off   2:off   3:off   4:off   5:off   6:off
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
xfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
xinetd          0:off   1:off   2:off   3:on    4:on    5:off   6:off
cups            0:off   1:off   2:on    3:on    4:on    5:off   6:off
named           0:off   1:off   2:off   3:off   4:off   5:off   6:off
ntpd            0:off   1:off   2:off   3:on    4:off   5:off   6:off
firstboot       0:off   1:off   2:off   3:off   4:off   5:off   6:off
snmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
snmptrapd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
mysqld          0:off   1:off   2:off   3:off   4:off   5:off   6:off
identd          0:off   1:off   2:off   3:off   4:off   5:on    6:off
mailman         0:off   1:off   2:off   3:off   4:off   5:off   6:off
psacct          0:off   1:off   2:off   3:off   4:off   5:off   6:off
vsftpd          0:off   1:off   2:off   3:off   4:off   5:off   6:off
mysql           0:off   1:off   2:on    3:off   4:on    5:off   6:off
xinetd based services:
        chargen-udp:    off
        rsync:  off
        chargen:        off
        daytime-udp:    off
        daytime:        off
        echo-udp:       off
        echo:   off
        services:       off
        servers:        off
        time-udp:       off
        time:   off
        cups-lpd:       off
        sgi_fam:        on
        imap:   off
        imaps:  off
        ipop2:  off
        ipop3:  off
        pop3s:  off
        swat:   off
[root at system root]#

Note the rows of #'s followed by "on" or "off".  Look for one of two
things, 'ipchains' or 'iptables'. Assuming RH installed correctly, it
should list 'iptables'.  In your case, look for that entry, and scan
across to #5. If it's similar to mine (above), iptables is set to 'on',
and you see "5:on".  To turn it off, type (still as root):
service iptables off

Next, type the following:

cd /etc/rc.d/rc5.d/
ls
(look for something named S##iptables, mine is S08iptables)
mv S08iptables K08iptables
(change the "S" to a "K")
ls

There should now be K##iptables.  Now iptables will not start on bootup.
 Using 'setup' RedHat will always try to get you to reset your firewall
to "High"... it doesn't reflect any changes you made, at least not on my
RH 9 system (which I'm using now).

Also, in addition to what the others have set, you may also try adding
"domain buf.adelphia.net" to the /etc/resolv.conf file. Example:

[root at dhcp-124-6 joe]# cat /etc/resolv.conf
 ; generated by /sbin/dhclient-script
 search buf.adelphia.net
 domain buf.adelphia.net
 nameserver 68.168.224.162
 nameserver 68.168.224.165

I hope that helps.


-- 
<? print(pack("c*", 74,117,115,116,32,/* Tony Evans                  */
 65,110,111,116,104,101,114,32,80,72, /* Linux/Web Implementation    */
 80,32,72,97,99,107,101,114,46,10));  /* http://www.phoenixwing.com/ */ ?>


> Vlok Stone:
>
> 1.  Here's what I got when I did /sbin/ifconfig
>
> [joe at dhcp-124-6 joe]$ /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:E0:6F:05:xx:xx
>           inet addr:24.51.30.xxx  Bcast:255.255.255.255
> Mask:255.255.254.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:5465 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:295 errors:86644 dropped:0 overruns:86644
> carrier:86644
>           collisions:0 txqueuelen:100
>           RX bytes:542020 (529.3 Kb)  TX bytes:39538 (38.6 Kb)
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:4937 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4937 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:335777 (327.9 Kb)  TX bytes:335777 (327.9 Kb)
>
> 2.  Here's the tail end of what I got when I CTRL C'd my ping of
> Yahoo.com:
>
>  --- 66.218.71.198 ping statistics ---
> 30 packets transmitted, 30 received, 0% packet loss, time 29284ms
> rtt min/avg/max/mdev = 88.641/93.052/101.510/2.132 ms
>
> 3.  Here's what I got for your number 3:
>
> [joe at dhcp-124-6 joe]$ su
> Password:
> [root at dhcp-124-6 joe]# cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> search buf.adelphia.net
> nameserver 68.168.224.162
> nameserver 68.168.224.165
> [root at dhcp-124-6 joe]#
>
> Paul,
>
> When I go into setup through the terminal, the firewall is set to high
> security.  I tried everything to change it from high, even selecting
> "No firewall."  It acts as if it is taking it, but if I go right back
> in there, it has reverted to high security.
>
> If I go to "Security Level" under "System Settings" in the GUI, I can
> change it to whatever I want.  I set it to "No firewall", got out,
> then went back in, and it was still set to "No firewall."  But when I
> then went to "Firewall configuration" under setup through the
> terminal, the "High" selection is still marked.  I can change it
> there, but it doesn't keep.
>
> The bottom line is that I'm still getting the "connection refused . .
> ." message.
>
> I really appreciate your help.  I look forward to anymore suggestions.
>
> But I've got to get in bed for an early rise.
>
> I'll be able to check back tomorrow night.
>
> Thanks again.
>
> Joe






More information about the nflug mailing list