My resolv.conf resets on every boot

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
MrWeedster
Posts: 146
Joined: Tue Aug 01, 2006 5:29 am
Location: G-Town Germany

My resolv.conf resets on every boot

Unread postby MrWeedster » Tue Nov 25, 2014 7:27 am

Greetings.

Setting up my fuel for installing the soon-to-arrive o2 gives me headaches again...

I try to change my network settings so she takes my new router/network as default, but it always resets to the old settings.

New: 192.168.178/24 with Gateway/NS: 192.168.178.1
Old: 192.168.0/24 with Gateway/NS: 192.168.0.254

Domain name is cause of the fritz!box: fritz.box

So i put in hosts

Code: Select all

192.168.178.65  fuel.fritz.box  fuel


resolv.conf before boot

Code: Select all

domain fritz.box
nameserver 192.168.178.1


resolv.conf after boot

Code: Select all

domain
nameserver 192.168.0.254


/etc/config/static-route.options

Code: Select all

$ROUTE $QUIET add -net default 192.168.178.1



I enabled dhcp, ran the network config with every user in every possibility to change the network settings in every way, no chance.

On every reboot the same settings in resolv.conf




Why, oh why, oh why?

User avatar
jan-jaap
Donor
Donor
Posts: 4881
Joined: Thu Jun 17, 2004 11:35 am
Location: Wijchen, The Netherlands
Contact:

Re: My resolv.conf resets on every boot

Unread postby jan-jaap » Tue Nov 25, 2014 8:10 am

The old router is still connected and answers the DHCP queries faster than the new one?

It's fairly normal that a DHCP client rewrites the resolv.conf, although I don't have much experience with DHCP on IRIX.
:PI: :Indigo: :Indigo: :Indy: :Indy: :Indy: :Indigo2: :Indigo2: :Indigo2IMP: :Octane: :Octane2: :O2: :O2+: Image :Fuel: :Tezro: :4D70G: :Skywriter: :PWRSeries: :Crimson: :ChallengeL: :Onyx: :O200: :Onyx2: :O3x02L:
To accentuate the special identity of the IRIS 4D/70, Silicon Graphics' designers selected a new color palette. The machine's coating blends dark grey, raspberry and beige colors into a pleasing harmony. (IRIS 4D/70 Superworkstation Technical Report)

MrWeedster
Posts: 146
Joined: Tue Aug 01, 2006 5:29 am
Location: G-Town Germany

Re: My resolv.conf resets on every boot

Unread postby MrWeedster » Tue Nov 25, 2014 8:30 am

Uhm, no, the old router is long gone.

And i also tried running network without dhcp client.

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: My resolv.conf resets on every boot

Unread postby foetz » Tue Nov 25, 2014 12:19 pm

never use dhcp unless you need it for some weird reason.
the resolv.conf of 6.5.x doesn't need the domain entry. i'd just leave it out and get the rest sorted in hosts

User avatar
Raion-Fox
Donor
Donor
Posts: 1333
Joined: Thu Jan 30, 2014 5:01 pm
Location: near King George, Virginia
Contact:

Re: My resolv.conf resets on every boot

Unread postby Raion-Fox » Tue Nov 25, 2014 10:53 pm

I would fix this on my BSD boxes by setting the immutable flag, but try this:

Set the resolved.conf the way you want then chmod the file 444 and see if that prevents it being written to.
:O3x02L: R16000 700MHz 8GB RAM kanna
:Octane: R12000 300MHz SI 896MB RAM yuuka
:Octane2: R12000A 400MHz V6 2.5GB RAM
:Indy: (Acclaim) R4600 133MHz XL Graphics 32MB RAM
:Indy: (Challenge S) R4600 133MHz (MIPS III Build Server)
Thinkpad W530 i7 3940XM 3GHz, 32GB, K1000M Windows 8.1 Embedded rin
Thinkpad R40 Pentium M 1.5GHz 2GB RAM kasha

diegel
Donor
Donor
Posts: 351
Joined: Tue Nov 17, 2009 2:08 am
Location: Hamburg, Germany

Re: My resolv.conf resets on every boot

Unread postby diegel » Thu Nov 27, 2014 12:13 am

Did you try

Code: Select all

chkconfig autoconfig_ipaddress off
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests