DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't seem to figure out how grml is stopping the auto-dhcp during boot
by default in grml network is disabled
I tried init.d, inittab, or whatever
I cannot seem to find anything??
I need eth0 to come up automatically at boot
grml, for some reason won't remember my net setup and must re-setup at every boot??!
Hey Linus,how ya doing?
If grml is the same as Debian you need to look at /etc/network/interfaces
Here's a sample from mine,running ethernet with dhcp:
Code:
ade@Pc1:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
How does this compare to yours?.
Some people say to change allow-hotplug for auto,but i found this slowed my connection at boot up.So i now leave it as it is.
Have a look,let us know how you get on.
Completely off topic,check this internet radio site:
Unfortunetly, there seems to be a script that runs at startup which somehow rewrites the "interfaces" file
even running persistent, if I change the file as root, it still reverts back to only loopback, and nno auto-eth0
I will now unsquashfs the grml.squashfs and edit stuff and mksquashfs that B#@$%!
LOL
anyway, it says you need "unsquashfs-lzma", which I found out is
included in slax-6.1.2 /tools folder
so, I was in pmagic, so I downloaded unsquashfs-lzma and unsquashed it
Now, I changed the /etc/network/interfaces to what Trooper told me above
I then booted off USB(persistent) and edited bootline "nopersistent"
to get a fresh boot
OK, that worked great!
PROBLEM
I then rebooted "persistent" with my saved /etc/stuff and guess what?
No DHCP!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.