Re: [gentoo-user] Network scanner

2017-02-24 Thread Neil Bothwick
On Fri, 24 Feb 2017 16:19:58 -0600, Dale wrote:

> > I think I'm missing entry in make.conf:
> > I have
> > SANE_BACKENDS="epson2"
> >
> > but I'm not sure what to enter for brother scanner.

> Unless you are using portage to install the Brother drivers, I don't
> think that setting will matter.  Emerge takes note of settings there
> when it is about to build packages.  If you install a package by hand,
> outside portage, it won't likely matter. 

That's right, the setting tells portage which of the drivers from
sane-backends you want installed. The Brother drivers aren't in
sane-backends.

> I've seen on this list where some seem to have got Brother to work. 
> Maybe a search of past threads would shed some light.  They might have
> some tiny snippet that helps get you on the road to success. 

I had a Brother AIO devices and did have it working. Search bugzilla for 
an ebuild for the Brother proprietary drivers.


-- 
Neil Bothwick

I've got a Mickey Mouse PC with a Goofy operating system.


pgpwMozzGeWvl.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] create network by hand with devices are not present

2017-02-24 Thread Mick
On Friday 24 Feb 2017 12:04:52 Harry Putnam wrote:
> Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
>  Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram
> 
> Having a problem getting a network up... I know the rudimentaries of
> ifconfig and route enough to use them to create one.
> 
> However the error I get with trying that seems to preclude that
> method.
> 
> SIOCSIFADDR no such device
> enp0s3 error while getting interface flags: no such device
> 
> Does it mean the tools for creating such a device are absent or what?
> 
> I've hit this before a good while ago and don't remember any more how
> to get around it.
> 
> The link in /etc/init.d/ like: `ln -sf net.lo net.enp0s3' is present

Is the necessary module loaded?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Network scanner

2017-02-24 Thread Dale
the...@sys-concept.com wrote:
> On 02/24/2017 02:28 PM, Alan McKinnon wrote:
>> On 24/02/2017 23:25, the...@sys-concept.com wrote:
>>> I've a Brother scanner ADS-2400N connected via network port.
>>>
>>> - I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
>>> - started: /etc/init.d/saned
>>> - installed brother printer drivers:
>>>   rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm
>>>
>>>   # brsaneconfig4 -q |grep 2400
>>>  65 "ADS-2400N"
>>>
>>> but when I run as user: "scanimage -L"
>>> device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
>>>
>>> only my epson scanner is showing up, NO Brother scanner is detected.
>>>
>>> What am I missing?
>>
>> Maybe that you are using a Red Hat package manager on a Gentoo machine?
>> Or that you wanted to ask fedora-user and sent it to gentoo-user by mistake?
> I think I'm missing entry in make.conf:
> I have
> SANE_BACKENDS="epson2"
>
> but I'm not sure what to enter for brother scanner.
>
> --
> Thelma
>
>


Unless you are using portage to install the Brother drivers, I don't
think that setting will matter.  Emerge takes note of settings there
when it is about to build packages.  If you install a package by hand,
outside portage, it won't likely matter. 

I might add this for future reference.  Before buying equipment, make
sure it works with Linux, the distro you use for sure.  Some brands work
pretty easy but has some models that don't.  HP for example generally
works however, I've seen certain models that have something unique about
them that causes them to not work at all or only certain limited
functions.  In my experience Lexmark is one that I have never got to
work, any model.  I avoid Lexmark like it's a disease.  Scanners are in
the same boat as printers, since some have both built in. 

I've seen on this list where some seem to have got Brother to work. 
Maybe a search of past threads would shed some light.  They might have
some tiny snippet that helps get you on the road to success. 

Dale

:-)  :-)



Re: [gentoo-user] Network scanner

2017-02-24 Thread thelma
On 02/24/2017 02:28 PM, Alan McKinnon wrote:
> On 24/02/2017 23:25, the...@sys-concept.com wrote:
>> I've a Brother scanner ADS-2400N connected via network port.
>>
>> - I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
>> - started: /etc/init.d/saned
>> - installed brother printer drivers:
>>   rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm
>>
>>   # brsaneconfig4 -q |grep 2400
>>  65 "ADS-2400N"
>>
>> but when I run as user: "scanimage -L"
>> device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
>>
>> only my epson scanner is showing up, NO Brother scanner is detected.
>>
>> What am I missing?
> 
> 
> Maybe that you are using a Red Hat package manager on a Gentoo machine?
> Or that you wanted to ask fedora-user and sent it to gentoo-user by mistake?

I think I'm missing entry in make.conf:
I have
SANE_BACKENDS="epson2"

but I'm not sure what to enter for brother scanner.

--
Thelma



Re: [gentoo-user] Network scanner

2017-02-24 Thread Alan McKinnon
On 24/02/2017 23:46, the...@sys-concept.com wrote:
> On 02/24/2017 02:28 PM, Alan McKinnon wrote:
>> On 24/02/2017 23:25, the...@sys-concept.com wrote:
>>> I've a Brother scanner ADS-2400N connected via network port.
>>>
>>> - I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
>>> - started: /etc/init.d/saned
>>> - installed brother printer drivers:
>>>   rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm
>>>
>>>   # brsaneconfig4 -q |grep 2400
>>>  65 "ADS-2400N"
>>>
>>> but when I run as user: "scanimage -L"
>>> device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
>>>
>>> only my epson scanner is showing up, NO Brother scanner is detected.
>>>
>>> What am I missing?
>>
>>
>> Maybe that you are using a Red Hat package manager on a Gentoo machine?
>> Or that you wanted to ask fedora-user and sent it to gentoo-user by mistake?
> 
> No, Brother only supply rpm or deb drivers.
> I was able to use "rpm" to install brother driver this way, so it should
> work with the scanner as well.

I see. Should != will, and assume is the mother of all fuckups

Well, I'm not here to fix every problem you encounter and judging by the
sheer amount of posting you make and the level of content, I have to
conclude that you are assuming we are.

What steps have YOU taken to try figure this out and actually help
yourself? Saying that you installed an rpm on a Gentoo machine and stuff
don't work, what's wrong? is not the expected level of troubleshooting.

I think you should google for "How to ask smart questions" by Eric S.
Raymond


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Network scanner

2017-02-24 Thread thelma
On 02/24/2017 02:28 PM, Alan McKinnon wrote:
> On 24/02/2017 23:25, the...@sys-concept.com wrote:
>> I've a Brother scanner ADS-2400N connected via network port.
>>
>> - I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
>> - started: /etc/init.d/saned
>> - installed brother printer drivers:
>>   rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm
>>
>>   # brsaneconfig4 -q |grep 2400
>>  65 "ADS-2400N"
>>
>> but when I run as user: "scanimage -L"
>> device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
>>
>> only my epson scanner is showing up, NO Brother scanner is detected.
>>
>> What am I missing?
> 
> 
> Maybe that you are using a Red Hat package manager on a Gentoo machine?
> Or that you wanted to ask fedora-user and sent it to gentoo-user by mistake?

No, Brother only supply rpm or deb drivers.
I was able to use "rpm" to install brother driver this way, so it should
work with the scanner as well.

--
Thelma




Re: [gentoo-user] Network scanner

2017-02-24 Thread Alan McKinnon
On 24/02/2017 23:25, the...@sys-concept.com wrote:
> I've a Brother scanner ADS-2400N connected via network port.
> 
> - I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
> - started: /etc/init.d/saned
> - installed brother printer drivers:
>   rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm
> 
>   # brsaneconfig4 -q |grep 2400
>  65 "ADS-2400N"
> 
> but when I run as user: "scanimage -L"
> device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
> 
> only my epson scanner is showing up, NO Brother scanner is detected.
> 
> What am I missing?


Maybe that you are using a Red Hat package manager on a Gentoo machine?
Or that you wanted to ask fedora-user and sent it to gentoo-user by mistake?



-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Network scanner

2017-02-24 Thread thelma
I've a Brother scanner ADS-2400N connected via network port.

- I edit: /etc/sane.d/saned.conf (entered my network address: 10.0.0.1)
- started: /etc/init.d/saned
- installed brother printer drivers:
  rpm  -ihv  --nodeps brscan4-0.4.4-1.x86_64.rpm

  # brsaneconfig4 -q |grep 2400
 65 "ADS-2400N"

but when I run as user: "scanimage -L"
device `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner

only my epson scanner is showing up, NO Brother scanner is detected.

What am I missing?

-- 
Thelma



Re: [gentoo-user] rsync -av --delete

2017-02-24 Thread thelma
On 02/24/2017 11:35 AM, the...@sys-concept.com wrote:
> rsync -av --delete fd@10.0.0.8:/home/fd/keys/* keys/
> 
[snip]

It should be:
rsync -av --delete fd@10.0.0.8:/home/fd/keys/ keys/

--
Thelma



[gentoo-user] rsync -av --delete

2017-02-24 Thread thelma
rsync -av --delete fd@10.0.0.8:/home/fd/keys/* keys/

--delete does not remove files from target (keys/) folder that are no
longer in source dir.

Why "--delete" will not remove from target file?
sys4.crt
sys4.key
sys7.crt
sys7.key

source dir:
ll /home/fd/keys/
total 20
-rw--- 1 fd fd 1749 Feb 24 11:24 ca.crt
-rw--- 1 fd fd 5239 Feb 24 11:24 sys3.crt
-rw--- 1 fd fd 1704 Feb 24 11:23 sys3.key
-rw--- 1 fd fd  636 Feb 24 11:25 ta.key

target dir:
ll keys/
total 44
-rw--- 1 thelma users 1749 Feb 24 11:24 ca.crt
-rw--- 1 thelma users 5239 Feb 24 11:24 sys3.crt
-rw--- 1 thelma users 1704 Feb 24 11:23 sys3.key
-rw--- 1 thelma users 5239 Feb 24 11:36 sys4.crt
-rw--- 1 thelma users 1708 Feb 24 11:36 sys4.key
-rw--- 1 thelma users 5239 Feb 24 11:36 sys7.crt
-rw--- 1 thelma users 1704 Feb 24 11:36 sys7.key
-rw--- 1 thelma users  636 Feb 24 11:25 ta.key

-- 
Thelma



[gentoo-user] create network by hand with devices are not present

2017-02-24 Thread Harry Putnam
Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
 Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram

Having a problem getting a network up... I know the rudimentaries of
ifconfig and route enough to use them to create one.

However the error I get with trying that seems to preclude that
method.

SIOCSIFADDR no such device
enp0s3 error while getting interface flags: no such device

Does it mean the tools for creating such a device are absent or what?

I've hit this before a good while ago and don't remember any more how
to get around it.

The link in /etc/init.d/ like: `ln -sf net.lo net.enp0s3' is present