Fossa64 my Ip adress changes? (SOLVED)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Fossa64 my Ip adress changes? (SOLVED)

Post by peppyy »

SOLVED. My computer was connecting to my wireless printer. Disabled wireless on the printer and all is well.

So, after I setup up my printer sharing with port 9100 I have found that when I walk away from my computer and come back, that I can no longer get online. It changes my IP adress to a completely different subnet and user address. like, 168.192.1.xxx to something like 198.192.233.243, I will write it down next time before I reboot. My question is?

This has happened since I installed and shared our printer on my Wife's machine and used the "Samba Simple Management" on my computer.
I also installed the p910nd server which allowed me to connect to the printer without any issues, Epson-et2760, Thanks @mikewalsh I also upgraded to Peasy Firewall monitor.
This happened this morning when I was setting up Samba shares so my wife and I could share a folder. It seems that this is timed to wait until my computer is not used for a certain amount of time. I also find that thss happens whenever I use Palemoon, (logged in on FF to post this).
Here is the network report from PupSysInfo

▶—— Network Report ——◀

Firewall: Off (ip_tables not active)
Network Interface: wlan0
Wireless Network: HBH
Bit Rate=104 Mb/s Tx-Power=20 dBm
Link Quality=64/70 Signal=-46 dBm
Wireless strength: 91%

Session Data: Received 29.3 MB, Sent 2.1 MB
Monthly Data: Received 7941 MB, Sent 692 MB

Hostname: fossapup2021
Network IP Address: 192.168.1.102
Domain Name Server (DNS): 192.168.1.1
Hardware Address (MAC): 00:24:01:32:6B:43

▶TCP/IP Network Interfaces:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:24:01:32:6B:43
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27135 errors:0 dropped:0 overruns:0 frame:0
TX packets:14152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30816240 (29.3 MiB) TX bytes:2240816 (2.1 MiB)

▶Kernel IP Routing Table:

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 302 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 302 0 0 wlan0

▶Active Internet Connections: (servers and established)

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp 0 0 0.0.0.0:6566 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.102:33068 34.107.243.93:443 ESTABLISHED
tcp 0 0 192.168.1.102:47498 162.55.83.113:443 ESTABLISHED

▶Network Protocol Statistics:

Ip:
Forwarding: 2
27000 total packets received
0 forwarded
0 incoming packets discarded
26148 incoming packets delivered
13949 requests sent out

Icmp:
1 ICMP messages received
0 input ICMP message failed
ICMP input histogram:
echo replies: 1
15 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 14
echo requests: 1

IcmpMsg:
InType0: 1
OutType3: 14
OutType8: 1

Tcp:
92 active connection openings
0 passive connection openings
0 failed connection attempts
1 connection resets received
2 connections established
16065 segments received
11635 segments sent out
8 segments retransmitted
0 bad segments received
643 resets sent

Udp:
10062 packets received
14 packets to unknown port received
0 packet receive errors
2361 packets sent
0 receive buffer errors
0 send buffer errors
IgnoredMulti: 6

UdpLite:

TcpExt:
43 TCP sockets finished time wait in fast timer
20 delayed acks sent
Quick ack mode was activated 2 times
11729 packet headers predicted
430 acknowledgments not containing data payload received
1160 predicted acknowledgments
TCPTimeouts: 1
TCPLossProbes: 7
TCPBacklogCoalesce: 40
TCPDSACKOldSent: 2
TCPDSACKRecv: 5
32 connections reset due to unexpected data
TCPDSACKIgnoredNoUndo: 3
IPReversePathFilter: 2
TCPRcvCoalesce: 4135
TCPOFOQueue: 1039
TCPAutoCorking: 171
TCPSynRetrans: 1
TCPOrigDataSent: 1817
TCPKeepAlive: 121
TCPDelivered: 1845
TCPAckCompressed: 656

IpExt:
InBcastPkts: 6
InOctets: 30430329
OutOctets: 1751237
InBcastOctets: 1458
InNoECTPkts: 27000

And this is the report from PeasyFirewall.

-> Projectfiles.com Linux Firewall version 2.0rc9 running.
-> Performing sanity checks...... [ PASSED ]
-> Building firewall.... [ DONE ]
-> Successfully secured the following addresses: 192.168.1.102.

You can now share services with any host on your local network 192.168.1.0/24.

This is after a reboot to my reserved IP adress.
Any ideas what is happening?
Thanks.

Last edited by peppyy on Fri Dec 15, 2023 6:14 pm, edited 1 time in total.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

User avatar
mikewalsh
Moderator
Posts: 5699
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 616 times
Been thanked: 1759 times

Re: Fossa64 my Ip adress changes?

Post by mikewalsh »

@peppyy :-

Just clarify one thing for me, can you? What do you mean when you say a "reserved" IP address? It's the terminology I'm not familiar with; for all I know, you may be talking about something which I know under a different name...

AFAICT, according to your network report you look to have the 'static' addy set-up perfectly, so.....I'm at a bit of a loss to understand what the problem is. Do I take it that printing is still OK, but now your Samba stuff isn't working?

Could be the Samba config needs re-setting. But that's something I only have a very sketchy memory of how it all works...

Mike. Image

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

Clarity
Posts: 3395
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1394 times
Been thanked: 449 times

Re: Fossa64 my Ip adress changes?

Post by Clarity »

Hi @mikewalsh

This term is usually seen in router docs and setup notations. It allow the router to "reserve" an ID within the DHCP pool for a specific LAN unit. For example a SAMBA server, or a webserver, or etc. This way, use of this mechanism is when the PC powers up and request its IP, the router (or some DHCP server) KNOWS to assign the designated reserved IP to that unit. It is 4 decades old in implementation and is designed to centralize IP address management in one common place on one's LAN.

Hope that is helpful

User avatar
bigpup
Moderator
Posts: 6468
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 778 times
Been thanked: 1337 times

Re: Fossa64 my Ip adress changes?

Post by bigpup »

Is this something to do with your issue?
https://portforward.com/dhcp-reservation/

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 5699
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 616 times
Been thanked: 1759 times

Re: Fossa64 my Ip adress changes?

Post by mikewalsh »

@Clarity :-

Ha. Cheers for that. You got me investigating.....no bad thing, as far as networking is concerned; it's never been one of my strong points.

I see that DHCP "reservation" is essentially the same as creating 'static' IP addresses. Difference being that a 'static' IP addy tends to be set-up on a per-individual device basis, whereas the DHCP 'reservation' system can be managed centrally, from your router's web control panel...

Ta for the info. That's summat new I've learnt today! :thumbup:

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

I tried setting the computers to an address below 192.168.1.99 and the router didn't allow an internet connection. This Dlink router has way to many configurations for me to make any sense of. It also appears that it does not save the changes correctly. it is a Dlink DIR-655 and is no longer listed in their product pages 2004-2011. Here is a screenshot of the DHCP reservation interface, today after a reboot, since I could not access the router from the address my computer had.

router-reserve.jpg
router-reserve.jpg (97.17 KiB) Viewed 1051 times

Note that says they were already expired last year. Perhaps it has EOL built in?
Notice the list is now blank. I had set both computers up with the enabled box checked and saved changes.
Maybe I know why it was 5 bucks at a yard sale now? :roll:

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

@d-pupp I have twice enabled reserve, set the reserves for both our computers and saved the changes.

I was able to get the clock set through Dlink's time server so it isn't a off by over a year. Since I did that it no longer lists the device names / hostnames, just the ip and the mac addresses. Other than that, I haven't had any noticeable issues with it since this morning.

Net-addresses.jpg
Net-addresses.jpg (24.36 KiB) Viewed 1005 times

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

d-pupp
Posts: 204
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 113 times
Been thanked: 42 times

Re: Fossa64 my Ip adress changes?

Post by d-pupp »

@peppyy I deleted my post I was still thinking about the printing when I answered. Sorry
When I reread your first post I saw my error.
The clock being off would most certainly cause the problem you described.

Glad you got it all working.

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

@d-pupp Thanks for your post and questions. I still haven't been able to reserve ip connections on this router but I am getting closer ;)

We will see what happens when I reboot in the morning. Hopefully everything will be back to normal.

@bigpup Yes, that is what my router is supposed to do. Interestingly it doesn't allow you to use any unassigned addresses without adding port forwarding.

