Software :: Do Ssh First To Router To Turn Off In Apccontrol Script

May 11, 2010

What i need to do is to do ssh to router and do command shutdown before the apccontrol turn off the system, i've been now working to do that on python with twisted module but not finished yet, is there any way to do like that just using bash script?

And this is the first time i used apcupsd and i'm just do the basic like manual said and it's work good, is there any configuration than default that i must to do in apcupsd.

View 1 Replies


ADVERTISEMENT

Networking :: How To Turn SUSE Into Router

Mar 4, 2010

I want to turn my Suse into a Router. I already turn the forwarding to 1 but what else needs to be done? I am certified as CCNA for CISCO so are the commands on the Linux in a simulated environment similar? The perfect solution for me would be commands similar to the cisco ones.

View 4 Replies View Related

General :: Turn A Computer Into A Real Safe Router?

Aug 16, 2011

I have an old hp that i installed ubuntu on and I was wondering how I can turn it into a real router. By real router I don't just mean broadcast the internet but use security software, configurations, and all the stuff normally found on a real router. What are the steps i need to take? I dont have 2 NIC's in it just one but I do have a wireless usb that I can just stick into it.

View 1 Replies View Related

General :: HPLIP - When Turn Off The PC And Turn It On Again The Printer Does NOT Work

Nov 4, 2009

I have Ubuntu 9.04, and a HP laserjet 1018 printer.

I install the printer using:

And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)

well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.

I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?

View 1 Replies View Related

Ubuntu Networking :: DLink ADSL Router As Main Router And The Belkin N1 As Repeater?

Apr 13, 2010

Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.

View 9 Replies View Related

Networking :: Setting Up Linux Box As IPv6 Router To Replace Netgear WNR1000 Wireless Router?

Jun 18, 2011

I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.

As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?

My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?

View 1 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

General :: Laptop As Router Between Wireless Router And Windows 7 Box

Aug 7, 2010

I'm using a cross-over ethernet cable to connect a Desktop Windows 7 box, and a laptop running on SUSE 11.2. I want Windows to connect to the internet via the laptop's wireless interface.

View 1 Replies View Related

Networking :: Linux As A Router / Bring 147 & 148 IP Online Without Router?

Mar 26, 2009

These r IP provided by my ISP that i've put on Fedora 8:

WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18

Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240

i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.

View 6 Replies View Related

Ubuntu :: Difference Between A $29.95 Router And A $109.95 Router?

Dec 12, 2010

I was just wondering if there is there is any difference between a $29.95 router and a $109.95 router. Like is a more expensive router more apt to transfer data to my laptop quicker.

View 9 Replies View Related

Networking :: Old Router Behind New Router - Configuration ?

Oct 30, 2010

I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.

Here's what I did:

The newgateway is setup for class C, 192.168.0.0

This configuration works, but sometimes it doesn't and I haven't figured out why yet.

At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.

Other times, it seems nothing can talk with anyone, and I am not sure why.

I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.

View 2 Replies View Related

Ubuntu Networking :: Use One Wireless Router To Connect/detect To Another Wireless Router?

Aug 1, 2010

My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.

View 2 Replies View Related

Networking :: Linux Router / Configure Linux CentOS 5 As A Router Using Iptable?

Nov 27, 2009

I want to configure linux CentOS 5 as a router using iptable, .Im new in linux so I need the steps to do that

View 5 Replies View Related

Networking :: Cannot Ping Wireless Router Or Access Router Settings - Wireless ?

Jun 9, 2010

I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.

I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.

So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?

Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.

We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.

View 1 Replies View Related

Networking :: Network Configuration: Server - Router Vs Router-server

Aug 14, 2010

I am thinking of moving the router behind a server and connecting the server directly to the internet via a modem. Are there any security issues related to doing this? or other things I should be aware of. Iptables are implemented on the server blocking access on unused ports.

View 2 Replies View Related

Networking :: Get The Wireless Router To Connect To The Other Wireless Router?

Feb 16, 2009

This is my basic setup:

[URL]

I don't know how to get the wireless router to connect to the other wireless router so I can use internet on my computer. How do I achieve this wireless connection?

View 1 Replies View Related

Networking :: Linux Router / Make A Router By Linux?

Mar 26, 2010

How do I make a router by Linux?In other words you want your Linux to work as a router.

View 10 Replies View Related

Ubuntu :: How To Turn Off A Fan

Jul 6, 2010

On Windows I use software called SpeedFan to turn off a fan that does a whole lot of noise but has no effect on system temperature.

How do I go about turning it off on Ubuntu (Lucid Lynx)? Wine does not support this program.

View 8 Replies View Related

Ubuntu :: After Off, It Won't Turn On Normally?

Aug 12, 2010

After i shut it down it wont on back normally.the computer is just running but theres no input in monitor found.. it will only back to normal if i unplug it to the AVR before i turn it on..i know its just a small problem but i dont want to unplug it everytime to use my computer.

View 3 Replies View Related

Ubuntu :: Cannot Turn Off PC

Oct 11, 2010

My ubuntu 10.04 doesnt want to turn off my PC (desktop) when I click turn off in the menu. I get no message, and I get no signs of higher system activity. This happens with turning off, rebooting, logging off user. However I can do it from terminal with admin rights.

View 9 Replies View Related

Hardware :: How To Turn Off X

Feb 20, 2011

I am trying to install some drivers for either a radeon or an nvidia graphics card. I have some drivers for the nvidia but after getting the installation script to run it suggests that I need to turn of 'X' I understand this to be the graphical interface for the desktop.

I have Ubuntu installed on a fairly old system but these graphics cards work fine in, dare I say it, Windows.

View 8 Replies View Related

Hardware :: Pc - Turn It On And Nothing Comes Out

Jun 5, 2009

I have a problem with my compter. when i turn it on something smell like burn and then i turn it off so i try to turn it back on to see if it works and nothing appears in the screen and both fans are working.and also i found out that i have a bad capacitor do you guys think that is the capacitor or the mother board is toast?

View 3 Replies View Related

Red Hat :: How To Turn SL Into Fedora 14

May 14, 2011

I installed Scientific Linux just for fun, but I find the repositories much too lacking. So, order to tackel that problem, I decided to try to install the fedora-release-14 package. Truns out, sl-release is blocking my success because sl-release obsoletes fedora-release. Then I tried the Rawhide one and it is still obsoleted. How do I add this Fedora Base repositories to Scientific Linux?

View 2 Replies View Related

Debian :: Does Not Turn Off Computer

May 1, 2011

When turn off the computer he is half-second off, and then immediately the same turn himself again. Such problems with Lenny, OpenSolaris 2009.06, Windows and Ubuntu 9.04 was not. Noticed on Debian 6.0, Ubuntu 10.04 and above, OpenSUSE 11.4. And only on my computer. How do I fix this?

View 12 Replies View Related

Debian :: Turn Num Lock On

Apr 16, 2015

I am using Debian 7.8.0 (64-bit). I don't know what desktop environment I am using but it is the one that gets installed by default.

I have installed numlockx. Works fine in terms of turning Num Lock on automatically before the login screen. However, once logged in, Num Lock is automatically turned off. Is there a setting in Debian that I am missing so that Num Lock stays on all the time?

PS: Yes, I've turned on the Num Lock option in the BIOS!

View 4 Replies View Related

Fedora :: Wireless Turn Off Itself?

Oct 7, 2009

I'm using fedora 11 and find that sometimes the wireless just turn off by itself. The wifi LED goes OFF and Network Device Control->wlan0 becomes inactive. It usually happens when I open for a long time ( 24 hr ?) I try turning off the wireless and turning on.

View 5 Replies View Related

Fedora :: Turn Off Touchpad?

Jul 20, 2010

I have a Dell Laptop running FC12. How can I turn off the touchpad?

View 14 Replies View Related

Fedora :: When ABRT Has A Bug / Does It Turn Itself In?

Dec 7, 2010

So last night suddenly my computer started running really slow. Like it would take a couple of minutes for a window to open. I tried to start System Monitor to see what was going on, but couldn't get it to launch. At first I thought something had grabbed the CPU, but eventually I discovered that something was writing a massive amount to the hard disk. The intensive disk activity continued for about 20 minutes as I watched nervously. Just as the disk activity suddenly stopped ABRT popped up a message that disappeared to fast to read fully, but it said something about a file that was too large.

This morning I discovered that about 9 GB of my hard disk had been used up. Using "find -size +1G" I found an 8.6 GB file in /var/spool/abrt /ccpp-1291706342-2244/ called "coredump."I don't know what a coredump is or how to look inside the file to see what might have caused its creation. But I do know that ABRT has not said a word about the incident.

View 3 Replies View Related

OpenSUSE :: How To Turn Off Keyboard

Aug 20, 2010

I'm running Suse 11.3 with KDE4. While typing thismorning I inadvertently somehow disabled the keyboard (the mouse worked fine).I discovered that the keyboard worked on bootand I could log into my account (or other accounts)with the keyboard, but ONLY within my account wasthe keyboard dead. Rebooting the computer did NOTcure the problemI finally cured it by logging in as root, and renamingthe .kde4 directory in my home directory as .kde4xand then logging back in as myself.But (a) what did I do and how did I do it and (b) isthere a cleaner way to undo this should I do it again?

View 2 Replies View Related







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