Re: dhcp with network restart problem
HI..
I had a similar problem where if I lost my link to the cable modem,
I would restart /etc/init.d/networking and I wouldn't receive an IP
from my ISP.
I checked my syslogs like and sure enough, I my eth0 dhcp requesting a
packet was being denied.
So, I just stopped my firewall rules.
then restarted /etc/init.d/networking and it was fine.
I ran these:
/etc/init.d/ipmasq stop
/etc/init.d/networking restart
/etc/init.d/ipmasq start
Thats what worked for me :)
Mike
Quoting Jaye Inabnit ke6sls <ke6slsalt1@home.com>:
> On Saturday 18 August 2001 05:05, James D Strandboge wrote:
> > On Sat, Aug 18, 2001 at 11:51:19AM +0200 or thereabouts, john wa
> wrote:
> > > i have a dodgy cable modem which frequently cuts out requiring it to
> > > re-negotiate the link. my firewall/irc box often fails to come back
> after
> > > some cut outs.
> > >
> > >
> > > sometimes the interface remains up with the correct IP address but
> for
> > > some reason it can't find anything on the 'net. the dhcp lease has
> been
> > > the same for 2 months now so it's not the IP address given to the
> modem
> > > changing.
> >
> > Sounds to me like you are dropping the packets needed by dhcp. Check
> > /var/log/syslog when you /etc/init.d/networking restart, and see if
> you
> > are dropping packets. It would work on reboot because the firewall
> script
> > almost always runs after setting up networking.
> >
> > Regarding the 'dodgy cable modem', I thought I had a dodgy cable
> modem,
> > until I realized I was blocking out a particular igmp packet from my
> ISP.
> > I looked in my logs, and set up a rule to accept the packet from the
> ISP,
> > and now I can leave my computer on for months (6 to be exact) without
> > any dhcp problems.
> >
> > Jamie Strandboge
>
> Greetz,
>
> I'm VERY new to dhcp and cable modems. I have been hammering away on my
> own
> network with assist from helperbees from this list and my brother. I
> think I
> found a little problem with /etc/init.d/networking, where it doesn't
> seem to
> want to call the dhcp client to re-nagotiate the link. I was going to
> look
> into it further, but we decided to try setting the link up for static
> and
> took the info from ifconfig and reset interfaces file and re-up'd the
> network
> and it worked perfectly. The only problem will be that if the network at
>
> @home were to change, I'll have to re-run a dhcp client to re-establish
> an
> ip/dns etc..
>
> Anyhow, I used the dhcpcd client to get online with. I don't think this
> client is called when /etc/init.d/networking stop/start/restart is
> invoked. I
> would play with it on your end and verify whether it IS or ISN'T being
> called.
>
> HTH
>
> --
>
> Jaye Inabnit\ARS ke6sls\/A GNU-Debian linux user \/
> http://www.qsl.net/ke6sls
> If it's stupid, but works, it ain't stupid. SHOUT JUST FOR FUN.
> Free software, in a free world, for a free spirit. Please Support
> freedom!
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: