Drupal
- Read more about Drupal
- Log in to post comments
I have two NIC's, one wired and one wireless. On each boot SuSE 9.3 seems to randomly assign eth0 to one of them and eth1 to the other. It doesn't matter that the wireless is disabled. How do I assign a fixed name to each NIC?
You need to assign a "persistent name" to each NIC.
In "/etc/sysconfig/network" you will find a file named ifcfg-something for each NIC. Edit the ones whose names end with MAC adresses and add the line
PERSISTENT_NAME=xxx
to one of them, and
PERSISTENT_NAME=yyy
to the other, then run
SuSEconfig
and
/etc/init.d/network restart.
How do I get a bit of space between the title and first node in garland node listings?
Edit the node.tpl.php template in the garland theme and add a <br /> before the node title.
<?php if ($page == 0): ?>
<br />
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
<?php endif; ?>