Skip to main content
added 329 characters in body
Source Link

i got this to work. once my printer was connected. (for my printer i use telnet) i then telnet into the admin interface and gave it a static ip. and then with a static ip i setup a printer through cups with the ip i assigned it.

/etc/network/interfaces

auto eth0
allow-hotlug eth0
iface eth0 inet static
address 192.168.3.1
netmask 255.255.255.0

/etc/dnsmasq.d/dnsmasq.eth0.conf

interface=eth0
listen-address=192.168.3.1
bind-interfaces
dhcp-range=192.168.3.10,192.168.3.254,12h

(note: my Pi is also a hotspot. in order to listen on multiple interfaces i needed to delete dnsmasq.conf and put my interface configurations into the /etc/dnsmsq.d directory. my pi accepts connections on eth0 for the printer and wlan0 for the hotspot. but, if have an /etc/dnsmasq.conf file, you may put this in that file)

i got this to work. once my printer was connected. (for my printer i use telnet) i then telnet into the admin interface and gave it a static ip. and then with a static ip i setup a printer through cups with the ip i assigned it.

/etc/network/interfaces

auto eth0
allow-hotlug eth0
iface eth0 inet static
address 192.168.3.1
netmask 255.255.255.0

/etc/dnsmasq.d/dnsmasq.eth0.conf

interface=eth0
listen-address=192.168.3.1
bind-interfaces
dhcp-range=192.168.3.10,192.168.3.254,12h

i got this to work. once my printer was connected. (for my printer i use telnet) i then telnet into the admin interface and gave it a static ip. and then with a static ip i setup a printer through cups with the ip i assigned it.

/etc/network/interfaces

auto eth0
allow-hotlug eth0
iface eth0 inet static
address 192.168.3.1
netmask 255.255.255.0

/etc/dnsmasq.d/dnsmasq.eth0.conf

interface=eth0
listen-address=192.168.3.1
bind-interfaces
dhcp-range=192.168.3.10,192.168.3.254,12h

(note: my Pi is also a hotspot. in order to listen on multiple interfaces i needed to delete dnsmasq.conf and put my interface configurations into the /etc/dnsmsq.d directory. my pi accepts connections on eth0 for the printer and wlan0 for the hotspot. but, if have an /etc/dnsmasq.conf file, you may put this in that file)

Source Link

i got this to work. once my printer was connected. (for my printer i use telnet) i then telnet into the admin interface and gave it a static ip. and then with a static ip i setup a printer through cups with the ip i assigned it.

/etc/network/interfaces

auto eth0
allow-hotlug eth0
iface eth0 inet static
address 192.168.3.1
netmask 255.255.255.0

/etc/dnsmasq.d/dnsmasq.eth0.conf

interface=eth0
listen-address=192.168.3.1
bind-interfaces
dhcp-range=192.168.3.10,192.168.3.254,12h