Ubuntu :: Wake Up" A Port After Logging On?
May 18, 2010Is there a way to "wake up" a port after logging on. I have a USB port falling asleep and I'm trying to avoid physically reconnecting the USB plug which does reactivate it.
View 3 RepliesIs there a way to "wake up" a port after logging on. I have a USB port falling asleep and I'm trying to avoid physically reconnecting the USB plug which does reactivate it.
View 3 RepliesUsing a fresh Ubuntu server install, i setup UFW :
[Code]..
When connecting from external box to this server on port 25, the connection is properly blocked by UFW but i can't find any UFW log (/var/log/kern.log, /var/log/messages, /var/log/ufw.log ...). I'm using default rsyslog.
I installed Centos 5.4 on my Pentium E5300 new comp, but I need IPX support in my work. It's simple - ipxutils and ncpfs from Fedora Core and new kernel with ipx support. I copied kernel config from /boot folder and activate ipx, ntfs support, and choose processor core 2 duo. New kernel (2.6.26) works OK, but I got one problem - when start it still shows message: "kernel: HUB 1.0:1.0 unable to enumerate USB device on port 1 (or 2, 3)" and stops after logging (text mode)
I got 2 USB devices connected - printer HP D5160 PhotoSmart and Scanner A3 USB Mustek, and I know scanner cause that messages but I don't understand why. Kernel config is the same like that from distro kernel (almost - ipx, ntfs and proc), but distro kernel doesn't do that. So I got 2 questions:
1. Why
2. What to do to stop that (disconnecting devices on boot time is not a solution)
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB
[code]....
I have a mail server i need it to send message via port 587 not port 25, i make some changes to my postfix server which i use and it is already successed making a telnet to 587 port like it :
[Code]....
sudo ssh -L 750:192.168.123.103:873 username@192.168.123.103It does exactly what it's supposed to do, but how do i edit / remove this rule?Is there some config file where i can alter the forwarding? How does it get stored?Im using Ubuntu 10.10Server Edition (allthough i recon it would be pretty much the same across all versions
View 5 Replies View RelatedI'm not that great with mailservers, and just been thrown a curveball with a MS Exchange environment for which there is apparently no solution... yeah, right. But is there a workaround?
The problem is that the site mail (SMTP) needs to be sent via port 26 instead of the commonly used 25. Port 25 is mapped to a mailfilter, which apparently causes havoc with some of the mail, and the techs that have been on site trying to coax the Exchange server to co-operate have said that the only way would be to get rid of the filter.
The problem is that there are number of apps that are unable to have the outgoing port changed and so keep sending mail out on port 25.
I look after the Unix/Linux side of things at work, and I was wondering if there was an easy way to set up a Ubuntu box to receive mail on port 25 and just forward it to the MS box on port 26? So, in other words (and I hope this makes sense): monitor port 25, and forward whatever comes in on port 25 to the server on port 26. Simple portforwarding, or is it? What steps do I need to take?
When I use the following command:
ssh user@ssh_server -L 5500:localhost:5500 -p 22
everything works fine. I can log in, and local port forwarding is done. Otherwise when I use the command:
ssh user@ssh_server -R 5500:localhost:5500 -p 22
I get an error "remote port forwarding failed for listen port 5500". However when I try remote port forwarding in WinXP by use of putty there is no problem...
new to Ubuntu and enjoying using it, trying out Ubuntu as an alternative to vista, the only thing i have been able to do is suspend and then wake my pc, it fails to wake, is there a workaround for this
have changed settings so pc sleeps after 1 hour, it was on never, i,m running ubuntu9.10 my pc will wake but i have a black screen with mouse icon showing but i,m unable to get any response, all well again after a reset
put pc in suspend and went out, on returning home started pc via on/off switch instead of pressing space bar (any key) hey presto Ubuntu woke up no problem
I want to run a script on wake but it doesn't look like /etc/acpi/resume.d exists in Lucid. I tried creating it anyway, but I didn't have any luck. Is this because HAL has been removed? Is there a new method in Lucid?
View 3 Replies View RelatedI'm running Linux Mint 9 (aka Ubuntu 10.04 + a couple of tweaks), and my machine won't wake up from suspend.It hasn't done so successfully since Ubuntu 8.04. I'm running the default graphics driver (not the proprietary NVidia one) on a quad-core Gateway FX. How can I go about figuring out the problem?
View 5 Replies View RelatedWhenever I close my laptop lid or just press the suspend button, it will go to sleep just fine. Perfect. Waking up is the problem. The drive light flashes for a few seconds, and then it just goes to back to normal but my display is still busted.
View 9 Replies View RelatedI am trying to conserve electricity and was looking for a linux WOL app that will allow me to remotely wake my windows 7 computer so I can stream music on demand. I have to believe this exists/is possible. I am also an idiot so if there is such a thing I'm going to need help getting it up and running.
View 6 Replies View RelatedI upgraded my old HP Pavilion desktop to 11.04 a few weeks ago and at first things were fine, but recently the PC refuses to wake up in the morning. I assume it's going in to sleep mode overnight, but no matter what I push on the mouse or keyboard it won't wake up. I have set both the PC and screen in Power Management Preferences to Never go to sleep, but it doesn't seem to matter and it sleeps regardless. how I can either make it not sleep, or sleep a little lighter so it wakes up without a hard reboot?
View 1 Replies View RelatedI want to set my ip as static and port forward it through a specific port can anyone help me with this im using ubuntu 10 with 64 bit OS
View 1 Replies View RelatedAll I want to do is to be able to shut the lid on my laptop, have it go into suspend like it already does, but upon opening it again, successfully start up again. It'll sleep just fine, but if you close the lid and try to open it again later, the lights will indicate it is starting up, but the screen won't initialize, and I am left with a blank, black screen.I've tried a line of code to enter into my menu.lst file, and it seemed like it should work, but it borked my computer and I had to manually reinstate the line of code it had before.
View 9 Replies View RelatedI have managed to make ubuntu (9.04) turn itself on from being completely off with the following code:
Code:
sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
sudo sh -c "echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm"
[code]....
I have made a virtual machine on my server using virt-manager that I access using virt-viewer from my desktop/laptop. Currently I am having to leave the VM on all the time. Which is a waste of cpu/ram etc. Ideally I would like to be able to wake the vm up from virt-viewer or from a bash script being ran on my desktop.
View 1 Replies View RelatedI'm running 9.10, how do I wake up from sleep or hibernation on my Dell XPS notebook? I have no problem putting the comp to sleep/hiber but can't seem to work out the keys to wake it up again.
I don't get any responses from the keys even when I try CAPS LOCK or NUM LOCK, so all I can do is reach for the on/off switch.
I am running Ubuntu 9.10 on my desktop and everynow and then I get this annoying problem. If I walk away for a bit, just upstairs to use the bathroom, sometimes when I come back the monitor is off and the power light is blinking. You know, like what monitors usually do when they are still powered on but the screensaver is done playing. However, this happens to me well before the 10 minutes that the screensaver is supposed to end.
It does not always happen, and I can't really isolate what may be causing it, as I never take a note of what I'm doing when I go pee. HOwever, I rarely do anything other that run VLC, Chrome, Firefox, or OpenOffice Writer.
The problem is that the screen won't wake up. Moving the mouse does nothing. Jamming some keys does nothing. Trying to go to text terminal does nothing. I have to either REISUB or hold down the power button on the tower.
I have a macbook5,1 with ubuntu 9.10 on it. Does anyone got wake-on-lan working on this type of machine (or any other intel macbook?)
At startup, ethool sets the wake on lan parameter. I tried sending the magic packet with the wakeonlan utility.
I can Suspend or Hibernate my Gateway notebook but I have no idea how to wake it up.The power button is set to suspend or hibernate....I not sure which it does, but I can't wake the computer up.
View 9 Replies View RelatedFor some reason when I wake my computer up, there is no sound. No matter what I try through the terminal, or by playing with the volume controls, no audio. I can only get audio working again by a restart.
Does anybody know why, and/or how to fix?
I'm trying to get WOL to work on my web server built on an ASUS P4A800D-X motherboard (which supports wol).I have it enabled in my BIOS and I've tried several different tools with no results, including my dd-wrt based router which has this functionality built into the firmware.All the guides I've read say it has to be enabled in the driver settings in the Windows Control panel before it will work, but I'm running Ubuntu Server 10.04.
Is there any special steps that must be taken in the OS to enable my web server to power on from the LAN? I've never used this feature before and would like to just shove my web server in a corner some where and have 100% remote control from my main PC.
I just recently got my old box back and now I'm running 10.4. I've had some minor issues that I have got through but now there is one which seems to really be frustrating me. At any random time my monitor may go black as if it is in sleep mode. The problem is when it does this, no mouse movement or keystroke will wake the thing up. So I am forced to press the power button. When I press the power button the Ubuntu logo pops up on the screen as if it magically woke up but it is too late because now the computer is shutting down... When I go to System>Preferences>Screensaver I get to the options for the screensaver and I have about 2 seconds before that triggers the screen going black.
I can't even start until I know that my screen won't shut off at any random moment!
how to get WOL over the internet. I have a server which i only use for development and would rather it not be on all the time. But i need to be able to access it when im out
I have WOL working over the LAN. SO next step is internet.
Ubuntu 10.04 LTS
My computer runs really well when I first switch on, and usually I'll leave it on all day, and just suspend it when I'm not using it.But since a couple of days ago, it's been playing up after waking from suspend. Everything slows to a crawl, and the system monitor shows the CPU working at 96-100% permanently, even when I'm not doing anything.It's not like I even have many apps open. Generally I'll have a few tabs going on Opera, have Thunderbird open, and Gwibber. I'll open and close gedit and gimp as I need them, and that's about it. Having said that, this new version of Thunderbird seems very slow to me compared with the previous one.
View 2 Replies View RelatedThere's any program like this for ubuntu?
View 7 Replies View RelatedI'm running Ubuntu 10.10. Is there a way to eliminate, or at least change the length of time, of having to enter your password after the screen timesout from no activity? I've looked all though Preferences but have not found anything that seems to address this.
View 4 Replies View Relatedi want if a port (exp. 1001) have 20 connections that the next new connection forword to an other port (exp. 1002).
View 2 Replies View Related