Re: [gentoo-user] DNS from dialup or wifi for broadband connection?

2017-03-11 Thread Herminio Hernandez, Jr.
Or you can use dnscrypt-proxy see here
https://github.com/jedisct1/dnscrypt-proxy It is BSD licensed and encrypts
DNS requests. I have set it on an OpenBSD router and it works well.

On Sun, Mar 12, 2017 at 12:18 AM, Walter Dnes  wrote:

>   Starting a separate topic, rather than hijack the main thread...
>
> On Fri, Mar 10, 2017 at 01:50:26PM -0600, Corbin Bird wrote
> >
> > 6 # : ISP is starting to filter customers web access. The ISP is
> > deciding what sites customers are allowed to see. ( look up the
> > practice called "ransom" ).
>
>   Does this consist of grabbing outbound traffic to port 53?  If so, I
> wonder if the following is possible...
>
> * Can a POTS dialup or a wifi connection co-exist with a broadband
>   connection?  It would make the network config and route config more
>   complex.
>
> * If yes, can iptables be used to redirect only outbound-to-port-53
>   traffic to the dialup/wifi connection, with everything else going to
>   the broadband connection?
>
> * Another option, if you know the alternate DNS server address in
>   advance, set up routing of the /32 (for the alternate DNS server)
>   to ppp0 or wlan0 with higher priority than the default route.  This
>   doesn't require any iptables magic.
>
> * Can the standard linux network stack handle this properly, and use
>   incoming DNS responses from the dialup/wifi connection for the IP
>   addresses of websites, etc to be accessed via broadband?
>
>   DNS traffic is low volume, usually fitting into 1 packet.  So it
> would be feasible to divert DNS requests to a lower-speed connection.
> The broadband ISP would handle all the highspeed website, etc, traffic
> but it would not see any DNS traffic, and would not be able to intercept
> it.
>
> --
> Walter Dnes 
> I don't run "desktop environments"; I run useful applications
>
>


[gentoo-user] DNS from dialup or wifi for broadband connection?

2017-03-11 Thread Walter Dnes
  Starting a separate topic, rather than hijack the main thread...

On Fri, Mar 10, 2017 at 01:50:26PM -0600, Corbin Bird wrote
> 
> 6 # : ISP is starting to filter customers web access. The ISP is
> deciding what sites customers are allowed to see. ( look up the
> practice called "ransom" ).

  Does this consist of grabbing outbound traffic to port 53?  If so, I
wonder if the following is possible...

* Can a POTS dialup or a wifi connection co-exist with a broadband
  connection?  It would make the network config and route config more
  complex.

* If yes, can iptables be used to redirect only outbound-to-port-53
  traffic to the dialup/wifi connection, with everything else going to
  the broadband connection?

* Another option, if you know the alternate DNS server address in
  advance, set up routing of the /32 (for the alternate DNS server)
  to ppp0 or wlan0 with higher priority than the default route.  This
  doesn't require any iptables magic.

* Can the standard linux network stack handle this properly, and use
  incoming DNS responses from the dialup/wifi connection for the IP
  addresses of websites, etc to be accessed via broadband?

  DNS traffic is low volume, usually fitting into 1 packet.  So it
would be feasible to divert DNS requests to a lower-speed connection.
The broadband ISP would handle all the highspeed website, etc, traffic
but it would not see any DNS traffic, and would not be able to intercept
it.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] ttyUSB not showing up

2017-03-11 Thread Adam Carter
On Sun, Mar 12, 2017 at 3:47 PM,  wrote:

> I have serial to USB converter, want to connect fax/modem to it.
>
> In kernel:
> CONFIG_USB_SERIAL=y
> CONFIG_USB_UHCI_HCD=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_HCD_PCI=y
> # CONFIG_USB_OHCI_HCD_PLATFORM is not set
>
> lsusb (device is showing up)
> ...
> Bus 005 Device 003: ID 0711:0230 Magic Control Technology Corp. MCT-232
> Serial Port
>
> but the system did not create ttyUSB entry in /dev.
>

It will be created automatically once you have the right driver. Go back to
the kernel setup Device Drivers -> USB Support -> USB Serial Converter
support, enable that as a module then under that enable the correct driver
as a module. You might need to google a bit to find the correct driver from
the list.

Then you just;
make modules && make modules_install
modprobe usbserial
this might autoload the correct driver, if not modprobe the drive you just
built (the kernel source help should show the driver name). It might even
be possible to build all the driver modules (if you cant find the right
one) and allow the autoloading to load the correct one. I cant remember
what works with that stuff.

Here's what dmesg shows when i plug mine in - as you can see its a FTDI;
[540721.409952] usb 6-1.3: new full-speed USB device number 5 using xhci_hcd
[540721.503389] usb 6-1.3: New USB device found, idVendor=0403,
idProduct=6001
[540721.503396] usb 6-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[540721.503401] usb 6-1.3: Product: FT232R USB UART
[540721.503405] usb 6-1.3: Manufacturer: FTDI
[540721.503409] usb 6-1.3: SerialNumber: A600E3MH
[540721.535899] usbcore: registered new interface driver usbserial
[540721.536982] usbcore: registered new interface driver ftdi_sio
[540721.537006] usbserial: USB Serial support registered for FTDI USB
Serial Device
[540721.537100] ftdi_sio 6-1.3:1.0: FTDI USB Serial Device converter
detected
[540721.537147] usb 6-1.3: Detected FT232RL
[540721.539219] usb 6-1.3: FTDI USB Serial Device converter now attached to
ttyUSB0


Re: [gentoo-user] [SOLVED] ttyUSB not showing up

2017-03-11 Thread thelma



Thelma
On 03/11/2017 10:11 PM, Dale wrote:
> the...@sys-concept.com wrote:
>> I have serial to USB converter, want to connect fax/modem to it.
>>
>> In kernel: 
>> CONFIG_USB_SERIAL=y
>> CONFIG_USB_UHCI_HCD=y
>> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
>> CONFIG_USB_OHCI_HCD=y
>> CONFIG_USB_OHCI_HCD_PCI=y
>> # CONFIG_USB_OHCI_HCD_PLATFORM is not set
>>
>> lsusb (device is showing up)
>> ...
>> Bus 005 Device 003: ID 0711:0230 Magic Control Technology Corp. MCT-232 
>> Serial Port
>>
>> but the system did not create ttyUSB entry in /dev.
>>
>> How to create ttyUSB?  I couldn't find any instructions on how is it done in 
>> Gentoo.
>>
> 
> I'm not sure on this but I did google a bit.  Does this help?
> 
> https://txlab.wordpress.com/2016/06/14/udev-rules-for-ttyusb-devices/
> 
> I would think the udev rules would work in Gentoo as well. 
> 
> Dale
> 
> :-)  :-)

Thanks for speedy reply. I found it.
I was missing in kernel: CONFIG_USB_SERIAL_MCT_U232=y
Enable it and ttyUSB0 showed up.

Hylafax works perfect over it.

My ttyS0 on my motherboard (I have only one) is toasted.  I don't even
know how to trouble shoot serial COM port.  I was able to send a fax out
but did not receive any fax for over several months (and I get at least
few spam faxes a month).  So after upgrade when I stared to test Hylafax
I realized I have a problem.  I couldn't receive faxes from remote server.
The modem lights were ON, it worked as I was turning it ON/OFF via "init
q". So I never suspected I have a problem with COM port on the motherboard.

When I use the same equipment and line with my other backup servers I
was able to receive faxes just find.  So I narrow it down to COM port.
I dusted up an old USB serial adapter connected modem to it and can
send/receive faxes perfectly.  It took me all Saturday to figure it out :-/

--
Thelma






Re: [gentoo-user] ttyUSB not showing up

2017-03-11 Thread Dale
the...@sys-concept.com wrote:
> I have serial to USB converter, want to connect fax/modem to it.
>
> In kernel: 
> CONFIG_USB_SERIAL=y
> CONFIG_USB_UHCI_HCD=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_HCD_PCI=y
> # CONFIG_USB_OHCI_HCD_PLATFORM is not set
>
> lsusb (device is showing up)
> ...
> Bus 005 Device 003: ID 0711:0230 Magic Control Technology Corp. MCT-232 
> Serial Port
>
> but the system did not create ttyUSB entry in /dev.
>
> How to create ttyUSB?  I couldn't find any instructions on how is it done in 
> Gentoo.
>

I'm not sure on this but I did google a bit.  Does this help?

https://txlab.wordpress.com/2016/06/14/udev-rules-for-ttyusb-devices/

I would think the udev rules would work in Gentoo as well. 

Dale

:-)  :-)



[gentoo-user] ttyUSB not showing up

