Re: editing eth1
Ok, the eth0 port does work. There is a light there. Also, when I log in as root I am getting a mail message that says: errors rotating logs Then when I read the message it says: errors occurred while rotating /var/log/boot.log stat of /var/log/boot.log failed: No such file or directory Is this why the port is not working? If so how would I correct this and how did it happen? Thanks in advance Linda on 2/26/02 3:32 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: On Tue, 26 Feb 2002, [EMAIL PROTECTED] wrote: Why is it that after I have made the changes to the network-scripts and have stopped and restarted the network I can't get the network to work. (It wasn't working beforehand either) Also, when I do netstat -nr it gives me a different ip address than the one in the ifcfg-eth0 file, this being the correct ip address) You may have to actually tell us what number you are seeing and what changes you have made. Otherwise, it would be hard to say. Could it be that you have BOOTPROTO=dhcp ? As for testing eth you can have a look at eth-diag to be found on freshrpms.net Ed ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
Unfortunately that message has absolutely nothing with your Ethernet ports. There are two things you should check. Do you have a /var/log directory? If so, is there a boot.log in it? If there is a directory but no boot.log, simply touch /var/log/boot.log and that message should go away. boot.log is normally created when you boot. I don't know why you aren't getting one unless you don't have a /var/log directory, and this would be *bad*. The directory is created by the filesystem rpm, and you should re-install it if you don't have a /var/log. Not having this package installed could certainly create havoc... .../Ed Ed Wilts Mounds View, MN, USA mailto:[EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 4:08 PM Subject: Re: editing eth1 Ok, the eth0 port does work. There is a light there. Also, when I log in as root I am getting a mail message that says: errors rotating logs Then when I read the message it says: errors occurred while rotating /var/log/boot.log stat of /var/log/boot.log failed: No such file or directory Is this why the port is not working? If so how would I correct this and how did it happen? Thanks in advance Linda on 2/26/02 3:32 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: On Tue, 26 Feb 2002, [EMAIL PROTECTED] wrote: Why is it that after I have made the changes to the network-scripts and have stopped and restarted the network I can't get the network to work. (It wasn't working beforehand either) Also, when I do netstat -nr it gives me a different ip address than the one in the ifcfg-eth0 file, this being the correct ip address) You may have to actually tell us what number you are seeing and what changes you have made. Otherwise, it would be hard to say. Could it be that you have BOOTPROTO=dhcp ? As for testing eth you can have a look at eth-diag to be found on freshrpms.net Ed ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
Unfortunately that message has absolutely nothing with your Ethernet ports. There are two things you should check. Do you have a /var/log directory? yes If so, is there a boot.log in it? If there is a directory but no boot.log, no boot.log file simply touch /var/log/boot.log and that message should go away. boot.log is what do you mean by simply touch (novice here) thanks Linda normally created when you boot. I don't know why you aren't getting one unless you don't have a /var/log directory, and this would be *bad*. The directory is created by the filesystem rpm, and you should re-install it if you don't have a /var/log. Not having this package installed could certainly create havoc... ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
[EMAIL PROTECTED] writes: simply touch /var/log/boot.log and that message should go away. boot.log is what do you mean by simply touch (novice here) Just type 'touch /var/log/boot.log' (you probably have to be su for that, I'm not sure). The command touch will create an empty file for you that will get rid of the no such file error. Ian. Ian Truelsen Masters program in Philosophy University of Manitoba, Winnipeg, Canada BA (Wilfrid Laurier University) Email: [EMAIL PROTECTED] Current favourite quote: No great civilisation likes forests. K.F. O'Connor Lincoln College, Christchurch, New Zealand ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
More formally, the touch command will update a file with the current timestamp. This will effectively create an empty file if one by the specified name doesn't already exist. touch is often used with makefiles to force rebuilds without going through the whole cleaning process (newer Makefile implies older version of code, etc). On Thu, 28 Feb 2002, Ian Truelsen wrote: [EMAIL PROTECTED] writes: simply touch /var/log/boot.log and that message should go away. boot.log is what do you mean by simply touch (novice here) Just type 'touch /var/log/boot.log' (you probably have to be su for that, I'm not sure). The command touch will create an empty file for you that will get rid of the no such file error. Ian. Ian Truelsen Masters program in Philosophy University of Manitoba, Winnipeg, Canada BA (Wilfrid Laurier University) Email: [EMAIL PROTECTED] Current favourite quote: No great civilisation likes forests. K.F. O'Connor Lincoln College, Christchurch, New Zealand ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- -Statux ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
editing eth1
Newbie question: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
On Tue, 26 Feb 2002, Redhat wrote: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? One way cd /etc/sysconfig/network-scripts vi ifcfg-eth1 (or your favorite editor) and make changes /etc/init.d/network stop /etc/init.d/network start Ed ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
At 08:58 2/26/2002 -0800, Redhat wrote: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1. Then restart your network services: service network restart Tony -- Anthony E. Greene [EMAIL PROTECTED] PGP Key: 0x6C94239D AOL/Yahoo Chat: TonyG05 Linux. the choice of a GNU generation. http://www.linux.org/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
A better idea would be to use Linuxconf. It usually works for most simple tasks. -- Jonathan -- Jonathan M. Slivko [EMAIL PROTECTED] 'Life is the art of drawing without an eraser.' - John Gardner -- Original Message -- From: Anthony E. Greene [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 26 Feb 2002 12:24:27 -0500 At 08:58 2/26/2002 -0800, Redhat wrote: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1. Then restart your network services: service network restart Tony -- Anthony E. Greene [EMAIL PROTECTED] PGP Key: 0x6C94239D AOL/Yahoo Chat: TonyG05 Linux. the choice of a GNU generation. http://www.linux.org/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list __ Sent via the Pace University Mail system at stmail.pace.edu ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
Why is it that after I have made the changes to the network-scripts and have stopped and restarted the network I can't get the network to work. (It wasn't working beforehand either) Also, when I do netstat -nr it gives me a different ip address than the one in the ifcfg-eth0 file, this being the correct ip address) Linda on 2/26/02 9:08 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: On Tue, 26 Feb 2002, Redhat wrote: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? One way cd /etc/sysconfig/network-scripts vi ifcfg-eth1 (or your favorite editor) and make changes /etc/init.d/network stop /etc/init.d/network start Ed ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
Not to start a holy war, here, but it is never a better idea to use Linuxconf. Red Hat is deprecating it from their distribution, mainly due to the user complaints, which have stemmed from Linuxconf's propensity to overwrite certain customized configuration files with whatever it felt like using. The previously mentioned editing of the ifcfg-ethx files is really the better option. Jonathan M Slivko [EMAIL PROTECTED] said: A better idea would be to use Linuxconf. It usually works for most simple tasks. -- Jonathan -- Jonathan M. Slivko [EMAIL PROTECTED] 'Life is the art of drawing without an eraser.' - John Gardner -- Original Message -- From: Anthony E. Greene [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 26 Feb 2002 12:24:27 -0500 At 08:58 2/26/2002 -0800, Redhat wrote: I am trying to edit the two ethernet ports on my machine. I want to change the ip address of both ports but it is not happening when I use netconfig. This is a text based machine. Is there another command to directly change each port? Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1. Then restart your network services: service network restart Tony -- Anthony E. Greene [EMAIL PROTECTED] PGP Key: 0x6C94239D AOL/Yahoo Chat: TonyG05 Linux. the choice of a GNU generation. http://www.linux.org/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list __ Sent via the Pace University Mail system at stmail.pace.edu ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org, or http://dogpound2.citadel.org:2000 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: editing eth1
On Tue, 26 Feb 2002, [EMAIL PROTECTED] wrote: Why is it that after I have made the changes to the network-scripts and have stopped and restarted the network I can't get the network to work. (It wasn't working beforehand either) Also, when I do netstat -nr it gives me a different ip address than the one in the ifcfg-eth0 file, this being the correct ip address) You may have to actually tell us what number you are seeing and what changes you have made. Otherwise, it would be hard to say. Could it be that you have BOOTPROTO=dhcp ? As for testing eth you can have a look at eth-diag to be found on freshrpms.net Ed ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list