Re: While command not found?
On 03/07/2014 01:12 PM, ToddAndMargo wrote: Hi All, In SL6.5 bash script, is while not supported/ Cancel=no while [ $Cancel != Cancel ] do RunTunnel done Gives me while: command not found. Is there a better way to do loop until? Many thanks, -T Never mind. Missed a command separator ;. Cancel=no; while [ $Cancel != Cancel ] -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
SL 6.4 Ethernet Port is dead - maybe
I am looking for a way to check the functionality of an Ethernet port on a 4 mo old new system. We use this box for number crunching and reducing data. Since no one uses the desktop we left it as Gnome and set up network. This also the same box we found the SL 6.x had a broken driver for the chip set. Thanks to some serious help we were able to download the driver for the Ethernet chip set and it worked for a long time. After a power failure on a clear day we noticed that it would boot and run but no intranet. The power failure was city wide for about 5 sec. Just enough to turn on the UPS,s and EM Lights. I have look on the net and there is a lot of people offering suggestions but nothing you can hang you hat on. Most just reference a lot of applications. Tried: drop down's for preferences and network set up. restart network NetworkManagement . These look OK. Apps: ifconfig etho: says that it read a large number of packets and transmitted none. ss gives a lot of information but Its pretty criptic to say the least. The Ethernet chip set is on the mother board and I hate to dismantel it replace the mother board and have the same problem. I was looking for a way to test it with a loop back scheme and monitor the transmission with a scope. The Ethernet chip set supports 10/100/1000 megHz. Because of the size of the data sets we need the 1 g. rate. We plan to upgrade our entire network to 1 G router, and switches once this problem is resolved. Only change one thing at a time. Larry Linder
Re: SL 6.4 Ethernet Port is dead - maybe
Did you try a cold boot? I have seen problematic network drivers that work after a cold boot, but fail if you do a warm boot on a box. Have you tried ethtool eth0? Does it show link detected? It might be worth trying a live cd of something newer that would more likely support network of newer chipsets automatically at bootup, such as a live version of the latest fedora, ubuntu, or knoppix. - Original Message - From: Larry Linder larry.lin...@micro-controls.com To: scientific-linux-users@listserv.fnal.gov Sent: Friday, March 7, 2014 4:47:01 PM Subject: SL 6.4 Ethernet Port is dead - maybe I am looking for a way to check the functionality of an Ethernet port on a 4 mo old new system. We use this box for number crunching and reducing data. Since no one uses the desktop we left it as Gnome and set up network. This also the same box we found the SL 6.x had a broken driver for the chip set. Thanks to some serious help we were able to download the driver for the Ethernet chip set and it worked for a long time. After a power failure on a clear day we noticed that it would boot and run but no intranet. The power failure was city wide for about 5 sec. Just enough to turn on the UPS,s and EM Lights. I have look on the net and there is a lot of people offering suggestions but nothing you can hang you hat on. Most just reference a lot of applications. Tried: drop down's for preferences and network set up. restart network NetworkManagement . These look OK. Apps: ifconfig etho: says that it read a large number of packets and transmitted none. ss gives a lot of information but Its pretty criptic to say the least. The Ethernet chip set is on the mother board and I hate to dismantel it replace the mother board and have the same problem. I was looking for a way to test it with a loop back scheme and monitor the transmission with a scope. The Ethernet chip set supports 10/100/1000 megHz. Because of the size of the data sets we need the 1 g. rate. We plan to upgrade our entire network to 1 G router, and switches once this problem is resolved. Only change one thing at a time. Larry Linder
Re: SL 6.4 Ethernet Port is dead - maybe
On 7 March 2014 14:47, Larry Linder larry.lin...@micro-controls.com wrote: I am looking for a way to check the functionality of an Ethernet port on a 4 mo old new system. We use this box for number crunching and reducing data. Since no one uses the desktop we left it as Gnome and set up network. This also the same box we found the SL 6.x had a broken driver for the chip set. Thanks to some serious help we were able to download the driver for the Ethernet chip set and it worked for a long time. After a power failure on a clear day we noticed that it would boot and run but no intranet. The power failure was city wide for about 5 sec. Just enough to turn on the UPS,s and EM Lights. I have look on the net and there is a lot of people offering suggestions but nothing you can hang you hat on. Most just reference a lot of applications. Tried: drop down's for preferences and network set up. restart network NetworkManagement . These look OK. Apps: ifconfig etho: says that it read a large number of packets and transmitted none. ss gives a lot of information but Its pretty criptic to say the least. The Ethernet chip set is on the mother board and I hate to dismantel it replace the mother board and have the same problem. I was looking for a way to test it with a loop back scheme and monitor the transmission with a scope. The cost of doing that is going to be more than a board and warranty if it is 4 months old. Mainly because if it can recieve but not send then there are 3 possible problems: 1) The ethernet card is fried. You can pay for a $10.00 replacement card before you figure out what a correct signal looks like. 2) The wire is fried. 3) The port on the switch is fried. The usual way to check things is the following: 1) If the box is really reading stuff you can do a tcpdump and see what packets are being seen on the network. 2) Move the wire from the box to a different port on the switch. This will see if the problem is with the switch. 3) Replace the wire. 4) If you have a grant get an ethernet probe device for a couple thousand dollars (I think). They can test all of the above and tell you where the line might be fried if it is buried in cables etc. The oscillascope items might show you that you are getting a signal, but it won't tell you if that wave is in any form or shape what the computer can understand. To do that you will need to either duplicate a working signal over a similar distance of cable (to deal with what degredation might be there) or have some sort of litmus available (which is usually the probe device). The Ethernet chip set supports 10/100/1000 megHz. Because of the size of the data sets we need the 1 g. rate. We plan to upgrade our entire network to 1 G router, and switches once this problem is resolved. Only change one thing at a time. Larry Linder -- Stephen J Smoogen.
RE: SL 6.4 Ethernet Port is dead - maybe
Just a guess since I didn't see you say you did this - if yum-autoupdate was turned on, you may have gotten a new kernel installed and not realized it. When you rebooted, the driver for the ethernet port that you got installed for the old kernel probably would need to be reinstalled for the new kernel. (Drivers usually get tied to specific kernel versions by recompiling/relinking to match up to that kernel's interfaces.) If you did reinstall the driver, then others' suggestions may be more appropriate. -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Larry Linder Sent: Friday, March 07, 2014 3:47 PM To: scientific-linux-users@listserv.fnal.gov Subject: SL 6.4 Ethernet Port is dead - maybe I am looking for a way to check the functionality of an Ethernet port on a 4 mo old new system. We use this box for number crunching and reducing data. Since no one uses the desktop we left it as Gnome and set up network. This also the same box we found the SL 6.x had a broken driver for the chip set. Thanks to some serious help we were able to download the driver for the Ethernet chip set and it worked for a long time. After a power failure on a clear day we noticed that it would boot and run but no intranet. The power failure was city wide for about 5 sec. Just enough to turn on the UPS,s and EM Lights. I have look on the net and there is a lot of people offering suggestions but nothing you can hang you hat on. Most just reference a lot of applications. Tried: drop down's for preferences and network set up. restart network NetworkManagement . These look OK. Apps: ifconfig etho: says that it read a large number of packets and transmitted none. ss gives a lot of information but Its pretty criptic to say the least. The Ethernet chip set is on the mother board and I hate to dismantel it replace the mother board and have the same problem. I was looking for a way to test it with a loop back scheme and monitor the transmission with a scope. The Ethernet chip set supports 10/100/1000 megHz. Because of the size of the data sets we need the 1 g. rate. We plan to upgrade our entire network to 1 G router, and switches once this problem is resolved. Only change one thing at a time. Larry Linder
Re: SL 6.4 Ethernet Port is dead - maybe
Grab the latest live Ubuntu live DVD or CD. See if *that* can talk to the ethernet port, since the kernels tend to be more recent than the industry grade, stable kernels in Scientific Linux. But after a power failure on a clear day sounds like hardware failure.. I assume you;ve tested the cables and upstream network ports? If the chipset is toast, which can happen, a decent PCI/E or even old PCI network card should support GigE quite easily. If you need network alive while testing kernels, USB network devices can be quite handy. On Fri, Mar 7, 2014 at 4:47 PM, Larry Linder larry.lin...@micro-controls.com wrote: I am looking for a way to check the functionality of an Ethernet port on a 4 mo old new system. We use this box for number crunching and reducing data. Since no one uses the desktop we left it as Gnome and set up network. This also the same box we found the SL 6.x had a broken driver for the chip set. Thanks to some serious help we were able to download the driver for the Ethernet chip set and it worked for a long time. After a power failure on a clear day we noticed that it would boot and run but no intranet. The power failure was city wide for about 5 sec. Just enough to turn on the UPS,s and EM Lights. I have look on the net and there is a lot of people offering suggestions but nothing you can hang you hat on. Most just reference a lot of applications. Tried: drop down's for preferences and network set up. restart network NetworkManagement . These look OK. Apps: ifconfig etho: says that it read a large number of packets and transmitted none. ss gives a lot of information but Its pretty criptic to say the least. The Ethernet chip set is on the mother board and I hate to dismantel it replace the mother board and have the same problem. I was looking for a way to test it with a loop back scheme and monitor the transmission with a scope. The Ethernet chip set supports 10/100/1000 megHz. Because of the size of the data sets we need the 1 g. rate. We plan to upgrade our entire network to 1 G router, and switches once this problem is resolved. Only change one thing at a time. Larry Linder
Bootable USB installer for SL6.5
Hello, there - I updated my USB installer images to SL6.5 (64-bit only, sorry). Download the stuff from here: http://trshare.triumf.ca/~olchansk/linux/ Instructions are here: http://trshare.triumf.ca/~olchansk/linux/SL65-64-USBBOOT/AAA-README-USBBOOT.txt Major changes: - updated to SL6.5 (duh!) - includes an example kickstart file, customize it as you wish - includes all recent versions of memtest86 and memtest86+ (if you figure out how to boot memtest86-5.0.0, please drop me a note) The problem of installer writing the final GRUB to the installer source USB stick instead of to the target disk is still present, you have to catch it and change the drive order on the boot loader install page. (There is one caveat with running the installer from writable media - the SL6.3 installer sometimes writes the GRUB boot loader on the USB installer disk instead of the installation target disks - producing an unbootable system and ruining the USB installer disk at the same time. I have not seen the SL6.1 installer do this. Maybe one should use write-protect capable USB flash media). Previous announcement with discussion is below: K.O. On Thu, Apr 11, 2013 at 11:33:46AM -0700, Konstantin Olchanski wrote: For reasons unknown, RHEL and SL insist on publishing installer images that work only from the DVD physical media. But none of the computers I buy today have DVD drives and I am not sure if Staples carry DVD blanks anymore. I guess I must be happy that SL install images do not come on floppies, punch cards or paper tape. Generally, this does not inconvinience me too much - I do most installs over the network (PXE boot). But sometimes I have machines generally not connected to the Internet (on a private network or out in the woods), so I have constructed bootable USB images for SL6.1 and 6.3. (6.4 on the way). (This installer tree is a copy of the .../x86_64/os tree minus the Packages directory, plus the isolinux/extlinux stuff and the DVD .iso files. The SL installer refuses to install from the Packages directory) (There is one caveat with running the installer from writable media - the SL6.3 installer sometimes writes the GRUB boot loader on the USB installer disk instead of the installation target disks - producing an unbootable system and ruining the USB installer disk at the same time. I have not seen the SL6.1 installer do this. Maybe one should use write-protect capable USB flash media). Download the stuff from here: http://trshare.triumf.ca/~olchansk/linux/ Instructions are here: http://trshare.triumf.ca/~olchansk/linux/SL63-64-USBBOOT/AAA-README-USBBOOT.txt Instructions for making USB-Bootable installation disk for 64bit SL6.3 -- 0. These instructions are intended for making a 64-bit SL6.3 installer on a USB Flash disk. 8GB flash media is recommended. 1. The ISO DVD images are NOT included. Download your own copies, before following these instructions. 2. Prepare the USB disk: a) su - b) fdisk -H224 -S56 /dev/sdX, make one partition of type 83-Linux, mark it bootable. Result should look like this: root# fdisk -l /dev/sdX Disk /dev/sdc: 7996 MB, 7996440576 bytes 224 heads, 56 sectors/track, 1245 cylinders Units = cylinders of 12544 * 512 = 6422528 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sdc1 * 11245 7808612 83 Linux b) mke2fs -j /dev/sdX1; tune2fs -c0 -i0 /dev/sdX1 c) mkdir /mnt/tmp d) mount /dev/sdX1 /mnt/tmp 3. Copy the data: a) cd to_the_directory_with_this_readme_file; rsync -av . /mnt/tmp b) cd to_the_directory_with_the_SL63_iso_images; rsync -av SL-63-*-DVD1.iso SL-63-*-DVD2.iso /mnt/tmp c) cd /mnt/tmp; chown -R root.root . 4. Make disk bootable a) cd /mnt/tmp/isolinux b) cat ./mbr.bin /dev/sdX ### (*NOT* /dev/sdX1) c) ./extlinux -i . 5. cd /; umount /mnt/tmp 6. try to boot from the newly made USB disk. //KO 21FEB2013 -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada