Ubuntu :: Closing And Opening Ports On Schedule?
May 26, 2010how I can set up something to automatically open port 119 at 10pm and close it again at 3am..
View 9 Replieshow I can set up something to automatically open port 119 at 10pm and close it again at 3am..
View 9 RepliesI've seen videos on ..... where it looks like the window burns when you close it. How do you get it to do that? they say its in compiz but I've looked everywhere and haven't found it. [url]
View 3 Replies View RelatedI am running squeeze for a couple of months now
And suddenly my CD tray keeps opening and closing I believe it started after the latest upgrade (I dont remember which packages aptitude picked up)
So is this a bug in squeeze or a bug in my CD tray
I have an older Gateway P4 computer running Ubuntu 9.10. I had removed the nm-applet from the systray because I wanted the system to have a static IP. That was several months ago. Today, unthinkingly, I tried to re-add the icon by going into System -> Preferences -> Start-up Applications. I put check in the box next to "Network Manager", then re-started my system. However, when my system came back up, instead of the Network Manager icon, I had two System Audio icons in the tray. One was actually for the audio; the other one just said "Notification Icon" when I put my mouse over it. Again, without thinking, I clicked on "remove from panel". That's where my problems have begun. As soon as I did that, the top and bottom bars disappeared, then reappeared. Except now they're doing that constantly. My machine has become totally unusable. I did manage to turn it off and re-start it, but it comes right back to doing this again.
I can remotely log in from another system (which is where I'm typing this message from) and see that, according to "top", the "gnome-panel" is running at anywhere from 30 - 50% of my CPU. I can provide any logs or other information necessary since I can access the system remotely.
I recently upgraded my laptop from Lucid to Meerkat 10.10. Everything was fine until I closed my laptop cover. In "suspend" , I can't come back. I get a black screen with a frozen cursor, and I have to reboot. Not a good situation with a laptop. Is there anything I can do? I prefer Meerkat to Lucid for my laptop except for this one area.
View 2 Replies View Relatedsince I've upgraded to 11.04 on my Dell Latitude E6400, every time I close the lid and open it again, Ubuntu fires up but the screen itself is totally messed up, it's just random patterns all over the screen. The laptop is locked, so I can type in my password, hit enter, and once I'm logged in again the screen is perfectly fine, so the system itself works, only the display is the problem
View 5 Replies View RelatedWhen I close my laptop and open it the screen become grey and blotchy with almost an argyle pattern. This has only started happening after I configured the usb ports to work in my VM. My startup screen also says something about a usb problem, and S for skip and M to manually fix it but I have had no problems with my usb. Oh except for my computer won't start
View 2 Replies View RelatedI have a script which takes a file as input and reads it in while loop cuts the name of table and stores in a variable opens DB connection and queries for rowcount in that table closes the connection reads another file and then follows step 1 through 4 till EOF is reached. Now this script is taking longer to execute maybe because the DB connection is opened and closed each time.
My scripts is:
Code:
#!/bin/ksh
cat logcountOP | while read LINE
TBLName=`echo $LINE|cut -d "-" -f1`
[code].....
I was thinking of changing this.I want to open the DB connection just once and then query it for all tables and then exit.
I've just installed kubuntu 10.04 x64 and I'm slowly working through lots of little niggly problems that I'm having getting it all set up.My graphics seem VERY sluggish doing things like opening and closing windows, popping up menus etc.I have an Athlon II 250 3.0ghz processor, 2GB RAM and onboard graphics ATI HD2100 (740G chipset).I tried to get the proprietary graphics driver installed to see if that made any difference but it wouldn't recognise the onboard graphics, a bit of googling seems to suggest they have actually dropped support for this model?After removing the proprietary stuff it seems even more sluggish than it did before.
View 3 Replies View RelatedI am trying to open a tunnel for a friend of mine who's isp has blocked a bunch of webpages, so I was thinking I would learn how to since it might come in handy in the future Anyway, so I looked at a couple of videos about going in to network settings and changing the setting to manual and write down the desired IP (in my case 192.168.0.137). Then I went into my router (it's a D-link DI 524) and tried adding my static IP as the DMZ computer. I then restarted, everything looked fine, the router saved the settings and the eth0 still hade the information saved so I wanted to try it out. I just googled "try my ports" and I found a website called [URL]...But no ports worked for me.. I tried double checking everything, checking for errors. I couldn't find anything so I'm guessing you might have a clue!
EDIT: It seemed I had to have a program that actually used the port for it to work.. It's working anyway, so if you could move it to [SOLVED] I'd be happy
How can I open a p[ort in slackware? I am "trying" to install and use Alfresco, a DMS that runs on linux platforms. So far that has been a nightmare........
Basically, according to their support tech, port 3306 is blocked. I dont really understand because I have MySQL DB server running and listening to 3306 on that machine and no problems at all... However, they recommended to try:
Code:
telnet localhost 3306
or
Code:
telnet <machinename> 3306
but it resulted in:
Code:
telnet connect to address 127.0.0.1: Connection refused
If I understand correctly , the Alfresco support is correct, 3306 is indeed blocked. But how come mysql is running fine then? How can I unblock this port? And finally, I need to specify that I dont have ANY type of firewall or anything like that because this machine is not connected to the web... So if I dont have a firewall , what is blocking the port?
I have searched the web for this answer and i can't find it. I'm using Shorewall for my company firewall and all is working well. But i need to tweak down a few problems that i have. Employees have internet connection over a proxy server (http and https traffic), but some do need to connect to other ports not through proxy but directly. I want to add a exception to the rules. For example i want to allow that a local ip can connect to a predefined ip on the net to a specific port. All my attempts have failed.
View 3 Replies View Relatedim working on a perl script to automate the setup on a few machines. Does any one know how to open ports using perl?
ps: The systems are redhat so id be editing the iptables file..
I have a fairly clean install of Debian 5.04 on a G5 tower and am having some local network sharing problems. The machine linuxG5 has an address of 192.168.1.4 and when I am logged into that machine I get the following output
silver@linuxG5:~$ nmap localhost
Starting Nmap 4.62 ( http://nmap.org ) at 2010-04-24 10:19 EDT
Interesting ports on localhost (127.0.0.1):
Not shown: 1706 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
[Code]...
I have recently bought a IP/PABX system with one FXO and one FXS port. I intend to install this on a remote site with a public but dynamic IP (can be resolved via dyndns though) and make calls via clients that are NATTed (inside a home router). I would like to seek advice on the port opening and the recommended settings. I have been reading a lot on VOIP and I am getting feedback that SIP calls are difficult to establish on a NATTed environment.
1.) SIP port 5060 UDP?
2.) RTP ports - what range should I open for this? I see some use 10000-20000 UDP
3.) STUN server - Is this something that needs to be configured?
How can I ensure that the other party can hear the audio just like a regular telephone? Is it really impossible to do if the client is behind a router in which it is using a Private IP Address? What other network configurations needs to be done?
I'd like to set up a fileserver for myself and a few trusted individuals. I'm computer savvy and I use various linux servers frequently for work, but this is my first time trying to setup my own. Is it possible to have a Samba server setup so it is both secure and facing the Internet? Two questions:
Will opening Samba ports make my default Ubuntu server particularly vulnerable to penetration? More than having an SSH server running? Does Samba/ can Samba be configured to encrypt traffic or is it sent plainly? If so, does Windows and Mac support this secure communication?
If not, what would you suggest? I'd like to achieve something like a network drive and at a difficulty level that my parents could use this if they really wanted to. I will be storing things like financial information and tax returns, but no weapons-grade secrets.
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies View Relatedi am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.
---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------
Looks like SElinux has stopped working
One of the apps I would like to try out is usenext.Selectint the download for the right version (Linux - Suse, Red Hat, Fedora) I get the rpm file.Either opening this straight away or saving then opening it comes back with the following errors:
usenext-5.27-1.i386 requires mono(gdk-sharp) = 2.10.0.0
usenext-5.27-1.i386 requires unrar
usenext-5.27-1.i386 requires mono(glib-sharp) = 2.10.0.0
[code]....
How can I tell if my USB ports are 2.0 ports?
View 1 Replies View RelatedI want to schedule a Java program to run at a certain time, which will open a GUI progress monitor while it runs, and then terminate when it's done. I can execute it fine from the command line, but I it doesn't seem to work when I schedule it with crontab. In fact, I can't make any gui by scheduling it, not even something like gedit or firefox.
I know it's pretty rare that someone would want to do this, but is there any way to schedule a GUI app?
now a day its difficult to wake up at 2 o'clock and on the pc starting downloading is there any way to schedule deluge program start at 2 o'clock
View 9 Replies View RelatedHow to Schedule auto shutdown in Ubuntu? I am a newbie. Last night I have some downloads in progress while at the same time I really wanted to go asleep. So I wondered if there's a way to schedule auto shutdown the system after a set period of time. I heared its possible using command line but dont know the usage.
View 9 Replies View RelatedI have Postfix and Procmail installed on Hardy.
Are there any tips/tutorials for sending out scheduled email?
My main use case for this would be sending out a Tweet and an email at the same time.
I just did my first rsnapshot backup of my /home/ to an external harddisk. When I am not at my computer for a couple of hours, I always shut it down. Therefore, there are no predictable hours of the day where I know that my computer is running. So, how should I schedule/crontab my rotating rsnapshot backups?
Is anyone using rsnapshot in combination with a schedule which is not based on exact times but rather on the time the computer is running?
I'm running LXDE in Ubuntu 10.04, and NTP won't work properly for me. I've found that this command in a terminal will set my clock properly:
Code:
sudo ntpdate time.nrc.ca
But I have to do that manually.
How would I go about creating a shell script with that command and then scheduling it to run once a day?
Well I'm totally frustrated. I have been trying to figure out how to use anacron (schedule tasks). I Googled,Binged,Yahooed, and manpaged.I cannot find how to, at least, start anacron. To use 'cron' I use crontab -e. What do i use to start anacron?.
View 2 Replies View RelatedI'm trying to schedule a reboot ,using the 'at' command. Normally to reboot I have to be 'root'. I tried using sudo to start 'at',to no avail. How would I type the command ,using at, to reboot?
View 2 Replies View Relatedi am using ubuntu 9.10.i connect to net through the gnome netwok manager via a mobile broadband connection. can anyone suggest any commands or tools with the help of which i can disconnect the net at a preset time or after a fixed interval has expired. i know that by executing "poff" command in terminal i can disconnect the connection, but i want the same to happen automatically without any kind of user intervention at a scheduled time.
View 2 Replies View RelatedI'm trying to use cron to schedule a script I wrote.in the terminal I'm typing sudo cronbut i get this message back.cron: can't lock /var/run/crond.pid, otherpid may be 3332: Resource temporarily unavailablewhat's going on here? how can I schedule my script to run?
View 2 Replies View Related