General :: Determining Network Status On Abbreviated System?
May 24, 2011
I have and embedded system which apparently, due to space considerations, is missing lots of normal commands. I can get the following information by "cat /proc/version":
Linux version 2.4.19-uc0 (...) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(-msep-data patches)) #461 Tue May 24 12:06:06 PDT 2011
At issue is the fact that, after some time, the system stops responding to the Network (e.g., you can ping it, then some time later you can't). We suspect that some sort of network monitor is accessing the device and causing the trouble, but don't know for sure.
What I would like to do is log some sort of useful network status information and/or be able to reset the network if I can figure out there is an issue from within the device.
I thought I had it all working using "/etc/init.d/network restart" but I've come to find out that the command is not recognised in this system. I also can't issue a "top" command to see what services are running. I can Telnet in, so I can try commands and see if they work.
Have any of you worked with such an abbr. system and if so, what might be around that I'm unaware of to help determine network status?
View 3 Replies
ADVERTISEMENT
Aug 10, 2010
I would use xattr in python, but found the xattr's keys() is empty, does that indicate the libattr feature wasn't enabled? I've learned the libattr feature is disabled in ext3/ext4 by default, but how to enable it?
>>> import xattr
>>> x = xattr.xattr('tiger_8a428_userdvd.dmg')
>>> x
<xattr file='tiger_8a428_userdvd.dmg'>
>>> x.keys()
[]
View 1 Replies
View Related
Jul 16, 2011
I ran the 11.04 upgrade. At the end, it reported a failure, implied a recovery would occur and the upgrade then finished. The recovery was supposed to have run sudo dpkg --configure -a. That does not appear to have happened. I am concerned that a reboot will render my system inoperative.Has anyone else experienced a similar issue or have any suggestions? What information should I provide. report.
View 2 Replies
View Related
Mar 15, 2011
Our Apache server is pretty much configured straight out of the box, and I've noticed it is using far more CPU and less memory than another server where I have the following:
RLimitCPU 8
RLimitMEM 100000000
RLimitNPROC 24
The Apache documentation says that if these aren't set, the values are obtain from the OS. How can you tell what those are? I'd like to see if I can tune Apache's performance, but I don't even know if these values are higher or lower than what it's currently using...
View 5 Replies
View Related
Apr 27, 2010
How to find in linux(fedora12) if dhcp is running on network?
View 3 Replies
View Related
Jun 15, 2010
what is the command for checking the network performance and status?
View 3 Replies
View Related
Jun 5, 2011
I installed slackware 12.1 from files i downloaded and converted to cd (images). There are six "disks" i downloaded from the slackware site and converted to images via a homemade .cmd in windows xp and then burned using imgburn.
I partitioned my hd (canibalized from an acquaintance's emachine and connected it to my desktop (1G ram, 2Ghz processor). Booted from disk 1 and fomatted the 80G HD for 2 partitions of linuxswapable at 2G apeice and 2 partitions of bootable linux. (Because i want to try another distro later). I ran the setup installing most everything and all seemed to go well. After i exited setup and restarted, it identifed the cd/hd as normal and then went into some sort of recovery mode with the emachine logo call pcangel, after which it tells me.
STOP: c0000021a (fatal system error) The session manager initialization system process terminated unexpectedly with a status of 0xc000003a (0x00000000 0x00000000). the system has been shut down. So, is this indeed an xp error message, and if so, why am i getting it after formatting everything?
View 3 Replies
View Related
Nov 25, 2010
Using a Linux program to fix my TiVo. Program is burned to a bootable CD, which loads fine. I get asked what the drives are (CD and Hard Disk) with abbreviations like hda, sda, etc. I was able to determine the Hard Drive as /dev/sda, by using <Shift>-PgUp/PgDn, but could not find what the CD drive was.
View 1 Replies
View Related
May 20, 2009
want to know what is the cmd to ping/check the link speed or something like Network Info. If for server checking (Show information CPI info) is (cat /proc/cpuinfo ) (correct me if im wrong)
View 4 Replies
View Related
Jun 29, 2010
I am very interested in using CentOS as a server for diskless PXE booting and was wondering if this was a possibility. I have a working DHCP/TFTP/HTTP system set up and going and I can get my client machine to boot a linux image without any problems. Ideally I would like the diskless machines to be able to immediately load an image through PXE and store their own filesystems on the server through the use of NFS.I heard about system-config-netboot and got very excited because it sounded like something that would help me set up a diskless system. However, after doing some research I have heard from many that it is generally buggy and unlikely to work. When I tried using it I got the error: "The diskless directory must be NFS exported and contain a boot sub-directory"Even though my diskless directory WAS nfs exported and most definitely contained a boot sub-directory. Does anyone have any advice on using this tool, or using CentOS as a server for diskless clients?
View 2 Replies
View Related
Jan 17, 2010
Actually I suppose to use this "htop" command to get the system utilities like current processor speed ,running programs ,memory usage(ram and swap) to my program. I planned to get it using popen(). I was success popen("top | grep Mem", "r") with top command. But are there a way to take such information using "htop". Or are there any idea of taking current CPU,MEM,Swp usage as well as Tasks and running tasks using htop or other way to C program...
View 1 Replies
View Related
Dec 19, 2009
I just installed a fresh copy of 11.2 I use networkmanager and the cisco vpn plugin (not the cisco client). I create a vpn profile and connect to it. The icon shows a connection has been established, but I have no network connectivity. In the /var/log/NetworkManager file, I see this
Code:
Dec 19 13:28:08 TonyLaptop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/netcontrol_services' exited with error status 127.
When I sudo vpnc and connect that way, it works fine, it connects and I can pass traffic.
I am using opensuse 11.2x86
firewall is disabled
Gnome
View 3 Replies
View Related
Nov 13, 2010
Code:
rcapache2 server-status
HTTP 400: Bad Request
Code:
w3m -dump -cols 80 https://localhost/server-status
HTTP 404: Not Found
View 9 Replies
View Related
Jan 15, 2010
There are a few PCs on the network that lose network connection every so often -- sometimes these old beasts have a power failure and owing to a bug in the BIOS the NIC doesn't necessarily initialize properly, which requires a reboot to correct it. Got me thinking of a band-aid -- have the PC ping a specific IP address, and if it cannot ping then it forces itself to reboot.
IF I were to write it in BASH I'd do it like this:
#!/bin/bash
HOST=<some meaningful hostname or IP address>
for ipaddy in $HOST
do
count=$(ping -c 1 $HOST | grep 'received' | awk '{print $4}')
if [ "$count" = "0" ]; then
sh usr/bin/reboot
fi
done
In English: send 1 ping to the IP address. Grep through the results to see how many of 1 ping was returned. IF it returns 0 pings then reboot. I'm sure the reboot command would have to be groomed a bit for sudoers but that's beside the point here.
So, HOW do we write something like this for DOS? Stop giggling (lol). No really, I have Windows 2000 & XP machines that need some sort of script or method of knowing (at intervals) of when they're not talking to the Host system, and need to reboot to fix it. I was thinking to write a simple test script, drop it on each of these machines and use the Windows task scheduler to run it every 30 minutes.
View 3 Replies
View Related
Oct 3, 2010
Crashed System left at root @ maintenance shell. Below is the sequence after boot, with Exact Errors. How to Salvage important files from my crashed laptop hardware.
A) Via a Transfer to a USB stick in Terminal, would be ok
B) Via SSH through the router from the good laptop that is Preferably using Nautilus / GUI, Terminal also ok (less confident of my skill here)
C) Directly Fixing Laptop and being ably to use Nautilus / GUI to Copy Files to USB stick, localy
The result of some effort:
A) the USB stick is good but Can't get in to it from the crashed laptop
B) SSH: No luck I get: "Cannot display location "sftp://192.168.1.101/"" from the good Machine
C) at a lose here...
The Crashed Laptop is:
Ubuntu: 9.10
Linux: 2.6.31-22-generic
Gnome: 2.28.1
CPU: Intel Atom N280 @ 2GHz
NO: CD / DVD Drive
(USB Boot maybe possible? Have not made a Bootable Ubuntu USB Yet)
BOOT:
GNU GRUB Version 1.97~
Ubuntu, Linux 2.6.31-22-generic
etc / (& recovery mode)
Mini Ubuntu logo or splash screen
File-system checks are in progress sticks every time at 4%
init: mountall main process (418) terminated with status 3
#(it seem to count up every time I re try to boot ? (init: mountall main process (423)(429)(etc)
Mount of filesystem Failed.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and re-try
root@Bi-Ji-Ben:~#
I can navigate around but cant get the GUI up
root@Bi-Ji-Ben:~# nautilus
could not Parse arguments: Cannot open display:
A good USB stick reads & writes in another laptop running Ubuntu 9.10. When I connect the USB to the Crashed Machine it starts with:
"assuming drive cashe: write through", and hangs on this tell I press: "Ctrl+C"
In the crashed machine I can't seem to get into the USB anywhere that I think it should show up and trying to "mkdri" got me:
"Read only file system".
View 2 Replies
View Related
Oct 7, 2010
The superuser will get a mail about the system memory free status every minute after 9pm?
Which is Correct:
1. * 21 * * * free
2. * 21-0 * * * free
View 1 Replies
View Related
Apr 22, 2010
I get connected to the internet via a router. The router dials to my provider and is connected to my computers via LAN and WLAN (mostly WLAN, see below). A few days ago I installed Suse11.2 to an old laptop (connected both ways: ethernet with wire and wireless ethernet).
The access to the online repositories worked only after I added the LAN-Adapter (Eth0) to the Demilitarised Zone of the firewall (I did also with the WLAN Adapter).
1. Is this normal?
2. Should I add the network devices now to an other zone?
I want to update my main laptop now from openSuse11.1 to 11.2 via new installation (from DVD) and make this installation right.
Or should I install only the data on the DVD and update after the installation via Yast?
(My main laptop has also an loose contact at the ethernet adapter.)
Greetings pistazienfresser
Now I am using (on my main laptop = Samsung X20) openSuse 11.1 and Gnome 2.24.1 (mostly, 1 account is using KDE) and Kernel Linux 2.6.27.45-01.1-pae. "/home" is on an separated partition (as part of an extended partition). I have also 2 NTFS partitions for Windows XP (System and Data), and a FAT, a root (/) and a swarp partition. My router is a AVM fritzbox 7270 (firewall should be included).
View 6 Replies
View Related
Jul 5, 2010
I have just upgraded to Lucid on Ubuntu. I am a long time Pidgin user. I tried using Empathy with Gwibber, but I can't get Gwibber to update my IM status(es) in Empathy, so I want to go back to using Pidgin. (Additionally, I can't get Skype to work with Empathy.)I installed pidgin-microblog and pidgin-mbpurple, and they allow me to view my Twitter feed in Pidgin and update my Twitter status in Pidgin. However, in Karmic, I was also able to specify certain "status availabilities" (one named "Twitter-Available" and one named "Twitter-Away", for instance) to have the IM status message for these statuses become populated with my Twitter feed. This capability seems missing in pidgin-mbpurple in Lucid (and it seems to be the only thing missing from Karmic).
Is there a way to have pidgin-mbpurple update certain "status availabilities" in Lucid (and I'm just missing something) or is this no longer possible?Equivalently, is it possible to have Gwibber update my status message in Empathy? (I just want to be able to update my status once on one of my three computers - and have it propagate to all my other accounts (IM and social networking) and computers).
View 1 Replies
View Related
Aug 11, 2011
when I try to apt-get upgrade system or install a new package in synaptic or terminal, I see this:
Code:
dpkg: ../../../lib/dpkg/dump.c:250: w_status: Assertion `pigp->trigpend_head' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
So, before I have a problem - Synaptic opened, told that /var/lib/dpkg/status don't exist, in the web I read that sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/
View 4 Replies
View Related
Mar 9, 2011
I am having a terrible time getting any networking to work with a new RedHat Enterprise 6 64 bit install. I am installing on an HP Proliant DL380G7.I have downloaded the driver - hp-netxtreme2-6.2.23-2.src.rpm from the HP website.Followed directions and did the following:1.Build Environment Setup - installed redhat-rpm-config and kernel-devel2.Installed the source (hp-netxtreme) rpm.3. Build the Binary RPM - installed rpm-build and ran the following:rpmbuild -bb /root/rpmbuild/SPECS/hp-netxtreme2.specIt runs through the build process and near the end I get the following:make -C /lib/modules/2.6.3271.el6.x86_64/build UBDIRS=/root/rpmbuild/BUILD/hpnetxtreme26.2.23/obj/default/bnx2-2.0.23b/src modulesexpr: syntax erromake[2]: Entering directory '/usr/src/kernels/2.6.32-71.el6.x86_64'/usr/src/kernels/2.6.32-1.el6.x86_64/arch/x86/makefile:81: stack protector enabled but no compiler supportmake[2]: gcc: command not found
make [3]: ***[/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src/bnx2.o] Error 127make[2]: ***[_module_/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src] Error 2make[2]: Leaving directory '/usr/src/kernels/2.6.32-71.el6.x86_64'
[code].....
View 2 Replies
View Related
May 10, 2010
I have a script I only want to run when a window is being dragged around. Is there an environmental variable or something that will tell me whether one is moving and which one it is? I'm using Ubuntu Lucid if it matters.
View 9 Replies
View Related
Mar 14, 2011
Looking at the output of netstat, I'm not seeing a definitive way to tell which torrent connections are clients reaching in to my machine vs my machine reaching out to the world. Is there a clear way to determine which is which?
View 1 Replies
View Related
Sep 8, 2009
I am trying to remember the procedure used to determine the ip address range when given a network address and its subnet mask. Does anyone have any documentation on the steps that are done to accomplish this?
View 6 Replies
View Related
Feb 8, 2010
I have two NIC cards installed, they both go to seperate networks. Occassionally I am not able to establish a connection via eth1. When looking at tcpdump traces I see that Linux is using eth0 hardware port and putting eth1's IP address in the packet to reply to the connection request. When the connections work its when Linux uses eth1's port.
View 3 Replies
View Related
Feb 24, 2011
I tried changing the source to a few different ones and I picked "Select Best Server". Still getting the same msg. I am on a wired connection and there is nothing wrong with my connection.Anyone know the solution if not how do I install nvida drivers?
View 1 Replies
View Related
Apr 4, 2010
This questions pertains mainly to building a brand new GNU toolchain on one machine for deployment on fs of another machine that has no toolchain installed. I understand the machine on which GNU toolchain is going to be built as the 'build' machine. I understand the machine on which GNU toolchain is going to be deployed as the 'host' machine. I understand the machine on which the code generated by the new GNU toolchain is going to be run as the 'target' machine.
Q1.) Is there a fixed 'rule', 'matrix' or 'table' somewhere which tells me exactly which versions of 'binutils' and 'libc' are required by a particular version of GCC? I.e. something along the lines of:
- gcc ver.'k' can be built using gcc ver.'m'(or later) with binutils ver.'i' and libc ver. 'j'
- gcc ver.'k' will operate with binutils ver.'t' and libc ver.'r'(or later)
Is there some 'rule of thumb' / 'heuristics' giving me the above version requirements for the building and operating GCC, or is this information somehow implied or derived systematically. Where can I find more about the above?
Q2) I assume that the libraries have no dependencies on any underlying software other than the system calls provided by the kernel. Furthermore it appears that the libraries are not too sensitive about the kernel version they run on (I found this out from experience). Therefore I could build the libraries on some build machine and place them on the bare naked newly set up host file system without regard to any other prerequisite SW components?
Q3) During operation, do GCC and its various components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if GCC requires 'Glibc' for its own operation or not?
Q4) During operation, do the 'binutils' components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if the 'binutils' require 'Glibc' for their operation or not? ( Of course it is clear to me that when GCC is operating it will need libraries and headers to resolve object references in the target code it produces, but that would be a >different< question).
View 5 Replies
View Related
Feb 17, 2010
I am trying to scroll text from a text file across a wx.panel. This is the code so far:
Code:
def scrolling(self, text, rate):
def scroll(): charList = []
dc = wx.ClientDC(self.panel_1)
open_text = open(text, "rb")
my_text = open_text.read()
charList.append(my_text) open_text.close()
x,y = self.panel_1.GetClientSizeTuple()
while 1: for z in charList: for r in range(2000):
dc.DrawText(z,x-r,0) time.sleep(rate) dc.Clear()
net3 = threading.Thread(target=scroll)
net3.setDaemon(1) net3.start()
It scrolls but I am guessing where the range is (2000). I need to be able to determine the total number of pixels that the text in the file is. Is there a python way to determine this?
View 1 Replies
View Related
Oct 7, 2009
I have been running into network issues lately with my CentOS 5 (installed on AMD Athlon X2 - 64 bit machine about 2 years ago). It was able to connect to the network fine until yesterday when I installed more memory into the machine restarted it.
Upon restart, the boot up was paused at 'Determining IP information for eth0' step for a while and booted with out connecting to the network. I tried restarting the network (/sbin/service network restart), but this is the error message I continuously get: Determining IP information for eth0...PING xxx.1.226.1 (xxx.1.226.1) from xxx.1.226.83 eth0: 56(84) bytes of data
[Code]...
View 2 Replies
View Related
Apr 1, 2010
I've seen this pop up a few times on the forum but my setup is slightly different. I have a PC with an ASUS P5N32-SLI Premium motherboard. I've just installed CentOS 5.1. Yes, I know this is ancient, but this is what they're developing on at work. I'm trying to get connected either via ethernet or wireless and neither one works. When I boot the computer to Window XP it does connect on ethernet. Ethernet should be easy so I'm concentrating on that. But I get "Determining IP information for eth0... failed." after a 'service network start'.Here is some other information that was asked on similar threads:
> uname -rmi
2.6.18-53.el5 x86_64 x86_64
> grep eth0 /etc/modprobe.conf
[code]....
View 4 Replies
View Related
Apr 29, 2009
In my project i cannot determine the number of check list initially. I will know dynamically during execution.How to specify the number of check list dynamically in zenity.
View 5 Replies
View Related