Networking :: Write A Little Script Which Displays A Message When Fall Offline?
Apr 6, 2010
My provider sometimes kicks me and assigns a new IP address.I'd like to write a little script which displays a message when I fall offline. What is the most reliable way to check whether I'm offline with a (bash?) script?
I don't use F-spot regularly. I don't think I've used it for a few months. But when I tried to open it recently and every time since it crashes showing the following error: F-Spot Encountered a Fatal Error
Could not read add-in description.I removed F-Spot and reinstalled in Synaptic but it didn't fix anything.
I have been using Fedora for a while now. When I try to watch movies or videos on the internet or offline a error message like the following: What should I do?
I have currently installed Xubuntu via wubi on my windows XP. When I try to boot, it displays an error message stating that wubildr.mbr is missing or corrupt and I cannot boot into xubuntu.
I've been getting an error message at login that .ICEauthority cant be written to. If I look with nautilus permissions it shows owner is root with read and write permissions -rw------- 1 root root 13430 2010-11-21 18:40 .ICEauthority. Should this file be owned by root or the user ?
When I start the vncserver process, I get a message saying "Starting VNC server: no displays configured." I edited the /root/.vnc/xstartup file and changed twm & to say "gnome-session &" (Without quotes). Not sure why I am still seeing this error. It's CentOS 5.4.
like my alias a retired person, and Its never to late to learn something½ve just installed Ubuntu and found a tutorial online about bash-script.Manage some, but I cant to this one:[Write a script that makes file executable and writes a message that it has been done.If I run the command > <scriptName> <fileName> , then the file fileName should be executable and then it should indicate that fileName have been executable.]
Ive read man pages up-n-down and search the web, and I think I should let the script use chmod and ls -l, but I cant get the hole picture here. Actually I have nothing to show up, so I hope someone could help me with some ideas or a soloution - just to the how it should look.This is my first post, ever, at a forum like this, so please be nice if I didnt follow any rules here, I dont know if you even will answer this post, but at least give me some clues, a skeleton-code ti be based on
I want to write a driver in c so that when i released the key some message will printed in output screen. The driver should be for arm.I have a driver which read the key when it is pressed.But i want the both (means key press and release).
I'm having this problem with this piece of code, and i don't really get what the problem is, maybe is because i am already too sleepy to concentrate enough but maybe
When I try to upgrade, I always get this message: "E: /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb: failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-amd64/kernel/drivers/net/s2io.ko'"
I am installing fedora 15 in vmware 7.1.4.It tells me "Gnome3 failed to load and started in the fall back mode" when accessed in live-cd.Ever since fedora 15 beta or any other distros take gnome3 as default destop,I haven't experienced a beautiful normal gnome3
I have a problem with WoW 3.3, when it starts I get a Black Screen, but I can hear the sound, and the windows responds to keypresses (like, pressing Esc exits the game, o when I press enter I hear the sound of logging in).I have a Lenovo G530, with Intel GMA X4500 as display processor. I think that the drivers are working fine, as I can run all the OpenGL games without problems. I have Ubu 9.10 and Wine 1.2. I've tried many solutions posted on this forums and WowWiki.When I run the game from a console with wine "/home/xxxx/Storage/Games/wow3/Wow.exe" -opengl -windowed, it outputs:
Code: fixme:advapi:SetSecurityInfo stub archive DataenGBpatch-enGB.MPQ opened
I have two PCs one has Windows XP the other has Ubuntu 9.10 on it, the Windows PC has no problems getting on the Internet (I'm posting this with it) and getting an IP address from the wired router. The wired router I have is ONLY wired it does not have wireless at all, it is currently setup to hand out IP addresses between 192.168.1.2 and 192.168.1.254.
The Ubunutu 9.10 PC worked great last night surfed all over the place for hours, then finally shut it down last night when I went to bed, shut down appeared to be normal like it always does when it shuts down, then this morning when I booted it up it gave error: "WIRED NETWORK - disconnected you are now offline".
Everything worked fine until I downloaded some Ubuntu upgrades. Now, every time I try to connect to internet via network manager it says: " Network: Disconnected - you are now offline". so what to do...
The title message appears when I log in. Neither wired nor wireless network adapters show in ifconfig output. Network manager shows a simple networking disabled greyed out message. Both adapters work in live cd boot. Everything was working properly before; I'm not sure what happened.
With a fresh lucid install on my new dell mini v10 when I'm connected to the internet the wrong icon is displayed on the panel by nm-applet. The no connection icon with the red exclamation mark is displayed when the normal wireless network connection icon should be shown. By the way I'm using the proprietary broadcom drivers for the wireless
I'm running lucid 10.04 on my netbook (regular desktop distro though). I enabled the proprietary drivers needed to get wireless working (I have an hp mini 110 by the way), but the applet in the taskbar will never show a connection, even if it is connected.
I just installed Ubuntu 10.04, complete noob, but I can't connect to the internet. I connect the ethernet cable, select auto ethernet and the icon animates for about 30 seconds. But then I get a notification "Wired network Disconnected - you are now offline".
Don't know what other information I should provide. I tried a few things from different posts like editing the dhcpclient.config but don't really know what I'm doing and none of these worked anyways. I'm not even sure if they were solutions to a similar problem! I'm using the same connection on my Mac OS 10.4.11 (different machine) and I have no problems. Could I use these same settiings in Ubuntu? I don't know what the different fields represent or what I should input in manual settings.
I tried to burn with k3b but after a while the fateful message "cdrecord has no permission to write to the device. " Then I launched k3bsetup and I selected the burning group. Did not exist. I created it and now i'm included in it. Then I checked all the boxes for the write permissions of the programs used by k3b and the writer. Now it works. But after reboot, the box of the burner device is not checked. So I have to select it each time. Boring. DO you know how to save the setting permanently
I have installed the driver of my Broadcom Wireless card BCM4312 ( Acer extenza 5620 laptop) and when i try to connect to my wireless connection it just try to connect for a while and then go offline i tested another usb wireless card and still no success
I'm having problems installing the drivers after doing an install using WUBI.I no longer have the installation disc for 10.10 as I had to reformat my HD after having problems with my Win7 and Ubuntu installation (on separate partitions), so I did this set up so they can co-exist better on the single HD. It's a bit of a long story, so that's the short version.My particular problem is that I am unable to install the drivers needed because I had let WUBI download the disc and after installation I couldn't locate it on my HD. It must have been removed right after installation. I have a copy of the contents on a bootable USB, but I don't know how to point the system/repository to it. So I'm sure I have the all the required materials to make this happen. I just don't know how.
I've located the driver in the media/usb/pool/restricted/ folder, but synaptic/software installer insists on downloading the dependencies even if I don't have internet. I checked the CDROM option of in the repositories panel, but it can't locate the disc.Can anyone tell me which dependency files are needed and the command to install them, if need be. I'm so sorry. I am still very new to linux, but I am quite satisfied about using it as my working environment.
A brief description of my network:It is a small home network consisting of an Ubuntu 10.04LTS server edition, an Iomega ix2 NAS, a WinXP pro server and several family laptops.This is all routed through a Netgear WNDR3300 home router. All are assigned IP's via DHCP and all but the laptops are static (via DHCP though). The WAN address/DNS is assigned via DHCP from my ISP.The problem:When one of the machines is offline, Ubuntu does not resolve the netbios name correctly. No surprise here. But what is happening is that it is finding some arbitrary machine on another network. Below is what a ping to an offline host reveals:
I have been using ubuntu netbook 10.10 on my Dell Mini 9 for the past few month without any problem; it connects wirelessly to the internet via a wireless router. Yesterday in the middle of web surfing, suddently firefox cannot see any website outside of my home network (Firefox displays Server not found page). No help when I rebooted a few times and connect to my home network via wireless or even wire cable; it can access files in my network file server (DNS-321) but not the internet. My desktop computer running Windows Vista and ASUS media player has no problem accessing the internet.
On my Linux box, (which is a proxy, webserver, mailserver, etc. etc. etc.) I use static IP's. Network manager is turned off, but when you do that Firefox ALWAYS has WORK OFFLINE checked. I could use Network Manager but that's not really the right way, cause I need the servers to work in level 3, etc. as well...Anyways, anyone know a way to make FF behave if I use Static IP without NM?
I tried to use multiple mobile broadband modems in ubuntu 10.10 and encounter a bug as follows:
When i plug in a new modem, all the attached modem is automatic go offline ( thus my connection is down), and try to redial back, sometime the redial is successful, sometime it's not.
It was working fine in ubuntu 9.10, plug in a new modem, all attached modems stay connected.
After i install it i lost my internet connection . i got a message " Wired Network " " you work offline ". i use cable ADSL ,.... my Pc information HP Pavilion 6700 running with both Window 7 & Ubuntu 10.10 note... my network connection work correctly on W7.
so i am about a week into using ubuntu. installed it on an old hp laptop that i pieced back together, using a broadcom wireless chip set. got all the drivers loaded and working, on any other network the notification area will display that it is connected no problem. but on my home network it will connect to the wireless but the notification icon will still look like there is no connection.
something that may be useful to know is that i originally plugged the laptop into the the router via wire to download the wireless card drivers.
I've run into a weird problem. Two of my linux machines (A and B, both running CentOS 5.5) are connected to the same wall ethernet socket via a hub. Bothf them are configured for static IPs. The trouble is that when machine B goes offline or hits a kernel panic, machine 1 goes offline too. What I've noticed is that in this condition the "route" output from machine A does not show any entry for the default gateway either The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 for machine A are: