Re: Freaking comcast.....grrrr



On Feb 7, 6:13 am, <nos...@xxxxxxxxxxx> wrote:
In article <d982bc99-78ef-4a8b-bfe8-c0714bc63123
@v5g2000pre.googlegroups.com>, mike.tul...@xxxxxxxxx says...



On Feb 6, 7:05 pm, <nos...@xxxxxxxxxxx> wrote:
In article <a0d033f3-cd18-493a-8ca6-d59c5ace18d1
@v5g2000prm.googlegroups.com>, mike.tul...@xxxxxxxxx says...

eh? How are they accessing your /etc/resolv.conf? Or am I missing
something?

DHCP can do that.

and that's exactly what it is doing. I have the dhcp client daemon
running on my system, to grab a non-routable IP from my router/
firewall. When it offers up the IP lease, it also passes the
nameservers down to the system as well, which the router gets from the
cable modem. A simple home network type setup, basically. If I were
to change my resolve.conf file's write permissions, I'd most likely
break my internet. I'm sure someone with more Linux knowledge than I
knows a trick to this, but so far, my "band-ade" seems to work...a
simple change, with positive results....works for me.

I am a little late to the party but if you have not found a better
solution you might try looking in

/etc/rc.d/rc.inet1.conf

Below is a line (I show it as two lines, but it is on one line in the
file) I found in my rc.inet1.conf file. I am running Slackware.

#DHCP_KEEPRESOLV[4]="yes"
# If you don't want /etc/resolv.conf overwritten

If you are only using one network card it should probably look like the
following if you uncomment it and make it for the first NIC.

DHCP_KEEPRESOLV[0]="yes"

Of course you have to reboot or issue

/etc/rc.d/rc.inet1 restart

so that the altered config file is read.

Although I do appreciate the assistance, the problem, is that I use
Gentoo. That file/path does not exist on here, and I tried to grep for
that string and could not find it. Thanks anyhow, though

-M

You might try adding the following in your

/etc/conf.d/net

file after the configuration lines that set up your network card.

dhcpcd_eth0="-R"

The "-R" is supposed to prevent dhcpcd from replacing the existing
/etc/resolv.conf file. Again the the eth# should be the number for
your network card if it is not the first or 0, and you will have to
reboot or otherwise get the system to read the net file after you have
added that line.

If that doesn't work I am probably wasting your time and mine with more
suggestions since I don't use Gentoo.

Good luck.

Ah...now we're on the same page.....except that I had tried
'dhcpcd_eth0="nodns" ' option and it didn't work. I'm going to try
your method and post my results. Thanks again for the info.

-M
.



Relevant Pages

  • Re: DHCP/Disk problem: lost lease to IP addr & bad block
    ... Your computer has lost the lease to its IP address xx.xxx.xxx.xxx on the Network Card with network address xxxxxxxxxxxx. ... The IP address and Network Card that it's referring to is Internet Explorer so I assume the bad block has something to do with Internet Explorer also. ... Go to Start, Run, and type 'cmd' without the quotes, then enter CHKDSK /F. ...
    (microsoft.public.windowsxp.general)
  • Re: DHCP/Disk problem: lost lease to IP addr & bad block
    ... Your computer has lost the lease to its IP address xx.xxx.xxx.xxx on the Network Card with network address xxxxxxxxxxxx. ... The IP address and Network Card that it's referring to is Internet Explorer so I assume the bad block has something to do with Internet Explorer also. ... Contact the ISP to resolve. ... As for the bad block error message, it may or may not be related to ...
    (microsoft.public.windowsxp.general)
  • Media Center Connection Issue
    ... I've read through this forum and have seen references to an issue that ... The IP address lease 192.168.1.103 for the Network Card with network ...
    (microsoft.public.windows.mediacenter)
  • Re: Freaking comcast.....grrrr
    ... If you are only using one network card it should probably look like the ... Of course you have to reboot or issue ... so that the altered config file is read. ... suggestions since I don't use Gentoo. ...
    (alt.2600)
  • Re: msn messenger cuts out at 1am
    ... at 1am his MSN messenger cuts out and he has to sign back in. ... IMHO Likely to be some setting in his modem \router or the ip lease assigned ... to his network card...remember ... having a similar thing on an old speedtouch modem which messed up my xbox ...
    (uk.telecom.broadband)