OT: Configurar DHCP en Debian
Buen dia, Les comparto un video curso como configurar DHCP en Debían, es algo Básico. https://www.youtube.com/playlist?list=PLyLcPK3h0D7DZVICmZZWECc6L0-9nrGxg FRANK HARBEY SANABRIA FLOREZTecnologo en Telecomunicaciones y Sistemas Bogota - Colombia@franksanabria sugeek.co
Servicio DHCP en Debian
Les comparto una nueva sesión, en el cual se hablara sobre DHCP y como configurarlo en un servidor Debian. https://www.youtube.com/playlist?list=PLyLcPK3h0D7DZVICmZZWECc6L0-9nrGxg FRANK HARBEY SANABRIA FLOREZTecnologo en Telecomunicaciones y Sistemas Bogota - Colombia@franksanabria sugeek.co
Re: Configuration DHCP sur Debian Sarge
Sylvain MEDEOT a écrit : Bonjour, Bonjour, Avant tout, evite de poser une question a l'interieur d'un fil existant, tu auras plus de chance d'avoir une reponse car tout le monde ne lis pas forcement les reponses d'un fil qui ne les interressent pas. J'ai un serveur dhcp qui tourne sur une Debian Sarge sans souci. En gros, via la directive deny unknown-clients, j'autorise seulement les machines dont l'adresse Mac est renseignée en dur à récupérer une IP en dhcp... Celà dit, j'aurais voulu que les machines nons identifiées se connectent sur une plage d'adresse bien précise que je puisse ensuite limiter sur mon firewall... Le problème, c'est que la directive deny unknown-clients est globale... J'ai pu trouver qu'en créant des sous ensembles avec pool {}, on pouvait limiter la portée de variables globales dans dhcpd.conf mais cette directive ne semble pas supportée... (ma version de dhcp est 2.0pl5-19.1)... Parmi vous, certains ont ils déjà fait ce genre de choses ? Oui, en effet, avec la directive pool, tu peux realiser ce genre de chose. Par contre, je ne sait pas si la version 2 du serveur dhcp supporte cette directive. Je te conseille de passer a la version 3 (disponible dans debian depuis woody) et ensuite refaire des tests. Pour info, la directive deny unknow-clients est maintenant deconseillée. La syntaxe est maintenant legerement differente: deny unknown client; (il n'y a plus de tiret, en résumé, la syntaxe est : allow|deny [un]known clients; tu peux utiliser les differentes combinaisons suivant ce que tu veux) A+ D'avance merci, Sylvain ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Configuration DHCP sur Debian Sarge
Marc PERRUDIN a crit: Sylvain MEDEOT a crit : Bonjour, Bonjour, Avant tout, evite de poser une question a l'interieur d'un fil existant, tu auras plus de chance d'avoir une reponse car tout le monde ne lis pas forcement les reponses d'un fil qui ne les interressent pas. J'ai un serveur dhcp qui tourne sur une Debian Sarge sans souci. En gros, via la directive deny unknown-clients, j'autorise seulement les machines dont l'adresse Mac est renseigne en dur rcuprer une IP en dhcp... Cel dit, j'aurais voulu que les machines nons identifies se connectent sur une plage d'adresse bien prcise que je puisse ensuite limiter sur mon firewall... Le problme, c'est que la directive deny unknown-clients est globale... J'ai pu trouver qu'en crant des sous ensembles avec pool {}, on pouvait limiter la porte de variables globales dans dhcpd.conf mais cette directive ne semble pas supporte... (ma version de dhcp est 2.0pl5-19.1)... Parmi vous, certains ont ils dj fait ce genre de choses ? Oui, en effet, avec la directive pool, tu peux realiser ce genre de chose. Par contre, je ne sait pas si la version 2 du serveur dhcp supporte cette directive. Je te conseille de passer a la version 3 (disponible dans debian depuis woody) et ensuite refaire des tests. Pour info, la directive deny unknow-clients est maintenant deconseille. La syntaxe est maintenant legerement differente: deny unknown client; (il n'y a plus de tiret, en rsum, la syntaxe est : allow|deny [un]known clients; tu peux utiliser les differentes combinaisons suivant ce que tu veux) A+ Promis, je ferais un nouveau post la prochaine fois. En effet, le package dhcp3 correspond tout fait ce que je cherchais... Dommage qu'il ne soit pas install par dfaut.. Y'a t'il une raison particulire ? En tout cas merci beaucoup pour le coup de main. Concernant la directive "deny unknown clients", elle ne semble pas reconnue par la version dhcp3-server 3.0.1-2 de Sarge alors que "deny unknown-clients" est lui ok... Cordialement, Sylvain ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configuration DHCP sur Debian Sarge
Sylvain MEDEOT a écrit : Marc PERRUDIN a écrit : Sylvain MEDEOT a écrit : Bonjour, Bonjour, Avant tout, evite de poser une question a l'interieur d'un fil existant, tu auras plus de chance d'avoir une reponse car tout le monde ne lis pas forcement les reponses d'un fil qui ne les interressent pas. J'ai un serveur dhcp qui tourne sur une Debian Sarge sans souci. En gros, via la directive deny unknown-clients, j'autorise seulement les machines dont l'adresse Mac est renseignée en dur à récupérer une IP en dhcp... Celà dit, j'aurais voulu que les machines nons identifiées se connectent sur une plage d'adresse bien précise que je puisse ensuite limiter sur mon firewall... Le problème, c'est que la directive deny unknown-clients est globale... J'ai pu trouver qu'en créant des sous ensembles avec pool {}, on pouvait limiter la portée de variables globales dans dhcpd.conf mais cette directive ne semble pas supportée... (ma version de dhcp est 2.0pl5-19.1)... Parmi vous, certains ont ils déjà fait ce genre de choses ? Oui, en effet, avec la directive pool, tu peux realiser ce genre de chose. Par contre, je ne sait pas si la version 2 du serveur dhcp supporte cette directive. Je te conseille de passer a la version 3 (disponible dans debian depuis woody) et ensuite refaire des tests. Pour info, la directive deny unknow-clients est maintenant deconseillée. La syntaxe est maintenant legerement differente: deny unknown client; (il n'y a plus de tiret, en résumé, la syntaxe est : allow|deny [un]known clients; tu peux utiliser les differentes combinaisons suivant ce que tu veux) A+ Promis, je ferais un nouveau post la prochaine fois. En effet, le package dhcp3 correspond tout à fait à ce que je cherchais... Dommage qu'il ne soit pas installé par défaut.. Y'a t'il une raison particulière ? En tout cas merci beaucoup pour le coup de main. Concernant la directive deny unknown clients, elle ne semble pas reconnue par la version dhcp3-server 3.0.1-2 de Sarge alors que deny unknown-clients est lui ok... Je crois que la directive 'deny unknown clients' ne peut etre utilisée qu'a l'interieur d'un pool. C'est en tout cas comme ca que ca fonctionne sur mes serveurs. De plus, pour que celle-ci fonctionne, il ne faut plus de directive globale. Cordialement, Sylvain ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Configuration DHCP sur Debian Sarge
Bonjour, J'ai un serveur dhcp qui tourne sur une Debian Sarge sans souci. En gros, via la directive deny unknown-clients, j'autorise seulement les machines dont l'adresse Mac est renseignée en dur à récupérer une IP en dhcp... Celà dit, j'aurais voulu que les machines nons identifiées se connectent sur une plage d'adresse bien précise que je puisse ensuite limiter sur mon firewall... Le problème, c'est que la directive deny unknown-clients est globale... J'ai pu trouver qu'en créant des sous ensembles avec pool {}, on pouvait limiter la portée de variables globales dans dhcpd.conf mais cette directive ne semble pas supportée... (ma version de dhcp est 2.0pl5-19.1)... Parmi vous, certains ont ils déjà fait ce genre de choses ? D'avance merci, Sylvain ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
Le Tue 10/12/2002, Laurent disait Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Oui. (en bind8 aussi). Voir la doc de dhcpd pour voir les manières de faire Est-ce qu'un serveur de nom dynamique est vraiment un avantage ? ça dépend pour quoi faire Et enfin, selon la taille d'un réseau informatique, comment doit-on choisir - au mieux - , les baux pour un serveur dhcp ? trop court fait que tes machines perdent plus facilement leur config. Trop long fait que tes modifs (de dns/routeur etc...) mettent plus longtemps à se propager. -- Erwan
Re: [Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
Laurent wrote: Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Est-ce qu'un serveur de nom dynamique est vraiment un avantage ? = Le dernier linuxmag en kiosque (http://www.linuxmag-france.org/) Et enfin, selon la taille d'un réseau informatique, comment doit-on choisir - au mieux - , les baux pour un serveur dhcp ? Merci beaucoup pour vos réponses. Laurent
Re: [Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
Le mar 10/12/2002 à 10:00, Xavier Poinsard a écrit : Laurent wrote: Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Est-ce qu'un serveur de nom dynamique est vraiment un avantage ? = Le dernier linuxmag en kiosque (http://www.linuxmag-france.org/) Et en ligne : http://www.linux-france.org/article/serveur/dns-bind/ Et enfin, selon la taille d'un réseau informatique, comment doit-on choisir - au mieux - , les baux pour un serveur dhcp ? Merci beaucoup pour vos réponses. Laurent -- (o_ //\ V_/_ Debian GNU/Linux PowerPC user.
[Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Est-ce qu'un serveur de nom dynamique est vraiment un avantage ? Et enfin, selon la taille d'un réseau informatique, comment doit-on choisir - au mieux - , les baux pour un serveur dhcp ? Merci beaucoup pour vos réponses. Laurent -- (o_ //\ V_/_ Debian GNU/Linux PowerPC user.
Re: [Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
On Tue, 2002-12-10 at 00:00, Laurent wrote: Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Est-ce qu'un serveur de nom dynamique est vraiment un avantage ? Et enfin, selon la taille d'un réseau informatique, comment doit-on choisir - au mieux - , les baux pour un serveur dhcp ? bind9 + dhcpd3... c'est ce que j'ai mis en place et ça fonctionne niquel. Antoine
Re: [Un peu HS] Monter un serveur DNS (dynamique) et dhcp sous debian
* Laurent [EMAIL PROTECTED] [2002-12-10 00:00] : Bonjour à tous, Voilà tout est dans le sujet, en effet je cherche à créer un serveur de noms dynamique avec bind9 (ou autre ?), qui puisse être mis à jour par un applicatif dhcp dynamiquement. Est-il possible techniquement de faire ceci ? Utiliser dhcp-dns ? Pas vraiment d'idée pour les autres questions ... Fred
autodns-dhcp on Debian
Hi there people, I am trying to set up a Debian package called autodns-dhcp. The idea is that when dhcpd issues a lease, this package enters the client details into the bind configuration for the local domain - thus allowing named to find the clients details and therefore avoiding (I hope) and unwanted dialouts to the other nameservers... The problem is that every time the ddns.pl script is called I get this output: orinoco:/usr/share/doc/autodns-dhcp# ddns.pl /bin/cp: cannot stat `': No such file or directory ddns.pl 0.50: can't open Died at /usr/sbin/ddns.pl line 228. Is there anyone out there with any knowledge of autodns-dhcp that could possibly help? Cheers, Pete. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Specifying DNS suffix search path w/ DHCP on Debian
Hi folks; OK, so I set up the ISC DHCP server on my home LAN to hand out IP addresses, NTP servers, DNS servers, etc. Everything works great _except_ apparently there's no way to specify the DNS suffix search path via DHCP. So, what do I do? I don't see any way in the interfaces(5) man page to specify a search order, and because I'm using DHCP my /etc/resolv.conf file gets overwritten each time I boot so I can't just put it there. Do I really have to do something completely hacky like create an up script to whack the contents of /etc/resolv.conf myself? What am I missing? Thanks... -- --- Paul D. Smith [EMAIL PROTECTED] HASMAT--HA Software Mthds Tools Please remain calm...I may be mad, but I am a professional. --Mad Scientist --- These are my opinions---Nortel Networks takes no responsibility for them. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: DHCP and Debian 2.2?
how well does your laptop work with dhcp ? i tried with multiple dell laptops (Xircom 10/100 pcmcia) and had major problems (with debian, slackware and mandrake) trying to get an ip on boot..seems we could get one after the machine was warmed up for 5-10 mins but it never could during boot(and yes dhcp was loaded after the pcmcia/ethernet stuff) assigning an ip manually at boot worked fine .. In my case (Dell Inspiron/Xircom Realport Ethernet and Modem card), inserting 'sleep 3' in /etc/init.d/dhcpcd before it starts the daemon does the trick. Looks like it takes a moment for the network to come up. Andreas
DHCP and Debian 2.2?
Greetings! Quick question: For the longest time, I was running Debian 2.1 in a network environment where my laptop computer obtained an IP address via DHCP. I had the dhcpcd .deb file installed which obtained the IP address for me. Last Friday I installed Debian 2.2 from the official CDs. The installation was smooth. My questions is this: how am I getting an IP address via DHCP? From what I can tell, the dhcpcd .deb is not installed, nor is the bootpc .deb. Can someone tell me what program is working the DHCP process for me? Thanks, Bryan
RE: DHCP and Debian 2.2?
On 24-Aug-2000 Bryan K. Walton wrote: Greetings! Quick question: For the longest time, I was running Debian 2.1 in a network environment where my laptop computer obtained an IP address via DHCP. I had the dhcpcd .deb file installed which obtained the IP address for me. Last Friday I installed Debian 2.2 from the official CDs. The installation was smooth. My questions is this: how am I getting an IP address via DHCP? From what I can tell, the dhcpcd .deb is not installed, nor is the bootpc .deb. Can someone tell me what program is working the DHCP process for me? it is called pump, Red Hat wrote it.
RE: DHCP and Debian 2.2?
dhcpd or is this a trick question? On 24-Aug-2000 Bryan K. Walton wrote: Greetings! Quick question: For the longest time, I was running Debian 2.1 in a network environment where my laptop computer obtained an IP address via DHCP. I had the dhcpcd .deb file installed which obtained the IP address for me. Last Friday I installed Debian 2.2 from the official CDs. The installation was smooth. My questions is this: how am I getting an IP address via DHCP? From what I can tell, the dhcpcd .deb is not installed, nor is the bootpc .deb. Can someone tell me what program is working the DHCP process for me?
Re: DHCP and Debian 2.2?
You should have a package called dhcp-client. how well does your laptop work with dhcp ? i tried with multiple dell laptops (Xircom 10/100 pcmcia) and had major problems (with debian, slackware and mandrake) trying to get an ip on boot..seems we could get one after the machine was warmed up for 5-10 mins but it never could during boot(and yes dhcp was loaded after the pcmcia/ethernet stuff) assigning an ip manually at boot worked fine .. nate Bryan K. Walton wrote: Greetings! Quick question: For the longest time, I was running Debian 2.1 in a network environment where my laptop computer obtained an IP address via DHCP. I had the dhcpcd .deb file installed which obtained the IP address for me. Last Friday I installed Debian 2.2 from the official CDs. The installation was smooth. My questions is this: how am I getting an IP address via DHCP? From what I can tell, the dhcpcd .deb is not installed, nor is the bootpc .deb. Can someone tell me what program is working the DHCP process for me? Thanks, Bryan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- ::: ICQ: 75132336 http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED]
Re: DHCP and debian
Just for the record, my dhcpcd is having the same problem, with one ethernet card. Kernel 2.2.7, dhcpcd 1.3.16. I have to use dhclient (another DHCP client program) to connect to the internet. I had this problem under Redhat, too. In fact, it is part of the reason I switched. Trying to get redhat to call dhclient the same way as it called dhcpcd showed me how poor the Redhat init scripts really were. Until you can get an answer to the dhcpcd problem, dhclient should work. Bryan I have a question cencerning dhcp. Been running debian for about a month or so. I am using a cable modem to access the net. When I first installed dhcpcd (and now dhcpcd-sv) I only had one ethernet card installed. No problems. Now I am using two, and even though they seem to be detected correctly, and the modules being loaded, dhcpcd no longer detects my ip address, and I cannot access the internet. I've checked my dhcpcd.conf and it is set for eth0, which is the card that I have hooked to the cable modem. If anyone has any ideas of what I can do to possibly troubleshoot this, I would appreciate it. I do know that everything is working correctly, because my network is functioning fine under Windows. This is one of the last reasons that I even have win installed, other than some games, and I definately want to correct it.
Re: DHCP and debian
Yes, another reason dhclient (pachage dhcp-client-beta) is superior is that it doesn't immediately fork into the background. It stays in the foreground until your IP is gotten (or until a timeout expires) so you can pretty surely know that once it's been run the IP will be set. If you start dhclient in /etc/init.d/network (and update /etc/hosts) your problems with samba will disappear. Bryan Scaringe wrote: Just for the record, my dhcpcd is having the same problem, with one ethernet card. Kernel 2.2.7, dhcpcd 1.3.16. I have to use dhclient (another DHCP client program) to connect to the internet. I had this problem under Redhat, too. In fact, it is part of the reason I switched. Trying to get redhat to call dhclient the same way as it called dhcpcd showed me how poor the Redhat init scripts really were. Until you can get an answer to the dhcpcd problem, dhclient should work. Bryan I have a question cencerning dhcp. Been running debian for about a month or so. I am using a cable modem to access the net. When I first installed dhcpcd (and now dhcpcd-sv) I only had one ethernet card installed. No problems. Now I am using two, and even though they seem to be detected correctly, and the modules being loaded, dhcpcd no longer detects my ip address, and I cannot access the internet. I've checked my dhcpcd.conf and it is set for eth0, which is the card that I have hooked to the cable modem. If anyone has any ideas of what I can do to possibly troubleshoot this, I would appreciate it. I do know that everything is working correctly, because my network is functioning fine under Windows. This is one of the last reasons that I even have win installed, other than some games, and I definately want to correct it. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jens B. Jorgensen [EMAIL PROTECTED]
Re: DHCP and debian
On Tue, May 25, 1999 at 08:20:42PM -0500, EXT Jens B. Jorgensen wrote: I believe there is a limitation with the 2.0.X kernel which prevents dhcp from working if you have more than one ethernet card. There may be a work-around (other than upgrading your kernel and everything else) but I don't know what it might be. I'd search around on deja.com. I also have this problem on a machine with two interfaces, and I simply start dhcp by hand from root, when I turn on the box: # /etc/init.d/dhcpc start In a few seconds it grabs the IP address. Issue /sbin/ifconfig to see that. fab -- | [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] | 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E | [EMAIL PROTECTED] gsm: +358 (0)40 707 2468
Re: DHCP and debian
our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? Yes and exceptionally easy. Get the dhcpcd package (the beta for 2.2 kernels). I have a question cencerning dhcp. Been running debian for about a month or so. I am using a cable modem to access the net. When I first installed dhcpcd (and now dhcpcd-sv) I only had one ethernet card installed. No problems. Now I am using two, and even though they seem to be detected correctly, and the modules being loaded, dhcpcd no longer detects my ip address, and I cannot access the internet. I've checked my dhcpcd.conf and it is set for eth0, which is the card that I have hooked to the cable modem. If anyone has any ideas of what I can do to possibly troubleshoot this, I would appreciate it. I do know that everything is working correctly, because my network is functioning fine under Windows. This is one of the last reasons that I even have win installed, other than some games, and I definately want to correct it.
Re: DHCP and debian
I believe there is a limitation with the 2.0.X kernel which prevents dhcp from working if you have more than one ethernet card. There may be a work-around (other than upgrading your kernel and everything else) but I don't know what it might be. I'd search around on deja.com. Richard Miles wrote: our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? Yes and exceptionally easy. Get the dhcpcd package (the beta for 2.2 kernels). I have a question cencerning dhcp. Been running debian for about a month or so. I am using a cable modem to access the net. When I first installed dhcpcd (and now dhcpcd-sv) I only had one ethernet card installed. No problems. Now I am using two, and even though they seem to be detected correctly, and the modules being loaded, dhcpcd no longer detects my ip address, and I cannot access the internet. I've checked my dhcpcd.conf and it is set for eth0, which is the card that I have hooked to the cable modem. If anyone has any ideas of what I can do to possibly troubleshoot this, I would appreciate it. I do know that everything is working correctly, because my network is functioning fine under Windows. This is one of the last reasons that I even have win installed, other than some games, and I definately want to correct it. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jens B. Jorgensen [EMAIL PROTECTED]
Re: DHCP and debian
Subject: Re: DHCP and debian I believe there is a limitation with the 2.0.X kernel which prevents dhcp from working if you have more than one ethernet card. There may be a work-around (other than upgrading your kernel and everything else) but I don't know what it might be. I'd search around on deja.com. running 2.2.8
Re: DHCP and debian
Joel Keating wrote: What is the settting that allows you to set the hostname on the client? I run dhcpcd on my linux box on a Win network, and my dhcpc always sets my hostname to dhcpc1. Where is this seting you are talking about i've been trying to find it for weeks. Hi Joel, I also run a couple of Debian boxes on a Windows network, and I modified /etc/init.d/dhcpc so that the line: start-stop-daemon --start --quiet --exec $DAEMON -- $IFACE now reads: start-stop-daemon --start --quiet --exec $DAEMON -- -h `cat /etc/hostname` $IFACE (all on one line). This allowed the system to properly associate my chosen hostnames with my new IP numbers.
Re[2]: DHCP and debian (fwd)
Oops. I meant this to go to the list also... Forwarded message from Bob Bernstein [EMAIL PROTECTED] Date: Tue, 25 May 1999 23:55:15 -0400 (EDT) To: [EMAIL PROTECTED] From: Bob Bernstein [EMAIL PROTECTED] Subject: Re[2]: DHCP and debian In-Reply-To: [EMAIL PROTECTED] X-Mailer: Ishmail 1.3.3-990123-linux http://www.ishmail.com MIME-Version: 1.0 Content-Type: text/plain Jens B. Jorgensen [EMAIL PROTECTED] wrote: I believe there is a limitation with the 2.0.X kernel which prevents dhcp from working if you have more than one ethernet card. This story has been going around but it's not true: --- snip --- ZZ577045-A:/home/ruptured-duck# uname -a Linux ZZ577045-A 2.0.34 #2 Thu Jul 9 10:57:48 EST 1998 i586 unknown ZZ577045-A:/home/ruptured-duck# ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:81770 errors:0 dropped:0 overruns:0 frame:0 TX packets:81770 errors:0 dropped:0 overruns:0 carrier:0 Collisions:0 eth0 Link encap:Ethernet HWaddr 00:40:33:A0:DD:0B inet addr:23.11.241.103 Bcast:24.0.247.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1044478 errors:0 dropped:0 overruns:0 frame:0 TX packets:494488 errors:0 dropped:0 overruns:0 carrier:0 Collisions:27802 Interrupt:12 Base address:0xb400 eth1 Link encap:Ethernet HWaddr 00:00:21:4F:E7:5C inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:377801 errors:0 dropped:0 overruns:0 frame:3 TX packets:556426 errors:6 dropped:0 overruns:0 carrier:6 Collisions:398 Interrupt:10 Base address:0xb000 ZZ577045-A:/home/ruptured-duck# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 23.11.241.0 * 255.255.255.0 U 0 0 502 eth0 192.168.1.0 * 255.255.255.0 U 0 0 129 eth1 localnet* 255.0.0.0 U 0 0 188 lo --- snip --- I *think* on some systems the issue is detecting the two cards at boot, but that can be remedied by appropriate entries in /etc/conf.modules. (And no wisecracks about such an old kernel! It works! g) -- Bob Bernstein at Esmond, Rhode Island, USA --==++*++==-- RMS's curmudgeon-like griping that he didn't like the term Open Source looked silly to many last year; it's not looking so dumb today... Christopher B. Browne End forwarded message -- Bob Bernstein at Esmond, Rhode Island, USA --==++*++==-- RMS's curmudgeon-like griping that he didn't like the term Open Source looked silly to many last year; it's not looking so dumb today... Christopher B. Browne
Re: DHCP and debian
Mark Wright wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? --- Mark Wright [EMAIL PROTECTED] [EMAIL PROTECTED] I was going to let someone else answer this, but as I haven't seen any response, I will answer, Yes, it is possible. I've done it, but I don't remember what was involved. Since I'm pretty new at *nix, it couldn't have been too hard. I think I just used dselect to install the dhcp (or maybe dhcpd?) package. Maybe someone else answered you privately with more info, or maybe someone else will respond after seeing my technically correct, but utterly useless* answer. *From the old lost helicopter pilot at the Microsoft building joke.
RE: DHCP and debian
On 24-May-99 Mark Wright wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? Yes and exceptionally easy. Get the dhcpcd package (the beta for 2.2 kernels).
Re: DHCP and debian
On Mon, 24 May 1999 14:14:12 -0500, you wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? That actually should be no problem at all. However, I did not try it yet. You might want to take a look into RedHat's init scripts that do DHCP. When I tried out RedHat a few weeks ago, I was impressed that RedHat not only accepted the IP number offered by DHCP but also did a reverse DNS lookup and set the host name to what was stored in the DNS. However, I was not able to actually understand these scripts. Doing stuff like that should be possible with Debian too. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: DHCP and debian
On Mon, 24 May 1999 14:14:12 -0500, you wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? That actually should be no problem at all. However, I did not try it yet. You might want to take a look into RedHat's init scripts that do DHCP. When I tried out RedHat a few weeks ago, I was impressed that RedHat not only accepted the IP number offered by DHCP but also did a reverse DNS lookup and set the host name to what was stored in the DNS. However, I was not able to actually understand these scripts. Doing stuff like that should be possible with Debian too. Actually dhcp has a setting which will set the host name. Not much real magic to it.
Re: DHCP and debian
You need dhcpcd, get it install it, and the rest is magic On Sun, 23 May 1999, Kent West wrote: Mark Wright wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? --- Mark Wright [EMAIL PROTECTED] [EMAIL PROTECTED] I was going to let someone else answer this, but as I haven't seen any response, I will answer, Yes, it is possible. I've done it, but I don't remember what was involved. Since I'm pretty new at *nix, it couldn't have been too hard. I think I just used dselect to install the dhcp (or maybe dhcpd?) package. Maybe someone else answered you privately with more info, or maybe someone else will respond after seeing my technically correct, but utterly useless* answer. *From the old lost helicopter pilot at the Microsoft building joke. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: DHCP and debian
What is the settting that allows you to set the hostname on the client? I run dhcpcd on my linux box on a Win network, and my dhcpc always sets my hostname to dhcpc1. Where is this seting you are talking about i've been trying to find it for weeks. On Tue, 25 May 1999 [EMAIL PROTECTED] wrote: On Mon, 24 May 1999 14:14:12 -0500, you wrote: I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? That actually should be no problem at all. However, I did not try it yet. You might want to take a look into RedHat's init scripts that do DHCP. When I tried out RedHat a few weeks ago, I was impressed that RedHat not only accepted the IP number offered by DHCP but also did a reverse DNS lookup and set the host name to what was stored in the DNS. However, I was not able to actually understand these scripts. Doing stuff like that should be possible with Debian too. Actually dhcp has a setting which will set the host name. Not much real magic to it. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: DHCP and debian
What is the settting that allows you to set the hostname on the client? I run dhcpcd on my linux box on a Win network, and my dhcpc always sets my hostname to dhcpc1. Where is this seting you are talking about i've been trying to find it for weeks. The dhcp server has this setting, not the client.
Re: DHCP and debian
On Tue, 25 May 1999 09:11:37 -0500 (CDT), you wrote: What is the settting that allows you to set the hostname on the client? I run dhcpcd on my linux box on a Win network, and my dhcpc always sets my hostname to dhcpc1. Where is this seting you are talking about i've been trying to find it for weeks. When I tried RedHat, it set the host name with the following configuration done on the server: |host darren |{ | hardware ethernet 0:0:e8:df:07:78; | fixed-address darren.gf1.internal; | option host-name darren; |} No special work necessary on the client. That's what really impressed me. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: DHCP and debian
Ok, well i guess my problem is my server then. Does anyone here use a NetGear RT328 ISDN router? That is what i use for my dhcp server and it seems to be setting my hostname, and i wish i knew how to change it. On Tue, 25 May 1999, Marc Haber wrote: On Tue, 25 May 1999 09:11:37 -0500 (CDT), you wrote: What is the settting that allows you to set the hostname on the client? I run dhcpcd on my linux box on a Win network, and my dhcpc always sets my hostname to dhcpc1. Where is this seting you are talking about i've been trying to find it for weeks. When I tried RedHat, it set the host name with the following configuration done on the server: |host darren |{ | hardware ethernet 0:0:e8:df:07:78; | fixed-address darren.gf1.internal; | option host-name darren; |} No special work necessary on the client. That's what really impressed me. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
DHCP and debian
I'm adding a debian workstation to our Windows network, and I'd like to use our DHCP server to assign it's ip-address, DNS servers, netmask, etc. Is this possible? --- Mark Wright [EMAIL PROTECTED] [EMAIL PROTECTED]