Re: [gentoo-user] [OT] router woes

2017-03-28 Thread Jorge Almeida
On Tue, Mar 28, 2017 at 9:10 PM, Daniel Frey  wrote:
> On 03/28/2017 01:19 PM, Jorge Almeida wrote:
>> The point is: I connected the computers to the lan ports of my
>> secondary router (with original firmware, but I intended to install
>> ddwrt), and the setup works, except that the speed never reaches
>> 100Mbps.
>
> This is not unusual, the speeds they advertise are device to device
> (i.e. switched, not routed.)

That explains it, then.
Misleading publicity... I should have asked here before buying...

>
>>

>>
>
> As Mick mentioned, a lot of the all-in-ones don't have enough CPU
> available to route at those speeds. Some of them do come with hardware
> offloading, thus taking it off the main CPU but that itself doesn't mean
> it is able to route at port speed.
>
> I have the same problem, I had an old RT-N16. It finally crapped out and

I've been using an RT-N16 for years, and it still works fine. They
don't advertise big speeds and I understood it doesn't have the CPU
power to cope. I assumed a new generation router would do the job. Big
mistake.

I already checked that the ISP/Netgear router is not to blame:
connecting to a single computer in bridge mode yields about 150Mbps.

Thanks

Jorge

PS. I still would like to know what people in this list think about
having an ISP managed device as router, re security. Not that I have
any real option if I want the contracted speed...



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-28 Thread Arthur Țițeică


În 29 martie 2017 07:33:54 EEST, Stroller  a 
scris:
>
>> On 28 Mar 2017, at 13:41, Alarig Le Lay  wrote:
>> 
>> 2. What is cheap for you? I’m part of a non for profit association
>that
>> rent VMs at 5 € per month for 32G of hard drive, one vCPU and 512M of
>> RAM. https://grifon.fr/services.html
>
>Many thanks for all the replies to this thread - not only Alarig's, but
>also to Harry and Joost.
>
>It'll be a couple of weeks before I need to get started so I'm glad to
>read this further discussion. 
>
>€5 a month seems an ideal price, but I can probably afford a little
>more.
>

Dedibox/Online has real hardware (dedicated servers) for 15 or 30€ on the 
personal range. The more expensive one has 2 SSDs for software raid 6 cores 
Xeon and 32gb memory.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread J. Roeleveld
On March 29, 2017 7:24:15 AM GMT+02:00, the...@sys-concept.com wrote:
>On 03/28/2017 10:57 PM, the...@sys-concept.com wrote:
>[snip
[69.49.] said: 550 5.7.1 <>... Too many
 invalid recipients. (in reply to MAIL FROM command))

 How to setup postfix correctly?

 The only syscon7.localdomain is the entry from /etc/hosts

 in: /etc/mail/aliases I have:
 root:  the...@sys-concept.com

 So why postfix is sending it to: 
>>>
>>> "man aliases" will probably give you the answer.
>>>
>>> --
>>> Regards
>>> wabe
>> 
>> No, it will not! 
>> 
>> The explanation is here:
>>
>https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html
>> 
>> --
>> Thelma
>
>I don't run an internal mail server but was wondering is there an easy
>way to configure the postfix so it will keep local mail (portage
>notifications, hylafax etc) away from system provider.
>My boxes are connected over VPN.
>
>When I was setting up a new box today, something happen to cron email
>notification I started receiving bunch of emails like:
>Cron  roottest -x /usr/sbin/run-crons && /usr/sbin/run-crons
>
>So provide mail server block my internal system emails from passing
>through their server.
>
>--
>Thelma

There are plenty of howtos, guides and documents online detailing how to do 
this with a variety of mail servers.

Please use Google.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
On 03/28/2017 10:57 PM, the...@sys-concept.com wrote:
[snip
>>>[69.49.] said: 550 5.7.1 <>... Too many
>>> invalid recipients. (in reply to MAIL FROM command))
>>>
>>> How to setup postfix correctly?
>>>
>>> The only syscon7.localdomain is the entry from /etc/hosts
>>>
>>> in: /etc/mail/aliases I have:
>>> root:   the...@sys-concept.com
>>>
>>> So why postfix is sending it to: 
>>
>> "man aliases" will probably give you the answer.
>>
>> --
>> Regards
>> wabe
> 
> No, it will not! 
> 
> The explanation is here:
> https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html
> 
> --
> Thelma

I don't run an internal mail server but was wondering is there an easy
way to configure the postfix so it will keep local mail (portage
notifications, hylafax etc) away from system provider.
My boxes are connected over VPN.

When I was setting up a new box today, something happen to cron email
notification I started receiving bunch of emails like:
Cron  root test -x /usr/sbin/run-crons && /usr/sbin/run-crons

So provide mail server block my internal system emails from passing
through their server.

--
Thelma



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
On 03/28/2017 10:40 PM, wabe wrote:
> the...@sys-concept.com wrote:
> 
>> My system mail is not going out via my system provider "shaw".
>>
>> postfix/smtp[24664]: 8E00D202543: to=,
>> relay=mail.sys-concept.com[69.49]:1025, delay=1.4,
>> delays=0.03/0/1.3/0.05, dsn=5.7.1, status=bounced (host
>> mail.sys-concept.com[69.49.] said: 550 5.7.1 <>... Too many
>> invalid recipients. (in reply to MAIL FROM command))
>>
>> How to setup postfix correctly?
>>
>> The only syscon7.localdomain is the entry from /etc/hosts
>>
>> in: /etc/mail/aliases I have:
>> root:the...@sys-concept.com
>>
>> So why postfix is sending it to: 
> 
> "man aliases" will probably give you the answer.
> 
> --
> Regards
> wabe

No, it will not! 

The explanation is here:
https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html

--
Thelma



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread wabe
the...@sys-concept.com wrote:

> My system mail is not going out via my system provider "shaw".
> 
> postfix/smtp[24664]: 8E00D202543: to=,
> relay=mail.sys-concept.com[69.49]:1025, delay=1.4,
> delays=0.03/0/1.3/0.05, dsn=5.7.1, status=bounced (host
> mail.sys-concept.com[69.49.] said: 550 5.7.1 <>... Too many
> invalid recipients. (in reply to MAIL FROM command))
> 
> How to setup postfix correctly?
> 
> The only syscon7.localdomain is the entry from /etc/hosts
> 
> in: /etc/mail/aliases I have:
> root: the...@sys-concept.com
> 
> So why postfix is sending it to: 

"man aliases" will probably give you the answer.

--
Regards
wabe



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-28 Thread Stroller

> On 28 Mar 2017, at 13:41, Alarig Le Lay  wrote:
> 
> 2. What is cheap for you? I’m part of a non for profit association that
> rent VMs at 5 € per month for 32G of hard drive, one vCPU and 512M of
> RAM. https://grifon.fr/services.html

Many thanks for all the replies to this thread - not only Alarig's, but also to 
Harry and Joost.

It'll be a couple of weeks before I need to get started so I'm glad to read 
this further discussion. 

€5 a month seems an ideal price, but I can probably afford a little more.

Stroller.




Re: [gentoo-user] [OT] router woes

2017-03-28 Thread Daniel Frey
On 03/28/2017 01:19 PM, Jorge Almeida wrote:
> The point is: I connected the computers to the lan ports of my
> secondary router (with original firmware, but I intended to install
> ddwrt), and the setup works, except that the speed never reaches
> 100Mbps.

This is not unusual, the speeds they advertise are device to device
(i.e. switched, not routed.)

> 
> Which part is to blame? The secondary router boasts 1300Mbps on 5GHz
> WiFi, so I assumed it could deal with 150Mbps on cat5e ethernet cable.
> The power consumption is about 4.5w, which seems a bit flimsy.
> Or maybe the primary router is thottling speed when in bridge mode? Is
> this possible at all? (And if so, what could be the purpose of such
> measure? *spooky*)
> 

As Mick mentioned, a lot of the all-in-ones don't have enough CPU
available to route at those speeds. Some of them do come with hardware
offloading, thus taking it off the main CPU but that itself doesn't mean
it is able to route at port speed.

I have the same problem, I had an old RT-N16. It finally crapped out and
have read many stories about these $200 all-in-ones that can't actually
fully route at 100 mbit+ speeds. Some of the newer hardware revisions
can with hardware offloading.

For myself, as fibre is coming to my home sometime this year (I'm
looking forward to symmetrical 150mbit at $85/month) I'm probably going
to get an Ubiquiti Edgerouter and AP, and perhaps even a small managed
switch. The middle grade Edgerouters have been tested to actually route
at near gigabit speeds.

The problem with my solution is cost, it'll probably be 2-3x higher than
the high-end all-in-ones. But at least if a component fails or gets
outdated, I can replace one thing at a time. Thinking mainly wifi
technologies changing.

Dan




[gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
My system mail is not going out via my system provider "shaw".

postfix/smtp[24664]: 8E00D202543: to=, 
relay=mail.sys-concept.com[69.49]:1025, delay=1.4, delays=0.03/0/1.3/0.05, 
dsn=5.7.1, status=bounced (host mail.sys-concept.com[69.49.] said: 550 
5.7.1 <>... Too many invalid recipients. (in reply to MAIL FROM command))

How to setup postfix correctly?

The only syscon7.localdomain is the entry from /etc/hosts

in: /etc/mail/aliases I have:
root:   the...@sys-concept.com

So why postfix is sending it to: 

-- 
Thelma



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Adam Carter
Agree with Joost that Intel is typically well supported in LInux. I have
Skylate (gen6) system which i got fairly soon after they were released and
had no issues setting it up using ~amd64. If you want to run amd64 instead
you might need to keyword the kernel and X stuff.

On firefox about:support, i have;
Multiprocess Windows 1/1 (Enabled by user)
and;
Features
CompositingOpenGL
Asynchronous Pan/Zoomwheel input enabled; touch input enabled
WebGL RendererX.Org -- Gallium 0.4 on AMD TONGA (DRM 3.8.0 /
4.9.6-gentoo-r1, LLVM 4.0.0)
WebGL2 RendererX.Org -- Gallium 0.4 on AMD TONGA (DRM 3.8.0 /
4.9.6-gentoo-r1, LLVM 4.0.0)
Hardware H264 DecodingNo
Audio Backendpulse
GPU #1
ActiveYes
DescriptionX.Org -- Gallium 0.4 on AMD TONGA (DRM 3.8.0 /
4.9.6-gentoo-r1, LLVM 4.0.0)
Vendor IDX.Org
Device IDGallium 0.4 on AMD TONGA (DRM 3.8.0 / 4.9.6-gentoo-r1, LLVM
4.0.0)
Driver Version3.0 Mesa 17.0.2
Diagnostics
AzureCanvasAccelerated0
AzureCanvasBackendskia
AzureContentBackendskia
AzureFallbackCanvasBackendnone
CairoUseXRender0
Decision Log
HW_COMPOSITING
blocked by default: Acceleration blocked by platform
force_enabled by user: Force-enabled by pref
OPENGL_COMPOSITING
force_enabled by user: Force-enabled by pref

I cant see any references to OMTC, but there are some layers.acceleration.*
and layers.offmainthreadcomposition.* configs, but they're all set to the
defaults.


Re: [gentoo-user] [OT] router woes

2017-03-28 Thread Mick
On Tuesday 28 Mar 2017 23:00:12 Alarig Le Lay wrote:
> On mar. 28 mars 21:19:29 2017, Jorge Almeida wrote:
> > Which part is to blame? The secondary router boasts 1300Mbps on 5GHz
> > WiFi, so I assumed it could deal with 150Mbps on cat5e ethernet cable.
> > The power consumption is about 4.5w, which seems a bit flimsy.
> > Or maybe the primary router is thottling speed when in bridge mode? Is
> > this possible at all? (And if so, what could be the purpose of such
> > measure? *spooky*)
> 
> You will never reach 1300Mbps on Wi-Fi, it’s some commercial bullshit.
> First of all, check if you have a gigabit switch on your TP-link, it’s
> not impossible to have a 100M one. And, if you have a gig switch, use an
> RJ45 cable, the only cheap and efficient medium if you need bandwidth and
> latency.
.
As Alarig says, 802.11ac rarely sees more than 200Mbps in real life, over 
short distances, with no interference and only a single client connected.  
Through walls you're better off with 2.4GHz

Assuming the switch ports on the router are 1Gpbs, check on the PCs and on the 
router that it is operating in Full Duplex mode, both on the bridged modem 
side and on the PC side.  Replace the Cat5e cables if it is not and try again.

Finally, I have experienced some domestic routers coming to their knees at 
high throughput.  Their SoC does not have the capability to process packets 
through the firewall and perform routing without becoming the bottleneck in 
the network.  Both throughput and latency increases in these cases.  The only 
solution is to buy better quality hardware.
-- 
Regards,
Mick

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


Re: [gentoo-user] New MiniPC - wireless keyboard/mouse not working.

2017-03-28 Thread thelma
On 03/28/2017 04:09 PM, the...@sys-concept.com wrote:
> My wireless keyboard/mouse not working in with X-server on my new MiniPC 
> installation.
> 
> 
[snip]

Pls. ignore it. I must have stayed too late at night.

--
Thelma



[gentoo-user] New MiniPC - wireless keyboard/mouse not working.

2017-03-28 Thread thelma
My wireless keyboard/mouse not working in with X-server on my new MiniPC 
installation.


I recompiled the drivers:
emerge -av $(qlist -IC x11-drivers)

Calculating dependencies... done!
[ebuild   R] x11-drivers/xf86-input-evdev-2.10.5::gentoo  0 KiB
[ebuild   R] x11-drivers/xf86-video-amdgpu-1.2.0::gentoo  USE="glamor" 0 KiB
[ebuild   R] x11-drivers/xf86-video-ati-7.8.0::gentoo  USE="glamor udev" 0 
KiB
[ebuild   R] x11-drivers/xf86-video-dummy-0.3.8::gentoo  USE="-dga" 0 KiB
[ebuild   R] x11-drivers/xf86-video-fbdev-0.4.4::gentoo  0 KiB
[ebuild   R] x11-drivers/xf86-video-intel-2.99.917_p20170216::gentoo  
USE="dri sna udev -debug -dri3 -tools -uxa -xvmc" 0 KiB
[ebuild   R] x11-drivers/xf86-video-nouveau-1.0.13::gentoo  0 KiB
[ebuild   R] x11-drivers/xf86-video-vesa-2.3.4::gentoo  0 KiB


emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, 
gcc-4.9.4, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=
System uname: 
Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i5-4200U_CPU_@_1.60GHz-with-gentoo-2.3
KiB Mem:16343872 total,  15453668 free
KiB Swap: 524284 total,524284 free
Timestamp of repository gentoo: Mon, 27 Mar 2017 00:45:01 +
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:  4.3_p48-r1::gentoo
dev-lang/perl:5.22.3_rc4::gentoo
dev-lang/python:  2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:   3.7.2::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.3::gentoo
sys-apps/openrc:  0.23.2::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
sys-devel/automake:   1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:   2.26.1::gentoo
sys-devel/gcc:4.9.4::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6-r3::gentoo
sys-devel/make:   4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:   2.23-r3::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com 
http://gentoo.mirrors.tera-byte.com/ 
http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
http://mirror.netcologne.de/gentoo/;
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr 
cgi cleartype cli consolekit consolkit corefonts cracklib crypt cups cxx dbus 
dri dts dvd dvdr emboss encode exif fam firefox flac foomaticdb fortran gdbm 
gif gimp gimpprint glamor gpm gtk iconv ipv6 jpeg kpathsea lcms ldap libnotify 
lock mad mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl 
openmp pam pango pcre pdf png policykit ppds qt3support readline scanner sdl 
seccomp session spell ssl startup-notification svg tcpd tetexspell thunar tiff 
truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb 
xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem 
bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter 
file_cache filter headers include info log_config logio mem_cache mime 
mime_magic negotiation rewrite setenvif speling status 

Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Walter Dnes
On Tue, Mar 28, 2017 at 09:26:05PM +0200, Dan Johansson wrote

> Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
> Now I want to send all traffic from this host to destination-tcp-port 80 
> to gateway 192.168.2.1 instead (the host has a second interface with the 
> address 192.168.2.100/24 as well).
> I only want the traffic to port 80 to go thru this GW (and then to its 
> final destination).
> And port 80 is just an example, it could be port 12345 as well.
> 
> Is this possible? If yes, any suggestion on how to do it?

  Use the FORWARD table (yes, it's built-in).  You'll need to divert
those packets from that source with "--dport 80" (i.e. destination port
80) from regular output to the built-in FORWARD table.

  iptables -A OUTPUT --source 192.168.1.100/24 --dport 80 -j FORWARD

  Step 2) I'm not familiar with the FORWARD table (never used it), but I
assume that you can specify stuff in it about where to forward.

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



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread R0b0t1
On Tue, Mar 28, 2017 at 3:39 AM, Jorge Almeida  wrote:
> I'm resending this because "HD 630" is a title bound to elicit no
> response at all. Sorry, I was tired.
>
> On Mon, Mar 27, 2017 at 11:03 PM, Jorge Almeida  wrote:
>> This may be a stupid question, for one of two possible reasons, but
>> here it goes:
>>
>> I'm thinking of buying a recent Intel CPU (7th generation, in
>> saleslang), say an i5-7400, and it came to mind, not too late yet,
>> that the integrated GPU may not be supported in linux. I'm talking
>> about the latest kernels, not necessarily the gentoo-packaged one.
>> Anyone knows something about it? And if not supported, is it likely
>> that it will be sometime soon? I can use a spare Radeon card
>> meanwhile...
>>
>> (And, for someone who is not a gamer, is a 7th generation CPU worth it
>> at all, as opposed to a 6th generation one?)
>>
>> Any input is appreciated
>>
>> Jorge Almeida
>

http://www.intel.com/content/www/us/en/support/graphics-drivers/05520.html
ev says that everything up to Intel HD 620 is supported. It is
probably reasonable to assume that a HD 630 device is supported.

Hopefully that is the information you were after but I am still
somewhat confused and I think my confusion relevant to your original
question:

There are Intel HD devices, but there are also Iris devices. Per
marketing materials I found the Iris line is intended to be
distributed with higher-end computers for "professional" use. Do Iris
and HD devices actually differ in driver support or is it mostly the
name that shows up in lspci or Window's device manager that differs?



Re: [gentoo-user] [OT] router woes

2017-03-28 Thread Alarig Le Lay
On mar. 28 mars 21:19:29 2017, Jorge Almeida wrote:
> Which part is to blame? The secondary router boasts 1300Mbps on 5GHz
> WiFi, so I assumed it could deal with 150Mbps on cat5e ethernet cable.
> The power consumption is about 4.5w, which seems a bit flimsy.
> Or maybe the primary router is thottling speed when in bridge mode? Is
> this possible at all? (And if so, what could be the purpose of such
> measure? *spooky*)

You will never reach 1300Mbps on Wi-Fi, it’s some commercial bullshit.
First of all, check if you have a gigabit switch on your TP-link, it’s
not impossible to have a 100M one. And, if you have a gig switch, use an
RJ45 cable, the only cheap and efficient medium if you need bandwidth and
latency.

-- 
alarig


signature.asc
Description: PGP signature


[gentoo-user] [OT] router woes

2017-03-28 Thread Jorge Almeida
I have net by cable with nominal speed 200Mbps. The ISP provides a
modem/router Netgear (from Numericable). I disabled the WiFi and I
have 2 computers connected via ethernet to the router. The speed is
about 156Mbps (measured by http://www.speedtest.net), which seems to
be what to expect.

Now, having a device provided by the ISP to act as router seems to be
good for people who trust both the ISP and the manufacturer. (Please
comment if I'm being too paranoid.)

So, I setup the router to work in bridge mode and connected one of the
4 lan ports to the Wan port of a secondary router TP-link (Archer
C1200, Wireless dual band gigabit). It is supposed to comply with
802.11b/g/n 2.4GHz and 802.11a/n/ac 5GHz. Not that this matters per
se, as I disabled the WiFi.

The point is: I connected the computers to the lan ports of my
secondary router (with original firmware, but I intended to install
ddwrt), and the setup works, except that the speed never reaches
100Mbps.

Which part is to blame? The secondary router boasts 1300Mbps on 5GHz
WiFi, so I assumed it could deal with 150Mbps on cat5e ethernet cable.
The power consumption is about 4.5w, which seems a bit flimsy.
Or maybe the primary router is thottling speed when in bridge mode? Is
this possible at all? (And if so, what could be the purpose of such
measure? *spooky*)

Someone has a similar setup? Any experience with that (TP-link) router?

Thanks,

Jorge Almeida



[gentoo-user] Re: [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Kai Krakow
Am Tue, 28 Mar 2017 21:26:05 +0200
schrieb Dan Johansson :

> Slight Off-topic, but at least the host are Gentoo.
> 
> Is it possible, using iptables or something equivalent, to redirect 
> traffic to some specific TCP ports to another gateway than the 
> default-gateway?
> 
> Eg.
> 
> Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
> Now I want to send all traffic from this host to destination-tcp-port
> 80 to gateway 192.168.2.1 instead (the host has a second interface
> with the address 192.168.2.100/24 as well).
> I only want the traffic to port 80 to go thru this GW (and then to
> its final destination).
> And port 80 is just an example, it could be port 12345 as well.
> 
> Is this possible? If yes, any suggestion on how to do it?

If I understand you correctly, you want to do the redirect decision on
the source machine 192.168.1.100, and not on the default gateway
192.168.1.1.

This means you need to mark packages with iptables, and then doing the
routing based on the mark. For this, you need to setup policy routing.
Look here:

http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html

That example uses port 25 instead of 80. It marks packets, and then
creates a second routing table to use for such marked packets.

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread J. Roeleveld
On March 28, 2017 9:26:05 PM GMT+02:00, Dan Johansson  
wrote:
>Slight Off-topic, but at least the host are Gentoo.
>
>Is it possible, using iptables or something equivalent, to redirect 
>traffic to some specific TCP ports to another gateway than the 
>default-gateway?
>
>Eg.
>
>Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
>Now I want to send all traffic from this host to destination-tcp-port
>80 
>to gateway 192.168.2.1 instead (the host has a second interface with
>the 
>address 192.168.2.100/24 as well).
>I only want the traffic to port 80 to go thru this GW (and then to its 
>final destination).
>And port 80 is just an example, it could be port 12345 as well.
>
>Is this possible? If yes, any suggestion on how to do it?
>
>Regards,

A quick google led to:

http://unix.stackexchange.com/questions/85932/how-can-i-redirect-outbound-traffic-to-port-80-using-iptables-locally

I am not certain this will correctly work or not. If the other server has a 
proxy server running, you might need to change its configuration accordingly.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Alarig Le Lay
On mar. 28 mars 21:26:05 2017, Dan Johansson wrote:
> Slight Off-topic, but at least the host are Gentoo.
> 
> Is it possible, using iptables or something equivalent, to redirect traffic
> to some specific TCP ports to another gateway than the default-gateway?
> 
> Eg.
> 
> Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
> Now I want to send all traffic from this host to destination-tcp-port 80 to
> gateway 192.168.2.1 instead (the host has a second interface with the
> address 192.168.2.100/24 as well).
> I only want the traffic to port 80 to go thru this GW (and then to its final
> destination).
> And port 80 is just an example, it could be port 12345 as well.
> 
> Is this possible? If yes, any suggestion on how to do it?
> 
> Regards,

Hi,

Why do you don’t put another server on the desired network?

-- 
alarig


signature.asc
Description: PGP signature


[gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Dan Johansson

Slight Off-topic, but at least the host are Gentoo.

Is it possible, using iptables or something equivalent, to redirect 
traffic to some specific TCP ports to another gateway than the 
default-gateway?


Eg.

Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
Now I want to send all traffic from this host to destination-tcp-port 80 
to gateway 192.168.2.1 instead (the host has a second interface with the 
address 192.168.2.100/24 as well).
I only want the traffic to port 80 to go thru this GW (and then to its 
final destination).

And port 80 is just an example, it could be port 12345 as well.

Is this possible? If yes, any suggestion on how to do it?

Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Booting from USB

2017-03-28 Thread Neil Bothwick
On Tue, 28 Mar 2017 11:23:40 -0500, Dale wrote:

> > I use multiple devices. All modern phones have apps that allow bottom
> > posting as default. Inline is more difficult, which is why I leave
> > those replies for when I have a real PC.
> >
> > --
> > Joost  
> 
> So those "smart" devices are finally catching up.  Good for them to
> finally catch up to the world huh?  ROFL 

The devices have been capable of that for a long time, it is the users
that have trouble catching up!


-- 
Neil Bothwick

I am Scooby Doo of Borg- Reware roo re arimorated, Raggy!


pgpQQ5YMeCqmA.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Booting from USB

2017-03-28 Thread J. Roeleveld
On March 28, 2017 6:23:40 PM GMT+02:00, Dale  wrote:
>J. Roeleveld wrote:
>> On March 28, 2017 5:32:04 PM GMT+02:00, Dale 
>wrote:
>>> Mick wrote:
 On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
> Danny YUE wrote:
>> Just curious: why is top-posting forbidden here?
>> I have never found any reference for that.
>>
>> I would appreciate it if you could tell me something about that.
>>
>> Danny
> Here is one but there are tons of others.
>
>
>>>
>https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
> 5147880
>
>
> Also, on this list, html is frowned upon as well.  Plain text is
> requested, although some devices may not have the option.
>
> Dale
>
> :-)  :-)
 I thought the original joke went like this:

 A. Top posters
 Q. What's the most annoying thing on Usenet?

 A: Because it upsets the logical flow of the thread.
 Q: Why is top posting a bad idea?


 Anyway, Gentoo users often ask multifaceted questions which require
>>> more than 
 a single answer.  With top posting we would need to send many
>>> response emails 
 to respond with clarity to all points the OP may have raised.  With
>>> inline 
 responses we can interlace the answers in the OP's message and the
>>> logical 
 flow of the conversation is retained within a single response
>email.

>>> I have actually seen that in people's sig before.  I can't recall
>who
>>> it
>>> was and haven't seen it in a while. 
>>>
>>> I bottom post if it is somewhat a single subject or inline post if
>it
>>> has more than one topic.  As you say, it makes it easier to know
>what
>>> one is talking about.  I use what I feel will work best.  Top
>posting
>>> tho, as your example/joke points out, makes it hard to figure out
>what
>>> is going on, even if one is following the thread.  Of course, I also
>>> realize that some devices make that hard or impossible.  Most who
>use
>>> those devices say they are. 
>>>
>>> Dale
>>>
>>> :-)  :-) 
>> I use multiple devices. All modern phones have apps that allow bottom
>posting as default.
>> Inline is more difficult, which is why I leave those replies for when
>I have a real PC.
>>
>> --
>> Joost
>
>So those "smart" devices are finally catching up.  Good for them to
>finally catch up to the world huh?  ROFL 
>
>Dale
>
>:-)  :-) 

I use k9 mail, which has the option to bottom post by default.

Inline is difficult with touch screen. But not impossible.

But I have yet to find a real smart device. The ones that are sold as such are 
quite stupid. A 3 year old is smarter.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Strange IPv6 behaviour

2017-03-28 Thread Alarig Le Lay
On dim. 26 mars 12:49:44 2017, Andrew Savchenko wrote:
> Run tcpdump -w on both sides. Compare dumps when connection stalls
> and when it works fine. Many reasons are possible, it's hard to
> guess from data you provided.

I did this, I saw many neighbor solicitation on pokedex’s side (the
lossy side) when the loss happens. I’ve also included some monitoring
packets, but they didn’t match the loss window time. However, they are
flapping accordingly to the loss in the monitoring web interface.

https://bulbizarre.swordarmor.fr/garbage/documents/argall.pcap
https://bulbizarre.swordarmor.fr/garbage/documents/pokedex.pcap

> But it makes me wonder why you have default via VPN and given
> address via eth0. This may lead to undesirable consequences like
> VPN carrier (or some aux request) trying to go through its own VPN
> tunnel.

The only goal is to reach the server from its two public addresses. As
each provider is doing BCP38, I have to set up multiple routing tables
to make the traffic flows to the correct interface based on the source
address.

> Best regards,
> Andrew Savchenko

Regards,

-- 
alarig


signature.asc
Description: PGP signature


Re: [gentoo-user] Booting from USB

2017-03-28 Thread Dale
J. Roeleveld wrote:
> On March 28, 2017 5:32:04 PM GMT+02:00, Dale  wrote:
>> Mick wrote:
>>> On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
 Danny YUE wrote:
> Just curious: why is top-posting forbidden here?
> I have never found any reference for that.
>
> I would appreciate it if you could tell me something about that.
>
> Danny
 Here is one but there are tons of others.


>> https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
 5147880


 Also, on this list, html is frowned upon as well.  Plain text is
 requested, although some devices may not have the option.

 Dale

 :-)  :-)
>>> I thought the original joke went like this:
>>>
>>> A. Top posters
>>> Q. What's the most annoying thing on Usenet?
>>>
>>> A: Because it upsets the logical flow of the thread.
>>> Q: Why is top posting a bad idea?
>>>
>>>
>>> Anyway, Gentoo users often ask multifaceted questions which require
>> more than 
>>> a single answer.  With top posting we would need to send many
>> response emails 
>>> to respond with clarity to all points the OP may have raised.  With
>> inline 
>>> responses we can interlace the answers in the OP's message and the
>> logical 
>>> flow of the conversation is retained within a single response email.
>>>
>> I have actually seen that in people's sig before.  I can't recall who
>> it
>> was and haven't seen it in a while. 
>>
>> I bottom post if it is somewhat a single subject or inline post if it
>> has more than one topic.  As you say, it makes it easier to know what
>> one is talking about.  I use what I feel will work best.  Top posting
>> tho, as your example/joke points out, makes it hard to figure out what
>> is going on, even if one is following the thread.  Of course, I also
>> realize that some devices make that hard or impossible.  Most who use
>> those devices say they are. 
>>
>> Dale
>>
>> :-)  :-) 
> I use multiple devices. All modern phones have apps that allow bottom posting 
> as default.
> Inline is more difficult, which is why I leave those replies for when I have 
> a real PC.
>
> --
> Joost

So those "smart" devices are finally catching up.  Good for them to
finally catch up to the world huh?  ROFL 

Dale

:-)  :-) 



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Mick
On Tuesday 28 Mar 2017 09:51:03 Walter Dnes wrote:
> On Tue, Mar 28, 2017 at 10:19:00AM +0100, Jorge Almeida wrote
> 
> > OK, I need no 3D, and I don't game (not even occasionally :)) And
> > I'm just an openbox user!
> > 
> > Maybe someone with a 7th generation can share experience?
> > 
> > The gentoo WiKI has a page about this stuff. Reading now...
> 
>   Mozilla-specific info... if you run either Firefox or sea Monkey or
> Pale Moon web browser, include the line...
> 
> export MOZ_USE_OMTC=1
> 
> ...in .bashrc to get maximum hardware acceleration.  For detailed info
> about the program, go to "about:support", just like "about:config" and
> "about:buildconfig".

Adding MOZ_USE_OMTC=1 made no difference here.  Both before and after it 
reported:

 GPU Accelerated Windows0/1 Basic (OMTC) 
-- 
Regards,
Mick

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


Re: [gentoo-user] Booting from USB

2017-03-28 Thread J. Roeleveld
On March 28, 2017 5:32:04 PM GMT+02:00, Dale  wrote:
>Mick wrote:
>> On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
>>> Danny YUE wrote:
 Just curious: why is top-posting forbidden here?
 I have never found any reference for that.

 I would appreciate it if you could tell me something about that.

 Danny
>>> Here is one but there are tons of others.
>>>
>>>
>https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
>>> 5147880
>>>
>>>
>>> Also, on this list, html is frowned upon as well.  Plain text is
>>> requested, although some devices may not have the option.
>>>
>>> Dale
>>>
>>> :-)  :-)
>> I thought the original joke went like this:
>>
>> A. Top posters
>> Q. What's the most annoying thing on Usenet?
>>
>> A: Because it upsets the logical flow of the thread.
>> Q: Why is top posting a bad idea?
>>
>>
>> Anyway, Gentoo users often ask multifaceted questions which require
>more than 
>> a single answer.  With top posting we would need to send many
>response emails 
>> to respond with clarity to all points the OP may have raised.  With
>inline 
>> responses we can interlace the answers in the OP's message and the
>logical 
>> flow of the conversation is retained within a single response email.
>>
>
>I have actually seen that in people's sig before.  I can't recall who
>it
>was and haven't seen it in a while. 
>
>I bottom post if it is somewhat a single subject or inline post if it
>has more than one topic.  As you say, it makes it easier to know what
>one is talking about.  I use what I feel will work best.  Top posting
>tho, as your example/joke points out, makes it hard to figure out what
>is going on, even if one is following the thread.  Of course, I also
>realize that some devices make that hard or impossible.  Most who use
>those devices say they are. 
>
>Dale
>
>:-)  :-) 

I use multiple devices. All modern phones have apps that allow bottom posting 
as default.
Inline is more difficult, which is why I leave those replies for when I have a 
real PC.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Bluetooth and hciconfig

2017-03-28 Thread Mick
On Tuesday 28 Mar 2017 11:19:33 Foster McLane wrote:
> On Tue, Mar 28, 2017 at 07:59:02AM -0700, Mick wrote:
> > Mar 28 15:50:20 dell_xps bluetoothd[10619]: Unknown key AutoEnable in
> > main.conf
> 
> Did you use the 'AutoEnable' option in the '[Policy]' section of
> main.conf?

Yes.  :-(

===
#[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try
# to be reconnected to in case of a link loss (link supervision
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
#ReconnectUUIDs=1112--1000-8000-00805f9b34fb,111f--1000-8000-00805f9b34fb,110a--1000-8000-00805f9b34fb

# ReconnectAttempts define the number of attempts to reconnect after a link
# lost. Setting the value to 0 disables reconnecting feature.
#ReconnectAttempts=7

# ReconnectIntervals define the set of intervals in seconds to use in between
# attempts.
# If the number of attempts defined in ReconnectAttempts is bigger than the
# set of intervals the last interval is repeated until the last attempt.
#ReconnectIntervals=1,2,4,8,16,32,64

# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
AutoEnable = true
===

> > So, what's the solution if hciconfig et al are not installed with future
> > versions of bluez and the AutoEnable option does not seem to take?
> 
> I'm pretty sure the future solution is to use bluetoothctl as a console
> user interface or find a more scriptable alternative (I don't know of
> any) that also use the DBus interface.
> 
> I just hit this problem with the upgrade as I was using scripts to manage
> turning bluetooth on and off and I was able to get by with just the
> AutoEnable option. I did not find much else in my cursory research as to
> a replacement for hciconfig. The following is from the release notes for
> 
> BlueZ 5.35:
> > A noteworthy new feature is the ability to configure bluetoothd to
> > automatically enable (power on) all new adapters. One use of this is to
> > replace unreliable "hciconfig hci0 up" commands that some distributions
> > use in their init/udev scripts. The feature can be enabled by having
> > AutoEnable=true under the [Policy] section of /etc/bluetooth/main.conf.
> 
> Foster

Yes, but the same AutoEnable option is present in main.conf of 5.43-r1 which I 
am running at present.  Perhaps it only becomes effective in a later version, 
but then why would it be added as an option in the current stable version?

Meanwhile, I did some additional experimentation.  If I run bluetoothctl after 
'/etc/init.d/bluetooth start' and then set:

power on
agent on
scan on, and
quit

the adapter is now up and I can connect with bluetooth as if I had run 
hciconfig up.  If I run neither bluetoothctl, nor hciconfig the adapter stays 
disabled.  Of course, hciconfig is just an one liner (run as root) so it is 
more convenient than running bluetooth control each time.

-- 
Regards,
Mick

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


Re: [gentoo-user] Booting from USB

2017-03-28 Thread Dale
Mick wrote:
> On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
>> Danny YUE wrote:
>>> Just curious: why is top-posting forbidden here?
>>> I have never found any reference for that.
>>>
>>> I would appreciate it if you could tell me something about that.
>>>
>>> Danny
>> Here is one but there are tons of others.
>>
>> https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
>> 5147880
>>
>>
>> Also, on this list, html is frowned upon as well.  Plain text is
>> requested, although some devices may not have the option.
>>
>> Dale
>>
>> :-)  :-)
> I thought the original joke went like this:
>
> A. Top posters
> Q. What's the most annoying thing on Usenet?
>
> A: Because it upsets the logical flow of the thread.
> Q: Why is top posting a bad idea?
>
>
> Anyway, Gentoo users often ask multifaceted questions which require more than 
> a single answer.  With top posting we would need to send many response emails 
> to respond with clarity to all points the OP may have raised.  With inline 
> responses we can interlace the answers in the OP's message and the logical 
> flow of the conversation is retained within a single response email.
>

I have actually seen that in people's sig before.  I can't recall who it
was and haven't seen it in a while. 

I bottom post if it is somewhat a single subject or inline post if it
has more than one topic.  As you say, it makes it easier to know what
one is talking about.  I use what I feel will work best.  Top posting
tho, as your example/joke points out, makes it hard to figure out what
is going on, even if one is following the thread.  Of course, I also
realize that some devices make that hard or impossible.  Most who use
those devices say they are. 

Dale

:-)  :-) 





Re: [gentoo-user] Bluetooth and hciconfig

2017-03-28 Thread Foster McLane
On Tue, Mar 28, 2017 at 07:59:02AM -0700, Mick wrote:
> Mar 28 15:50:20 dell_xps bluetoothd[10619]: Unknown key AutoEnable in
> main.conf

Did you use the 'AutoEnable' option in the '[Policy]' section of
main.conf?

> So, what's the solution if hciconfig et al are not installed with future
> versions of bluez and the AutoEnable option does not seem to take?

I'm pretty sure the future solution is to use bluetoothctl as a console
user interface or find a more scriptable alternative (I don't know of
any) that also use the DBus interface.

I just hit this problem with the upgrade as I was using scripts to manage
turning bluetooth on and off and I was able to get by with just the
AutoEnable option. I did not find much else in my cursory research as to
a replacement for hciconfig. The following is from the release notes for
BlueZ 5.35:

> A noteworthy new feature is the ability to configure bluetoothd to
> automatically enable (power on) all new adapters. One use of this is to
> replace unreliable "hciconfig hci0 up" commands that some distributions
> use in their init/udev scripts. The feature can be enabled by having
> AutoEnable=true under the [Policy] section of /etc/bluetooth/main.conf.

Foster



Re: [gentoo-user] Booting from USB

2017-03-28 Thread Mick
On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
> Danny YUE wrote:

> > Just curious: why is top-posting forbidden here?
> > I have never found any reference for that.
> > 
> > I would appreciate it if you could tell me something about that.
> > 
> > Danny
> 
> Here is one but there are tons of others.
> 
> https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
> 5147880
> 
> 
> Also, on this list, html is frowned upon as well.  Plain text is
> requested, although some devices may not have the option.
> 
> Dale
> 
> :-)  :-)

I thought the original joke went like this:

A. Top posters
Q. What's the most annoying thing on Usenet?

A: Because it upsets the logical flow of the thread.
Q: Why is top posting a bad idea?


Anyway, Gentoo users often ask multifaceted questions which require more than 
a single answer.  With top posting we would need to send many response emails 
to respond with clarity to all points the OP may have raised.  With inline 
responses we can interlace the answers in the OP's message and the logical 
flow of the conversation is retained within a single response email.

-- 
Regards,
Mick

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


[gentoo-user] Bluetooth and hciconfig

2017-03-28 Thread Mick
A recent post had me investigating this.  I'm on net-wireless/bluez-5.43-r1 
which thankfully provides the hciconfig utility.  I have used hciconfig for 
years now to enable the bluetooth adapter on my laptop.

Starting /etc/init.d/bluetooth does not enable the adapter itself.  Setting

AutoEnable = true

causes an error in the logs:

in Mar 28 15:50:20 dell_xps bluetoothd[10619]: Bluetooth daemon 5.43
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Unknown key AutoEnable in 
main.conf
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Starting SDP server
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Bluetooth management interface 
1.14 initialized
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Failed to obtain handles for 
"Service Changed" characteristic
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Endpoint registered: sender=:1.34 
path=/MediaEndpoint/A2DPSource
Mar 28 15:50:20 dell_xps bluetoothd[10619]: Endpoint registered: sender=:1.34 
path=/MediaEndpoint/A2DPSink


The adapter remains disabled:

# hciconfig 
hci0:   Type: Primary  Bus: USB
BD Address: 90:4C:E5:FA:F2:A8  ACL MTU: 1021:8  SCO MTU: 64:8
DOWN 
RX bytes:1058 acl:0 sco:0 events:52 errors:0
TX bytes:951 acl:0 sco:0 commands:52 errors:0


Enabling it manually with hciconfig works as always had:

# hciconfig hci0 up piscan
# hciconfig 
hci0:   Type: Primary  Bus: USB
BD Address: 90:4C:E5:FA:F2:A8  ACL MTU: 1021:8  SCO MTU: 64:8
UP RUNNING PSCAN ISCAN 
RX bytes:1599 acl:0 sco:0 events:80 errors:0
TX bytes:1559 acl:0 sco:0 commands:80 errors:0

So, what's the solution if hciconfig et al are not installed with future 
versions of bluez and the AutoEnable option does not seem to take?
-- 
Regards,
Mick

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


Re: [gentoo-user] Booting from USB

2017-03-28 Thread Dale
Danny YUE wrote:
> On 2017-03-28 05:32, J. Roeleveld  wrote:
>> On March 28, 2017 6:41:30 AM GMT+02:00, Danny YUE  
>> wrote:
>>> Not sure about mini-PC, but you may try another USB stick.
>>> Seriously, Kingston isI never succeeded with it.
>>>
>>> Danny
>>>
>>> On 2017-03-28 04:02, the...@sys-concept.com wrote:
 On 03/27/2017 09:52 PM, tu...@posteo.de wrote:
> On 03/27 09:46, the...@sys-concept.com wrote:
>> I just got some Mini-PC from China with Windows 10 on it and trying
>>> to boot from USB to install Gentoo on it.  
>> But it will not boot from USB, I've tried front and back USB ports.
>>> Windows start regardless what I do.
>> Yes, I set in Bios 1st boot is USB. I've tried pressing F12. Tried
>>> to follow some instruction from google:
>>> https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html
>> Doesn't help.
>>
>> I used rufus to make bootable USB sticks (have two of them). 
>> -- 
>> Thelma
>>
> Hi,
>
> ...from my experience with SoC and such:
> Some boards have a button on the board, which lets the board
> boot from USB/sdcard while pressed...
>
> Only a shot in the dark...
>
> HTH!
> Cheers
> Meino
 I hope there is an easier option? I booted OK from USB my main server
 two months ago, but this Mini PC from China is different.
>> Please stop top-posting.
>> It is not accepted on this list.
> Just curious: why is top-posting forbidden here?
> I have never found any reference for that.
>
> I would appreciate it if you could tell me something about that.
>
> Danny
>
>

Here is one but there are tons of others.

https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp55147880


Also, on this list, html is frowned upon as well.  Plain text is
requested, although some devices may not have the option. 

Dale

:-)  :-) 



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Walter Dnes
On Tue, Mar 28, 2017 at 10:19:00AM +0100, Jorge Almeida wrote
>
> OK, I need no 3D, and I don't game (not even occasionally :)) And
> I'm just an openbox user!
> 
> Maybe someone with a 7th generation can share experience?
> 
> The gentoo WiKI has a page about this stuff. Reading now...

  Mozilla-specific info... if you run either Firefox or sea Monkey or
Pale Moon web browser, include the line...

export MOZ_USE_OMTC=1

...in .bashrc to get maximum hardware acceleration.  For detailed info
about the program, go to "about:support", just like "about:config" and
"about:buildconfig".

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



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-28 Thread Alarig Le Lay
On dim. 26 mars 03:57:00 2017, Stroller wrote:
> Hello,
> 
> In the next few weeks I need to move my email server (a very old
> Gentoo installation) from the closet in my home, into the cloud so
> that I can go travelling and access my mail from anywhere.
> 
> I've never used VM's before, but my understanding is that they look
> just like a normal machine to the users inside them, and there
> shouldn't be any problem with me getting used to them. My current mail
> server is an old 700mhz Pentium III (I think), so performance is
> unimportant. I guess VM's have some kind of web or VNC console I can
> log into for the initial install (and if I screw up remote access)?
> 
> 1. Are these suppositions right?
> 2. Any recommendations for cheap / reliable hosting providers, please?
> 
> I expect to use Gentoo because I've hardly used any other distro for
> years, and find others less intuitive. 
> 
> Thanks,
> 
> Stroller.

Hi,

1. Yes, from the user point of view, it’s very similar to a physical
machine. You just have to use virtual drivers instead of intel/amd ones.

2. What is cheap for you? I’m part of a non for profit association that
rent VMs at 5 € per month for 32G of hard drive, one vCPU and 512M of
RAM. https://grifon.fr/services.html

-- 
alarig


signature.asc
Description: PGP signature


Re: [gentoo-user] Booting from USB

2017-03-28 Thread Danny YUE

On 2017-03-28 05:32, J. Roeleveld  wrote:
> On March 28, 2017 6:41:30 AM GMT+02:00, Danny YUE  wrote:
>>Not sure about mini-PC, but you may try another USB stick.
>>Seriously, Kingston isI never succeeded with it.
>>
>>Danny
>>
>>On 2017-03-28 04:02, the...@sys-concept.com wrote:
>>> On 03/27/2017 09:52 PM, tu...@posteo.de wrote:
 On 03/27 09:46, the...@sys-concept.com wrote:
> I just got some Mini-PC from China with Windows 10 on it and trying
>>to boot from USB to install Gentoo on it.  
> But it will not boot from USB, I've tried front and back USB ports.
>>Windows start regardless what I do.
>
> Yes, I set in Bios 1st boot is USB. I've tried pressing F12. Tried
>>to follow some instruction from google:
>
>>https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html
>
> Doesn't help.
>
> I used rufus to make bootable USB sticks (have two of them). 
> -- 
> Thelma
>
 
 Hi,
 
 ...from my experience with SoC and such:
 Some boards have a button on the board, which lets the board
 boot from USB/sdcard while pressed...
 
 Only a shot in the dark...
 
 HTH!
 Cheers
 Meino
>>>
>>> I hope there is an easier option? I booted OK from USB my main server
>>> two months ago, but this Mini PC from China is different.
>
> Please stop top-posting.
> It is not accepted on this list.

Just curious: why is top-posting forbidden here?
I have never found any reference for that.

I would appreciate it if you could tell me something about that.

Danny



Re: [gentoo-user] Re: About the MATE desktop applications menu

2017-03-28 Thread Mick
On Tuesday 28 Mar 2017 07:15:47 Harry Putnam wrote:
> Mick  writes:
> > On Sunday 26 Mar 2017 11:46:52 Harry Putnam wrote:
> >> Mick  writes:
> >> > On Sunday 26 Mar 2017 02:51:50 Harry Putnam wrote:
> >> >> Just curious is anyone else running the mate desktop has this same
> >> >> shortfall.
> >> >> 
> >> >> Usually in the Applications menu top right the last item on the menu
> >> >> is a `run' command item where you can type in a command to be run.
> >> >> 
> >> >> My fairly recently installed mate dt does not have that.  Wondered if
> >> >> others have that item in their `applications' menu.
> >> >> 
> >> >> Or maybe there is some other bit of MATE I have yet to install.
> >> > 
> >> > From what I recall I could click on the desktop and type a
> >> > command/application.  Plasma also has something similar.
> >> 
> >> I don't use the desktop click much ... not for any good reason just
> >> didn't ever creep into how I operate a desktop.
> >> 
> >> Oddly I had not noticed that in this install ... clicking the DT
> >> produces nothing whatsoever.
> >> 
> >> Must be something a litte messed up here somewhere
> > 
> > I don't have mate installed any more to test, but did you try pressing
> > Alt+F2 to see if a Run dialog pops up?
> 
> No I didn't and yes it does ... thanks

OK, you may want to take a look here for further tips:

https://keyboardshortcuts.org/mate-keyboard-shortcuts

-- 
Regards,
Mick

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


Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Jorge Almeida
On Tue, Mar 28, 2017 at 12:39 PM, J. Roeleveld  wrote:
> On March 28, 2017 11:19:00 AM GMT+02:00, Jorge Almeida  
> wrote:

>>
>>Maybe someone with a 7th generation can share experience?
>>
>
>
> If you just want 2D, then any GPU should work. Intel has very good support on 
> Linux.
>
> For desktop effect, the '3D' capabilities of the GPU are being used. Intel 
> GPUs can handle those without issues. Unless the gen7 version isn't in the 
> kernel yet, expect to have to wait. But I wouldn't expect to have to wait 
> very long. But I wouldn't go for a newer gen7 CPU just for the GPU if not 
> interested in 3D games.
>

Well, I suppose gen7 has advantages re power consumption and speed,
for uses other than 3D. For example, it supports faster RAM. I'm not
sure it's worth the price, though.

Thanks for the input.

Jorge



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread J. Roeleveld
On March 28, 2017 11:19:00 AM GMT+02:00, Jorge Almeida  
wrote:
>On Tue, Mar 28, 2017 at 10:02 AM, J. Roeleveld 
>wrote:
>> On March 28, 2017 10:39:22 AM GMT+02:00, Jorge Almeida
> wrote:
>

>
>>
>> My laptop uses the integrated GPU 95÷ of the time. For the occasional
>game I want to play, I can enable the NVidia chip.
>>
>> Support for Intel graphics is in the vanilla kernel, courtesy of
>Intel developers. With  6th generation i7, I can do most things. Only
>need the Nvidia chip for 3D games that need the higher performance.
>>
>> With just the Intel GPU, I can enable all the eye-candy that KDE has
>to offer and still have a responsive desktop. I don't use it all as it
>can make the interface unusable due to the actual effects.
>>
>OK, I need no 3D, and I don't game (not even occasionally :)) And I'm
>just an openbox user!
>
>Maybe someone with a 7th generation can share experience?
>
>The gentoo WiKI has a page about this stuff. Reading now...
>
>
>Thanks
>
>Jorge

If you just want 2D, then any GPU should work. Intel has very good support on 
Linux.

For desktop effect, the '3D' capabilities of the GPU are being used. Intel GPUs 
can handle those without issues. Unless the gen7 version isn't in the kernel 
yet, expect to have to wait. But I wouldn't expect to have to wait very long. 
But I wouldn't go for a newer gen7 CPU just for the GPU if not interested in 3D 
games.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] Re: About the MATE desktop applications menu

2017-03-28 Thread Harry Putnam
Mick  writes:

> On Sunday 26 Mar 2017 11:46:52 Harry Putnam wrote:
>> Mick  writes:
>> > On Sunday 26 Mar 2017 02:51:50 Harry Putnam wrote:
>> >> Just curious is anyone else running the mate desktop has this same
>> >> shortfall.
>> >> 
>> >> Usually in the Applications menu top right the last item on the menu
>> >> is a `run' command item where you can type in a command to be run.
>> >> 
>> >> My fairly recently installed mate dt does not have that.  Wondered if
>> >> others have that item in their `applications' menu.
>> >> 
>> >> Or maybe there is some other bit of MATE I have yet to install.
>> > 
>> > From what I recall I could click on the desktop and type a
>> > command/application.  Plasma also has something similar.
>> 
>> I don't use the desktop click much ... not for any good reason just
>> didn't ever creep into how I operate a desktop.
>> 
>> Oddly I had not noticed that in this install ... clicking the DT
>> produces nothing whatsoever.
>> 
>> Must be something a litte messed up here somewhere
>
>
> I don't have mate installed any more to test, but did you try pressing Alt+F2 
> to see if a Run dialog pops up?

No I didn't and yes it does ... thanks





Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Jorge Almeida
On Tue, Mar 28, 2017 at 10:02 AM, J. Roeleveld  wrote:
> On March 28, 2017 10:39:22 AM GMT+02:00, Jorge Almeida  
> wrote:

>>>

>
> My laptop uses the integrated GPU 95÷ of the time. For the occasional game I 
> want to play, I can enable the NVidia chip.
>
> Support for Intel graphics is in the vanilla kernel, courtesy of Intel 
> developers. With  6th generation i7, I can do most things. Only need the 
> Nvidia chip for 3D games that need the higher performance.
>
> With just the Intel GPU, I can enable all the eye-candy that KDE has to offer 
> and still have a responsive desktop. I don't use it all as it can make the 
> interface unusable due to the actual effects.
>
OK, I need no 3D, and I don't game (not even occasionally :)) And I'm
just an openbox user!

Maybe someone with a 7th generation can share experience?

The gentoo WiKI has a page about this stuff. Reading now...


Thanks

Jorge



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread J. Roeleveld
On March 28, 2017 10:39:22 AM GMT+02:00, Jorge Almeida  
wrote:
>I'm resending this because "HD 630" is a title bound to elicit no
>response at all. Sorry, I was tired.
>
>On Mon, Mar 27, 2017 at 11:03 PM, Jorge Almeida 
>wrote:
>> This may be a stupid question, for one of two possible reasons, but
>> here it goes:
>>
>> I'm thinking of buying a recent Intel CPU (7th generation, in
>> saleslang), say an i5-7400, and it came to mind, not too late yet,
>> that the integrated GPU may not be supported in linux. I'm talking
>> about the latest kernels, not necessarily the gentoo-packaged one.
>> Anyone knows something about it? And if not supported, is it likely
>> that it will be sometime soon? I can use a spare Radeon card
>> meanwhile...
>>
>> (And, for someone who is not a gamer, is a 7th generation CPU worth
>it
>> at all, as opposed to a 6th generation one?)
>>
>> Any input is appreciated
>>
>> Jorge Almeida

My laptop uses the integrated GPU 95÷ of the time. For the occasional game I 
want to play, I can enable the NVidia chip.

Support for Intel graphics is in the vanilla kernel, courtesy of Intel 
developers. With  6th generation i7, I can do most things. Only need the Nvidia 
chip for 3D games that need the higher performance.

With just the Intel GPU, I can enable all the eye-candy that KDE has to offer 
and still have a responsive desktop. I don't use it all as it can make the 
interface unusable due to the actual effects.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread Jorge Almeida
I'm resending this because "HD 630" is a title bound to elicit no
response at all. Sorry, I was tired.

On Mon, Mar 27, 2017 at 11:03 PM, Jorge Almeida  wrote:
> This may be a stupid question, for one of two possible reasons, but
> here it goes:
>
> I'm thinking of buying a recent Intel CPU (7th generation, in
> saleslang), say an i5-7400, and it came to mind, not too late yet,
> that the integrated GPU may not be supported in linux. I'm talking
> about the latest kernels, not necessarily the gentoo-packaged one.
> Anyone knows something about it? And if not supported, is it likely
> that it will be sometime soon? I can use a spare Radeon card
> meanwhile...
>
> (And, for someone who is not a gamer, is a 7th generation CPU worth it
> at all, as opposed to a 6th generation one?)
>
> Any input is appreciated
>
> Jorge Almeida



[gentoo-user] ??????[gentoo-user] Booting from USB

2017-03-28 Thread ??????
Is you PC EFI or BIOS ? If it is EFI, then you should use SystemRescueCD for 
booting from USB.
Minimal install ISO doesn't support EFI.


--
jenenliu

 




--  --
??: "thelma";;
: 2017??3??28??(??) 11:46
??: "Gentoo mailing list"; 

: [gentoo-user] Booting from USB



I just got some Mini-PC from China with Windows 10 on it and trying to boot 
from USB to install Gentoo on it.  
But it will not boot from USB, I've tried front and back USB ports. Windows 
start regardless what I do.

Yes, I set in Bios 1st boot is USB. I've tried pressing F12. Tried to follow 
some instruction from google:
https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html

Doesn't help.

I used rufus to make bootable USB sticks (have two of them). 
-- 
Thelma

Re: [gentoo-user] How to thin package.provided ?

2017-03-28 Thread Alan McKinnon

On 28/03/2017 04:12, tu...@posteo.de wrote:

Hi,

I want to mark some software as provided from other sources.
And want to prevent long comments from emerge and friends about
my doing so.

/etc/portage/profile/package.provided seems to be a good place for
that...but according to the documents, one needs to specifiy a version
and relational operators are not allowed...which make me think that
I have to mention any single version in past, current and future
existence to prevent emerge from installing a previous or current
version of that software for a longer time.

Thinking of some packages, which are getting updates very often I
see myself writing scripts to populate package.provided with a
lot of stuff and scripts to delete obsoleted entries from there.

If I put those packages into package.mask, emerge comments on
every update of the system, that "needed packages are masked".

Is there any clean way to get out of this?



Yes, don't do it.

package.provided is a horrible ugly hack to work behind portage's back 
and subvert it.


What are these packages and why do you feel this solution is warranted?

If you really don't like some in-tree version of a package, rather spend 
your time writing a local ebuild in an overlay than conjuring up 
invisible magic scripts that are certain to break into millions of shiny 
pieces


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