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

Re: [MiNT] DHCP



On Thu, 15 May 2009 22:26:12 , Peter Slegg <p.slegg@scubadivers.co.uk> wrote:

> On Fri, 15 May 2009 22:44:45 , Miro Kropacek <miro.kropacek@gmail.com> wrote:

> > >

> > > I have set a subrange on the adsl box and checked it will dhcp

> > > to linux but what do I need to alter on the Milan ?

> >

> > Nothing :) Install EasyMiNT with dhcp settings (it will install & set dhcp

> > RPM package for you) Don't forget to choose your "xif" driver when installer

> > asks for network card driver.

> >

> > Or maybe even installing dhcpclient package will be enough.

> >

>

> Re-installing the OS is not exactly what I had in mind, that's

> a WinDOS solution ;-)

>

> I installed Easymint a few years ago but configured it for static IP

> now I want to try dhcp without wrecking the set-up.

>

> Peter


I've got is partly working. I commented out the static config in

the file u:\etc\sysconfig\config.if


Then I restart the network with /etc/init.d/dhclient and that works

ok


bash-2.05a# ifconfig

lo0:    flags=0x4b<UP,BROADCAST,LOOPBACK,RUNNING>

        inet 127.0.0.1 netmask 255.255.255.0 broadcast 127.0.0.255

        metric 0 mtu 16384

        in-packets  12 in-errors  0 collisions 0

        out-packets 12 out-errors 0

rtk0:   flags=0x43<UP,BROADCAST,RUNNING>

        inet 192.168.0.250 netmask 255.255.255.0 broadcast 192.168.0.255

        metric 0 mtu 1500

        in-packets  33 in-errors  0 collisions 0

        out-packets 38 out-errors 0




However, something must have been removed from the boot scripts in

some way because after booting there was no network and I had to

manually restart the network


Any suggestions ?


A FreeMint help page (wiki)