General :: Use Wget To Access A RESTful Interface?
Apr 12, 2010I am trying to use wget to access a RESTful interface, but I can not figure out how to do HTTP PUT with wget. How can I do it? Or isn't it prossible?
View 2 RepliesI am trying to use wget to access a RESTful interface, but I can not figure out how to do HTTP PUT with wget. How can I do it? Or isn't it prossible?
View 2 RepliesIs there a way for wget not to download a file but rather just access it? I use it to access a URL that triggers a process on a web server, but the actual HTML file at that location doesn't need to be downloaded and saved. I couldn't find anything in wget's help to show if there's a way to do this. Could anyone suggest a way of doing this?
View 2 Replies View RelatedCurrently, I must sudo tcpflow -i lo as root user, I want to grant the lo interface and TCP port range 3000-3999 of all interfaces to user1, how to do that?
View 1 Replies View RelatedI have been having a problem on my Ubuntu desktop with the wireless connection. I am now running Ubuntu 10.04, but the problem showed up immediately after upgrading to Ubuntu 9.10. This machine is used as a CUPS server so my wife can print from her laptop and get to a printer downstairs. Intermittently, I will be unable to access the CUPS server web pages (or any other web pages on the local Apache server) from a remote machine on the internal network. I also cannot connect in via SSH. However, from the wireless desktop itself the web pages are still accessible and a local browser can also access remote web sites just fine. So, the network connection is still up.
To try to determine how often this was happening, I wrote a simple Bash script that checked if a page could be accessed on the web server on the wireless machine. I used wget to access a page and then log the results to a file while running the script from a crontab entry. It turns out that even though I cannot access a web page using a remote browser, I can access the same web pages using wget from a remote machine. This has me a little confused..What could be causing this situation? I do not have a firewall running on the desktop with the wireless connection. After a while, the blockage of inbound web pages from a remote browser is "fixed" and I can again access the CUPS (and other) pages.
I am interested in making wget do a slightly different function for me. I have downloaded it, built it (1.12) and it works perfectly right out of the box. would like to have it login to my creditcards.citi.com https website, give my user id, my password and "select NEXT-SCREEN label=Account Activity", then capture the account activity that returns.
I got these three values in my firefox Selenium script that runs perfectly time after time. My big picture goal, is to be able, on a crontab, to dump my account activity every night at midnight. I am not married to this idea if anyone has a better or different route.
If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other clients? I have an existing 802.11g ADSL router, and I'm going to be building an HTPC which will have 802.11n. My laptop also has 802.11n, but at the moment it only connects at 54Mbps because thats what the AP supports. I'd like to be able to have the HTPC be a client of my ADSL router, but have my laptop be a client of the HTPC, so copying files to it will be faster.
View 1 Replies View RelatedIf a wget download is interrupted (like if I have to shutdown prematurely), I get a wget.log with the partial download. How can I later resume the download using the data in wget.log? I have searched high and low (including wget manual) and cannot find how to do this. Is it so obvious that I did not see it? The wget -c option with the wget.log as the argument to the -c option does not work. What I do do is open the wget.log and copy the URL and then paste it into the command line and do another wget. This works but the download is started from the beginning, which means nothing in the wget.log is used.
View 2 Replies View Relatedi am using windows 7 in my laptop and linux is installed on virtualBox but my problem is the screen is showing small in virtualbox is there any way to enalarge the screen to show like windows screen? i did before by using VGA setting but it made problem me i was not able to use GUI interface i meant graphics interface
it was just showing me Command Prompt.
is it possible to access any application is not in /var/www/html/ via web interface ?
View 5 Replies View RelatedI have installed Trac via 'yum install trac'. How do I access the interface? I do not see a trac directory in my /var/www/html directory.
View 1 Replies View RelatedI'm having all sorts of problems connecting an access point to my computer, but here is one piece that I hope will get me going, if I can get it solved.My computer has two network interfaces, eth0 and eth1. eth1 connects to the cable modem and thence the world, and works fine. eth0 is supposed to connect to the access point over a private network. Here is the output from route with my IP address blotted out:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[code]...
I'm unable to access the CUPS interface (localhost:631). I used to be able to, but now, everytime I try to, a Page load error comes up with "can't establish a connection to the server at localhost:631." I searched the Ubuntu forums and Google and tried a few things (including installing CUPS v1.3.9) with no change. I've tried stop and staring cups, but nothing is working. Has anyone come across this issue and found a fix for it?
View 5 Replies View RelatedI am unable to access my voiceone interfaceerrorwsdl error: HTTP ERROR: HTTP authentication failed
View 3 Replies View RelatedI have my centos server behind a Linksys router. I'd like to access the router's web interface to open and close certain ports. How do I access the router's interface ?
Prior to this, I had a windows machine. I could type in the router's IP in 192.168.1.1 in the browser and get access to the interface.
How do I go about now ?
I have web application running on my server and can access this over the GUI.
This morning I can no longer access the gui interface. The activity LED flickers non stop on my nic card. I cannot ping or ssh into the server. However can access it directly from console and system is responsive when doing that. So i think this is a n/w issue... Any thoughts? How can I troubleshoot this?
I have set up nagios on Suse 11.2 and it is working fine on the localhost. I can access localhost/nagios, <ipaddress>/nagios in the browser and it loads up the nagios webinterface. If I try on a computer on the network with <ipaddress>/nagios the request times out. I have tested that I can ping to and from both machines (nagios machine and the machine I am trying to access the interface from).Some detailsNagios is running in a hyper-v VM. I installed it through yast2. Communication is run via a switch and sonicwall firewall but firewall has allow all within the network.I have a feeling it's some apache2 setting that I haven't configured or something blocking port 80.
View 7 Replies View RelatedSuppose a command:
Code:
$ ethtool eth5
Settings for eth5:
[code]....
2011-04-11 11:57:03 UTC I don't know what happening with my centralized log-server running octopussy. Currently it is working in a vmware setup with approx 980 Mb ram and is set in bridge mode. Currently is it set to receive logs from logs devices which are 4 in number one of which includes the core isg-1000 device. This setup is still in its test form....now what happens after some time (sometimes it taken days and sometimes just hours) when the connection (https) is suddenly lost to the apache and i can no longer access the interface. What happens more strangely my Ethernet interface gets shutdown on ubuntu. I have to restart the services by issuing /etc/init.d/networking restart.
Even at times it itself start receiving network packets on its own; without even restarting; i don't what the hell is wrong with the server. I cannot understand its erratic behavior. I need a sound and reliable Ethernet connectivity at all times because coz of loss of connectivity in my case would mean loss of logging functionality. I dnt want any time-gap in logging ...as im currently logging some highly critical devices on this server.
Is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?
View 1 Replies View Relatedis there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?
View 3 Replies View RelatedI have a Linux mail server (Fedora). This server was set up long before i joined this organization. Now I have these issues I would request assistance:
1. I am not able to access the Graphical User Interface(gui) on this machine. Startx does not work. I have also tried using combination keys alt+ctrl+f...keys but no progress. As a result am not bale to do some tasks.
2. The clamav that is on the machine has since become outdated. Efforts to update it to latest versions have failed. How do i get to update clamav and protect my system?
3. Because of not being able to access the gui as well as the inability to update clamav have led to my server apparently sending spam mail which in turn have led to my public ip being black listed in a number of sites. Now how can i secure this server so that it stops sending the spam mail and hence avoid future blacklisting?(NB am using postfix and the server sits behind a router which connects to the Internet)
4. I have observed that the server has some iptables rules set but everytime the server restarts the rules stop. I have to manually restart them again to run. How do I sort this?
I can install VMware Server 2.0.1 on CentOS 5.3 (32-bit and 64-bit) perfectly. However, I can't access Server's web interface by going to port 8222 on the machine's IP address. When CentOS 5.3 (32 or 64-bit) is loading, I am greeted with this message "VM communication interface socket family: vsock: no version for "VMCIDatagram_Send" found: kernel tainted." I assume this is the reason why I can't access my Server through a web browser. How do I correct this? Is there a package I need to install on CentOS prior to installation of Server 2.0.1?
It's strange, because I can install 2.0.1 on Ubuntu Server 8.10 with absolutely no problem and access its web interface. So I think this might be a CentOS-specific issue I've uncovered.
I just upgraded from wheezy 7.2.0 to jessie 8.2.0 . I am still running sys v init.
I cannot run bluetooth because bluetoothd dies with the error "Failed to access management interface"
Code: Select allllewelly@zorthluthik:~$ sudo /etc/init.d/bluetooth start
Starting bluetooth: bluetoothd.
llewelly@zorthluthik:~$ sudo /etc/init.d/bluetooth status
bluetooth is not running ... failed!
llewelly@zorthluthik:~$ sudo /usr/lib/bluetooth/bluetoothd -n
bluetoothd[3736]: Bluetooth daemon 5.23
[Code] ....
All of the above worked fine before I upgraded.
Here is the bluetooth device section from lsusb -v :
Code: Select allBus 001 Device 003: ID 8087:07da Intel Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
[Code] ....
i upgraded my ubuntu 9.10(karmic) to ubuntu 10.04 (lucid) by executing the commands " apt-get update apt-get dist-upgrade" one at a time in terminal after finishing upgrade ,i restarted my system, after restarting i can't access GUI (interface) in UPGRADED version ,it prompts me to terminal interface. how to enable proprietary drivers.., about enabling proprietary drivers! and also i used startx command it prompts me to gui but i can't access my keyboard and mouse or any other input devices.
View 5 Replies View RelatedI need to mirror a website. However, each of the links on the site's webpage is actually a 'submit' to a cgi script that shows up the resulting page. AFAIK wget should fail on this since it needs static links.
View 1 Replies View RelatedI have a computer under Linux with several network cards, for example: eth0, eth1, eth2, eth3. Is there some way to run any downloader, like aria2 or wget only through one interface, for example eth0?
Main problem: for some reason I can't use iptables
I'm doing this wget script called wget-images, which should download images from a website. It looks like this now:
wget -e robots=off -r -l1 --no-parent -A.jpg
The thing is, in the terminal when i put ./wget-images www.randomwebsite.com, it says
wget: missing URL
I know it works if I put url in the text file and then run it, but how can I make it work without adding any urls into the text file? I want to put link in the command line and make it understand that I want pictures of that certain link that I just wrote as a parameter.
i use this code to download :wget -m -k -H URL... but if some file cant be download , it will retry Again and again ,so how to skip this file and download other files ,
View 1 Replies View RelatedI need to download about 100 packages so I'm using wget-list to make it easier. My question however, is once I've made the list (I assume it's in a .txt format), is there a way I can insert comments into it that wget will ignore? Something like this:
#This is a comment
http://someurl.com
http://anotherurl.com
I have a crontab that wgets a PHP page every five minutes (just to run some the PHP code), and I want to send the output to /dev/null. I couldn't find it in the wget manual.
I'm looking for something like:
wget -o stout http://whatever.com/page.php > /dev/null