2017-03-11 Thread thelma
I have serial to USB converter, want to connect fax/modem to it.

In kernel: 
CONFIG_USB_SERIAL=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set

lsusb (device is showing up)
...
Bus 005 Device 003: ID 0711:0230 Magic Control Technology Corp. MCT-232 Serial 
Port

but the system did not create ttyUSB entry in /dev.

How to create ttyUSB?  I couldn't find any instructions on how is it done in 
Gentoo.

-- 
Thelma



Re: [gentoo-user] ISP extortion [ Partially Resolved ]

2017-03-11 Thread Rich Freeman
On Sat, Mar 11, 2017 at 7:06 PM, Corbin Bird  wrote:
>
> Will act on the ( lawyer, deposit ) suggestions. And a new e-mail provider.
>

Good luck with that...

Honestly, I think a lawyer is a waste of money here.  If you're in the
USA these sorts of arrangements are completely commonplace.  It also
is common to put nonsense like "you can't talk to the FCC" in
contracts, though you can basically just ignore that sort of thing.

In any case, in the end the ISP is going to make a unilateral decision
about whether they're willing to bend any of their rules for you, and
if you don't like their decision your only options are internet or no
internet.

Yeah, it is stupid, but that's life in the USA.  By all means talk to
your elected representative.  Or, better still, contribute $100k to
their re-election campaign as that will get you a lot further.  Be
prepared to outbid the ISP who no doubt has already made a nice
contribution.  We can all commiserate about how lousy this is, but
you're wasting your time+money if you think you're going to win some
kind of legal battle with them.

-- 
Rich



Re: [gentoo-user] Something is blocking an addition of fonts

2017-03-11 Thread Corbin Bird
On 03/10/2017 07:24 PM, 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
> 
> I've added some fonts from outside portage this way:
> 
>  (Sorry that what follows is a bit of a confusing mess)
> 
> mkdir /usr/share/fonts/terminus
> loaded the fonts into termininus
> 
> Ran:
>mkfontdir /usr/share/fonts/terminus
> Ran:
>  xset fp rehash
> 
> Which is supposed to tell the X fonts tools about the new
> set of fonts with out having to restart X.
> 
> I thought a bit and wondered if I might should have added the new
> directory to the font path.. I don't really think so since the default
> path covers the new one but stillso:
> 
> Ran:
>   xset +fp  /usr/share/fonts/terminus
> 
> That is supposed to prepend that path to the existing path.
> 
> Checked with:
> 
>   xset q
> 
> And I see the new directory
> 
>   Font Path:
> /usr/share/fonts/terminus_hp3-170310/,/usr/share/fonts/misc/,built-ins
> 
> 
> The new fonts show up with `fc-list'
> 
> OK, all seems to be working... 
> 
> Until I actually try to use them.
> 
> xterm -fa ter-u14b_iso-8859-1.pcf
> (output wrapped for mail)
> 
> Warning: Cannot convert string
> "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type
> FontStruct
> 
> Warning: Missing charsets in String to FontSet conversion
> 
> It appears the xterm is trying to load a font from somewhere else even
> though I asked for  `ter-u14b_iso-8859-1.pcf'
> 
> I'm not at all sure where the -adobe-helvetica if being called.
> 
>   sudo grep -r 'adobe-helvetica'  /usr/share/fonts
>
> 
> However there are piles of fonts with `adobe' in the name:
> 
>   sudo grep -r adobe /usr/share/fonts|wc-l
> 173
> 
> They appear to be mostly like this:
> 
>/usr/share/fonts/corefonts/fonts.scale:verdanaz.ttf
>-microsoft-verdana-bold-i-normal--0-0-0-0-p-0-adobe-standard
> 
> Thought it might be from .Xresoures but there are no fonts there with
> adobe in the name
> 
>`grep adobe .Xresources' 
> 
> Anybody here recognize what the problem might be?
> 
> There are a few helvetica in the .. only one is english:
> 
>/usr/share/fonts/misc/fonts.alias:variable \
>  -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
> 
> And two japanese helveticas
> 
> So I can't even tell where that adobe font is coming from
>   
> 
> 

The "terminus" font is in the Gentoo repo.

Try emerging "media-fonts/terminus-font" && activating with "eselect
fontconfig".

USE flags for the font you might be interested in :

center-tilde
-->Place the '~' character vertically centered on the line instead of to
the top.

pcf
-->Install Portable Compiled Font (PCF) (required for X11)

pcf-unicode-only
-->Remove non-unicode PCF fonts that could be problematic. See bug #520222.

psf
-->Install PC Screen Font (PSF) with unicode data (for linux console)

Corbin




[gentoo-user] ISP extortion [ Partially Resolved ]

2017-03-11 Thread Corbin Bird
Thanks for all the responses.
--

AirVPN seems to solve a most if not all of the filtering / blocking
issues. ( Don't try their pre-built client / PATHs are wrong. )
--

"emerge-webrsync" was setup with GPG signature checking.

What the ISP is doing looks to be ?attaching? / ?embeding? a "process",
that attempts to execute on my machine. What it did was corrupt
ebuilds/metadata/hashes while syncing the local tree.

This command would crash, no error, no output, every single time :
"emerge -pv --update --newuse --tree --deep --with-bdeps=y @world"

They obviously didn't achieve what they wanted. From then on, the HTTP
request made by "emerge-webrsync" was blocked one way. My Gentoo box was
able to talk AT Gentoo's webrsync servers. Didn't receive anything back
from the servers. ( all packets dropped? )

--

Converted to "rsync" for using "emerge --sync" instead.

"emerge --sync" complained about having to "clean up the mess" after the
VPN was running. The "clean up" seems to have succeeded.

--

Will act on the ( lawyer, deposit ) suggestions. And a new e-mail provider.

This may sound screwy ... with the VPN, the web browser and web sites
are working/responding so much better.

Corbin



Re: [gentoo-user] ISP extorsion - how to negate / get around?

2017-03-11 Thread Walter Dnes
On Fri, Mar 10, 2017 at 01:50:26PM -0600, Corbin Bird wrote

> 2 # : And with the death of FCC privacy rules, the new ISP is forcing
> me to update their records ( for sale-of purposes ). This includes
> phone ( all ), SSN, bank account numbers, and credit card numbers.
>
> 3 # : the ISP attempting to force agreement to "no communications
> allowed with the FCC". Also is attempting to force agreement to
> "Arbitration with the ISP as the Arbiter" for all complaints.

  Check with a lawyer; hopefully you can get the first consultation
free.  I can see a legitimate need for one phone number and one payment
method, i.e. one credit card (if billed against the card) *OR* one bank
account (if billed as a direct debit).  The rest is not necessary.  Ask
the lawyer about SSN and other extraneous stuff.

> 5 # : external e-mail clients ( Thunderbird, Claws-Mail, etc. )
> are now starting to have problems. ISP solution -> must use their
> web based e-mail app only ( only works with Windoze, surprise! ).
> 
> 6 # : ISP is starting to filter customers web access. The ISP is
> deciding what sites customers are allowed to see. ( look up the
> practice called "ransom" ).
> 
> 7 # : no other broadband ISP in the regional area. No alternatives.
> 
> They are using a hijack technique that I don't know the name of,
> attempting to force compliance.
> 
> NOTE : The ?hijack technique? will corrupt the portage trees if you
> use "emerge-webrsync".

  Maybe a submission to Slashdot (even as "anonymous coward") would get
them some bad PR.  Or a posting on the Comcast forum at DSL Reports (yes
it covers cable, too) https://www.dslreports.com/forum/comcast

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Updating media-libs/mesa failed

2017-03-11 Thread gevisz
2017-03-11 19:59 GMT+02:00 Alan Mackenzie :
> Hello, Gevisz.
>
> On Sat, Mar 11, 2017 at 19:31:25 +0200, gevisz wrote:
>> Today, updating my system, I have got:
>
>> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
>> world --exclude chromium
>
>> These are the packages that would be merged, in order:
>
>> Calculating dependencies... done!
>> [ebuild U  ] media-libs/mesa-13.0.5 [12.0.1] USE="nettle%*
>> -gcrypt% (-libressl) -openssl% -vulkan%"
>> [ebuild U  ] x11-libs/cairo-1.14.8 [1.14.6]
>> [ebuild U  ] media-libs/libepoxy-1.4.1 [1.3.1] USE="X%*"
>> [ebuild U  ] dev-libs/libinput-1.6.2 [1.4.2]
>> [ebuild U  ] app-misc/mc-4.8.18-r1 [4.8.15]
>> [ebuild U  ] x11-apps/xauth-1.0.10 [1.0.9-r2] USE="{-test}"
>> [ebuild U  ] x11-base/xorg-server-1.19.2 [1.18.4] USE="-debug%"
>> [ebuild U  ] x11-drivers/xf86-video-ati-7.8.0 [7.7.0]
>> [ebuild U  ] x11-drivers/xf86-input-evdev-2.10.5 [2.10.3]
>> [ebuild U  ] x11-base/xorg-drivers-1.19 [1.18-r1]
>> VIDEO_CARDS="-ark% -i915% -i965% (-newport) -sis%"
>> [ebuild U  ] net-analyzer/wireshark-2.2.5 [2.2.4]
>> [ebuild U  ] www-client/firefox-45.8.0 [45.7.0]
>
>> Would you like to merge these packages? [Yes/No] y
>
> [  ]
>
>> >>> Emerging (1 of 12) media-libs/mesa-13.0.5::gentoo
>> ...
>> configure: error: Package requirements (libdrm_amdgpu >= 2.4.63) were not 
>> met:
>
>> No package 'libdrm_amdgpu' found
>
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>
>> Alternatively, you may set the environment variables AMDGPU_CFLAGS
>> and AMDGPU_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details.
>
> [  ]
>
>> $ eix libdrm_amdgpu
>> No matches found
>
>> So, there is no libdrm_amdgpu in my updated portage tree but
>> media-libs/mesa-13.0.5::gentoo seems to demand it!
>
>> $ eix amdgpu
>> * sys-firmware/amdgpu-ucode
>>  Available versions:  20160628 20161121 {legacy}
>>  Homepage:https://people.freedesktop.org/~agd5f/radeon_ucode/
>>  Description: Microcode for C.Islands/V.Islands/A.Islands
>> Radeon GPUs and APUs
>
>> * x11-drivers/xf86-video-amdgpu
>>  Available versions:  1.1.0 ~1.1.2 1.2.0 ** {glamor}
>>  Homepage:https://www.x.org/wiki/
>>  Description: Accelerated Open Source driver for AMDGPU cards
>
>> Any ideas?
>
> This happened to me, too.  It was also reported as a bug to the Gentoo
> bugzilla.  The mechanism for the bug was quite involved, but the
> solution was straightforward.  That was to replace
>
> VIDEO_CARDS="radeon"
>
> with
>
> VIDEO_CARDS="radeon r600"
>
> in /etc/portage/make.conf.
>
> The "r600" bit is actually documented in the "Radeon" article in the
> Gentoo Wiki, though I suspect it is relatively new.  If I were you, I'd
> check in that article that my card actually does, literally, need
> "r600", and not something like "r750".

Thank you for the help!

After making the proposed change, the mesa started to compile
without problems. (But not finished yet!)

This is quite strange, as I updated my system yet a week ago and
everything worked well even with VIDEO_CARDS="radeon".

My Radeon card:
# lspci | grep -i VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] RS690 [Radeon X1200]

> If this doesn't get your emerge working again, have a look at that bug
> report.  (Search for "mesa" and look at the most recent bug it finds.)
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>
>



Re: [gentoo-user] [SOLVED] hylafaxplus-5.5.5 not working

2017-03-11 Thread thelma
On 03/11/2017 08:00 AM, Stroller wrote:
> 
>> On 11 Mar 2017, at 05:37, the...@sys-concept.com wrote:
>>
>> SOLVED!
>> media-libs/tiff-4.0.7 is not compatible with hylafaxplus-5.5.5
>> Downgrading to tiff-4.0.6 solved the problem
> 
> File a bug!
> 
> Stroller.

I did. I wish they tested more thoroughly all these packages before they
mark them as stable; as they are just destabilizing the systems.

I had one year break from upgrades and everything was working, until
Firefox started to show signs of ageing.  So I decided to upgrade and
during testing all kinds of things are showing up :-/

--
Thelma




Re: [gentoo-user] Updating media-libs/mesa failed

2017-03-11 Thread Alan Mackenzie
Hello, Gevisz.

On Sat, Mar 11, 2017 at 19:31:25 +0200, gevisz wrote:
> Today, updating my system, I have got:

> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
> world --exclude chromium

> These are the packages that would be merged, in order:

> Calculating dependencies... done!
> [ebuild U  ] media-libs/mesa-13.0.5 [12.0.1] USE="nettle%*
> -gcrypt% (-libressl) -openssl% -vulkan%"
> [ebuild U  ] x11-libs/cairo-1.14.8 [1.14.6]
> [ebuild U  ] media-libs/libepoxy-1.4.1 [1.3.1] USE="X%*"
> [ebuild U  ] dev-libs/libinput-1.6.2 [1.4.2]
> [ebuild U  ] app-misc/mc-4.8.18-r1 [4.8.15]
> [ebuild U  ] x11-apps/xauth-1.0.10 [1.0.9-r2] USE="{-test}"
> [ebuild U  ] x11-base/xorg-server-1.19.2 [1.18.4] USE="-debug%"
> [ebuild U  ] x11-drivers/xf86-video-ati-7.8.0 [7.7.0]
> [ebuild U  ] x11-drivers/xf86-input-evdev-2.10.5 [2.10.3]
> [ebuild U  ] x11-base/xorg-drivers-1.19 [1.18-r1]
> VIDEO_CARDS="-ark% -i915% -i965% (-newport) -sis%"
> [ebuild U  ] net-analyzer/wireshark-2.2.5 [2.2.4]
> [ebuild U  ] www-client/firefox-45.8.0 [45.7.0]

> Would you like to merge these packages? [Yes/No] y

[  ]

> >>> Emerging (1 of 12) media-libs/mesa-13.0.5::gentoo
> ...
> configure: error: Package requirements (libdrm_amdgpu >= 2.4.63) were not met:

> No package 'libdrm_amdgpu' found

> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.

> Alternatively, you may set the environment variables AMDGPU_CFLAGS
> and AMDGPU_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.

[  ]

> $ eix libdrm_amdgpu
> No matches found

> So, there is no libdrm_amdgpu in my updated portage tree but
> media-libs/mesa-13.0.5::gentoo seems to demand it!

> $ eix amdgpu
> * sys-firmware/amdgpu-ucode
>  Available versions:  20160628 20161121 {legacy}
>  Homepage:https://people.freedesktop.org/~agd5f/radeon_ucode/
>  Description: Microcode for C.Islands/V.Islands/A.Islands
> Radeon GPUs and APUs

> * x11-drivers/xf86-video-amdgpu
>  Available versions:  1.1.0 ~1.1.2 1.2.0 ** {glamor}
>  Homepage:https://www.x.org/wiki/
>  Description: Accelerated Open Source driver for AMDGPU cards

> Any ideas?

This happened to me, too.  It was also reported as a bug to the Gentoo
bugzilla.  The mechanism for the bug was quite involved, but the
solution was straightforward.  That was to replace

VIDEO_CARDS="radeon"

with

VIDEO_CARDS="radeon r600"

in /etc/portage/make.conf.

The "r600" bit is actually documented in the "Radeon" article in the
Gentoo Wiki, though I suspect it is relatively new.  If I were you, I'd
check in that article that my card actually does, literally, need
"r600", and not something like "r750".

If this doesn't get your emerge working again, have a look at that bug
report.  (Search for "mesa" and look at the most recent bug it finds.)

-- 
Alan Mackenzie (Nuremberg, Germany).





[gentoo-user] Updating media-libs/mesa failed

2017-03-11 Thread gevisz
Today, updating my system, I have got:

# emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
world --exclude chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U  ] media-libs/mesa-13.0.5 [12.0.1] USE="nettle%*
-gcrypt% (-libressl) -openssl% -vulkan%"
[ebuild U  ] x11-libs/cairo-1.14.8 [1.14.6]
[ebuild U  ] media-libs/libepoxy-1.4.1 [1.3.1] USE="X%*"
[ebuild U  ] dev-libs/libinput-1.6.2 [1.4.2]
[ebuild U  ] app-misc/mc-4.8.18-r1 [4.8.15]
[ebuild U  ] x11-apps/xauth-1.0.10 [1.0.9-r2] USE="{-test}"
[ebuild U  ] x11-base/xorg-server-1.19.2 [1.18.4] USE="-debug%"
[ebuild U  ] x11-drivers/xf86-video-ati-7.8.0 [7.7.0]
[ebuild U  ] x11-drivers/xf86-input-evdev-2.10.5 [2.10.3]
[ebuild U  ] x11-base/xorg-drivers-1.19 [1.18-r1]
VIDEO_CARDS="-ark% -i915% -i965% (-newport) -sis%"
[ebuild U  ] net-analyzer/wireshark-2.2.5 [2.2.4]
[ebuild U  ] www-client/firefox-45.8.0 [45.7.0]

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-base/xorg-server-1.19.2
>>> Running pre-merge checks for x11-drivers/xf86-video-ati-7.8.0
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /lib/modules/4.9.6-gentoo-r1/build
 * Found sources for kernel version:
 * 4.9.6-gentoo-r1
 * Checking for suitable kernel configuration options...

 [ ok ]
