Re: [PLUG] Printer IP address [UPDATE]
On Tue, Nov 5, 2019 at 10:03 AM Rich Shepard wrote: > On Tue, 5 Nov 2019, Michael Barnes wrote: > > > To my knowledge (admittedly limited), you do not use rc.inet to configure > > the IP address of peripheral equipment not physically part of that > > computer. > > In Slackware one uses /etc/rc.d/rc.inet1.conf to set Ethernet and wireless > interfaces. They are brought up and down using ifconfig. > > Rich > This is completely true for the computer you are using and the interfaces located physically within that computer. You most certainly DO NOT use rc.inet.conf to set the IP address of a remote printer or any other device not actually within the case of the computer directly connected to the motherboard. Apples and horseshoes to the original complaint. Michael ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, Nov 5, 2019 at 10:01 AM Rich Shepard wrote: > On Tue, 5 Nov 2019, Michael Barnes wrote: > > > I'm getting really confused here. The /etc/hosts file is not for setting > > IP addresses on devices. > > Michael, > > You're correct. But, it tells me which IP address is assigned to a device. > > > > This means that these devices must have static addresses for this to > work. > > Repeat: I've used only static IP addresses since 1997. They work for me. > > Rich > Sorry, but unless something drastic has changed, the /etc/hosts file does not tell you what IP address is being used for anything. It is simply a text file that YOU set up that translates a domain name to an IP address. So, you can put Printer1.loc in your browser and it will connect you with 192.168.2.101 (the IP assigned to your printer). Of course those are examples and not your actual configuration. As that file is manually created, your IP addresses can change completely and the file will be pretty much worthless. I'm not denying you are using static IP addresses. I've been using them since 1986. I'm just trying to explain that the /etc/hosts file has really nothing to do with assigning IP addresses and that your particular problem lies elsewhere. If you are indeed using static IP addresses as you say, and you say you are NOT using DHCP, then the ONLY way to have static addresses is for them to be manually set in each piece of equipment from the control panel or via a configuration interface (usually web based). I'm just trying to help based on the information you have provided. You apparently are not interested in that, so I will move on. Good luck. Michael ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, 5 Nov 2019, Michael Barnes wrote: To my knowledge (admittedly limited), you do not use rc.inet to configure the IP address of peripheral equipment not physically part of that computer. In Slackware one uses /etc/rc.d/rc.inet1.conf to set Ethernet and wireless interfaces. They are brought up and down using ifconfig. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, 5 Nov 2019, Ben Koenig wrote: 3) WICD has been installed and is being used as a drop in replacement for NetworkManager Not on the desktops. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, 5 Nov 2019, Michael Barnes wrote: I'm getting really confused here. The /etc/hosts file is not for setting IP addresses on devices. Michael, You're correct. But, it tells me which IP address is assigned to a device. This means that these devices must have static addresses for this to work. Repeat: I've used only static IP addresses since 1997. They work for me. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, Nov 5, 2019 at 8:19 AM Ben Koenig wrote: > Since he's running slackware, IP addresses are set by 1 of 3 functions: > 1) /etc/rc.d/rc.inet1 runs at boot time and manually configures network > interfaces > 2) The system has been configured to run NetworkManager (meaning that > /etc/rc.d/rc.inet1.conf is left at defaults) > 3) WICD has been installed and is being used as a drop in replacement for > NetworkManager > > The only other option is to manually run ifconfig/ip/dhcpcd/dhclient > commands when you want to connect to your network. Nobody does this anymore > since we run shell scripts that run the commands for us (e.g. rc.inet1). > This process is not hugely different from any other distro, so to be Frank > here, any other methods being used to configure IP addresses and subnets > are probably incorrect and should replaced with one of the options above. > Of course, there are fringe use cases where the word "incorrect" becomes > very subjective. > > > On Tue, Nov 5, 2019 at 7:24 AM Michael Barnes > wrote: > > > On Tue, Nov 5, 2019 at 5:51 AM Rich Shepard > > wrote: > > > > > On Mon, 4 Nov 2019, John Jason Jordan wrote: > > > > > > > In all my years of printing from computers to printers over a > network, > > > > I've never run into a printer whose IP address could not be changed > > > > from the printer's control panel. > > > > > > John, > > > > > > My experiences over the past couple of decades is the opposite: I've > > never > > > had a printer with a built-in IP address. Of course, the Okidata > > dot-matrix > > > printer wasn't network-enabled, but the laser and inkjet printers all > > > were/are and the IP address is set in /etc/hosts, not on the printer. > > Then > > > again, my printers have been HP (and a Brother which I gave to a new > > home). > > > > > > Rich > > > > > > > I'm getting really confused here. The /etc/hosts file is not for setting > IP > > addresses on devices. It is to translate domain names to IP addresses > (DNS > > function), usually for local testing. For example, if I want to test a > web > > page at foo.bar, I would make an entry in my /etc/hosts file like: > > > > 172.16.2.10foo.bar > > > > Then I could go to my browser and point it to foo.bar and it would take > me > > to the host at 172.16.2.10 and display the web page there. Or I could > > connect to the host with ssh foo.bar instead of remembering to ssh > > 172.16.2.10. > > > > You could also use it to give names to your devices: > > 172.16.2.30 Printer1 > > 172.16.2.31 Printer2 > > 172.16.2.32 Camera5 > > 172.16.2.33 Refrigerator > > > > This means that these devices must have static addresses for this to > work. > > If they had dynamic addresses and their lease changed to give them a new > > address, then your /etc/hosts file is toast. > > > > Static addresses are set one of two ways. The device itself (printer, > > computer, refrigerator, whatever) is programmed in its own configuration > > for its IP address. Or, the address is assigned by the DHCP server in its > > config file by MAC address, so any time that MAC address comes on line > > requesting an address, it is always given the same one. > > > > Again, it has been a while since I set up networking. If any of this has > > changed, some one please educate me. > > > > Michael > > > Ben, I believe you are talking about option 1 in my description. Static IP addresses in the network are normally configured one of two ways. Either in the device itself, or "permanently" assigned by the DHCP server based on MAC address. Your description is for the device (his computer in your referenced case). This all depends on the device. In Rich's situation, he is discussing his printer. His options are to set the IP address statically from the control panel of the printer (although it may be possible to set it from the web interface, I don't know on that particular printer) or to configure his DHCP server (used to be via dhcp.conf, IIRC, but may be different in recent versions of dhcpd, or via the admin interface of his router, wherever his DHCP is being served from) to assign a dedicated IP address based on the MAC address of his printer when it asks the network for an address. To my knowledge (admittedly limited), you do not use rc.inet to configure the IP address of peripheral equipment not physically part of that computer. Please do correct me if I am wrong. Michael ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
Since he's running slackware, IP addresses are set by 1 of 3 functions: 1) /etc/rc.d/rc.inet1 runs at boot time and manually configures network interfaces 2) The system has been configured to run NetworkManager (meaning that /etc/rc.d/rc.inet1.conf is left at defaults) 3) WICD has been installed and is being used as a drop in replacement for NetworkManager The only other option is to manually run ifconfig/ip/dhcpcd/dhclient commands when you want to connect to your network. Nobody does this anymore since we run shell scripts that run the commands for us (e.g. rc.inet1). This process is not hugely different from any other distro, so to be Frank here, any other methods being used to configure IP addresses and subnets are probably incorrect and should replaced with one of the options above. Of course, there are fringe use cases where the word "incorrect" becomes very subjective. On Tue, Nov 5, 2019 at 7:24 AM Michael Barnes wrote: > On Tue, Nov 5, 2019 at 5:51 AM Rich Shepard > wrote: > > > On Mon, 4 Nov 2019, John Jason Jordan wrote: > > > > > In all my years of printing from computers to printers over a network, > > > I've never run into a printer whose IP address could not be changed > > > from the printer's control panel. > > > > John, > > > > My experiences over the past couple of decades is the opposite: I've > never > > had a printer with a built-in IP address. Of course, the Okidata > dot-matrix > > printer wasn't network-enabled, but the laser and inkjet printers all > > were/are and the IP address is set in /etc/hosts, not on the printer. > Then > > again, my printers have been HP (and a Brother which I gave to a new > home). > > > > Rich > > > > I'm getting really confused here. The /etc/hosts file is not for setting IP > addresses on devices. It is to translate domain names to IP addresses (DNS > function), usually for local testing. For example, if I want to test a web > page at foo.bar, I would make an entry in my /etc/hosts file like: > > 172.16.2.10foo.bar > > Then I could go to my browser and point it to foo.bar and it would take me > to the host at 172.16.2.10 and display the web page there. Or I could > connect to the host with ssh foo.bar instead of remembering to ssh > 172.16.2.10. > > You could also use it to give names to your devices: > 172.16.2.30 Printer1 > 172.16.2.31 Printer2 > 172.16.2.32 Camera5 > 172.16.2.33 Refrigerator > > This means that these devices must have static addresses for this to work. > If they had dynamic addresses and their lease changed to give them a new > address, then your /etc/hosts file is toast. > > Static addresses are set one of two ways. The device itself (printer, > computer, refrigerator, whatever) is programmed in its own configuration > for its IP address. Or, the address is assigned by the DHCP server in its > config file by MAC address, so any time that MAC address comes on line > requesting an address, it is always given the same one. > > Again, it has been a while since I set up networking. If any of this has > changed, some one please educate me. > > Michael > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Tue, Nov 5, 2019 at 5:51 AM Rich Shepard wrote: > On Mon, 4 Nov 2019, John Jason Jordan wrote: > > > In all my years of printing from computers to printers over a network, > > I've never run into a printer whose IP address could not be changed > > from the printer's control panel. > > John, > > My experiences over the past couple of decades is the opposite: I've never > had a printer with a built-in IP address. Of course, the Okidata dot-matrix > printer wasn't network-enabled, but the laser and inkjet printers all > were/are and the IP address is set in /etc/hosts, not on the printer. Then > again, my printers have been HP (and a Brother which I gave to a new home). > > Rich > I'm getting really confused here. The /etc/hosts file is not for setting IP addresses on devices. It is to translate domain names to IP addresses (DNS function), usually for local testing. For example, if I want to test a web page at foo.bar, I would make an entry in my /etc/hosts file like: 172.16.2.10foo.bar Then I could go to my browser and point it to foo.bar and it would take me to the host at 172.16.2.10 and display the web page there. Or I could connect to the host with ssh foo.bar instead of remembering to ssh 172.16.2.10. You could also use it to give names to your devices: 172.16.2.30 Printer1 172.16.2.31 Printer2 172.16.2.32 Camera5 172.16.2.33 Refrigerator This means that these devices must have static addresses for this to work. If they had dynamic addresses and their lease changed to give them a new address, then your /etc/hosts file is toast. Static addresses are set one of two ways. The device itself (printer, computer, refrigerator, whatever) is programmed in its own configuration for its IP address. Or, the address is assigned by the DHCP server in its config file by MAC address, so any time that MAC address comes on line requesting an address, it is always given the same one. Again, it has been a while since I set up networking. If any of this has changed, some one please educate me. Michael ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, wes wrote: I've set IPs on printers using even fewer buttons than that. Wes, As I wrote in reply to John's message I've not before had a printer with a built-in IP address. All my HP's had their IP address set in /etc/hosts on the server. If you can suggest how I might change the IP address on this Dell using the arrow and set buttons I'd really like to learn how this works. Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, John Jason Jordan wrote: In all my years of printing from computers to printers over a network, I've never run into a printer whose IP address could not be changed from the printer's control panel. John, My experiences over the past couple of decades is the opposite: I've never had a printer with a built-in IP address. Of course, the Okidata dot-matrix printer wasn't network-enabled, but the laser and inkjet printers all were/are and the IP address is set in /etc/hosts, not on the printer. Then again, my printers have been HP (and a Brother which I gave to a new home). Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, Nov 4, 2019 at 5:06 PM Rich Shepard wrote: > The controls on the panel are four arrow buttons and a central 'select' > button. No way to enter numbers ... at least no way in the minimal > documentation that came with the printer. > > I've set IPs on printers using even fewer buttons than that. -wes ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, Johnathan Mantey wrote: Usually there are Windows SW elements that search for "Our Wonderful Brand of XYZ", and auto-finds it on your local net segment. Of course this is useless to those not using the Redmond offering. It's likely that the setup cdrom does this for winders and macos. Since those setup disks are useless for linux they go into the recycling bin or garbage. Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, John Jason Jordan wrote: In all my years of printing from computers to printers over a network, I've never run into a printer whose IP address could not be changed from the printer's control panel. It's usually buried several layers deep to make it less likely that some dimbulb in the office will mess it up, but it's right on the panel that lights up when you turn the printer on. I should add that this is true for my only Xerox printer, a Phaser 7400DN. If you really need to use a web browser, that's a new one on me. Maybe using a web browser is optional and it's also on the control panel. John, The controls on the panel are four arrow buttons and a central 'select' button. No way to enter numbers ... at least no way in the minimal documentation that came with the printer. And I did look through the menus. Strangely, there's a password item that allows one to reset a 4-digit 'password' but no way to enter digits. So I just pressed the -> key to repeat the default 0 for all four. Strange. The Dell web page for this printer says to use the embedded web server. Perhaps on winders it works with a different subnet but not on linux. Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, Russell Senior wrote: If the IP address of the EWS is different that your computer usually has, then yeah, otherwise, how are you going to reach it? You can add an address to a suitable interface with the "ip addr add / dev " command, and then remove it when you are done by replacing "add" with "del". No warranty expressed or implied. Russell, I did that years ago adding a new IP address to eth0 and forgot how to do this. I'll wait for the weekend to try this or reconfigure a laptop temporarily. Thanks for the reminder. Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, tomas.kuchta.li...@gmail.com wrote: If you can ping it from your LAN, you should be able to get web traffic too. Tomas, Ping fails; different subnet than the LAN. Did you try to talk both http://ip and https://ip to the printer? Maybe one of the will work. My experience is using http on a site using ssl will automatically change from http to https. I'll set up a laptop to that subnet and reach the printer that way. Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, Ben Koenig wrote: Yes, you do need to be on the same subnet. If you have a laptop handy that would be easiest, just plug a cat5 cable in directly to your ethernet port and set your IP to match. I thought so. I doubt the printer is running any kind of DHCP server, so you'll just set your IP address manually. It should link up once you do that. But if you try to go through your router and LAN then you're gonna have a bad time. No, the printer uses static IP addresses and these can be set using the EWS. Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
Usually there are Windows SW elements that search for "Our Wonderful Brand of XYZ", and auto-finds it on your local net segment. Of course this is useless to those not using the Redmond offering. On Mon, Nov 4, 2019 at 4:20 PM John Jason Jordan wrote: > On Mon, 4 Nov 2019 15:48:57 -0800 (PST) > Rich Shepard dijo: > > >On Mon, 4 Nov 2019, Rich Shepard wrote: > > > >> Has anyone ideas how I can change that IP address to one that's on > >> my LAN? > > In all my years of printing from computers to printers over a network, > I've never run into a printer whose IP address could not be changed > from the printer's control panel. It's usually buried several layers > deep to make it less likely that some dimbulb in the office will mess > it up, but it's right on the panel that lights up when you turn the > printer on. I should add that this is true for my only Xerox printer, a > Phaser 7400DN. > > If you really need to use a web browser, that's a new one on me. Maybe > using a web browser is optional and it's also on the control panel. > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019 15:48:57 -0800 (PST) Rich Shepard dijo: >On Mon, 4 Nov 2019, Rich Shepard wrote: > >> Has anyone ideas how I can change that IP address to one that's on >> my LAN? In all my years of printing from computers to printers over a network, I've never run into a printer whose IP address could not be changed from the printer's control panel. It's usually buried several layers deep to make it less likely that some dimbulb in the office will mess it up, but it's right on the panel that lights up when you turn the printer on. I should add that this is true for my only Xerox printer, a Phaser 7400DN. If you really need to use a web browser, that's a new one on me. Maybe using a web browser is optional and it's also on the control panel. ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
If the IP address of the EWS is different that your computer usually has, then yeah, otherwise, how are you going to reach it? You can add an address to a suitable interface with the "ip addr add / dev " command, and then remove it when you are done by replacing "add" with "del". No warranty expressed or implied. On Mon, Nov 4, 2019 at 3:58 PM Rich Shepard wrote: > On Mon, 4 Nov 2019, Rich Shepard wrote: > > > Has anyone ideas how I can change that IP address to one that's on my > LAN? > > Update: I found a Dell web page that says I can change the IP address using > the printer's embedded web server (EWS). So I try to open that IP address > on a new tab, but firefox cannot load that page. > > Try a different web browser? > > Do I need to use a host on that same subnet? > > Advice appreciated. > > Rich > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
If you can ping it from your LAN, you should be able to get web traffic too. Did you try to talk both http://ip and https://ip to the printer? Maybe one of the will work. -T On Mon, 2019-11-04 at 15:48 -0800, Rich Shepard wrote: > On Mon, 4 Nov 2019, Rich Shepard wrote: > > > Has anyone ideas how I can change that IP address to one that's on my LAN? > > Update: I found a Dell web page that says I can change the IP address using > the printer's embedded web server (EWS). So I try to open that IP address > on a new tab, but firefox cannot load that page. > > Try a different web browser? > > Do I need to use a host on that same subnet? > > Advice appreciated. > > Rich > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, Nov 4, 2019 at 3:49 PM Rich Shepard wrote: > On Mon, 4 Nov 2019, Rich Shepard wrote: > > > Has anyone ideas how I can change that IP address to one that's on my > LAN? > > Update: I found a Dell web page that says I can change the IP address using > the printer's embedded web server (EWS). So I try to open that IP address > on a new tab, but firefox cannot load that page. > > Try a different web browser? > > Do I need to use a host on that same subnet? > > Yes, you do need to be on the same subnet. If you have a laptop handy that would be easiest, just plug a cat5 cable in directly to your ethernet port and set your IP to match. I doubt the printer is running any kind of DHCP server, so you'll just set your IP address manually. It should link up once you do that. But if you try to go through your router and LAN then you're gonna have a bad time. ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address [UPDATE]
On Mon, 4 Nov 2019, Rich Shepard wrote: Has anyone ideas how I can change that IP address to one that's on my LAN? Update: I found a Dell web page that says I can change the IP address using the printer's embedded web server (EWS). So I try to open that IP address on a new tab, but firefox cannot load that page. Try a different web browser? Do I need to use a host on that same subnet? Advice appreciated. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug