General :: How To Check If LAN Is Connected

Feb 25, 2011

I want to write a script and put it in /etc/rc.local so that
if lan is connected then
rfkill block all
else
nmcli con up id 'Network id' --nowait
How should I write the if part and how should I check for "lan is connected" ?

View 1 Replies


ADVERTISEMENT

General :: Does Not Recognize - No Scanners Detected - Please Check Your Scanner Is Connected And Powered On

Aug 11, 2010

I have HP Scanjet 3770. UBUNTU 10.04 installed on my desktop. HPLIP also installed. This scanjet working well in Windows Xp but in ubuntu SimpleScan does not recognize it.

It shows:- No scanners detected Please check your scanner is connected and powered on.

I Also visited [url] & found as below-

ScanJet 3770 Unsupported. While an external binary-only backend exists, it works only on Linux i386. Therefore the scanner is unsupported on other platforms.

View 2 Replies View Related

Ubuntu :: Check If Connected Then Launch App?

Apr 16, 2011

Well, i have some applications that i use everyday so i add them to the startup applications, but they require Internet, otherwise the configuration is lost. I'll like a command that first check if i'm connected to Internet and if i am, launch the app. If not, don't do nothing.

This is a problem because for some reason everytime i turn on my laptop the wireless adapter doesn't turn on automatically (it always did when i was running windows).

View 4 Replies View Related

Ubuntu Multimedia :: Check If Display Device Is Connected?

Feb 10, 2010

I am trying to write a script to turn my HTPC off automatically and turn it back on again at a specified interval.

I've got the turn on off bit sorted using /sys/class/rtc/rtc0/wakealarm but I want the script to not turn the machine off if say something is downloading, I am currently watching something etc and i dont think I will have any trouble with that.

But what I would really like to be able to do is tell if my TV is currently on. I dont think anything x11 related would work here and this may not even be possible. Does Ubuntu "know" if it's display device is powered on or not? if so can I interrogate this somehow?

View 5 Replies View Related

Ubuntu :: Check Via Terminal If External Monitor Is Connected?

Apr 20, 2010

Ive been wondering about an alternative method for checking to see if an external monitor is connected.
Currently I am using:

Code:
#!/bin/bash
EXTERN=VGA1
if $(xrandr --prop |grep -q "$EXTERN connected");then
echo -e "$(echo $EXTERN | tr -d [0-9]) is e[1;32mconnectede[0m"
else

[Code].....

So, what I am asking is, is there a way to ignore/over-ride compiz's texture size check, a different way to query xrandr, or is there a completely different method I can go about checking if an external monitor is connected?

View 3 Replies View Related

CentOS 5 Networking :: Which Command Can Check If Network Card Is Connected With Media

Nov 26, 2009

Suppose that it is not convenient to go behind a machine to have a look.So I want to use a command to show whether the cable is plugged into network card. (Media connected or not)Can ifconfig do this? Or another one?

View 2 Replies View Related

Server :: Check A User Connected From Server Using Internet Or Where He Visited?

Nov 12, 2010

I'm using a linux server where nat server is running. Local user are connected from this server. So is there in tool that i can check that local user getting internet? or how can i check that a user connected from linux server using internet or where he visited?

View 1 Replies View Related

Debian :: Canon Printer - Lp0 - "Printer Not Connected -- Check Your Connection"

Jul 31, 2011

I have a canon printer which was working so far. After my latest upgrade its giving errors saying "Printer not connected -- Check your connection" Fortunately I had a backup of my root before the upgrade and one difference I see is that on the new system theres no /dev/usb/lp0 which there is on the old one. So how do I make it? Or should I use the /dev/lp0? Note they are different:

[Code].....

So (naturally) when I tried to make a softlink from /dev/usb/lp0 to /dev/lp0 it did not work.

View 10 Replies View Related

Debian :: Migration Check List - To Check - Prepare Or Reconfigure

Feb 3, 2010

I am new to Debian but not Linux-based systems. I have been experimenting a lot with Debian Lenny/Squeeze. I am growing more comfortable each day with the Debian design. Yet there remain many unexplored areas. I am creating a migration check list. Things to check, prepare, or reconfigure when moving from one Linux-based system to Debian.

I have a good computer background and my current check list probably is fairly good. Yet I would appreciate input and opinions from experienced Debian users of things to watch in such a migration. Login defs, passwd/group files, different directory locations, keymaps, services and daemons, etc. I am not too concerned with the desktop as I plan to stick with KDE 3.5 for a while and I can basically move those settings across.

View 4 Replies View Related

Programming :: Check Menu & Check List In Utility Dialog?

Aug 19, 2010

I want to put check menu & check list in utility dialog.i dont know how i do this

View 1 Replies View Related

General :: When Shut Down - Asking To Be Log Out As Other Uses Are Connected

Mar 12, 2010

I am using Ubuntu 9.10, when I shut down Ubuntu is asking to be log out as other uses are connected, which is not the case and I have not loaded any server or desktop sharing programs.

View 1 Replies View Related

General :: My Intenet Is Not Getting Connected?

May 24, 2010

yesterday i installed linux on my computer,but for some reason linux is not detecting my network driver.though it gets detected in the hardware section i cannot see the eth0 in the device coloum.i would be really really greatfull towards u if can u give the link to download the driver.(sorry if i have said anything wrong i am completely new to linux)

View 14 Replies View Related

General :: Internet Connected But Not Loading?

Aug 4, 2009

I am running Xubuntu 9.04, with LXDE on an old Acer 526iTX. After fiddling around trying to connect it to a Vista machine using a crossover cable, I must have broken the internet (well not the whole internet obviously, just my connection). nm-applet will show the connection as working, but no loading takes place (eg. firefox shows 'connecting to google.com.au..' but nothing happens). Same behaviour whether browsing, pinging or updating by CLI, and over any type of connection (mobile broadband, wifi or ethernet cable). This has persisted over many days, through restarts and deleting and re-creating the connection in nm-applet. I can also rule out a hardware problem as the connections work fine using a live CD.It's no big deal if I have to reinstall (I probably will anyway), but I was wandering if anyone would know the probable cause of this behaviour.

View 3 Replies View Related

General :: 'see' Printer Connected To A Windows PC?

Jun 19, 2011

Main PC runs Win7 with Epson printer connected (not wireless)...I'm running Win7/Ubuntu 11.04 on my laptop getting internet wirelessly. When in Win7 on my laptop I can 'see' the printer that's connected to my main pc and print to it but when I switch to ubuntu I 'see' the main pc on my network but not the printer...

View 4 Replies View Related

General :: Not Connected To Internet In Fedora12?

May 23, 2010

I am a new user to fedora 12.I am using reliance wireless broadband for internet.i have installed the drivers and did a wvdialconf and wvdial. The output of the wvdial was:

Code:
[root@gnanam gnanam]# wvdial
--> WvDial: Internet dialer version 1.60

[code]...

View 3 Replies View Related

General :: Wireless Connected But Not Web Browsing?

Feb 26, 2011

I have ubuntu 10.10. I am connected through wireless (connection established) but I can not browse the internet on firefox. It works with out a problem when connected through the wire.

View 14 Replies View Related

General :: Transfer Files Between Two Computers Connected By KVM

Nov 1, 2010

I have a Windows 7 Desktop and an Ubuntu Laptop connected with a KVM switch. I use the setup for software development, so I am constantly switching between the two, so I need a way to quickly transfer files between the two. I'm not sure if this is possible, but if I could connect them in a way where the OS of each mounts the hard drive of the other. Is there a way I could do this?

View 3 Replies View Related

General :: Find Blackberry Connected Via USB Cable?

May 29, 2011

I just connected my BlackBerry to Linux via USB cable. How do I know which device in /dev it actually is?

View 2 Replies View Related

General :: Get List Of SSH Users That Are Connected To Server?

Jan 6, 2010

My system is SUSE 11.1 I want to see who is connected via SSH. For instance, I have users connected using FileZilla. I can see in th e/etc/var/messages that they authenticated/connected, but I can't see if they have since disconnected or not.

Also, about 3 years ago I used to use Fedora for my SSH and in the sshd_config I'd make custom logs for each account, specify which user accounts were possible, port number, etc, etc. Is this possible to do using the SUSE linux? Any links on how to do this on suse? I haven't used linux in 3 years and can't find my old sshd_config files to take a glance...I did look at the sshd_config on SUSE, but it looks very different.

View 6 Replies View Related

General :: Default Gateway Does Not Allow To Get Connected To The Internet?

Jan 20, 2011

i have a leased line ( speed 2 MB ) which we use to connect to our mail server , oracle ERP etc.. we have a dhcp scope defined as 192.168.100.1-192.168.101.254. with a default gateway as 192.168.100.90 ( which is a cisco router ) we have a pix firewall ( 192.168.100.10 ).. now the gateway passed all the request to firewall..we have an ADSL of 4 MB speed.. ip is 83.*.*.230 from ISP. i have a proxy server ( squid ) eth0 is connected to ISP (83.*.*.230).. eth1 to LAN ( 192.168.100.79 ) now the problem is when i put default gateway to eth1 ie 192.168.100.90 the squid connects to internet via leased line.. if i leave the default gateway field empty on eth1 , the squid connects to internet via ADSL ( which i want ) but the problem is no one on the lan cant ping the squid server ( no connectivity to internet for the whole LAN ) how can i solve this problem? PS : i want squid to connect to internet with ADSL, but if i put gateway on eth1 ie LAN squid goes through leased line which i dont want to happen

View 1 Replies View Related

General :: Configure Pine In LAN Connected In Internet?

Mar 29, 2011

I am facing a problem to configure pine. My machine has no global IP, but it is in a LAN. The LAN is connecetd in Internet. The global IP, through which the Internet traffic of the LAN is passed, is known. How can I configure pine to send/receive mail?

View 2 Replies View Related

General :: Find Out Server Is Connected To SAN Storage?

Apr 10, 2011

We have near about 90 RHEL servers. I want to find out which servers are connected to SAN [HP-SAN] storage???? Because many of them are having local hard disks.

View 2 Replies View Related

General :: Install And XP On Diff / H/D Connected To Same Machine?

Nov 30, 2010

I have two H/D and i need to install XP and RHEL5.3 in different H/D connected to single machine.so that when i boot from first H/D linux will boot or if i choose second XP will boot.

View 7 Replies View Related

General :: Mounting A Drive That Isn't Yet Connected On The Network

Jul 16, 2011

I have an external Samba network storage drive that I mount using 'mount -t cifs -o username=aaa,password=aaa //myserver /mnt/mountlocation', but I'm finding it to be a pain to enter that whole command every time I turn on that drive and connect it to my computer via the network. I could put that command in a script and run a simple script like 'mntdrive' that would run that command for me, but is there a way to have the drive 'pre-mounted' so that if it's available on the network it's mounted?

If I put the mount command in one of the startup scripts or in fstab, would it be available at the mount location when the drive is connected if it wasn't connected when the computer was first turned on? Or is mounting the drive manually, even if by running a script that does it for me, something I'll have to do every time I turn on that drive? Any creative ways around this? Would make things easier if it is possible.

View 2 Replies View Related

General :: SUSE 11.3 Using Printer Connected To Windows 7?

Aug 16, 2010

I am trying to set up my SUSE 11.3 machine to print on my printer connected to my windows 7 box.

View 3 Replies View Related

General :: System Not Connected With LAN By Cross Over Cable / Fix It?

Dec 1, 2010

I have linux system which receive data from other system having linux OS in that also. but i cannot send data on other system.

View 2 Replies View Related

General :: Connected To Machine Running Apache?

Feb 3, 2011

I have run the apache service on my machine. Many people are accessing that server. Now, I want to know who all connected to my system. How can I get that information?

View 1 Replies View Related

General :: Modify LVM Volume Group When Don't Have All The Drives Connected?

Mar 6, 2010

Prior to upgrading some of my hardware I had 4 drives used just as storage. Now I'm trying to mount the drives as an LVM but I don't have enough slots to connect all the drives at once now b/c they use an outdated type of cable. I can connect three of the four. So, can I somehow move these to a new group, or remove the missing drive from the existing group?The error is:Couldn't read all logical volumes for volume group VolGroup.Couldn't find device with uuid 'yQtrVB-5jCk-vF10-05c2-AcDL-GNn1-ivdxxh'.

View 1 Replies View Related

General :: Get A List Of The Connected Wifi Clients In OpenWrt 10.03?

Jan 24, 2011

I'm looking to be able to view the connected clients within the OpenWrt 10.03 software.

View 1 Replies View Related

General :: Ubuntu - Run A Script When An External Monitor Is Connected?

May 2, 2011

How can I detect when an external monitor is connected in linux? I need to run various scripts to set up my workspace. Is there some clever way to kick off a script when the monitor state has changed? I'm using the Nvidia display driver.

View 3 Replies View Related







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