-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Adams wrote on Wed, Jan 15, 2003 at 10:47:44PM +1300 : > I am learning the basics of networking and have stuck an old PI beside my > PIII. I have a NIC installed in each with a patch cable and have succesfully > insmoded or modprobed both computers once. The modprobe seems to do an insmod > as part of its operation. That was fine, i set up eth0 with > # ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up > on one and "... 168.0.1 ..." on the other. ping worked fine in both > directions. > I shut them down to put everything back together. After the reboot neither > ifconfig, modprobe, or insmod would work (in that order). It is like some
The kernel needs to know to load the 8139too when you try to access that device. So in your /etc/modules.conf, you need: alias eth0 8139too Then the system needs to know what IP address you want it to have. Put the following in /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.0.2 NETMASK=255.255.255.0 ONBOOT=yes Then you can just run 'ifup eth0' and it will load the module for you and assign the IP address. To make it automatic, configure the "network" service to start at boottime with 'chkconfig network on' Blue skies... Todd - -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ Favourite shell: bash, though I also like 'init=/usr/bin/emacs' --Andrew Tridgell Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+JbQ8lp7v05cW2woRArOFAJ9Pk3WzHoAjqLi74lwjJRIAtkRiAQCfeppz CjpTEEMVSMsRRAa6Uf9+e44= =Nety -----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
