Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread wes
On Tue, Nov 14, 2017 at 1:49 PM, Rich Shepard 
wrote:

> On Tue, 14 Nov 2017, Rich Shepard wrote:
>
>  Stay tuned. Update Real Soon Now.
>>
>
> Wes,
>
>   Thanks for the lesson. Connecting to a LAN port and temporarily setting
> the laptop eth0 to use DHCP made the difference. This is on a Linksys
> wrt54g
> v.2 router. I also upgraded the firmware to 4.21.5.
>
>   On the Linksys' admin pages is the statement that DHCP is limited to 50
> hosts. After setting everything up for static IP addresses the status page
> shows the ending LAN IP address as 192.168.55.51. My printers and the WAP
> are in the .200-.220 range. Is this just a generic default value and the
> router actually doesn't care about static IP addresses because it's not
> serving them?
>
>
If DHCP is enabled on the router, and some new device connects to your
local network, and also has DHCP enabled, the router will assign the next
IP address in its sequence to the device. If anything else on the local
network already has that address set statically, it will cause a conflict.

-wes
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard

On Tue, 14 Nov 2017, Jim Garrison wrote:


a) It's not necessarily the 192.168.1.0/24 subnet. Sometimes it's
  192.168.0.0/24, you have to check the documentation that came
  with the router, or look on the manufacturer's website.

b) The router address isn't necessarily .1, it could be .254

c) It should come with DHCP enabled and should assign the laptop
  a valid address when you plug in the ethernet cable, if you let it


Jim,

  My LAN hosts have static IP addresses. I have no qualms about changing the
laptop to DHCP if that makes router connection and configuration easier and
more assured. I'll give this a try.


d) If all else fails, connect the network cable then fire up Wireshark.
  Look for arp packets and you'll find the router's IP address and network
  quickly.


  I'll download Wireshark; it's not installed here as part of the
distribution.

Thanks,

Rich

___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Jim Garrison
a) It's not necessarily the 192.168.1.0/24 subnet. Sometimes it's
   192.168.0.0/24, you have to check the documentation that came
   with the router, or look on the manufacturer's website.

b) The router address isn't necessarily .1, it could be .254

c) It should come with DHCP enabled and should assign the laptop
   a valid address when you plug in the ethernet cable, if you let it

d) If all else fails, connect the network cable then fire up
   Wireshark. Look for arp packets and you'll find the router's
   IP address and network quickly.



___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Setting laptop network for new router configuration

2017-11-14 Thread Rich Shepard

  My limited experience suggests that all routers are delivered with the IP
address of 192.168.1.1. To configure the router a portable (usually) host
needs to be converted from its LAN to the 192.168.1.0/24 subnet. I want to
learn what needs to be checked and altered as necessary when changing the
portable's eth0 IP address to the new subnet is insufficient. My web search
fu hasn't found a list of required settings.

  When 'ifconfig eth0' shows the IP address in the proper subnet, e.g.,
192.168.1.4 (and eth0 is UP and RUNNING), but the browser cannot connect to
the new router at 192.168.1.1, other network settings likely are not
correct.

  The laptop's /etc/resolv.conf contains 127.0.0.1 which I understand is the
proper DNS server for this purpose.

  On the LAN '/sbin/route -n' has this output:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 192.168.55.40.0.0.0 UG1  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
192.168.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0

  Should the gateway be deleted and a new one (192.168.1.1) added using
'route add default gw 192.168.1.1'?

  Are there other settings that need to be checked or changed so that the
laptop can both ping 192.168.1.1 and connect to it using the brower?

Looking forward to learning,

Rich
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug