Ubuntu :: Connection Monitor Script Works Incorrect?

Jan 21, 2011

My promlem is that i wrote a few simple script to monitor the network connection as follows:
script 1 "netmonitor.sh"

Quote:
#!/bin/bash
# /usr/local/bin/netmonitor.sh
ping -c 1 "$HOST" > /dev/null 2>&1
if [ $? = 0 ]; then
echo "`date` Network is ready!" |

[Code]...

Is it possible, that if system don't use the connection after getting the DHCP lease, it close the connection automaticly? Anyway it works ok, but i don't want to owerwrite my router's flash in every 5 seconds with te new lease, my script probably defeat it soon if i don't do anything

View 5 Replies


ADVERTISEMENT

CentOS 5 :: SU Works But SUDO Fails With Incorrect Password?

Mar 27, 2009

I hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue

View 11 Replies View Related

Ubuntu :: Cannot See Grub Because Of Incorrect Monitor Timings

Apr 28, 2011

I'm using 11.04 and when I boot I see post messages and then when it gets to grub I just see black screen with a monitor timing not supported issue. I have a geforce 6100 nforce 405 video card with a Dell U2311H monitor. It does boot to the desktop eventually, and everything from there on works as expected.

View 4 Replies View Related

Ubuntu :: Incorrect Monitor Detection / Make It Correct?

Feb 25, 2011

It's detecting a 73" Mitsubishi TV when I have a 60". I installed my graphics card driver and that didn't correct the error.

View 4 Replies View Related

Ubuntu :: Incorrect Swap Partition Size In System Monitor?

Jun 13, 2010

I am using Kubuntu Amd64 Lucid on my desktop and I have allocated 08.03 GB partition for swap. But today I have noticed that system monitor is showing this as 09.90GB which is incorrect.

I tried deactivating the swap from KDE Partition manager. Even after deactivating swap it still shows the swap as 1.9 GB. So there is clearly 1.9 GB swap added to my system. I am not sure how. Attached screen shot clearly shows the system monitor issue. One possibility is, I have 4 GB (3.7 asper system) RAM comprising two units of 2 GB cards. Is this 1.9 GB read from one of these? I tried to boot the system from Kubuntu AMD64 live CD and then it showed only 8 GB as expected. So not sure whats causing this issue in my installation.

View 2 Replies View Related

Ubuntu :: Natty Screen Tearing / Incorrect Monitor Refresh Rate

May 3, 2011

I'm currently running an up-to-date copy of Ubuntu 11.04, but I'm noticing some strange behavior with the monitor settings. First of all, I started investigating this because I'm seeing a lot of screen tearing while watching videos full screen as well as while the screensaver (lattice) is running. On Ubuntu 10.10 I was able to simply set the refresh rate of my monitor to 60Hz through the Nvidia tool and everything worked great. Now, this is no longer the case. I'm using a Samsung Syncmaster 205BW monitor with an Nvidia 8600 GT video card. They are connected with a DVI cable.The strange thing is, the default tool, Monitors, claims my monitor is "unknown" and will only allow me to select 50Hz, 51Hz, and sometimes 52Hz for the refresh rate.

The Nvidia tool claims that my monitor has been detected as a Samsung Syncmaster and is configured to run at 60Hz.However, another area of the Nvidia tool claims that my monitor is using a refresh rate of 59.95Hz. none of these solutions had any effect. I'm still seeing video tearing. I let the Nvidia tool re-write my xorg.conf file after trying these solutions.

View 4 Replies View Related

Ubuntu Networking :: SSH Connection - Router Works To Except Connection Requests

Jul 28, 2010

I'm trying to do a SSH connection between my home and work PC both machines are running ubuntu 10.04. I have read all the comunity documentation at [URL] from Work PC. I went on to the web site what is my ip address and noted down the number, From Home i opened a terminal and typed: pnig (ip address). to which their was no reply, now i'm assuming i need to configure the works router to except connection requests, is this Correct?

Also what information do i need from my works network and how do i get it? I understand that I need the routers expernal ip address, but how do i referiance a specified computer after that address? What program do i use in ubunu and how is that information applied to it?

View 4 Replies View Related

Networking :: Fedora 13 - Wireless Network - Incorrect For Connection To Router

Nov 1, 2010

I changed the network setting and caused a problem of wireless network. After I completely reinstall the OS of Fedora 13, the wireless network is still incorrect for connection to router.

View 4 Replies View Related

Ubuntu :: Incorrect File System Space Reported By System Monitor?

Apr 3, 2011

In System Monitor, on the File Systems tab, the "Total", "Available" and "Used" columns don't seem to add up, and the "Used" percentage doesn't seem correct either.

My config:
/dev/sda1 = 80 GB SSD drive, / partition.
/dev/sdb1 = 50 GB FAT32 partition of an external 500 GB USB hard disk.
/dev/sdb2 = remainder of the 500 GB USB hard disk encrypted using luks.

Screenshot: The /dev/sda1 figures don't really add up well, but they're close at least (how you get "50% Used" from any of those figures I don't know!).

However, for /dev/sdb2, they're miles off:
"Free" = 146.2 GiB
"Total" = 409.7 GiB
"Available" = 125.4 GiB
"Used" = 263.5 GiB

[Code]...

View 4 Replies View Related

Ubuntu :: Monitor Works In Only One Account?

Oct 19, 2010

i have upgraded to 10.10. my monitor works perfectly in one user account but in the other user account it is just lines. is there any way to fix this?

View 1 Replies View Related

Ubuntu :: Blank Screen (ATI) On TV When It Works On Monitor?

Jul 31, 2011

Natty install -- ATI 9800 is the video board.

I installed Natty on it with the machine hooked up to a Samsung LCD with a 1680x1050 resolution over DVI. No problems at all. I want the box to pretty much output MP3s and web video, so I'm not needing much. When I take the box and hook it via DVI to my LCD, I get a blank screen on boot up. I try sticking the natty CD in it, and I get a blank screen trying to live boot it too. The LCD doesn't do 1680x1050, so I brought it back to my Samsung and set the default resolution to something nice and safe: 1280x1024. Still the same behavior. When I take splash mode off, I see a "load fallback graphics devices fail" error as it is booting up. Hard for me to think the driver is the fault here when it works on my over LCD just fine.

View 4 Replies View Related

Ubuntu :: Black Screen - Works On VGA To Monitor But Not On VGA To TV?

Jul 2, 2009

I have this very frustrating problem... I'm trying to build a Linux-based HTPC (Home Theatre PC). I'm running Ubuntu 9.04 Jaunty as the operating system, and it works fine when I have it connected to my 17" Samsung monitor. However, when I connect the HTPC to the TV via VGA I get a black screen after "startx" (I can access the console through recovery mode though). Ubuntu is running gnome, so I guess it's a gnome related problem?

I would have thought it was a problem with the drivers to graphics card, but since it's working on my 17" monitor I've ruled that out. The TVs resolution is 1024x768. What can be causing this? Apperently there's some difference between my monitor and my TV (forgetting the fact that it is indeed a TV, not a monitor), but what? I've previously run Windows on the same hardware without problems, and thought I should give Linux a shot. It doesn't look good...

View 14 Replies View Related

Ubuntu Multimedia :: IMO Touch DisplayLink Monitor ALMOST Works?

Feb 14, 2010

I've got the iMO mostly working, but there are a few gaps that keep it from being actually useful.First, the stuff that works: Gave up trying for one display with two screens, and instead went with 2 displays. Started the USB display with:

Code:
xinit /usr/bin/fluxbox -geometry 800x480+0+40 -display :1.0 -- /usr/bin/X :1 -novtswitch -sharevts -layout USBScreen -dpi 75 >/tmp/dl1.log &
sleep 10
x2x -east -to :1 &
The "-layout" option references a ServerLayout in xorg.conf:
Code:
Section "ServerLayout"

[Code]...

Move you finger from left-to-right, the cursor moves from right-to-left. Tried "InvX", "InvertX", "SwapX", but so far it looks like evtouch is ignoring all options. Xinput list-props only shows "enabled" as a property. Actually, even if this worked, the touch pad would still be a problem. Right now the touch pad input goes to the currently active screen. Ideally I'd like the touch pad to generate x-values to the right of the main screen so that it controls the USB screen, not the main screen. Might be an option that controls this, except evtouch ignores all options.

Suspend kills the USB bus If the PC goes into suspend while the USB display is active, when it returns all USB devices are dead; USB monitor, mouse, keyboard. Hard reset to clear. Also, if the USB display is idle long enough, it turns off the display. Moving the mouse over to that display then causes a USB failure and a hard reset. Might be cool to use it as an out-board screen, but not if the application menus don't work, the touch pad is backwards, and it locks up the system...

View 2 Replies View Related

Ubuntu :: 10.04 LTS - Dual Monitor Works Only Sometimes (ATI Multi-desktop)?

May 19, 2011

I've been using my laptop with an external LCD monitor attached to it at work (Philips 201E). And at home with a different external monitor (Samsung 2032BW). I have an ATI graphics card (HD3450), with Ati Catalyst drivers enabled and I'm using the Single display desktop (Multi-Desktop) seeting. At work I have the external monitor on the left and laptop on the right, while at home the other way around. So when I switch between the two setups, I just needed to go to Ati Catalyst Control Center, change the order of the displays, change the resolution (Home - 1680x1050, Work - 1440x900), reboot and it was all fine.

But since a while it doesn't work properly anymore:

At home it *still* works fine. At work it doesn't work. Sometimes it works for some reason, after a few resolution/setting changes in ACCC and reboots... it's very strange and annoying. Does anyone have any idea for fixing it? I've uninstalled and reinstalled the ATI restricted drivers and that seemed to make it work initially, but it still works just sometimes. This is my xorg.conf currently:

Code:
Section "ServerLayout"
Identifier "amdcccle Layout"
Screen 0 "amdcccle-Screen[6]-0" 0 0
Screen "amdcccle-Screen[6]-1" 1280 0
EndSection

[Code]...

View 1 Replies View Related

Ubuntu :: Unity Works On Optiplex 780 Dual Monitor?

Jun 30, 2011

The title says most of it. I've got an Optiplex 755 (Dual 20" Dell Monitors) on my desk at work but have access to a 780 if I want it. The 755 does NOT work with Unity, simply won't handle it. I'm not interested in doing an OS Reinstall and data transfer of all my work stuff if Unity doesn't work (KDE is fine on my 755...well sort of, I have Konsole windows popping up through my Firefox and KRDC windows but that's a somewhat minor issue). Anyone have an Optiplex 780 that they have the most recent Ubuntu installed with Unity running (Dual Screen) without a problem?

View 2 Replies View Related

General :: Ubuntu 10.04 LTS - Dual Monitor Works Only Sometimes (ATI Multi-desktop)

Jul 7, 2011

I've been using my laptop with an external LCD monitor attached to it at work (Philips 201E). And at home with a different external monitor (Samsung 2032BW).I have an ATI graphics card (HD3450), with Ati Catalyst drivers enabled and I'm using the Single display desktop (Multi-Desktop) seeting. At work I have the external monitor on the left and laptop on the right, while at home the other way around. So when I switch between the two setups, I just needed to go to Ati Catalyst Control Center, change the order of the displays, change the resolution (Home - 1680x1050, Work - 1440x900), reboot and it was all fine.

But since a while it doesn't work properly anymore: At home it still works fine. At work it doesn't work. Sometimes it works for some reason, after a few resolution/setting changes in ACCC and reboots... it's very strange and annoying. With the home monitor I can see the whole bootup process on both monitors (laptop + LCD) and it always just works fine. With the work monitor on the external LCD monitor I just see "No video input" until I get to the login screen, then it shows up there as well. But after login it will either:

[code]....

View 1 Replies View Related

General :: Dual Monitor No Longer Works

Aug 12, 2009

My dual monitor no longer works. I downloaded the new patch for my video card and apparently the NVIDIA GeForce 8800 and Linux do not like each other?

1)Should I just remove the driver?

2)If I did would the old driver pick up because although it had a few faults, at least I could use both monitors after a lil engineering

3)If I were to remove the driver, where would I do it from?

View 5 Replies View Related

Ubuntu Multimedia :: Second Monitor Works Fine But Main Screen Messed Up

Mar 28, 2010

I have to hold a presentation using a projector in a few days and I have to bring my own laptop, so I tried hooking up a second monitor to test if it works. As it turns out, the second monitor works fine, but then my main screen is messed up. I'm using Ubuntu 9.04 and I'm doing this on a HP Pavilion DV4000 laptop. My main screen shows just the bottom (cca) 400 pixels of the wallpaper, no bottom panel, no desktop icons. And I'm kind of scared to remove the second monitor now cause I don't know what I'll do if I don't get the main screen back.. Well, other than installing 9.10 beta that is..

View 4 Replies View Related

Slackware :: KDE 4.6.0 (from Alien Bob's Ktown Repo), Battery Monitor No Longer Works?

Feb 22, 2011

I am running Slackware64 -current. I just upgraded KDE to 4.6.0 from Alien Bob's ktown repo, and upon doing so my battery monitor no longer functions properly. More specifically, the icon will appear in the panel, but when I choose the option to show the charge/discharge state it does not show. The icon only ever shows that the battery is not plugged in to an external power source (showing a plug and a red x). It is important that I get the battery monitor functional once again as I am running my new Slackware64 -current install on a laptop and don't like to be left wondering when my laptop's battery will die and if I need to plug it in.

View 2 Replies View Related

Ubuntu Networking :: Wired Connection Works But Only By Pppoeconf

Jan 3, 2010

It's been a while since i've been trying to deal with this problem but it was useless. I've found many related problems to this, most unsolved and those who had solution wouldn't work for me. I have few mates who have the same problem and still didn't find a solution as well. Here's the problem:

Both on my Desktop and Laptop, the network manager won't recognize that there is a cable pluged on the computer so that it would start my connection. The solution to make it work is pretty simple and its everywhere: use pppoeconf.

Altough that does the trick to make my internet work, i get another problem that i found out to be related to this one, which is: I can't use VPN. Which make me assume that one problem is related to the other, is that on my laptop, which has wireless internet, ubuntu will recognize it and then i can simple use vpn. My desktop, on the other hand, isn't that lucky and does not have wireless, so i can't just use vpn. So far, i've been using vpn on windows when needed, but switching systems is really a pain, not to say i'd rather do that on ubuntu.

Few other suggested solutions were to use 'wicd' and other network managers, altough for some people that did work accoding to what i saw on boards, that didn't really work out for me as well. Wicd coldn't recognize it either. Other suggestion was to check on some txt file on ubuntu, erase few information and let it 'fill up' automatic, it didn't work as well(sorry i don't remember all details on this one).

This problem happened on:
First, wubi for ubuntu 9.04
Ubuntu 9.04(normal install.)
Ubuntu 9.10
Happened both on my Desktop and my notebook, but the same version i installed on both of them were used on other computers and they did work on them so i strongly believe it has to do with the os itself.

View 2 Replies View Related

Ubuntu Multimedia :: Sound Works At First But Keeps Dropping Connection

May 16, 2010

I've installed Lucid Lynx in both kubuntu and xubuntu variants, and experienced the same problem, (Note I'm also still running 9,04,on the same computer, trouble free). With 10.04, the problem is that sound playback software works initially, but drops the connection with the sound driver randomly, at times varying from a few seconds to a couple of minutes. It seems to happen regardless of whether Alsa or PulseAudio is set as default. This happens with Movie Player, VLC, Audacity, and with Flash in Firefox - they all appear to start normally, with sound, but soon fail. (Again, I don't have this problem with earlier releases, using the same computer) I know little about sound configuration.

View 5 Replies View Related

Ubuntu Networking :: Usb Modem Works But Connection Fails?

Jan 9, 2011

I have a usb modem which I plug into my ubuntu 10.10 system for a dial-up service. The modem is recognised by wvdial and dials properly, but the connection is not established.I get "Unable to run /usr/sbin/pppd" (although pppd is certainly in /usr/sbin), followed by "Check permissions of specify a 'PPPD Path' option in wvdial.conf", and finally "Connected, but carrier lost", then it gives up.

View 5 Replies View Related

Networking :: No Connection With WEP Encryption While WPA Works

Dec 16, 2009

There is a strange thing going out there in my box, I've tested b43-fwcutter on wpa-psk encrypted network, and there was no problem connecting (my card is broadcom 4318), recently I was trying to connect to WEP encrypted network without success. Network connection tested on other laptops (Vista, XP machines)so there is no possibility that the key isn't valid.

View 6 Replies View Related

Ubuntu :: Stop Downloading From Transimission Connection Just Works Fine?

Oct 20, 2010

am using transimission to download torrents but when it start downloading i just can't browse anymore since my connection slows down, but when i stop downloading from transimission my connection just works fine.

View 2 Replies View Related

Ubuntu Networking :: 10.10 - No Wired Connection But WiFi Works Great

Nov 23, 2010

The problem I have is when I install 10.10 I get no wired connection my wifi works great, just no wired connection. I don't have WiFi where I am right now. It works fine when I run off the dvd , but when I install it i get nothing. I have tried static ip, reinstalling, reinstalling drivers. Don't know what else to do. I have a Dell Inspiron 1720. The ethernet is a broadcom 440x.

View 9 Replies View Related

Ubuntu Networking :: Internet Connection Lost But Email Still Works?

Nov 24, 2010

I am a non-techie, have been gratefully using Ubuntu 8.10 for a few years for the basics: email, web, documents, photos. I have somehow lost my internet connection, but strangely my email still works...!?!? My router is showing all the correct green lights, but I cannot get to any url. I am posting this thread via work (windows) pc. I have searched on this forum and in anticipation have done as much homework as possible, see below.I have a Netgear wired router. I cannot find Network manager on the menus and tried this from the terminal:

Code:

network-manager
bash: network-manager: command not found
networkmanager

[code]....

View 9 Replies View Related

Networking :: Ping And FTP Connection Works But No HTTP?

Feb 6, 2010

My problem is the following:I can only connect to the internet and download through the FTP, but not through HTTP.I am in a hospital at this moment and have a netbook (Lemote Yeelong). Also there is a computer here with internet access.I would like to access the internet by using the cable from the computer.I configured my netbook just like the local computer (same host name, same MAC address, DHCP), just to be sure.I can ping google.com and I also can download from ftp.debian.org though ftp.However, when I try to connect to google.com through epiphany, it just loads and loads without success

View 4 Replies View Related

Ubuntu Networking :: Internet Connection Works Wired, But Cannot Get The Wireless To Work?

Jan 14, 2010

As of now, my internet works fine when connected with an ethernet cable.The problem is it doesnt seem like my wireless is working at all.The led light is orange, (its usually blue when it connects) and I cannot see my home dsl network.Is thereany specific troubleshooting steps I should take?HP dv6000 laptopwireless card: Broadcom Corporation BCM4311 802.11b/g WLAN

View 6 Replies View Related

Ubuntu Networking :: Can't Connect To The Internet When (connection Works Fine In Windows XP)?

Apr 30, 2010

I installed Ubuntu (10.04) today and it has gone smoothly except for the fact that I can't connect to the Internet when in Ubuntu (connection works fine in Windows XP). I am using a wireless USB card (Linksys WUSB600N) to connect.

The weird thing is that the card detects all the local networks, asks me for a password to my network, and it even says it is connected to my network after I put the password in -- but when I open Firefox no pages will load.

There is another weird quirk as well: Ubuntu will not restart or shut down properly (it hangs around indefinitely with the little white / orange dots going across the screen) unless I first remove the wireless card from the USB slot. But that doesn't bother me as badly as the lack of Internet.

View 3 Replies View Related

Ubuntu Networking :: Internet Connection - Boot To 10.10 Amd64 & It Works & Sometimes It Doesn't

Oct 16, 2010

I can connect to the internet on Win7 without issue. Boot to Ubuntu 10.10 amd64 & it works sometimes & sometimes it doesn't.

I've attached 4 screen photos; 2 when internet is working (Working ifcomfig & Working route -n) & 2 when internet is NOT-working (NonWorking ifcomfig & NonWorking route -n).

The 1st I notice when looking @ working ifconfig is line 3 under eth0, inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0, is missing on NonWorking ifconfig.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved