2012-06-24 - Re: [GRASE-Hotspot] Assign Static address to WAN port

Header Data

From: “Pollington, Glyn” <Gl***n@hp.com>
Message Hash: fb1cb4ea618034b94b6da26242682abdce73bca4fb5754af75f69f020464ed49
Message ID: <99DF9CFBA2E2D947A37658DFB2AE72BB4B4E73C1@G4W3210.americas.hpqcorp.net>
Reply To: <CAESLx0JNSigHWy9Y+nRh731iKQOzwZG9tfgKgXzEn9SaHYCzkg@mail.gmail.com>
UTC Datetime: 2012-06-24 03:24:51 UTC
Raw Date: Sun, 24 Jun 2012 10:24:51 +0000

Raw message



Thanks Tim
I will be away this week so we have agreed to let it run as it is right now, and will tackle it next weekend - this only started happening when they upgraded thier PCs so I think they may have been crashing the DHCP built into the router, so static on them may fix it period. I also disabled ipv6 on them (PCs) as the router doesn't know about it.
regards

-----Original Message-----
From: Timothy White [mailto:ti***8@gmail.com] 
Sent: 24 June 2012 00:58
To: GRASE Hotspot General Discussions
Subject: Re: [GRASE-Hotspot] Assign Static address to WAN port

On Sun, Jun 24, 2012 at 12:07 AM, Pollington, Glyn
<Gl***n@hp.com> wrote:
> The site where I have installed the hotspot have been a lot of problems of
> late, which I think i have identified as an issue with the DHCP server in
> their router.  I have just assigned static addresses to all their Windows 7
> PCs because they kept falling off the network. I am pretty sure that it is
> the dhcp at fault because the hotspot keeps dying and doing an ifconfig
> tells me it has the wan address 127.0.0.1 Rebooting it can fix the problem (
> I guess restarting the right services would have the same effect.
>
> Can you tell me if it is allowed to set a static address on the wan port and
> if so how I would go about doing it?

Hi Glyn.
It sounds like the DHCP server has failed somehow, so you'd need to
restart the networking services and hope the dhcp server answers.
Static IP makes most sense for sure! I recommend DHCP as the majority
of locations have DHCP already running and it makes it plug and play,
but it is just a router after all, so static is fine, you can even do
routing instead of NAT if needed!
See http://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually
for some pointers on how to setup a static network card. Make sure you
set it up for the correct WAN port, as the wrong settings will stop
everything from working!

Assuming you are using Ubuntu Server or Debian without Network
Manager, you'll have a line like "iface eth0 inet dhcp" already in the
interfaces file. That's the one you'll want to be changing to static,
and gateway is important!

Let me know if you get stuck, and show me your /etc/network/interfaces file.

Tim

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Grase-hotspot mailing list
Gr***t@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grase-hotspot




Thread