|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have the latest version of Debian running on Linksys NSLU. I have it set for
a static IP and I've added a correct default gateway to my config and everything works ok. However, when I reboot, it goes back to DHCP and the gateway route doesn't stick. All the correct settings in the correct files but those settings don't get read on reboot apparently. And if I do a restart of networking, the correct settings get applied. What gives? Thanks. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Logan Five(logan5@pobox.com) is reported to have said:
> I have the latest version of Debian running on Linksys NSLU. I have it set for > a static IP and I've added a correct default gateway to my config and everything > works ok. How/where did you set the static IP? > However, when I reboot, it goes back to DHCP and the gateway route > doesn't stick. Have you configured the DHCP server with the slugs IP. If not, DHCP will not know that the slug's IP has been set. man 5 dhcpd.conf see the examples for static leases. > All the correct settings in the correct files but those settings > don't get read on reboot apparently. On the Slug or server? If the dhcpd.conf setting are correct on the server then it should assing the slug the IP you set it at > > And if I do a restart of networking, the > correct settings get applied. What gives? Thanks. What correct setting on what, the slug? You might want to take a deep breath and try giving us a better idea of what you mean. Wayne -- Information Center, n.: A room staffed by professional computer people whose job it is to tell you why you cannot have the information you require. __________________________________________________ _____ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Wayne Topa <linuxone <at> intergate.com> writes:
> What correct setting on what, the slug? > The static IP settings are in /etc/network/interfaces. The slug actually is my DHCP server and is running DNSMASQ for that. The IP that it comes up with is within range, but is an old one I used to have assigned to it which makes me curious. I don't see why I would have to reserve an address for it. Shouldn't Debian boot with the settings I specify regardless of what the DHCP server says (in this case itself)? There are no conflicts with other devices on the network. And when I check the leases file during the time that the erroneous settings are applied, there is no listing for the address the slug got. This tells me that it may be reverting to its old static settings and not getting it from DHCP. The interfaces setup is here: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 broadcast 192.168.1.255 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 09/26/2007 06:51 PM, Logan Five wrote:
> I have the latest version of Debian running on Linksys NSLU. I have it set for > a static IP and I've added a correct default gateway to my config and everything > works ok. However, when I reboot, it goes back to DHCP and the gateway route > doesn't stick. All the correct settings in the correct files but those settings > don't get read on reboot apparently. And if I do a restart of networking, the > correct settings get applied. What gives? Thanks. > > Please post /etc/network/interfaces -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Mumia W.. <paduille.4061.mumia.w+nospam <at> earthlink.net> writes:
> > Please post /etc/network/interfaces > > I did above in response to somebody else. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Logan Five <logan5 <at> pobox.com> writes:
Ok, I found it. Someone writing me directly in email pointed me to the right place. I had a setting in rc.local that set the static IP. Now I remember getting a tip to do that on a web posting somewhere. But I think it was a generic tip and not one geared directly towards Debian so probably not the best way to go about it. Everything works great now! -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
linux.debian.user is a moderated newsgroup in gateway
with a mailing list. Your article has been examined by the automatic moderation program and has been refused because: this hierarchy accepts posts only from registered users. You can register for posting by subscribing to the linux-gate@lists.bofh.it mailing list. You can do so by sending a message with "subscribe" in the body at the linux-gate-request@lists.bofh.it address or by visiting http://lists.bofh.it/listinfo/linux-gate . For more information about the linux.* hierarchy please read the FAQ at http://www.linux.it/~md/linux-faq Virtually your, The Moderation Robot. ------- Follows the first few lines of your article -------- From: Wayne Topa <linuxone@intergate.com> Newsgroups: linux.debian.user Subject: Re: Network settings don't stick after reboot Date: Thu, 27 Sep 2007 03:40:10 +0200 Message-ID: <97Qwi-3Ir-21@gated-at.bofh.it> References: <loom.20070926T234734-582@post.gmane.org> Old-Return-Path: <huntbrittany@intergate.com> Reply-To: debian-user@lists.debian.org Mail-Followup-To: debian-user@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Organized? Who me? User-Agent: Mutt/1.5.16 (2007-06-11) X-Scanned-By: MIMEDefang 2.56 on 216.139.64.8 X-Virus-Scanned: at lists.debian.org with policy bank en-ht X-Rc-Virus: 2007-09-13_01 X-Rc-Spam: 2007-05-24_01 X-Mailing-List: <debian-user@lists.debian.org> archive/latest/498730 List-ID: <debian-user.lists.debian.org> X-Original-Date: Wed, 26 Sep 2007 21:39:39 -0400 X-Original-Message-ID: <20070927013939.GD17390@buddy.mtntop.home> X-Original-References: <97OXB-1fi-5@gated-at.bofh.it> Bytes: 2762 X-Received-Date: Thu, 27 Sep 2007 01:40:17 GMT (bgtnsc05-news.ops.worldnet.att.net) X-Complaints-To: abuse@usenetserver.com X-Trace: a5ab646fed767ef7b7d1a22875 To: debian-user@lists.debian.org Sender: robomod@news.nic.it Logan Five(logan5@pobox.com) is reported to have said: > I have the latest version of Debian running on Linksys NSLU. I have it set for > a static IP and I've added a correct default gateway to my config and everything > works ok. How/where did you set the static IP? > However, when I reboot, it goes back to DHCP and the gateway route > doesn't stick. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|