New User

Joe Isom jsi at adelphia.net
Thu Jun 26 22:32:45 EDT 2003


I used the command Mark gave me, and the settings for iptables look as
you say it should.  But nothing changed with respect to my inability to
go anywhere but Redhat.com.  And it is the Redhat.com site as opposed to
any built-in help files.  For example, I was able to sign up for the
demo RHN account and have it query my system for available updates.

Also, I attempted to edit my etc/hosts file.  It now looks like this:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	GCPL301.buf.adelphia.net	localhost

That host name above is what I got from the Host Name field in ipconfig
when I was running Windows.  I'm not sure about that IP address though. 
Does it look like I set it up correctly?  I still get the "Welcome to
dhcp-124-6" at the login screen, and the "Could not look up internet
address . . ." message when logging in despite making this change.

Another problem that I didn't mention before is that I can only boot
from a floppy.  I'm not sure exactly why, but I guess it is because my
BIOS doesn't know how to look for the hard drive as a bootable device. 
And that may be because my drive is connected through an ultra ATA
controller card being that it is too large for my system BIOS.  When I
go into my BIOS setup, it simply shows my onboard IDE 1 channels as
being empty (which they are) and my DVD and CD as installed in the IDE 2
channels.  It can't see the controller card or the two drives attached
to it.  However, when the machine boots, I can see when the BIOS on the
controller card runs and detects the two drives attached to it.

Anyway, I was wondering if there might be a setting on the floppy that
is giving me trouble.

Again, I'm most appreciative of all your help.

Joe Isom


On Thu, 26 Jun 2003, John Seth wrote:

> 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

Actually, use chkconfig again:

chkconfig --level 345 iptables off

Then you don't have to mess around with the symlinks & Ks & Ss manually.

>
> 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).


-- 
Mark T. Valites
Unix Systems Analyst
CIT - SUNY Geneseo
>--))> >--))>



On Thu, 2003-06-26 at 07:02, John Seth wrote:
> 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.
> 




More information about the nflug mailing list