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

Bug#521129: Hack to solve this



Greetings,

On Sat, Dec 5, 2009 at 9:27 AM, Daniel Reichelt <mail@itamservices.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I've just had the same problem and realized that specifying the ip=
> parameters on the kernel command line only triggers
> live-bottom/23networking.sh to create an appropriate
> /etc/network/interfaces, however that configuration won't get activated
> until init itself runs the networking initscript - which is way after
> the hook script is run.
>
> Probably pretty dirty, but as far as the hook is concerned it works
> (with no bad side-effects as of yet...):
>
> In scripts-bottom/99hook.sh just prepend the line
>    chroot /root wget "${HOOK}"
> with
>    chroot /root ifup -a
>
> After re-creating the initrd all properly configured interfaces get
> activated and ip connectivity for wget is available.
>

If that does indeed correct things then after the wget it would seem
reasonable that one could do a:

chroot /root ifdown -a

Then after that all could continue as one would expect.

Thanks.

>
> Cheers
> Daniel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJLGnv5AAoJEIWTgWPaKFdzLwEQAIel7oVhhfbsK5hG0oaQrtql
> yr3tBJCq0U0ksBFa632gcWrDkGVCiNuBxacrgW4rUdu7KtcEzlXPypQm//2dnTqO
> xnyldPaLnUwepWZYsl1l7T7CL93ranlDuOb2zc4EThrz+JHuKusoff7yManb74iL
> jspUqKRpsldqgxc6wdhopkNuPFrXvQH4tslAyCanWVvOPDIRfQPlevcP8g1j/m6H
> AiXSSRzPdNyColRo56fDQJxc2TEgryd9aCcz3GNViTtqoVVYMNDvuvKeRE1Ch3US
> oluA9GTTLMnvNrnHn2v4kw01jJdK4Ty2duGiMhGIPtNP3Q9daMWnZsYs2OT4LM8H
> //0JYDHmReTTiAPn1VTE9I9sxFbI29gK9+4e2DpXhwl58eFp3R4aXPiOPno/w3Ug
> oTLSbE+oQt3tanznekiFUwdafIAPTideSXqfWoT3HdurPDg487XCpDAd/KNU/E+L
> W1R3KAKed+UXdY1Kl+AvED8DNl3Nb+XCcSJU5jx3ua4PswUKRrz1iviwOIPdkLsy
> 0yYYvabTUpZfgywSy5mOVE8KV7Gg7kYl8SDWWQAkSYpNNSuugwveofLgV3EalsUF
> n7VkzpE29rosd4KUmKIO/Pb7gbgBsWfqqSCBjE8dzGUik+c+rsTkO/VdvuGF/532
> MsCOUVdUa8XAe6n2HriN
> =Lrc6
> -----END PGP SIGNATURE-----
>



Reply to: