Page 1 of 2
HP DeskJet 3050 printer not connecting
Posted: Fri Feb 01, 2013 6:28 pm
by pmerrill
In addition to my xBox, I've got an HP DeskJet 3050 printer that refuses to connect to my TP-Link WDR4300 flashed with 1.5.9. I'm guessing it's got something to do with the OpenWRT release rather than any Gargoyle settings.
Anyone know when the next OpenWRT release will be out?
Re: HP DeskJet 3050 printer not connecting
Posted: Fri Feb 01, 2013 6:48 pm
by BashfulBladder
Gargoyle compiles are made from a specific version of OpenWrt. Find rnum for the specific version - currently 35153:
http://www.gargoyle-router.com/gargoyle ... y/build.sh
Current OpenWrt Altitude Adjustment is 35400:
https://dev.openwrt.org/browser/branches
Seems Gargoyle's base OpenWrt revision is about 3 weeks behind, so its pretty timely.
Re: HP DeskJet 3050 printer not connecting
Posted: Sat Feb 02, 2013 12:55 am
by pmerrill
My OpenWRT release is r34879. I'm seriously considering downloading Gargoyle and doing a compile (assuming a recompile will pull the latest version of OpenWRT.
The instructions look pretty straight forward, are there any tricks I should know about?
Re: HP DeskJet 3050 printer not connecting
Posted: Sat Feb 02, 2013 6:28 am
by BashfulBladder
I believe the builds available here comprise the majority of Gargoyle updates since the last front-page release:
http://www.gargoyle-router.com/phpbb/vi ... =14&t=3748
The most recent gargoyle sources have to do with the web interface.
--------
As to how easy Gargoyle is to compile depends wholly on the build platform. I failed first at compiling on Mac OSX (I've got it now), so I compiled under a Parallels 7 VM with Linux Mint 14. A full build on native Mac OS X took be I think 70 minutes (more like 3 hours under Linux Mint 14 VM with 4 cores - long, but an easy compile). I wouldn't be elated to try & do a native Windows/mingw build.
Under Linux Mint 14::
1. set up the build environment with apt-get (you install mostly binaries, precious little compiling)
2. get the gargoyle source from the git repository
3. compile (with for example make V=99 ar71xx.usb_large) No further input is required. Gargoyle automatically pulls the desired OpenWrt version which in turn pulls the desired versions of the linux kernel & such.
Having had to figure out why a Mac OS X build was failing (turns out the Gargoyle build scripts require updated utilities), I see that there some deep source modifications to OpenWrt for things like bandwidth (the netfilter-match-modules folder). The patch scripts employ some fuzzy logic, so they can handle changes it wasn't expecting, but it might not be able to handle a huge jump in the base OpenWrt version. You might want to try an unaltered Gargoyle compile & save the entire build output to a text file for reference. Then bump the OpenWrt version, delete (downloaded, ar71xx-src, built & images directories) & see where that leads you.
Just FYI, I too am @ OpenWrt r34879
Just to be clear, building an unaltered Gargoyle will
NOT get you the latest OpenWrt Altitude Adjustment revision.
Re: HP DeskJet 3050 printer not connecting
Posted: Sat Feb 02, 2013 9:56 am
by freemanmo
pmerrill wrote:In addition to my xBox, I've got an HP DeskJet 3050 printer that refuses to connect to my TP-Link WDR4300 flashed with 1.5.9. I'm guessing it's got something to do with the OpenWRT release rather than any Gargoyle settings.
Anyone know when the next OpenWRT release will be out?
If you was trying to connect your printer to router via wifi, I think the problem may be related to IEEE 802.11 wireless protocol setting. My HP officejet6500+ had wifi connecting problem to my TP WDR4300 before. When I was using openwrt. I had to choose "n+g+b" in order to get the printer connected. Therefore, I believed that hp printer can only connect to the router via 802.11b. But in Gargoyles's operation mode, if you choose "dual band", there is no way you can config the wireless protocol. If you choose "n+g+b", you can't have 5.0 Ghz. Furthermore, the real problem is no matter which operation mode you choose, gargoyles stays with "11ng" which means 802.11b is always turned off. In order to turn it on, you have to edit /etc/config/wireless. In the first section " config wifi-device 'radio0' ", find the line " option hwmode '11ng' ", delete it, save the setting, reboot the router. Then your printer can connect to wifi. Good luck.
Re: HP DeskJet 3050 printer not connecting
Posted: Sat Feb 02, 2013 11:21 am
by BashfulBladder
Re: HP DeskJet 3050 printer not connecting
Posted: Sat Feb 02, 2013 4:17 pm
by freemanmo
My officeject 6500a plus operates in 802.11n only too, but with openwrt firmware, it won't connect wifi unless 802.11b is turned on.
Re: HP DeskJet 3050 printer not connecting
Posted: Sun Feb 03, 2013 2:10 am
by pmerrill
So I tried the 22-Jan version of firmware r35153 with no luck. I'll now try the wireless b patch mentioned and see if I have any luck.
Re: HP DeskJet 3050 printer not connecting
Posted: Sun Feb 03, 2013 4:33 am
by pmerrill
So, found the problem with both the xBox and the HP printer. If I set Gargoyle to Operation Mode G+B then the xBox connects and the HP printer connects. I suspect that both devices use wireless B to initially negotiate with the router and then switch to wireless G in the case of the xBox and wireless N in the case of the HP printer.
If I select Operation Mode N+G+B, neither connect because mode B does not seem to be turned on (or does not work correctly). If you look at /etc/config/wireless when the router is selected to G+B I see the following
option hwmode '11g'
if I select N+G+B or Dual Band, then the line above is replaced with
option hwmode '11ng'
This was not a problem with 1.5.8 but seems to be a problem with 1.5.9, thus I suspect a problem with OpenWRT with wireless B not working correctly.
Can anyone confirm?
P.S. - I tried the suggestion of deleting the line option hwmode but it's really the same as setting Gargoyle to G+B
Re: HP DeskJet 3050 printer not connecting
Posted: Sun Feb 03, 2013 10:41 am
by freemanmo
pmerrill wrote:So, found the problem with both the xBox and the HP printer. If I set Gargoyle to Operation Mode G+B then the xBox connects and the HP printer connects. I suspect that both devices use wireless B to initially negotiate with the router and then switch to wireless G in the case of the xBox and wireless N in the case of the HP printer.
If I select Operation Mode N+G+B, neither connect because mode B does not seem to be turned on (or does not work correctly). If you look at /etc/config/wireless when the router is selected to G+B I see the following
option hwmode '11g'
if I select N+G+B or Dual Band, then the line above is replaced with
option hwmode '11ng'
This was not a problem with 1.5.8 but seems to be a problem with 1.5.9, thus I suspect a problem with OpenWRT with wireless B not working correctly.
Can anyone confirm?
P.S. - I tried the suggestion of deleting the line option hwmode but it's really the same as setting Gargoyle to G+B
"G+B" works with my printers, but I have to use the way of either deleting the line "option hwmode.." or changing it to "11g" because I want to use dual band.