OpenWrt Forum Archive

Topic: Upload files to wrt54g

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm doing some testing and I'd like to know if there is a way to upload files directly to the /tmp directory of my wrt54g.  I know I could make a package, but it would be faster for me to send it right away.

I built openwrt with ftpget, but the thing is I can't connect to the computer on the lan (192.168.1.100 for instance).  So is there a way to connect the those computers inside the lan?

Any other idea is welcome as well...

Thanks,

Sam

Hi,

I'm doing some testing and I'd like to know if there is a way to upload files directly to the /tmp directory of my wrt54g.  I know I could make a package, but it would be faster for me to send it right away.

I built openwrt with ftpget, but the thing is I can't connect to the computer on the lan (192.168.1.100 for instance).  So is there a way to connect the those computers inside the lan?

Any other idea is welcome as well...

Thanks,

Sam

you can also use wget http://linuxbox/dir/subdir/ ; there is also nfs modules for an nfs client under openwrt against a nfs server under your prefered linux box.

I thought about using wget, but here's what I get:

@OpenWrt:/# wget http://192.168.1.20
Connecting to 192.168.1.20[192.168.1.20]:80
wget: Unable to connect to remote host (192.168.1.20): No route to host


So how can I connect the the linuxbox inside the lan from the router?

Thanks,

Sam

@OpenWrt:/# wget http://192.168.1.20
Connecting to 192.168.1.20[192.168.1.20]:80
wget: Unable to connect to remote host (192.168.1.20): No route to host

Sam

you need to have same network for your linux et AP. Network is for exemple 192.168.1 when ip is 192.168.1.20, so your AP need to have an IP like this : 192.168.1.xxx

Router ip is 192.168.1.1
linuxbox ip is 192.168.1.20

Both are on the same network, but it looks like AP can't find host inside LAN, and I have no idea why.  Anybody?

Sam

The discussion might have continued from here.