LinuxQuestions.org
Review your favorite Linux distribution.
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-2014, 02:10 AM   #16
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17

Update: I think you're screwed, but read on to understand why. Simple answer: The coders who made the software and firmware for the F9K1102v1 did not have Linux access in mind. The code is blackbox and writing over the firmware and software with Linux code is not practical due to the lack of support for the Belkin N600 DB F9K1102v1 wireless router. That's not to say it's impossible. You would need a fair amount of coding experience and so on to make something like this work. If there is any other way, I'm not aware of it; and I reason a person who has more experience with hardware and coding would. Maybe the reason no one has touched the router is due to the Broadcom chip? Seems like an ancient issue from back in the day... Broadcom chips have been known to be a b*tch that requires reverse engineering and large amounts of coffee.

Your solutions:

(1) Buy a router that is compatible with open-source router firmware
(2) Hook the printer to a computer and network the computer to the router (I did this recently)

The rest may be irrelevant but interesting:

Seems like you would want to install HPLIP for the driver and use CUPs to establish the connection to the router. You would have to figure out the location of the printer in the router, I assume. I'm assuming it's the IP address of the router along with some USB information: This appears to be the mysterious part. Also, check your firewalls. Maybe there is a way to hack out the location of the printer connected to the router in Windows. That requires more networking knowledge than I have. This, at the moment, seems like a networking issue.

How the printer is getting its identity from the router is what is mysterious. An understanding of the underlying code appears to be important here. So far, it seems that I've come across someone wiping the code of a wireless router and replacing it with open souce: http://mattie47.com/getting-cups-working-on-openwrt/

I'm not sure if that's what a person will have to do in this situation, but if the code is blackbox and the location of the printer hidden, that might be the direction you head.

Also, list the past threads yous saw.

So far, I'm thinking an open-source router code with CUPs on it. With the open-source router, you could grab the identity of the printer location, as that website lists. However, I don't know how else you're going to grab the identity of the printer hooked up to the USB port of the wireless router. Also, there is this issue as the website lists:
Quote:
One issue that we face having a wireless router act as a print server, is that this wasn’t its original function, and therefore there are certain constraints that we must get around. 1 is that the router has an extremely small and limited internal memory. With CUPs, when a user sends a job to the printer, the whole file gets transferred across, and needs to be stored, or cached somewhere while the printer gets ready to start printing. Therefore, we need to set up a usb drive for spooling. You may get away with not having to do this step, but you also may have print job issues down the track if you’re printing a big file. Chances are you have a spare usb flash drive lying around not being used, so why not just do the extra step.
Here is how that person got the identity of the printer:
Quote:
Then, you need to change the permissions on /usr/lib/cups/backend/usb to 700.

To do this, enter: chmod 700 /usr/lib/cups/backend/usb.

This changes the behavior of cups, which normally tries to execute the backend through a user account other than root. This forces the backend to run as root from cups.

Okay! Got this far? Try entering the following command:

root@OpenWrt:/# /usr/lib/cups/backend/usb

You should hopefully see something like:

DEBUG: list_devices
DEBUG: usb_find_busses=1
DEBUG: usb_find_devices=7
direct usb://Canon/MX310%20series?serial=406F4E&interface=1 “Canon MX310 series” “Canon MX310 series” “MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:MX310 series;CLS:PRINTER;DES:Canon MX310 series;VER:1.030;STA:10;HRI:EU;MSI:E3;” “”

Yus! This is a good sign! This means that CUPs is talking correctly with your printers. Get an error? I originally had:

root@OpenWrt:/usr/lib/cups/backend# /usr/lib/cups/backend/usb
/usr/lib/cups/backend/usb: can’t load library ‘libusb-0.1.so.4′



Fix:
root@OpenWrt:/usr/lib# opkg update
Downloading http://downloads.openwrt.org/backfir...es/Packages.gz.
root@OpenWrt:/usr/lib# opkg install libusb

Maybe if running open-source and CUPs on the router, then CUPs could be run on the desktop computer and have the spool on the computer, thus use CUPS on the desktop to talk to CUPs on the router to print things out...

I think this thread is getting closer to a solve, however.

A user comment on that mattie website said this:


Quote:
Thanks very much. I’ve tried that on Backfire box and it works. Especially that chmod part was what I missed. I have HP printer so I installed also hplip, so I chmoded backend/hp instead of usb. Since then Find new printer worked but only raw queue seems to work but haven’t tried a lot.

http://infodepot.wikia.com/wiki/Belkin_F9K1102_v1

Quote:
Homepage


Belkin F9K1102 v1

Wikipedia


Belkin

WikiDevi


Belkin F9K1102

dd-wrt


Not Supported

OpenWRT


Not Supported

Tomato


Not Supported

TomatoUSB


Not Supported

Gargoyle


Not Supported


https://wikidevi.com/wiki/Belkin_F9K1102_v1

Quote:
The USB ID of the on-board BCM43236 is 0a5c:bd17.

spider terms: F9K1102, belkin, wireless, router, print server, wireless router, F9K1102 v1, F9K1102v1, CUPS, HPLIP, N600 DB

Last edited by Cyberman; 06-27-2014 at 04:16 AM.
 
Old 06-27-2014, 09:03 AM   #17
Martyn Bell
LQ Newbie
 
Registered: Jun 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
When you go into the admin page does it offer any printer choices. The devices like this I've seen tend to have an embedded linux running a way to share a printer based on the menu choices.
Thanks Jefro

I have been all the way through the Router web page, but there is nothing about the printer or USB port.
 
Old 06-27-2014, 09:28 AM   #18
Martyn Bell
LQ Newbie
 
Registered: Jun 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you everyone for all your help

I have tried before to hook the printer to a computer and network the computer to the router. I spent weeks trying to do that but it would not work & that is why I thought of using a router with a USB port.

I think I have reached the end of the road here. I will try some of these final ideas & let you know if I get anywhere.
 
Old 06-28-2014, 08:50 PM   #19
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
Quote:
Originally Posted by Martyn Bell View Post
Thank you everyone for all your help

I have tried before to hook the printer to a computer and network the computer to the router. I spent weeks trying to do that but it would not work & that is why I thought of using a router with a USB port.

I think I have reached the end of the road here. I will try some of these final ideas & let you know if I get anywhere.
I have a thread from a week or a couple back where I got a printer hooked up to a computer and turned it into a network printer that way. That's not a difficult task, and all I had to do was manipulate CUPs rather than play with SAMBA. It was for an Officejet 6210 all-in-one. A person should be able to do it in like a few minutes, as long as SAMBA isn't necessary. It took me about a day to notice that SAMBA was unnecessary and that all I had to do was play with CUPS.

http://www.linuxquestions.org/questi...er-4175507577/

Last edited by Cyberman; 06-28-2014 at 08:51 PM.
 
Old 06-30-2014, 06:03 AM   #20
Martyn Bell
LQ Newbie
 
Registered: Jun 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you Cyberman for your help
but I no longer wish to use CUPS or SAMBA to configure my pc as a server. This would mean that to print from other laptops I would have to turn on or leave my desktop pc turned on all the time.

I have now set up Windows XP as a multi boot on my desktop pc so I use windows for printing. Using Windows I have installed the Belkin installation disc & it works. This defeates the need for Ubuntu but I still have it installed.
 
  


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
Setting up a shared printer plugged into tp-link router USB port theCapitain Linux - Networking 6 04-29-2013 11:17 PM
setting up HP printer plugged into Belkin router USB port RayGo75 Linux - Newbie 14 01-16-2012 08:03 PM
D-Link router's USB port printer problems ninjaneer Linux - Networking 3 02-08-2009 02:34 PM
port forwarding on Belkin 4-port Cable/DSL Gateway Router sycamorex Linux - Networking 5 03-05-2007 03:27 PM
cannot find usb port of my connected printer kpachopoulos Debian 1 08-10-2006 07:29 AM

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

All times are GMT -5. The time now is 11:59 PM.

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