>>> Running pre-merge checks for x11-drivers/xf86-input-evdev-2.10.5
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /lib/modules/4.9.6-gentoo-r1/build
 * Found sources for kernel version:
 * 4.9.6-gentoo-r1
 * Checking for suitable kernel configuration options...

 [ ok ]
>>> Running pre-merge checks for www-client/firefox-45.8.0
 * Checking for at least 4 GiB disk space at
"/var/tmp/portage/www-client/firefox-45.8.0/temp" ...
   [ ok ]

>>> Emerging (1 of 12) media-libs/mesa-13.0.5::gentoo
...
configure: error: Package requirements (libdrm_amdgpu >= 2.4.63) were not met:

No package 'libdrm_amdgpu' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables AMDGPU_CFLAGS
and AMDGPU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! 
/var/tmp/portage/media-libs/mesa-13.0.5/work/mesa-13.0.5-abi_x86_32.x86/config.log
 * ERROR: media-libs/mesa-13.0.5::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *   ebuild.sh, line  115:  Called src_configure
 * environment, line 4601:  Called multilib-minimal_src_configure
 * environment, line 2924:  Called multilib_foreach_abi
'multilib-minimal_abi_src_configure'
 * environment, line 3138:  Called
multibuild_foreach_variant '_multilib_multibuild_wrapper'
'multilib-minimal_abi_src_configure'
 * environment, line 2854:  Called _multibuild_run
'_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 * environment, line 2852:  Called
_multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 * environment, line  736:  Called
multilib-minimal_abi_src_configure
 * environment, line 2918:  Called multilib_src_configure
 * environment, line 3416:  Called econf '--enable-dri'
'--enable-glx' '--enable-shared-glapi' '--disable-shader-cache'
'--enable-texture-float' '--disable-nine' '--disable-debug'
'--enable-dri3' '--enable-egl' '--enable-gbm' '--disable-gles1'
'--enable-gles2' '--enable-glx-tls' '--enable-valgrind=no'
'--enable-llvm-shared-libs' '--with-dri-drivers=,swrast,radeon,r200'
'--with-gallium-drivers=,swrast,r300,r600,radeonsi'
'--with-vulkan-drivers=' '--with-sha1=libnettle'
'PYTHON2=/usr/bin/python2.7' '--with-egl-platforms=x11,drm'
'--disable-nine' '--enable-gallium-llvm' '--disable-omx'
'--disable-va' '--disable-vdpau' '--disable-xa' '--disable-xvmc'
'--disable-glx-read-only-text' '--disable-gallium-osmesa'
 *phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   die "$@"
 *
 * If you need support, post the output of `emerge --info
'=media-libs/mesa-13.0.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=media-libs/mesa-13.0.5::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/media-libs/mesa-13.0.5/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-libs/mesa-13.0.5/temp/environment'.
 * Working directory:

Re: [gentoo-user] ISP extorsion - how to negate / get around?

2017-03-11 Thread Corbin Bird
On 03/10/2017 07:28 PM, Rich Freeman wrote:
> On Fri, Mar 10, 2017 at 2:50 PM, Corbin Bird  wrote:
>>
>> My ISP ( Charter ) merged with Time-Warner. New name "Spectrum"
>>
>> 1 # : Now I have intermittent connectivity.
> 
> Nothing you can do about that if it really is connectivity.
> 
>>
>> 2 # : And with the death of FCC privacy rules, the new ISP is forcing me
>> to update their records ( for sale-of purposes ). This includes phone (
>> all ), SSN, bank account numbers, and credit card numbers.
>>
>> 3 # : the ISP attempting to force agreement to "no communications
>> allowed with the FCC". Also is attempting to force agreement to
>> "Arbitration with the ISP as the Arbiter" for all complaints.
>>
>> 4 # : billing is only online now. Not allowed to see a Account
>> Statement, or receive any "receipt for payment" until I comply with ISP
>> demands.
> 
> While I certainly agree with your frustrations on these, I suspect
> your options are pretty limited if they really are a monopoly.  You
> may just have to live with these if you don't want to do something
> exotic for internet access.
> 
>> 5 # : external e-mail clients ( Thunderbird, Claws-Mail, etc. ) are now
>> starting to have problems. ISP solution -> must use their web based
>> e-mail app only ( only works with Windoze, surprise! ).
>>
>> 6 # : ISP is starting to filter customers web access. The ISP is
>> deciding what sites customers are allowed to see. ( look up the practice
>> called "ransom" ).
> 
> I would see if a VPN works for you.  It would solve these problems at
> least.  Of course, they could do something to block the VPN, but I
> believe some services can work over SSL/etc unless your ISP is
> carefully blacklisting them.
> 
>>
>> NOTE : The ?hijack technique? will corrupt the portage trees if you use
>> "emerge-webrsync".
>>
> 
> Can you define "corrupt" here?  Looking at the source emerge-webrsync
> should at the least do a digest check if available (and if it isn't
> available I'd be interested in that), and if you set the webrsync-gpg
> FEATURE flag in make.conf it should also check the gpg signature.
> Unless your ISP is doing a Gentoo-specific MITM the first should
> detect problems, and unless our gpg checking is completely broken the
> latter should detect anything the ISP tries to do to the file.  They
> could of course prevent you from syncing, but tampering shouldn't be
> an issue.
> 

Now using a VPN.

The "emerge-webrsync" setup that I had been using did have the "gpg"
check functioning.

It is looking like they are attempting to attach or embed a "process" of
some sort, that executes on the local machine.

The first attempt at ?blocking? "emerge-webrsync" did something to the
tarball contents ( ebuilds or metadata damaged ).

Running this command started crashing without error :
"emerge -pv --update --newuse --tree --deep --with-bdeps=y @world"

The second attempt at ?blocking? was to completely block the HTTP
requests generated by "emerge-webrsync".

Going to a VPN, and "emerge --sync" seems to have gotten around them so far.

NOTE : the first "emerge --sync" made lots of complaints indicating the
portage trees had been damaged.

Corbin





Re: [gentoo-user] [SOLVED] hylafaxplus-5.5.5 not working

2017-03-11 Thread Stroller

> On 11 Mar 2017, at 05:37, the...@sys-concept.com wrote:
> 
> SOLVED!
> media-libs/tiff-4.0.7 is not compatible with hylafaxplus-5.5.5
> Downgrading to tiff-4.0.6 solved the problem

File a bug!

Stroller.




[gentoo-user] urxvt gets colorblind...at least somehow...

2017-03-11 Thread tuxic
Hi,

( ...polishing my new root now... )


I got a somehow non-linear problem with my new root:

My $TERM shows xterm-256color in both cases.
I have no $HOME/.Xresources file installed.

My $HOME is on a separate partition so it does not
change between old and new root as it will be mounted
on /home in both cases. So the configuration user-wise
should change in either case.

Starting vim (not gvim!) in urxvt lead to an monochrome editor with
colorscheme "zenburn" -- which works fine on my old root.

Using colorscheme "default" produces a colored output (but dont now,
whether only a subset of colors is displayed and whether the colors
are correct - i.e. whether what is displayed in red should be displayed in red)

Manpages are monochrome.

While googling I found this:
https://unix.stackexchange.com/questions/6010/colored-man-pages-not-working-on-gentoo

Test 2 and Test 3 of the first answer fail on my new AND my old root.

According to the answer "sometyhing is wrong with my terminal
settings" which is only a little bit more specific than "something
is wrong"

H...

It seems that I missed a certain step while setting up my new root

I compared the output of "env" in both cases and found nothing
really enlightening...

How can I fix that?

Thank you very much in advance for any help ! :)

Cheers
Meino








[gentoo-user] Re: OT: shell question, maybe xargs?

2017-03-11 Thread Kai Krakow
Am Fri, 10 Mar 2017 14:05:02 +1100
schrieb Adam Carter :

> I have one command that dumps out a number of lines of output, and i
> want to have another command run multiple times taking a single line
> contents as its argument(s) each time. From what i understand of
> xargs it takes all the piped input and runs a command once with each
> of the piped inputs as another argument.
> 
> Eg. say i want to run ethtool against each active interface dumped
> out by; ifconfig | grep ^[a-zA-Z] | awk '{print $1}'

I prefer piping such "one file name per line" outputs to the following
construct:

... | while read line; do command "$line"; done

-- 
Regards,
Kai

Replies to list-only preferred.