LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2015, 04:40 PM   #16
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,347

Rep: Reputation: Disabled

The fact that you were able to see the Discover datagrams on another switchport means the switch isn't blocking the traffic. In other words, the port connected to the printer is active and you certainly don't have a Spanning Tree issue.

Something is causing your router to not respond to the DHCP Discover messages. If it's not a full scope, then there must be something about the DHCP messages that the router doesn't like. Have you checked if there's a newer firmware available for this router?

It might of course be the JetADmin DHCP client that's creating datagrams that are slightly out-of-spec. It seems you can upgrade the firmware on the 615n/J6057A from HP JetAdmin or the built-in web server or even using plain FTP. The firmware file can be downloaded from this page. The page also contains detailed instructions.

Is there any particular reason why you can't just assign a static IP address to this printer?

(BTW, "Auto MDI-X" is the automatic crossover feature found on all gigabit Ethernet cards (and some 10/100 cards) which makes it possible to connect two hosts back-to-back without a switch, something that would normally require a crossover cable.)
 
Old 06-27-2015, 05:08 PM   #17
stoa
Member
 
Registered: Dec 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Thanks for the firmware link. Unfortunately, for all three methods of upgrade, the first requirement is

Quote:
Make sure the printer is connected to the local network or internet.
OK then...

I've tried assigning a fixed IP, but there was still no connection. I'll probably try that again (although it is a bit tedious.) I have a feeling, though, that there is something else wrong - I just can't put my finger on it yet.

Just so I'm not missing something, to assign a fixed IP, there are two steps, correct? One, assign an IP on the router through the web interface. Two, go through the process on the printer to add the IP, mask, and default gateway.

Do I need to add this to each of my computer's hosts file or will DNS take care of this??

[EDIT]

Actually, I think the reason it didn't work before was because I configured a "fixed" IP address. However, that seems to actually be a fixed address through the DHCP server, and since the DHCP server is where my problems are coming from, I'll have the same problem (which apparently I did, since it didn't work.)

So, unless I's misconstruing some terms, I actually don't have the ability to set a true "static" IP, do I?

Thanks for your help.

Last edited by stoa; 06-27-2015 at 05:22 PM.
 
Old 06-27-2015, 06:04 PM   #18
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,347

Rep: Reputation: Disabled
Quote:
Originally Posted by stoa View Post
Thanks for the firmware link. Unfortunately, for all three methods of upgrade, the first requirement is
Quote:
Make sure the printer is connected to the local network or internet.
OK then...
But it is connected to the local network. All you need to do is either assign a static interface via the menu or just (temporarily) give your PC a static address in the same network as the default IP of the printer (192.0.0.193 would do).

Quote:
Originally Posted by stoa View Post
I've tried assigning a fixed IP, but there was still no connection.
That's odd. If you gave it an IP address in the 192.168.0.0/24 network (say. 192.168.0.99), you should definitely be able to ping the printer. Did you power cycle the printer after you changed the settings?
Quote:
Originally Posted by stoa View Post
Just so I'm not missing something, to assign a fixed IP, there are two steps, correct? One, assign an IP on the router through the web interface. Two, go through the process on the printer to add the IP, mask, and default gateway.
You don't have to do anything on your router. Just assign an unused IP address to the printer and a netmask, and you're good to go. A gateway is not needed as long as you access the printer from within the same IP network. And as I said, the IP address has to be in your network, which is 192.168.0.0/24.
Quote:
Originally Posted by stoa View Post
Actually, I think the reason it didn't work before was because I configured a "fixed" IP address. However, that seems to actually be a fixed address through the DHCP server, and since the DHCP server is where my problems are coming from, I'll have the same problem (which apparently I did, since it didn't work.)

So, unless I's misconstruing some terms, I actually don't have the ability to set a true "static" IP, do I?
When you assign a static or fixed IP address to a device, the DHCP server isn't involved at all. The device in question will have that specific IP address no matter what, come hell or high water.

The only possible problem you could run into, is that the DHCP server doesn't know the address is taken and could conceivably try to assign that same address to another host, which would cause an IP address conflict. In that case, the host with the duplicate address would produce an error message and would not accept the address.

As long as you select an address that's sufficiently high up in the scope, there should be no problem. You can avoid the problem altogether by also excluding or reserving the address in the DHCP scope on the DHCP server, which will prevent the server from issuing that specific address.
 
Old 06-27-2015, 07:47 PM   #19
stoa
Member
 
Registered: Dec 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
OK - that was my problem; I was confusing assigning a device a static IP address with a static network IP address.

After assigning the printer its own IP, I was able to ping it and, through CUPS, get it networked on at least two OS's. (I have not yet been able to get it working through lpr/lpd yet. Save that for another day!)

Huge thanks to all the Slackers, and especially Ser Olmy, who followed this thread over from the Slackware page.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't acquire address via DHCP odjb Linux - Networking 4 10-03-2014 05:45 AM
Windows XP network can't acquire DHCP address from debian squeeze? shams Linux - Networking 11 04-22-2011 04:38 AM
DHCP Server is not offering a Lease (WEP Network) R Tanner Slackware 1 03-29-2010 02:54 AM
Cannot acquire DHCP IP address from router dwhitney67 Linux - Newbie 10 11-02-2007 04:17 PM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration