Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 09:56:10PM +0100, Xan wrote: > En/na Lennart Sorensen ha escrit: >> O >> >> Other than patching the kernel to change the behaviour to be more router >> like though, about the best you can do is have a cron job or daemon >> check the link state, and delete the route if the li

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 09:58:22PM +0100, Xan wrote: > Yes, it's true. :-) > But then, could I unplugged the harddisk of nslu2 and modify the router > table? Where the router table stores? Where is the configuration file? It is not stored. It is generated based on the interface configuration.

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 09:59:03PM +0100, Xan wrote: > En/na Lennart Sorensen ha escrit: >> On Mon, Nov 02, 2009 at 08:38:12PM +0100, Xan wrote: >> >>> How can I reorder them? via route command? All wlan0 //at top// >>> >> >> I don't know of any way other than deleting and re-adding using t

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
En/na Lennart Sorensen ha escrit: O Other than patching the kernel to change the behaviour to be more router like though, about the best you can do is have a cron job or daemon check the link state, and delete the route if the link goes down, and add it back when the link returns. I consider th

New Debian on NSLU2 documentation available

2009-11-02 Thread Martin Michlmayr
I wrote several new guides about Debian on the Linksys NSLU2 this weekend. The new guides cover the following topics: - Troubleshooting: common problems and their solutions - Internals about the boot process of Debian on the NSLU2 - Modifying a NSLU2 firmware image - Cloning a NSLU2 - Migrati

Re: NSLU2->SheevaPlug (was: Etch->Lenny upgrade gone bad)

2009-11-02 Thread Martin Michlmayr
* Martin Michlmayr [2009-09-25 19:17]: > > By the way, I want to buy a sheeva plug in some months, will there > > be an easy way to move my disk from nslu2 to sheeva plug? > > Interesting idea! I'll add that to my TODO list for a HOWTO. I have written a NSLU2 -> SheevaPlug migration guide now:

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
En/na Lennart Sorensen ha escrit: In that case all traffic will use the wlan interface, and if it fails, you get nothing. Yes, it's true. :-) But then, could I unplugged the harddisk of nslu2 and modify the router table? Where the router table stores? Where is the configuration file? Xa

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
En/na Lennart Sorensen ha escrit: On Mon, Nov 02, 2009 at 08:38:12PM +0100, Xan wrote: How can I reorder them? via route command? All wlan0 //at top// I don't know of any way other than deleting and re-adding using the 'ip route' command (route and ifconfig are obsolete and should not

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 08:38:12PM +0100, Xan wrote: > How can I reorder them? via route command? All wlan0 //at top// I don't know of any way other than deleting and re-adding using the 'ip route' command (route and ifconfig are obsolete and should not be used anymore). > Different subnets is no

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 08:46:00PM +0100, Xan wrote: > Yes, I think so. If you unplugged eth0 or ifdown eth0, screen hangs. > If ifdown wlan0, nothing happens. > I think it's the problem Lennart commented out. > > Lennart, could it be solved if we have this route table? > > > Destination Gatewa

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 07:55:47PM +0100, old.cod...@mac.com wrote: > I think I have the same situation. > I can ssh using 192.168.1.6 for wlan0 interface, and 192.168.1.7 for the > eth0 interface. > So now I have 2 sessions going through the same interface, and if I > disconnect that interface

Re: nslu2: two devices: one by default

2009-11-02 Thread old . codger
On 2 Nov 2009, at 19:14, Lennart Sorensen wrote: On Mon, Nov 02, 2009 at 07:01:25PM +0100, Xan wrote: First of all, I'm impressed. Wow!. Thanks for this great and comprensive answer. Now I understand the problem I have. Although I thank you the patch I will not patch the kernel because patc

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
Yes, I think so. If you unplugged eth0 or ifdown eth0, screen hangs. If ifdown wlan0, nothing happens. I think it's the problem Lennart commented out. Lennart, could it be solved if we have this route table? Destination Gateway Genmask Flags Metric RefUse Iface localne

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
En/na Lennart Sorensen ha escrit: # script wlan0 produces # route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface localnet* 255.255.0.0 U 0 00 wlan0 localnet* 255.255.0.0

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Mon, Nov 02, 2009 at 07:01:25PM +0100, Xan wrote: > First of all, I'm impressed. Wow!. Thanks for this great and comprensive > answer. Now I understand the problem I have. > > Although I thank you the patch I will not patch the kernel because > patching kernels are not supported and really u

Re: nslu2: two devices: one by default

2009-11-02 Thread Xan
En/na Lennart Sorensen ha escrit: On Sat, Oct 31, 2009 at 03:19:22PM +0100, Xan wrote: En/na Lennart Sorensen ha escrit: On Fri, Oct 30, 2009 at 05:32:09PM +0100, Xan wrote: Hi, Perhaps it's a too much simple question, but I don't know what achieve that: In nslu2 I have two network devic

Re: nslu2: two devices: one by default

2009-11-02 Thread Lennart Sorensen
On Sat, Oct 31, 2009 at 03:19:22PM +0100, Xan wrote: > En/na Lennart Sorensen ha escrit: >> On Fri, Oct 30, 2009 at 05:32:09PM +0100, Xan wrote: >> >>> Hi, >>> >>> Perhaps it's a too much simple question, but I don't know what >>> achieve that: In nslu2 I have two network devices: eth0 and wla