
Hi all,
I installed grml i386 via grml2hd onto my laptop that ran with grml 0.9 before. It is a IBM ThinkPad T23.
After booting from harddisk, I used grml-network to set up a static IP address for the on-board eth card. Now I can access the laptop via ssh, everything works fine.
Several hours later, my ssh connection is down, the laptop does not respond to pings. I use the console and - much to my astonishment - the static IP address was exchanged with an address from the DHCP range of my router! I used grml-network again to enter the static IP address - and next morning, it again was away and a dynamic IP address was used!
Well, since that first surprise this happens all few hours. I always chose "enable at boot" at the last prompt.
What can I do do have my system remember the static IP address assigned via grml-network instead of looking for a DHCP address?
Regards, Werner

* Werner Flamme werner.flamme@ufz.de [07-05-29 21:00 CEST]:
Hi all,
I installed grml i386 via grml2hd onto my laptop that ran with grml 0.9 before. It is a IBM ThinkPad T23.
After booting from harddisk, I used grml-network to set up a static IP address for the on-board eth card. Now I can access the laptop via ssh, everything works fine.
Several hours later, my ssh connection is down, the laptop does not respond to pings. I use the console and - much to my astonishment - the static IP address was exchanged with an address from the DHCP range of my router! I used grml-network again to enter the static IP address - and next morning, it again was away and a dynamic IP address was used!
Well, since that first surprise this happens all few hours. I always chose "enable at boot" at the last prompt.
What can I do do have my system remember the static IP address assigned via grml-network instead of looking for a DHCP address?
edit /etc/grml/autoconfig and set CONFIG_DHCP='no' This must help. My opinoin is that this option have to be set by grml-network. But Mika knows better.
Best Regards, Dimitar

* Dimitar domidimi@googlemail.com [20070530 09:15]:
- Werner Flamme werner.flamme@ufz.de [07-05-29 21:00 CEST]:
[...]
What can I do do have my system remember the static IP address assigned via grml-network instead of looking for a DHCP address?
edit /etc/grml/autoconfig and set CONFIG_DHCP='no' This must help. My opinoin is that this option have to be set by grml-network. But Mika knows better.
Yeah, that's a good idea. I will set CONFIG_DHCP to 'no' in /etc/grml/autoconfig as soon as you answer the question "Interface enabled, do you want it auto enabled at boot?" from grml-network/netcardconfig with "yes".
I've added it to our BTS: http://bts.grml.org/grml/issue225 and will write the according code soon. Thanks for the suggestion.
regards, -mika-

* Michael Prokop mika@grml.org [20070530 09:23]:
- Dimitar domidimi@googlemail.com [20070530 09:15]:
edit /etc/grml/autoconfig and set CONFIG_DHCP='no' This must help. My opinoin is that this option have to be set by grml-network. But Mika knows better.
Yeah, that's a good idea. I will set CONFIG_DHCP to 'no' in /etc/grml/autoconfig as soon as you answer the question "Interface enabled, do you want it auto enabled at boot?" from grml-network/netcardconfig with "yes".
I've added it to our BTS: http://bts.grml.org/grml/issue225 and will write the according code soon. Thanks for the suggestion.
JFYI: Implemented in grml-network version 0.1.12 which has been uploaded to grml-testing pool. If there aren't any bugreports within the next few days I'll push it to grml-stable as well.
regards, -mika-

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dimitar schrieb am 29.05.2007 21:08:
- Werner Flamme werner.flamme@ufz.de [07-05-29 21:00 CEST]:
What can I do do have my system remember the static IP address assigned via grml-network instead of looking for a DHCP address?
edit /etc/grml/autoconfig and set CONFIG_DHCP='no' This must help. My opinoin is that this option have to be set by grml-network. But Mika knows better.
Best Regards, Dimitar
Dimitar,
thank you, this helped! The laptop is running for 16 hours now and still has the static IP. I never thought that grml-network would *not* set the variable accordingly 8-)
Beste reagrds Werner
- -- Werner Flamme, Abt. WKDV Helmholtz-Zentrum für Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme@ufz.de
Teilnehmer (3)
-
Dimitar
-
Michael Prokop
-
Werner Flamme