[64studio-devel] quick network question DNS issue
Ian Cote
ianc at speakeasy.org
Tue May 1 21:44:29 UTC 2007
Hey Nate,
If statically assigning your IP address will work for you, Jason's
approach will fix you up. The key step to note is commenting out or
removing the dhcp flag per his instructions. With that done, your
machine shouldn't even ask for that information and thus your settings
won't be overwritten.
-ian
On Tue, 2007-05-01 at 17:33 -0400, Nate figlar wrote:
> jason,
>
> yeah I know extactly what your are saying and yes all that works.
> however the problem I am having is when i shut the machine down at
> night and reboot in the morning all those setting go and the gateway
> is reseting everything back to the bad DNS. what i am looking for is a
> way so the machine doesn't accept those setting and keeps the ones I
> just assigned to it. I can just reset it but to be honest gets a
> little annoying doing that before I can do anything on the network. I
> know ubuntu's GUI network manager had a save feature that was nice
> because a simple click of a button and restored all that. I am just
> hoping I can find a work around to eleminate all that even and just
> have my machine automatically keep those right NDS addresses. but I do
> greatly appreciate the input though. keep any more ideas coming, I'm
> all ears.
>
> nate
>
> On 5/1/07, Jason Schaefer <schaefer.jason at gmail.com> wrote:
> > The file that dns is written to is /etc/resolv.conf
> >
> > under system -> administration -> network you can set static ip/dns
> > graphically. Otherwise, as root, you can use /etc/network/interfaces
> > and set it static from the command line.
> >
> > for example (/etc/network/interfaces):
> > comment out the dhcp and add static
> >
> > #auto eth1
> > #iface eth1 inet dhcp
> > auto eth1
> > iface eth1 inet static
> > address 10.2.2.2
> > netmask 255.255.255.0
> > gateway 10.2.2.1
> >
> > then change your /etc/resolv.conf file (x.x.x.x = your isp dns servers)
> >
> > nameserver x.x.x.x
> > nameserver x.x.x.x
> >
> > Again, this can be done graphically with gnome's GUI Network administrator.
> >
> > Good luck
> > Jason
> >
> >
> >
> > On 5/1/07, Nate figlar <sonorone at gmail.com> wrote:
> > > well i tried the open dns approach using both the open dns addresses
> > > and the addresses of my isp dns servers. unfortunately at both service
> > > restert and reboot both took me back to the bad settings. I am going
> > > to do some digging into the man pages on the dhclient.conf file
> > > tonight and hopefully I can disable the dns setting from there. On the
> > > surface it looks like a little more than I have done with linux in the
> > > past but this is how one learns ;). i will definately be keeping
> > > everyone posted though on the good and bad plus the ins and outs of
> > > this situation to maybe help with development down the road. and still
> > > open to any other suggestions as well. again I wish to thank everyone
> > > for the input thus far, hopefully I can get this running smoothly.
> > >
> > > nate
> > >
> > > On 5/1/07, Leonardo Palomares <leoave at gmail.com> wrote:
> > > > You can try open DNS
> > > > Take a look at this site:
> > > > http://www.opendns.com/start/unix.php
> > > > there are instructions how to change DNS
> > > >
> > > >
> > > >
> > > > On 5/1/07, Nate figlar <sonorone at gmail.com> wrote:
> > > > > yeah I tried that route quentin unfortunately I have a terrible ISP
> > > > > that supplies thier customers with terrible gateway routers. and if
> > > > > you try to even mention linux they cut you off to say "we only
> > > > > recommend using windows with our systems, sign up for a 2 year
> > > > > contract and we can get to a dell with xp on it." yeah like I want a
> > > > > cheap 200 us dollar dell and have to put up with 2 more years of bad
> > > > > service just because I have no other alternative LOL. ah hopefully
> > > > > some other company will be putting up gateways in my area to bettter
> > > > > service me.
> > > > >
> > > > > but yeah I have followed the directions exactly as followed and was
> > > > > told by my isp that yeah it was a bug that isn't working on that
> > > > > model. I was hoping that maybe somewhere I could find the file in /etc
> > > > > somewhere that would have the setting then maybe set it for read only
> > > > > so it can't be changed. I do apreciate the advice though quentin
> > > > > thanks for pointing me in that direction
> > > > >
> > > > > as for anyone might have any ideas if my plan might work or not again
> > > > > any input is greatly appreciated.
> > > > >
> > > > > nate
> > > > >
> > > > > On 5/1/07, Quentin Harley < qharley at wbs.co.za> wrote:
> > > > > > Nate figlar wrote:
> > > > > > > hey everyone,
> > > > > > >
> > > > > > > I have been running into one small issue on my network connection
> > > > > > > regarding my DNS. everytime I boot. I have to manually remove my DNS
> > > > > > > settings and reset them to my isp's DNS adressess. if I don't my DSL
> > > > >
> > > >
> > > >
> > >
> > >
> > > On 5/1/07, Quentin Harley <qharley at wbs.co.za> wrote:
> > > > Nate figlar wrote:
> > > > > hey everyone,
> > > > >
> > > > > I have been running into one small issue on my network connection
> > > > > regarding my DNS. everytime I boot. I have to manually remove my DNS
> > > > > settings and reset them to my isp's DNS adressess. if I don't my DSL
> > > > > gateway takes forever to find anything. my question is where would I
> > > > > set those manually so they will not be changed by my gateway after
> > > > > reboot. I remember when i was using ubuntu i could save them but for
> > > > > some reason the control panel hasn't been able to do that. is there a
> > > > > file I can edit somewhere? any help at all would be greatly
> > > > > appreciated.
> > > > >
> > > >
> > > > Hey Nate,
> > > >
> > > > I don't have that problem, because I set up my DSL router to forward
> > > > that info automatically via DHCP. The only gateway according to my
> > > > 64studio PC is the address of the router.
> > > >
> > > > I don't know If this helped you by any degree though...
> > > >
> > > > Quentin
> > > >
> > >
> > > _______________________________________________
> > > 64studio-devel mailing list
> > > 64studio-devel at 64studio.com
> > > http://lists.64studio.com/mailman/listinfo/64studio-devel
> > >
> >
>
> _______________________________________________
> 64studio-devel mailing list
> 64studio-devel at 64studio.com
> http://lists.64studio.com/mailman/listinfo/64studio-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.64studio.com/pipermail/64studio-devel/attachments/20070501/61871b42/attachment.htm
More information about the 64studio-devel
mailing list