Every time the Debian Lenny 32 bit guest (in a Debian Lenny 64 bit host) boots it has to have run # dhclient before the internet will work. This is far too much work. Is there any way of getting the internet to run automatically?
Thanks for any help.
[SOLVED]avoid dhclient to get on internet?
-
lugoteehalt
- Posts: 57
- Joined: 14. Jun 2008, 12:12
[SOLVED]avoid dhclient to get on internet?
Last edited by lugoteehalt on 22. Sep 2010, 07:15, edited 1 time in total.
-
lugoteehalt
- Posts: 57
- Joined: 14. Jun 2008, 12:12
Re: avoid dhclient to get on internet?
For the record: Remove, in fact renamed it, /etc/udev/rules.d/70-persistent-
net.rules. Perhaps it would be better to edit it.
Thanks Sasquatch, I remembered you'd told me this in the past.
net.rules. Perhaps it would be better to edit it.
Thanks Sasquatch, I remembered you'd told me this in the past.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: [SOLVED]avoid dhclient to get on internet?
You could edit it, but removing is a bit faster and safer, because if you make a syntax error, you end up with either another interface, or nothing at all. I hope you didn't rename the file to have the same extension (.rules) as it would then be read as a rule and executed
.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
lugoteehalt
- Posts: 57
- Joined: 14. Jun 2008, 12:12
Re: [SOLVED]avoid dhclient to get on internet?
Nah - just put a squiggle on the end. I think it's called a tilde, but who can tell?Sasquatch wrote:I hope you didn't rename the file to have the same extension (.rules) as it would then be read as a rule and executed.