Getting Started, Documentation, Tips & Tricks

My resolv.conf resets on every boot

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?
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.
Now this is a deep dark secret, so everybody keep it quiet :)
It turns out that when reset, the WD33C93 defaults to a SCSI ID of 0, and it was simpler to leave it that way... -- Dave Olson, in comp.sys.sgi

Currently in commercial service: Image :Onyx2: (2x) :O3x02L:
In the museum : almost every MIPS/IRIX system.
Wanted : GM1 board for Professional Series GT graphics (030-0076-003, 030-0076-004)
Uhm, no, the old router is long gone.

And i also tried running network without dhcp client.
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
r-a-c.de
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.
SGI:
:A3502L: Dual Itanium [email protected] 4GB Marisa
:Octane2: Dual R14000A@600MHz 2GB V12 Sakuya
Non-SGI:
HP C8000
HP EliteBook 8560p [email protected] 16GB Youmu FreeBSD 10.1/Windows 8.1
IBM IntelliStation 265 Dual POWER3-II@450MHz Jigoku-Karasu ( Hell Raven )

Incoming/On bench for repair/not in service:
2x :O3x0: Origin 300

For Sale: O2 DIMMS, Octane and O2 caddies.
Did you try

Code: Select all

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