You are not logged in.

#1 2012-11-13 06:31:01

fantab
Member
From: 3rd Rock from the Sun
Registered: 2011-06-07
Posts: 152

[SOLVED] wget is missing from base setup and curl doesnt help.

I am doing a fresh install of Arch_amd64. I have successfully installed the base and base-devel.

To establish my network connection I have to download a .php file from my ISP and I do it using wget. And during install it worked and I installed by base system.

However, after reboot and using my installed base setup I am unable to use wget; I don't think it is installed, for I get the following:

-bash: wget: command not found

Then I used curl to get the job done BUT ....

following is the command I use to download .php from my ISP

$ wget http://MYISP_address/Ajax.php --post-data "function=ExecuteLogin&user=myloginid&pwd=mypassword&remember=false&timestamp=0x0x0x0x0x0x0

The same command when run using curl I get:

curl: option --post-data: is unknown

I request the forum to help me with the above and get me to connect to my ISP.
(The only other way to connect to my ISP is through java enabled web browser). sad

Thanks

Last edited by fantab (2012-11-13 12:05:55)


"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon

Offline

#2 2012-11-13 06:54:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] wget is missing from base setup and curl doesnt help.

You're incorrectly assuming that wget and curl use the same command line option for POST requests. Check the curl man page for the correct syntax.

Offline

#3 2012-11-13 06:55:38

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: [SOLVED] wget is missing from base setup and curl doesnt help.

Noticed the same yesterday. After a base install, you have to manually install wget.
You could try downloading the wget package on another machine and copy it over.

Offline

#4 2012-11-13 12:04:19

fantab
Member
From: 3rd Rock from the Sun
Registered: 2011-06-07
Posts: 152

Re: [SOLVED] wget is missing from base setup and curl doesnt help.

tomk wrote:

You're incorrectly assuming that wget and curl use the same command line option for POST requests. Check the curl man page for the correct syntax.

Thanks for the pointer, tomk.
I got that... and got the curl going.


"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon

Offline

Board footer

Powered by FluxBB