How to install Photosmart B109n-z on a wireless DHCP-less network (28925 Views)
Reply
Tutor
klausgrue
Posts: 5
Member Since: ‎04-05-2010
Message 1 of 7 (28,925 Views)
Accepted Solution

How to install Photosmart B109n-z on a wireless DHCP-less network

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.

 

Provost
PrintDoc
Posts: 20,193
Member Since: ‎08-19-2009
Message 2 of 7 (28,921 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

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
Tutor
klausgrue
Posts: 5
Member Since: ‎04-05-2010
Message 3 of 7 (28,916 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

> 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

http://searchmobilecomputing.techtarget.com/definition/ad-hoc-network

which says

> 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

http://www.cs.washington.edu/research/edtech/presenter/doc/adhoc.html

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.

 

Tutor
klausgrue
Posts: 5
Member Since: ‎04-05-2010
Message 4 of 7 (28,910 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

PS.

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.

 

Tutor
klausgrue
Posts: 5
Member Since: ‎04-05-2010
Message 5 of 7 (28,882 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

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.

Tutor
klausgrue
Posts: 5
Member Since: ‎04-05-2010
Message 6 of 7 (28,881 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

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.

Needed equipment:
- A HP Photosmart B109n-z printer
- A computer with a wireless network card

Laptop computers typically have a wireless network card. Stationary computers
typically don't.



1. BACKGROUND

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:
  Scan
  Photo
  Copy

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:
  Wireless menu
  Scan to PC
  Scan to memory card

Now press the buttom to the left of "Wireless menu" to get this:
  Deactivate wireless
  Wireless configuration
  WPS

This turns of the radio in the printer. The display returns to this:
  Deactivate wireless
  Wireless configuration
  WPS

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:
  Activate wireless
  Wireless configuration
  WPS

Finally, if the wireless radio is off, activate the wireless radio using the
top-right button.

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
insecure.

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
computer.



4. PRINT CONFIGURATION

If you followed the instructions above, the display will show this:
  Activate wireless
  Wireless configuration
  WPS

Select "Wireless configuration", leave "Print network configuration page"
selected, and press OK. The printer now prints a page which says things like
this:
  IP-address: 169.254.95.189
  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:
  IP-address: 169.254.95.190
  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.

Student
Szelev71
Posts: 1
Member Since: ‎12-12-2010
Message 7 of 7 (23,261 Views)

Re: How to install Photosmart B109n-z on a wireless DHCP-less network

Thanks great tutorial!

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation