bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface


From: Tim Ruehsen
Subject: Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface
Date: Thu, 11 Apr 2013 10:55:51 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Hi Olivier,

[just took Guiseppe out of CC, to not spam him anymore]

I have the virtual stuff all installed here.
The image is not bootable. Neither from your manual description nor from virt-
manager. And I can't afford the time to go deeper.

I suggest that you do some testing yourself.
If your browser works ok, but Wget, use wireshark or socat to see what is 
going on. Try the same with Wget and compare the results. If you still can't 
pin down the problem, post both traces/logs here.

Regards, Tim

Am Wednesday 10 April 2013 schrieb Olivier Diotte:
> On Tue, Apr 9, 2013 at 4:28 PM, Tim Rühsen <address@hidden> wrote:
> > My router has a DD-WRT which uses basic authentication (--user and
> > --password options would do it). But as one can see in your index.html,
> > your OpenWRT uses a form with POST method. Your original call to Wget
> > seems to be right.
> > 
> > Without a test environment, I have no clue what is going wrong (and I am
> > not even shure, if something goes wrong).
> > 
> > Try testing without -m.
> > 
> > Regards, Tim
> 
> Hi Tim,
> 
> I can run tests if needed. I will try to, in order:
> 1- Get a wireshark trace to try and figure out as much as possible
> 2- Submit a patch if I can manage the time
> 
> As for a test environment, that can be arranged if you feel like it.
> 1- Download
> http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/x86/generic/ope
> nwrt-x86-generic-combined-ext4.img.gz 2- Install QEMU with VDE support (on
> Debian, you need only install vde2 for that:
> http://wiki.debian.org/QEMU#QEMU_networking_with_VDE ) 3- Save the
> attached script into the same folder as the aforementioned openwrt image
> and run it as root (I haven't bothered to get the
> permissions right yet to get it to run as a user)
> 
> 4- openWrt should boot up properly, but you won't be able to connect
> to it from your host because the script assumes the IP address of the
> openWrt image's br-lan interface is 172.16.1.1/24 while openWrt
> defaults to 192.168.1.1/24 IIRC.
> To be able to connect to the web interface through the host (and test
> wget from there), you'll need to either:
> a) edit openwrt's /etc/config/network file (with vi) so the 'lan'
> stanza's ipaddr option is '172.16.1.1' rather than '192.168.1.1'
> or
> b) edit the script so it uses 192.168.1.x/24 addresses (I didn't like
> that because I need to connect many things on this box and they all
> default to either the 192.168.0.x/24 or the 192.168.1.x/24 subnets)
> 
> I'll let you know if I get any development on this bug.
> 
> Regards,
> Olivier

Mit freundlichem Gruß

     Tim Rühsen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]