@mikewalsh

I see that DHCP "reservation" is essentially the same as creating 'static' IP addresses.

I never thought of this either until I saw it in this router. It has more Greek in it than any other router I have ever used. I can only what a 2023 router has in it.

This term is usually seen in router docs and setup notations. It allow the router to "reserve" an ID within the DHCP pool for a specific LAN unit. For example a SAMBA server, or a webserver, or etc. This way, use of this mechanism is when the PC powers up and request its IP, the router (or some DHCP server) KNOWS to assign the designated reserved IP to that unit. It is 4 decades old in implementation and is designed to centralize IP address management in one common place on one's LAN.

I wonder why when I set another address in the client machine that was out of the DHCP range, it allowed local but not internet? I actually found this in the almost help section of my router today.

Example:
Your D-Link router uses 192.168.0.1 for the IP address. You've assigned a computer that you want to designate as a Web server with a static IP address of 192.168.0.3. You've assigned another computer that you want to designate as an FTP server with a static IP address of 192.168.0.4. Therefore the starting IP address for your DHCP IP address range needs to be 192.168.0.5 or greater.
Example:
Suppose you configure the DHCP Server to manage addresses From 192.168.0.100 To 192.168.0.199. This means that 192.168.0.3 to 192.168.0.99 and 192.168.0.200 to 192.168.0.254 are NOT managed by the DHCP Server. Computers or devices that use addresses from these ranges are to be manually configured. Suppose you have a web server computer that has a manually configured address of 192.168.0.100. Because this falls within the "managed range" be sure to create a reservation for this address and match it to the relevant computer (see Static DHCP Client below).

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

d-pupp
Posts: 204
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 113 times
Been thanked: 42 times

Re: Fossa64 my Ip adress changes?

Post by d-pupp »

@peppyy The way a reservation works is the dhcp server holds an address in the range it is managing.
In your case 100 to 199

It will not assign that address any other device. It uses the MAC address for that.
All other addresses it manages will be leased out. The Lease time in your case 24 hours (if I did the math correctly 1440 min)

The dhcp server doesn't just mange ip address it also manages the default gateway address and the DNS addresses.
Without the gateway address 192.168.1.1 in your case, you can't access the Internet
Without the DNS address you can't resolve any uri to ip address
IE if you type google.com it is the DNS server that resolves that into an ip address for the google server.

Hope that helps

Clarity
Posts: 3395
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1394 times
Been thanked: 449 times

Re: Fossa64 my Ip adress changes?

Post by Clarity »

@peppyy,you wrote:

... I wonder why when I set another address in the client machine that was out of the DHCP range, it allowed local but not internet? I actually found this in the almost help section of my router today. ...

In this case, you're NOT using the feature that a router provides on the LAN. Instead, you are taking, into your hands directly on this PC, to properly provide the LAN credentials necessary for its navigation. Doing so is known as "static assignment" on a particular LAN device.

Hope this is helpful.

User avatar
Phoenix
Posts: 339
Joined: Fri Feb 12, 2021 2:03 am
Location: Canada
Has thanked: 4 times
Been thanked: 48 times

Re: Fossa64 my Ip adress changes?

Post by Phoenix »

The address change does not suggest any sort of auto reassignment by the local router. Are you sure you are not simply having automatic switching to another network?

IRC: firepup | Time to hack Puppy!

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

@Clarity

When I set up a static IP say 192.168.1.20 on my computer without using DHCP, I can only connect to the local network. This would say that the router
LAN address is not forwarding to the wan address or gateway, correct?

@Phoenix
Our isp is a fiber connection which runs to our router with a cat6 cable. The gateway on the router connects to the wan via dhcp. I believe the lease on that is 24 hours. I have only seen it change the provider's address after they have a system upgrade.

@d-pupp
The only time I can't access the internet is when I set a static address on my computer.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

d-pupp
Posts: 204
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 113 times
Been thanked: 42 times

Re: Fossa64 my Ip adress changes?

Post by d-pupp »

@peppy

The only time I can't access the internet is when I set a static address on my computer

That makes sense. You would also have to manually set the default gateway and DNS addresses

The only thing I can think of that would cause your ip address to change is if your pc was talking to another wireless network router near by and getting a ip form it's dhcp pool. It would have to be an open network with no security.
Is that possible?

User avatar
mikewalsh
Moderator
Posts: 5699
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 616 times
Been thanked: 1759 times

Re: Fossa64 my Ip adress changes?

Post by mikewalsh »

@peppyy :-

peppyy wrote: Thu Dec 14, 2023 2:04 pm

When I set up a static IP say 192.168.1.20 on my computer without using DHCP, I can only connect to the local network. This would say that the router
LAN address is not forwarding to the wan address or gateway, correct?

At a guess, it sounds like when you set-up the static address, you didn't get the router's IP addy (the default 'gateway') entered correctly. Without the gateway IP being correct, your LAN (home network) won't be able to connect to the WAN (internet).

When setting-up using DHCP, this info is retrieved automatically. When setting-up a 'static' IP addy, everything is entered manually by the user.......so you HAVE to get it absolutely right. Can't even have extraneous "." in the wrong place; the format MUST be

Code: Select all

xxx.xxx.x.xxx

(No "." at the end, for instance. Even that will throw a spanner in the works.)

Just out of curiosity, what readout does it return if you type

Code: Select all

ip route

.....into the terminal, and hit 'Enter'?

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

@mikewalsh
ip route
default via 192.168.1.1 dev wlan0 metric 302
127.0.0.0/8 dev lo scope link
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.102 metric 302

That being said, I believe I have solved the mystery for my 192.168.223.11 address. I had turned on the wifi on our new printer. When my lease from my router expired, Frisbie automatically connected me to the next available source, the printer. Now I have shut the wifi off on the printer. Interestingly it happened at the same time of day so I connected to my router again and reserved my ip address. It doesn't show reserved addresses after it has cycled the lease.
Network screen

desktop(16).jpg
desktop(16).jpg (47.98 KiB) Viewed 914 times

I haven't seen my wife's computer listed there since I reserved hers at .100 so hopefully it is as good as a static ip.

Her ip and mac address show up in status and I have determined than once it is on a reserved address it no longer shows the hostname. My beecam at .64 shows no name. My computer still shows everything,( I believe until it cycles.) Livingroom is the roku which is dhcp.
Status screen

desktop(17).jpg
desktop(17).jpg (23.77 KiB) Viewed 914 times
Last edited by peppyy on Fri Dec 15, 2023 6:15 pm, edited 1 time in total.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes?

Post by peppyy »

d-pupp wrote: Thu Dec 14, 2023 4:42 pm

@peppy

The only time I can't access the internet is when I set a static address on my computer

That makes sense. You would also have to manually set the default gateway and DNS addresses

The only thing I can think of that would cause your ip address to change is if your pc was talking to another wireless network router near by and getting a ip form it's dhcp pool. It would have to be an open network with no security.
Is that possible?

You are correct. I found that when my lease was renewed that Frisbee sent me to the next available connection. This was our new printer. I had turned the wireless on and connected to directly. Frisbee had saved the IP address and password and had also set it to automatically connect. Hence the odd IP address. (See post above)
Edited for spelling

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

Clarity
Posts: 3395
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1394 times
Been thanked: 449 times

Re: Fossa64 my Ip adress changes?

Post by Clarity »

Please post the results of this terminal command ip address for review.

Questions

  • And you router see a unit at 192.168.1.100 ... what is that?

  • And which of the LAN units you have are wireless?

  • Is you PC, which uses wireless, using 2.4Ghz or 5Ghz? I am not sure if your $5 router supports 5Ghz.

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: Fossa64 my Ip adress changes? (SOLVED)

Post by peppyy »

@Clarity

ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:24:01:32:6b:43 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.102/24 brd 192.168.1.255 scope global wlan0
valid_lft forever preferred_lft forever

I figured out what was happening. I had turned the wireless on on our new printer.
https://www.forum.puppylinux.com/viewto ... 89#p105889

According to my router I am connected 5Ghz. I know my upload speeds exceed 60mb/sec. 192.168.1.100 is my Wife's computer with the printer connected. I access it through the P10nd server at port 9100.

Thanks to everyone for all the help.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

Post Reply

Return to “Users”