I Love Jdownloader program but can't solve this old problem.
I'm still a little retard with GNU/Linux
Able to do a reconnect by running the following commands
Quote:
This is the script I'm using.
Quote:
It resembles this one in Window$
The program dhcpcd requires root user privileges.
Avahi daemon and network-manager widget should be disabled or uninstalled for this to work on Ubuntu.
Also I'm using Karmic.
I'm not Cisco certified. What I think it does, in a non technical comparison, is tell the ISP hardware that your ip should be 190.189.48.52 or whatever number you like.
For the ISP this would be the last lease you used.
The ISP hardware does not recognize this last lease in its list, so it assigns a new ip.
That does the trick and you get your new ip!
My ISP promotes the service with dynamic ip so no legal matters here.
The problem is how to automatize it.
Sudo runs the script with no privileges problems.
I am able to run it password-less by modifying sudoers file via visudo command.
I add the following line
Quote:
It can also be like (this would need extra security measures?)
Quote:
Then you can run sudo /usr/bin/cambiar-ip and it won't prompt you for a password.
Password issues solved, I cannot get Jdownloader to run it.
In the Settings > Reconnection tab
Tried to use "External" and "Batch" but i get reconnection failed sad face.
I've tried in "External" /usr/bin/sudo /usr/bin/cambiar-ip
It won't work.
I'm missing something of the Unix security structure.
I'm quite close (I think...) for finishing my script to restart my Linksys WAG54G2 router.First thing was to create a script for JDownloader. It has an option to launch router config page while JDownloader is logging operations and automatically create a script:
Under ubutntu 10.04 I'm unable to acces the config page 192.168.1.1 the browser just won't open th page (and I have Internet as I'm writing this right now).
I am using centos box as a router. WAN side has a public ip and lan side also using a public ip. I configured dhcp server on the LAN side and it is working perfectly, pcs on the LAN side can able to access the internet.
Problem: Considering the fact that LAN IPs is using Public IP and it is presumed that from the internet it can be able to ping IPs inside the LAN but, alas, it couldn't.
No firewall has been config!
Question: What config should be done on the box so that IPs inside the LAN can be ping from the internet?
i downloaded java then jdownloader and it work fine and today when i open ubuntu i didn't find how to open jdownloadercan any one tell me from where i can open jdownloader
My Desktop is wired through eth0 to my wireless router. The router is connected to the internet. the ipaddress leased to my desktop was done with dhcpcd. My laptop is connnected to the wireless router through the wifi card known as device eth1 and i used dhcpcd for that also. How can I network my laptop via wifi through the router to the Desktop?
I need to use visudo in order to make a shell script properly work, certain parts of it require that I can use sudo without being prompted to enter my password and I need to use visudo to properly edit sudoers. I cannot stand vi, I don't know how to use it very well, the documentation/manual is confusing and to be honest i would rather use nano, I personally hate vi or vim and would never in a million years want to use it. Is it possible in fedora 12 to change visudo to sue nano instead? I don't care if I have to recompile visudo to make this a possibility because it beats using vi any day of the week. (In fact I don't get why it is the default, it is very awkward!)
like many other users, I am experiencing a small problem when using the Firefox extension Flashgot with the Java download manager JDownloader. Flashgot does not seem to be able to launch JDownloader automatically. I have already posted this in a thred on another forum, withouth results. I suspect that security issues are the reason why JDownloader cannot start.
Here is my scenario, I want to create about 3 groups of users:
--Admins-create and manage users --Support1-Restart basic stack apps(httpd, mysql etc) --Support2 Backups
So in my sudoers file i have managed to set them all up to perform the tasks above. However, I want to limit the users in the specific groups from running commands from other groups. eg a user in admins shouldnt be able to restart the stack applications etc. I have tried using the ! to create an exception eg !/etc/init.d/httpd start for the users but its not working.
I have an Internet connection with a Webstar cablemodem by Scientific-Atlanta Inc. DCP2100 series.I'm running an unstable distribution of Debian with the 2.6.32-5-amd64 kernel.I have installed JDownloader and works great, but I couldn't configure the reconnection features.What I need is a simple executable to run a script to change my IP adress, if possible. An specific tutorial could just be great for me to learn.And if you can't do this in linux as well as in XP, I'd really appreciate to inform me about it.
I am new to linux and would like to allow a user to use SUDO to change password and also delete/add members to a group without signing in as root or using SUDO. I think you do this in visudo but I dont know the commands to do this.
I have the following spec: - Intel Core 2 Duo 1.86Ghz - 4GB Ram - 1TB Hard Disk - 256MB Nvidia GeForce Graphics Card
I believe my system is quite fast, yet programs like JDownloader and Vuze (aka azureus) are very slow. More so on the GUI side, not so much program functionality (although I have not tested this either). If I scroll down a list of items, it takes ages, it lags and response time is quite bad.Also, I have two java processes running, each using 200MB of memory. I am assuming one is for Vuze and the other is for Jdownloader. It seems to me that Windows XP/Windows 7 ran java applications much faster and had less ram. I definitely see that with Vuze as it never went into the 200MB area when under windows.
I installed two programs recently, Vuze and JDownloader. Vuze seems to run perfectly fine and write to the /media/x directory.However JDownloader keeps saying "cannot write to location /media/x" or something like that. Only when i run it as sudo will it write to that location. So currently thats what I have done. But how do i make it so it runs without sudo and still can write to /media/x also, why is it that vuze has write permissions but jdownloader doesnt?
my jdownloader dosnt start after update. I use openSUSE 11.4Have yesterday chat with jdownloader support. Cant find the config file.I have to rename the config file in config.old
I need such a OS on a old system for mass downloading and experimenting downstairs. Also I would prefer if it doesn't require too much Linux know-how and is operable by my Windows 7 system via networking. It doesn't need to be compatible with TrueCrypt or JDownloader specifically if alternative software for it exists.
I need to add a user to the sudoers in my vps host and edit a couple of files and I just cannot make sense of visudo, vi or nano. The tutorials I find on the net just take too long to study and they are never complete, can someone explain what I need to do? I am running Debian 506.
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this error: Error opening terminal: vanilla How can i solve this.
I would like to configure visudo to authorize user to start only one application with sudo on one peculiar host and forbid everything else so, after reading the man, I came up with :
Code:
Select alluser ALL = (ALL:ALL) !ALL user host_name = /usr/bin/application
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
i try today to install Firestarter , unfortunately i got some problems regarding of the following messages:
1- insufficient privileges : 2- how can i change and save the file /etc/sbin/firestarter with visudo cammand 3-i got this message when i try to run it through terminal Error reading /proc/net/ip_conntrack: No such file or directory
I didn't find a solution to making my 3G/GPRS "modem" reconnect automatically when the connection fails, so I made a solution of my own. It's very annoying when you're downloading a file overnight, only to find that the connection has failed 5 min after you went to sleep.Restarting the NetworkManager daemon makes it automatically connect to all configured interfaces, including 3G/GPRS, so I made a simple script to do that.First, we check if the modem is even connected. Replace Huawei with the brand you're using. Any unique word on the line in lsusb will do fine as well. Then we check if the connection is up, and if it is, we simply exit. Otherwise, the NM daemon is restarted, which causes the 3g/gprs to reconnect.
I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)