04-05-2010 07:14 AM
I try to install an HP Photosmart B109n-z on a wireless network.
On the network, there is no DHCP server.
I can install and print using a USB cable.
When I try to reconfigure from USB to wireless I get a message which says that the printer
uses IP address 169.254.95.189 which is not compatible with the PCs IP address 10.1.9.1.
HP documentation *recommends* using a DHCP server. So I suppose it is *possible* to
do without. But I have found no instructions for doing so.
There is a related posting with the following title:
> Resolved : Photosmart B109n-z - Setting a static IP on the printer on a DHCP enabled router
> 01-04-2010 11:24 AM
That posting suggests:
> Type the current IP into a browser. There you will see the printer's internal settings...
But when I go to http://169.254.95.189 i get a connection timeout.
A ping 169.254.95.189 succeeds. When I issue 'arp -a' in a command tool, I can see the printer.
The above was done using a Windows Vista machine. To get a second opinion, I started a Linux box
and did a ping 169.254.95.189. That failed. Then I did a
> route add -host 169.254.95.189 gw 10.1.6.1
where 10.1.6.1 is my wireless router. Then ping did succeed but looking up http://169.254.95.189
still gave a timeout.
So my main question is: How to set up wireless printing on a DHCP-less network.
And a second question: is the printer supposed to listen on TCP port 80 (http) or is some magic
needed to turn that on.
This question was solved. View Solution.
04-05-2010 09:04 AM
The printer will be broadcasting an 'hpsetup' ad-hoc network. Connect to that, type its (self-assigned) IP address in a browser and you should be able to see its embedded web server.
- Choose the Networking tab, then Wireless along the left side, then the IPv4 tab.
- On this screen you want to set a Manual IP. Pick the IP address you want.
- Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
- Leave the gateway and DNS blank. Click 'Apply
Now, shut down the router and printer, start the router, wait, then start the printer.
After this you may need to redo 'Add a Printer' using the new IP address.
Say thanks by clicking "Kudos" on the left in the post that helped you.
I am employed by HP
04-05-2010 12:27 PM
> The printer will be broadcasting an 'hpsetup' ad-hoc network.
> Connect to that, type its (self-assigned) IP address in a browser
> and you should be able to see its embedded web server.
Thanks for the quick response. Unfortunately, I still seem to need
some help. My problem is that I stop at the "Connect to that" step.
First I think I should check I have understood "ad-hoc network".
I suppose it is an ad-hoc network in sense number two of
> In the Windows operating system, ad-hoc is a communication mode
> (setting) that allows computers to directly communicate with each
> other without a router.
So I suppose the B109n-z not only assigns an IP to itself but also
acts as a wireless contact point. So I started up a third computer.
This time a Windows XP laptop with a wireless card. Then, following
I did a search for wireless networks in the hope that the printer would
show up, but I only saw my own wireless router and the wireless routers
in the neighborhood. I also tried placing laptop and printer next to each
other in the basement where they were shielded from routers in the
neighboorhood. No change. Then I turned off the printer, turned off
my wireless router, turned on the printer, and did a new search for
wireless networks. Still no printer.
So I fear there is something very fundamental I have not understood.
04-05-2010 01:08 PM
Do not waste time replying to my previous post:
I managed to use the buttons on the printer to print out the printers network configuration.
The printer remembered the SSID of my router. I also managed to reset the printer.
Now HPSETUP appears. I return when I am through so I can report the problem to be
solved. In any case kudos for your instructions.
04-06-2010 02:14 PM
It worked. Thanks for the help. Kudos have been clicked.
I will post what I did in the form of a HOWTO and mark that as the solution.
The solution may be slightly inaccurate since I did the install in Danish and had to guess the English translation when writing the HOWTO.
Use the HOWTO as you like. Modify it as you like. Copy/paste it as you like. Don't blame me for errors, faults, inaccuracies, and so on in it.
04-06-2010 02:16 PM
STATIC IP ASSIGNMENT HOWTO FOR HP PHOTOSMART B109n-z
The following instructions allow to assign a static IP to an HP Photosmart
B109n-z printer without using a DHCP server and without using a router. The
instructions may also be used for other kinds of configuration of the printer.
- A HP Photosmart B109n-z printer
- A computer with a wireless network card
Laptop computers typically have a wireless network card. Stationary computers
The B109n-z has four ways of communicating with its surroundings:
(1) It has buttons and a small display on its front.
(2) It can print and scan pages
(3) It has a USB connection
(4) It has wireless network capabilities.
We shall use (1), (2), and (4) for setting a static IP.
2. BUTTONS AND DISPLAY
If you read this, chances are that you tried to install the B109n-z and that
the installation failed. The installation may have left the B109n-z partially
configured, so first step is to bring the B109n-z back to its initial settings.
On the front of the B109n-z there is a small display. To the left of the
display there is a column of three buttons. To the right of the display there
is a column of three more buttons.
Actually, the buttons are just touch sensitive areas next to the display. Each
button has background light which the printer can turn on and off. When the
light behind a button is off, the button is invisible.
The buttons in the left column are labelled with a backward arrow, an "X" and
an "OK" symbol. The buttons in the right column are all labelled with dashes.
At power on, the display shows something like this:
The background light of all three buttons in the right column are on. Now press
the button to the right of "Scan", i.e. the topmost button in the right column.
Now the display shows something like this:
Scan to PC
Scan to memory card
Now press the buttom to the left of "Wireless menu" to get this:
This turns of the radio in the printer. The display returns to this:
Now press the button to the right of "Wireless configurations" and then press
the bottom-right button until something like "Restore wireless settings" is
selected. Then press "OK" (the bottom-left button) and answer "Yes" to the "Are
you sure" questions. Now we are back to this:
Finally, if the wireless radio is off, activate the wireless radio using the
Now the radio of the printer is on, the printer has an IP of 0.0.0.0, and the
printer wirelessly advertises that it runs a wireless computer-to-computer
(ad-hoc) network without security. The SSID of the network is "hpsetup".
3. WIRELESS CONNECTION TO THE PRINTER, STEP 1
Now you need a computer with a wireless interface card. Ensure the computer is
on. If the computer runs Windows, ask for a list of available wireless
networks. If it runs something else, do something similar.
In the list of available wireless networks, you should find precisely one named
"hpsetup". Connect to it. Ignore the warning that the "hpsetup" network is
If there is more than one network named "hpsetup", one of them will be your
printer and the other ones may be printers in your neighborhood. The other ones
could also be forged by airborne viruses that have infected your neighbors
4. PRINT CONFIGURATION
If you followed the instructions above, the display will show this:
Select "Wireless configuration", leave "Print network configuration page"
selected, and press OK. The printer now prints a page which says things like
Subnet mask: 255.255.0.0
5. WIRELESS CONNECTION TO THE PRINTER, STEP 2
Now assign the same subnet mask and a similar IP to you laptop such this:
Subnet mask: 255.255.0.0
The bitwise AND of IP-address and subnet mask of the printer must be equal to the bitwise AND of IP-address and subnet mask of the laptop.
You should know how to set the IP-address and subnet mask on your laptop. Otherwise you would have had trouble surviving on a network without a DHCP server. But if you need a refresher: Go to the "Properties" of the network connection and choose TCP/IP settings.
Now open a web browser such as Internet Explorer, Firefox, or whatever, and look up http://169.254.95.189
Now you may configure the printer using the web browser as interface. To set a static IP, proceed e.g. thus:
- Choose the Networking tab
- Choose Wireless along the left side
- Choose the IPv4 tab
- Click the Manual IP button
- Enter the IP you want
- Enter your Subnet mask (255.255.255.0 unless you know otherwise)
- Possibly enter a suitable gateway IP (see INFRASTRUCTURE NETWORK below)
- Leave the DNS blank
- Click 'Apply'
The moment you click 'Apply' you of course loose the connection to the printer.
Now close the web browser, set the IP and subnet of the laptop back to what it was, and try connecting to the printer again using whatever IP you assigned.
6. CHANGE TO INFRASTRUCTURE NETWORK
If you want to change from using an ad-hoc connection to using an
infrastructure network, you need a wireless router. Ensure that you set the
gateway IP of the printer to be the IP of the router in Section 5 above.
You may now install the software on the CD that came with the printer. If you previously installed the printer as a USB printer, it is enough to connect
the USB cable, insert the CD, and reconfigure to wireless.
During reconfiguration you will be asked which network to use. Select your
own network (the one of the router you want to use). Do not select the
hpsetup ad-hoc network.