simple networking problem - bringing up eth0 correctly
I need to automate setting up my network and i seem to be missing something... using debian Linux Version 2.4.18-bf2.4-xfs if i manually do the following commands i can get out on my network ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up route add default gw 192.168.1.254 i also seem to be not setting up for dns... how do i set that up? (can't resolv names) Your help greatly appreciated, I used to run freebsd years ago, but now am trying to use linux and obviously need help. ---dale -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: simple networking problem - bringing up eth0 correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 05, 2003 at 12:44:05AM -0800, Dale Welch wrote: if i manually do the following commands i can get out on my network ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up route add default gw 192.168.1.254 Edit /etc/network/interfaces instead, then /etc/init.d/networking restart i also seem to be not setting up for dns... how do i set that up? (can't resolv names) Edit /etc/resolv.conf, check the manual (resolv.conf(5)) - -- .''`. Baloo Ursidae [EMAIL PROTECTED] : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than fix a system -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jp5YJ5vLSqVpK2kRArMlAJ9n1vL8puw5fSnyYfARxi06dQadogCg3p9x tIwA52iSkGByWrn83VWlDC4= =6yXa -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: simple networking problem - bringing up eth0 correctly
To explain better: if i manually do the following commands i can get out on my network ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up route add default gw 192.168.1.254 i need to have that configured automatically during start-up and i need my dns to work. just found my dns problem... in resolv.conf i had name server instead of nameserver --- dns now works. but what is wrong with my interfaces... all help appreciated. :-) my resolv.conf: domain babbler.org search babbler.org nameserver 4.2.2.1 interfaces: auto eth0 iface eth0 inet static address 192.168.1.51 network 192.168.1.0 gateway 192.168.1.254 ---dale -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: simple networking problem - bringing up eth0 correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 05, 2003 at 01:29:57AM -0800, Dale Welch wrote: interfaces: auto eth0 iface eth0 inet static address 192.168.1.51 network 192.168.1.0 gateway 192.168.1.254 Try this. # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.1.51 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.0.254 - -- .''`. Baloo Ursidae [EMAIL PROTECTED] : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than fix a system -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jqogJ5vLSqVpK2kRAqlvAJ9ufvUKFOUzEqRmF12WamXuXVi/1gCeOXWZ Vpi8M0djrs6T8cb+RArFJIk= =V64K -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]