Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
how do i open UDP Port 54925 in the firewall I'm using ubuntu 9.10 just love it by the way downloaded the software from Brother it's a 290c printer Woks ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38

    scanner trouble

    how do i open UDP Port 54925 in the firewall
    I'm using ubuntu 9.10 just love it by the way
    downloaded the software from Brother it's a 290c printer
    Woks but the scanner wont, the website said to open UDP Port 54925 in the firewall.
    I don't know how to do that I'm not even sure i have firewall
    tnx

  2. #2
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38

    update

    I don't think the problem is with the ports, when i run xsane in root it works
    I think i need to find how to give my scanner root access.

  3. #3
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Typically Ubuntu has come with all ports open (effectively no firewall).

    SANE: Supported Devices

    That's not encouraging. I'm still trying to figure out how to look at the Mac driver disk they offer for download, but I don't hold hopes for that either. This is one of those things where lacking source code makes it difficult to make a device work. Lacking a proper backend for the scanner might be a fatal blow.

  4. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    Quote Originally Posted by perkunas View Post
    I don't think the problem is with the ports, when i run xsane in root it works
    I think i need to find how to give my scanner root access.
    You will probably find you need to give regular users read/write access to the scanner device. This looks more like a device permissions problem. You may be able to chmod the device to allow regular user access.

  5. #5
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Whoops, I see. Okay cool. I was working on this for so long I forgot to check first if anything had happened in the mean time. Doh!

    Anyway, AFA the device permissions problem, I got around that problem with my Canon by enabling the net interface for sane. Then when I launch xsane, it gives two identical device names except one is prepended with NET:. The net one is accessible to users.

    Not most ideal, but works.

  6. #6
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38

    sure but

    Jonathan183
    "You will probably find you need to give regular users read/write access to the scanner device. This looks more like a device permissions problem. You may be able to chmod the device to allow regular user access"
    How do i do that, what do i type in terminal?.
    tnx

  7. #7
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    The problem with that theory, assuming that this is a USB device managed by udev, is the permissions change back to default with every boot or device power cycle, or just being unplugged and plugged back in.

    chmod 777 /dev/DEVICE gives full permissions to DEVICE to everybody.

    If the scanner however is an older parallel port model, just make sure the user is a member of the group lp .

  8. #8
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38

    ok but...

    D-cat
    OK sure but what do type in terminal
    "root@peter-laptop:/home/peter# chmod 777 /dev/DEVICE
    chmod: cannot access `/dev/DEVICE': No such file or directory"
    it's a usb scanner/printer MFC 950c

  9. #9
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    You have to replace "DEVICE" with the device name/port the scanner is plugged into.. for example, if it's installed as /dev/usbdev2.1_ep(xx), you'd do something like

    chmod 777 /dev/usbdev2.1_ep*

    Finding out which of your usb devices was assigned to the scanner is another issue by itself. Since it's regularly changing, it's just not worth working this method. You could just run the whole USB gambit:

    sudo chmod 777 /dev/usb*

    which could make for some instability or security problems within the USB system, and like I said, the "fix" is temporary if it even works.

    OTOH, editing /etc/sane.d/net.conf to include a line

    localhost

    fixes the problem permanently.

  10. #10
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38

    this is so complicated lol

    if I use Xsane by using
    $gksudo xsane
    it says xsane 0.996 MFC-290C:bus7;dev1
    Funny thing now that ive played with the settings every way possible.
    I can't get my 4 gig sony usb flash drive to work either.
    It comes up and says its a MP3 player and its not, i cant open it.
    heres what I get when using lsusb with both printer and flash drive pluged in
    peter@peter-laptop:~$ lsusb
    Bus 002 Device 003: ID 054c:0243 Sony Corp. MicroVault Flash Drive
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    peter@peter-laptop:~$

    please help me.......
    tnx

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...