Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #263302 > unrolled thread
| Started by | gene heskett <gheskett@shentel.net> |
|---|---|
| First post | 2023-11-09 20:10 +0100 |
| Last post | 2023-11-10 07:00 +0100 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.debian.user
network question gene heskett <gheskett@shentel.net> - 2023-11-09 20:10 +0100
Re: network question Greg Wooledge <greg@wooledge.org> - 2023-11-09 20:20 +0100
Re: network question gene heskett <gheskett@shentel.net> - 2023-11-10 03:40 +0100
Re: network question <tomas@tuxteam.de> - 2023-11-09 20:50 +0100
Re: network question gene heskett <gheskett@shentel.net> - 2023-11-10 03:30 +0100
Re: network question <tomas@tuxteam.de> - 2023-11-10 07:00 +0100
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-11-09 20:10 +0100 |
| Subject | network question |
| Message-ID | <HyizD-4idq-21@gated-at.bofh.it> |
Greetings all netsperts; I've purchased a new 3d printer which is factory equipt with klipper. It has zero docs with it, just a very short quick start guide which totally disregards any questions a new user might have. It has a cat-5 connector and a socket for a usb key, which according to what I've read on their web page is for updating the firmware. I have plugged in a supplied cat-5 jumper into a port of the local switch serving that room and now need to find it on my local net IF it has a ping responder. So the questions are: What do I need to change in my network config on this machine so I can ping all 65536 address of the 192.168 block of ipv4 address? Will changing the CIDR, presently /24 to /16 be sufficient? Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2023-11-09 20:20 +0100 |
| Message-ID | <HyiJj-4igF-1@gated-at.bofh.it> |
| In reply to | #263302 |
On Thu, Nov 09, 2023 at 02:05:49PM -0500, gene heskett wrote: > I have plugged in a supplied cat-5 jumper into a port of the local switch > serving that room and now need to find it on my local net IF it has a ping > responder. > > So the questions are: > What do I need to change in my network config on this machine so I can ping > all 65536 address of the 192.168 block of ipv4 address? > > Will changing the CIDR, presently /24 to /16 be sufficient? What makes you think the printer would be configured with a 192.168 address? Just hoping? Blind faith isn't your best choice here. A vendor shipping a device with some randomly selected 192.168.x.y address and hoping that it matches the user's network *and* doesn't conflict with any existing device -- that would be silliness. (And remember, 192.168 is just one of *three* separate private ranges that could be used.) A much more reasonable guess would be that it's configured with a DHCP client, and that your network's DHCP server will give it an address. Then, you should be able to see something about that in the DHCP server's logs. Another reasonable guess is that once the printer gets a DHCP address, it'll start broadcasting about itself using the standard autodiscovery stuff. CUPS should be able to see it, if you can figure out which name belongs to it. If you still don't have a DHCP server on your network for religious reasons, well, maybe it's time to change that.
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-11-10 03:40 +0100 |
| Message-ID | <HypB8-4mcZ-7@gated-at.bofh.it> |
| In reply to | #263303 |
On 11/9/23 14:15, Greg Wooledge wrote: > On Thu, Nov 09, 2023 at 02:05:49PM -0500, gene heskett wrote: >> I have plugged in a supplied cat-5 jumper into a port of the local switch >> serving that room and now need to find it on my local net IF it has a ping >> responder. >> >> So the questions are: >> What do I need to change in my network config on this machine so I can ping >> all 65536 address of the 192.168 block of ipv4 address? >> >> Will changing the CIDR, presently /24 to /16 be sufficient? > > What makes you think the printer would be configured with a 192.168 > address? Just hoping? Blind faith isn't your best choice here. > A vendor shipping a device with some randomly selected 192.168.x.y > address and hoping that it matches the user's network *and* doesn't > conflict with any existing device -- that would be silliness. > (And remember, 192.168 is just one of *three* separate private ranges > that could be used.) > > A much more reasonable guess would be that it's configured with a DHCP > client, and that your network's DHCP server will give it an address. > Then, you should be able to see something about that in the DHCP > server's logs. > > Another reasonable guess is that once the printer gets a DHCP address, > it'll start broadcasting about itself using the standard autodiscovery > stuff. CUPS should be able to see it, if you can figure out which name > belongs to it. I hadn't considered that Greg, thanks & lemme check. But since the add new printers has never worked, it didn't spoil its record. cpus-browsed is not installed as that seems to be the only way to disable the broken auto-config and let the brother supplied drivers work. As I've stated many times before, they do not run these printers at all well, I hadn't considered that > If you still don't have a DHCP server on your network for religious > reasons, well, maybe it's time to change that. > Possibly. ATM I've cobbled up a bash script to look for a ping response but because it waits .2 seconds for a -c1, it is quite slow. Thanks, take care & stay well. > . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2023-11-09 20:50 +0100 |
| Message-ID | <Hyjcl-4ipV-1@gated-at.bofh.it> |
| In reply to | #263302 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Nov 09, 2023 at 02:05:49PM -0500, gene heskett wrote: > Greetings all netsperts; > > I've purchased a new 3d printer which is factory equipt with klipper. [...] > So the questions are: > What do I need to change in my network config on this machine so I can ping > all 65536 address of the 192.168 block of ipv4 address? You might try nmap. But who knows -- perhaps the printer is civilised and - waits for a DHCP to assign it an addres - gives itself one of those APIPA addresses (169.254.x.y) you love so much ;-) - comes up with a link-local IPv6 all of which would be RFC compliant. > Will changing the CIDR, presently /24 to /16 be sufficient? ...you mean: your netmask? You would have to, if you want to have a route to all those addresses. Another thing I would do: start tcpdump, then switch the printer on, and watch what happens in the net. Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-11-10 03:30 +0100 |
| Message-ID | <Hyprr-4m9r-9@gated-at.bofh.it> |
| In reply to | #263304 |
On 11/9/23 14:41, tomas@tuxteam.de wrote: > On Thu, Nov 09, 2023 at 02:05:49PM -0500, gene heskett wrote: >> Greetings all netsperts; >> >> I've purchased a new 3d printer which is factory equipt with klipper. > > [...] > >> So the questions are: >> What do I need to change in my network config on this machine so I can ping >> all 65536 address of the 192.168 block of ipv4 address? > > You might try nmap. But who knows -- perhaps the printer is civilised and > > - waits for a DHCP to assign it an addres > - gives itself one of those APIPA addresses (169.254.x.y) > you love so much ;-) > - comes up with a link-local IPv6 > > all of which would be RFC compliant . And less likely to find a home in the local environment than a plain old 192.168.yy.zz address I'd think. They who do that have so far stuck to 192.168.0 and 192.168.1 addresses. > >> Will changing the CIDR, presently /24 to /16 be sufficient? > > ...you mean: your netmask? You would have to, if you want to > have a route to all those addresses. > > Another thing I would do: start tcpdump, then switch the > printer on, and watch what happens in the net. > A possibility I hadn't considered yet, but that might need the CIDR changed also. > Cheers Cheers Tomas, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2023-11-10 07:00 +0100 |
| Message-ID | <HysIG-4o7K-5@gated-at.bofh.it> |
| In reply to | #263316 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Nov 09, 2023 at 04:40:22PM -0500, gene heskett wrote: > On 11/9/23 14:41, tomas@tuxteam.de wrote: [...] > A possibility I hadn't considered yet, but that might need the CIDR changed > also. You don't change CIDR. You change your netmask. No you don't have to: tcpdump puts your interface in promiscuous mode (that's why you need root powers to invoke it). Cheers -- t
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web