[CentOS] Permanent job in Tokyo, Japan

2016-11-24 Thread James Tobin
Hello, I’m working with an employer that is looking to hire someone to
fulfil a permanent DevOps-type position at their office in Tokyo.
Japanese language is not required; only English.  Consequently I had
hoped that some members of this mailing list may like to discuss
further; off-list.  I can be reached using "JamesBTobin (at) Gmail
(dot) Com". Kind regards, James
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread Jonathan Billings
On Thu, Nov 24, 2016 at 06:43:35PM -0800, Arun Khan wrote:
> I have prototyped a similar setup with RasPi.  With a 4GB (or higher)
> SD card, flash storage is not a limiting factor compared routers like
> TP-Link.
> 
> I did try openWRT on Raspi but the driver (Realtek 8192 IIRC) for my
> USB LAN was not stable.
> 
> Settled on Raspbian (all config files hand edited).There is Pidora
> (Fedora spin) also.

For what its worth, Fedora 25 has native support for the Pi 3 now, and
the CentOS AltArch SIG is getting pretty close to supporting the Pi3
too. 

https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32/RaspberryPi3

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread Arun Khan
On Thu, Nov 24, 2016 at 11:57 AM, H  wrote:
>
> I did visit both the OpenWRT lists and the TP-Link website. On the latter, I
> found four travel routers: WR810N 300 Mbps, powered from an outlet and 2
> RJ-45 ports, its predecessor WR710N 150 Mbps, WR802N 300 Mbps and powered
> via micro-USB port and 1 RJ-45 port, and finally WR702N 150 Mbps. If I read
> correctly, only the 8xx models have at least 8 Mb of flash memory required
> for OpenWRT so it's down to either WR810N or WR802N. Of note is that all
> routers are apparently sold in a US version where the firmware is locked and
> a European version where it is not, the latter easier to flash.

I have prototyped a similar setup with RasPi.  With a 4GB (or higher)
SD card, flash storage is not a limiting factor compared routers like
TP-Link.

I did try openWRT on Raspi but the driver (Realtek 8192 IIRC) for my
USB LAN was not stable.

Settled on Raspbian (all config files hand edited).There is Pidora
(Fedora spin) also.

>
> OpenWRT seems like a good solution. However, I am not an expert on this and
> two questions remain:
>
> - Will OpenWRT allow me to using a computer, tablet or phone configure the
> access when the hotel (or similar) uses a web page where one has to enter
> userid and password?
>

I suggest NAT on the openWRT device's "WAN" interface and within it do
the "captive portal" auth  with the "host" network.
Your devices connected on the "LAN" (wired + WiFi) should route
through the openWRT device.

> - When the router is connected to the WAN using an Ethernet cable, am I
> correct that it is used in AP (Access Point) mode? And when the router is
> connected to the WAN using WiFi and the user devices access the router it is
> used in Bridge mode?
>
> Thank you for all the suggestions and comments so far!
>

Yes, you can make the WiFi interface act as an AP when the LAN
interface is the "WAN"  IIRC, in openWRT bridge mode of the "WAN"
interface is possible.  But then all devices on the "LAN" side will be
visible to the "host" network.

openWRT does have good documentation with practical use case setups.

HTH,
-- Arun Khan
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread H

On 11/23/2016 09:56 PM, Mauricio Tavares wrote:

Go to the openwrt site and see what replaced the TP-Link TL_WRN702N.
The new one has 2 ether ports and can be USB powered.

Of course, there are those who will say you should use a raspberry pi
for that...

On Wed, Nov 23, 2016 at 3:18 PM, H  wrote:

This is off-topic and the only connection with CentOS is that the laptop
will be running CentOS...

I am looking for a travel router/firewall for a number of reasons:

- Protect against outside attacks when outside the office/home not relying
on whatever protection the laptop/tablet/phone offers.

- Allow for fast transfer for data between devices without being limited by
the bandwidth of the hotel etc., even without being connected to the
internet.

- Allow for multiple devices even when the hotel etc. only allows one device
to be registered.

The ideal device should:

- Be small, ideally be able to be charged via a USB port.

- Use open-source software that the user can update.

- Allow the user to log on the device and set up the connection with the
hotel etc. which often requires a userid and password to be entered on a
browser page.

- Allow using either a RJ-45 wired or wireless connection to the outside
net.

- Have at least two RJ-45 ports to connect a laptop avoiding WiFi.

- Allow for VPN tunneling.

If anyone has suggestions, they would be greatly appreciated!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


I did visit both the OpenWRT lists and the TP-Link website. On the latter, I 
found four travel routers: WR810N 300 Mbps, powered from an outlet and 2 RJ-45 
ports, its predecessor WR710N 150 Mbps, WR802N 300 Mbps and powered via 
micro-USB port and 1 RJ-45 port, and finally WR702N 150 Mbps. If I read 
correctly, only the 8xx models have at least 8 Mb of flash memory required for 
OpenWRT so it's down to either WR810N or WR802N. Of note is that all routers 
are apparently sold in a US version where the firmware is locked and a European 
version where it is not, the latter easier to flash.

OpenWRT seems like a good solution. However, I am not an expert on this and two 
questions remain:

- Will OpenWRT allow me to using a computer, tablet or phone configure the 
access when the hotel (or similar) uses a web page where one has to enter 
userid and password?

- When the router is connected to the WAN using an Ethernet cable, am I correct 
that it is used in AP (Access Point) mode? And when the router is connected to 
the WAN using WiFi and the user devices access the router it is used in Bridge 
mode?

Thank you for all the suggestions and comments so far!

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread H

On 11/23/2016 11:24 PM, Leon Fauster wrote:

Am 23.11.2016 um 21:18 schrieb H :

This is off-topic and the only connection with CentOS is that the laptop will 
be running CentOS...

I am looking for a travel router/firewall for a number of reasons:

- Protect against outside attacks when outside the office/home not relying on 
whatever protection the laptop/tablet/phone offers.

- Allow for fast transfer for data between devices without being limited by the 
bandwidth of the hotel etc., even without being connected to the internet.

- Allow for multiple devices even when the hotel etc. only allows one device to 
be registered.

The ideal device should:

- Be small, ideally be able to be charged via a USB port.

- Use open-source software that the user can update.

- Allow the user to log on the device and set up the connection with the hotel 
etc. which often requires a userid and password to be entered on a browser page.

- Allow using either a RJ-45 wired or wireless connection to the outside net.

- Have at least two RJ-45 ports to connect a laptop avoiding WiFi.

- Allow for VPN tunneling.

If anyone has suggestions, they would be greatly appreciated!


DIY based on http://www.pcengines.ch/ hardware ...

--
LF

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Noted but there may be solutions already available.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-24 Thread Yan Li
> That's what I thought. I think I'll go for a Precision Workstation. 
> Anybody see any major problems with the following configuration.
I bought a Dell Precision 7510 last month, and it works great
with CentOS. You can find my setup here:

https://elliotli.blogspot.com/2016/11/dell-precision-15-7510-running-centos-72.html

I spec'ed out my requirement on dell.com, and it costed around
$3000. I eventually bought mine from an Authorized Dell
Refurbished Reseller on eBay and it only cost $1800. The machine
arrived as flawless as I can tell.

-- 
Yan Li

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread H

On 11/23/2016 11:40 PM, John R Pierce wrote:

On 11/23/2016 2:24 PM, Leon Fauster wrote:

DIY based onhttp://www.pcengines.ch/ hardware ...


the APU2, which is their current generation board suitable for a router like 
this, requires 12VDC up to 1 amp, so tis not suitable for USB power (5V, up to 
2.5 amp) unless you rig up a USB to 12V DC-DC converter.

I do wonder how the OP plans on connecting his phone and/or tablet via ethernet 
to this.   if the hotel internet is wifi, and he wants his own private wifi for 
said phone/tablet, the router would need TWO wifi adapters.



You are right, I had forgotten about needing two WiFi adapters... If there is 
an Ethernet jack in the hotel room I would go with that but that is, of course, 
far from assured and two WiFi nets would be needed.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Headless Centos 7 "File and Print Server" install - configure WIFI

2016-11-24 Thread Gary Stainburn
After all that, it was simply a case of going into nmtui and adding a WIFI 
connection.

I had tried that before, but it must have been before I moved the WIFI dongle 
to a different USB port.

On Thursday 24 November 2016 15:19:43 Gary Stainburn wrote:
> Google has done it's usual job and returned lots of results but not led me
> to a solution.
>
> I've just build a Centos 7 "File and Print Server" config, i.e. no
> screen/keyboard/mouse and no GUI installed.
>
> The LAN connection has worked out of the box and I can SSH into the server
> without issue.
>
> However, I cannot find out how to configure the WIFI connection which I
> need in order to provide Air Print services.
>
> I'm using a USB dongle which the kernel has recognised and provides me with
> a device.  I can use that device to scan for available WIFI networks.  What
> I can't do is configure a connection so that the server can connect to the
> the WIFI network.
>
> Can anyone help with a link to suitable instructions?
>
> Cheers
>
> Gary
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-24 Thread H
On November 23, 2016 5:14:37 PM EST, John R Pierce  wrote:
>On 11/23/2016 2:02 PM, Tony Molloy wrote:
>> precision 15 7510
>>
>> Intel® Core i5-6300HQ Processor (Quad Core 2.30G
>
>that too is a "skylake", latest gen intel CPU,  you might have some 
>issues with CentOS and the USB C/Thunderport, and/or USB 3 on those.   
>
>If it works on Ubuntu, you likely can get it working with C7 albeit 
>maybe using a newer kernel.
>
>unless you're going to game or run advanced CAD software, I'd try and 
>find one that uses Intel's onboard graphics, just to keep things 
>simpler, and save on battery life.
>
>IF that M.2 PCIe SSD is a NVMe drive, you might need to muck about with
>
>drivers or newer kernels to get it working, but it may well work in
>SATA 
>mode 'out of box'.
>
>For sure, you'll have more luck with CentOS 7.x rather than 6.x
>
>
>
>-- 
>john r pierce, recycling bits in santa cruz
>
>___
>CentOS mailing list
>CentOS@centos.org
>https://lists.centos.org/mailman/listinfo/centos

I am looking with interest at Dell XPS 15 but have not yet begun investigating 
if CentOS 7 would run on it.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Headless Centos 7 "File and Print Server" install - configure WIFI

2016-11-24 Thread Gary Stainburn
Google has done it's usual job and returned lots of results but not led me to 
a solution.

I've just build a Centos 7 "File and Print Server" config, i.e. no 
screen/keyboard/mouse and no GUI installed.

The LAN connection has worked out of the box and I can SSH into the server 
without issue.

However, I cannot find out how to configure the WIFI connection which I need 
in order to provide Air Print services.

I'm using a USB dongle which the kernel has recognised and provides me with a 
device.  I can use that device to scan for available WIFI networks.  What I 
can't do is configure a connection so that the server can connect to the the 
WIFI network.

Can anyone help with a link to suitable instructions?

Cheers

Gary


[root@zeppo2 ~]# ifconfig 
enp3s0: flags=4163  mtu 1500
inet 10.6.1.191  netmask 255.255.255.0  broadcast 10.6.1.255
inet6 fe80::96de:80ff:fe88:1b8d  prefixlen 64  scopeid 0x20
ether 94:de:80:88:1b:8d  txqueuelen 1000  (Ethernet)
RX packets 2726  bytes 230386 (224.9 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 1208  bytes 113637 (110.9 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 0  (Local Loopback)
RX packets 12  bytes 1152 (1.1 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 12  bytes 1152 (1.1 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s26u1u2: flags=4099  mtu 1500
ether 00:0f:60:09:2a:65  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@zeppo2 ~]# nmcli dev status
DEVICE   TYPE  STATE CONNECTION 
enp3s0   ethernet  connected enp3s0 
wlp0s26u1u2  wifi  disconnected  -- 
lo   loopback  unmanaged -- 
[root@zeppo2 ~]# nmcli dev wifi list
*  SSIDMODECHAN  RATE   SIGNAL  BARS  SECURITY 
   RW-SECURE Infra   9 54 Mbit/s  19  ▂___  WPA1 
   RW-GuestInfra   9 54 Mbit/s  19  ▂___  --   
[root@zeppo2 ~]# 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, Apache 2.2.15 and SNI?

2016-11-24 Thread Walter H.
On Tue, November 22, 2016 22:40, James B. Byrne wrote:
>
> On Sun, November 20, 2016 12:43, Walter H. wrote:
>
>>
>> https://box.domain1.com works
>> but
>> https://box.domain2.com results in  'Certificate name mismatch'
>>
>>
>
> What are the contents of the certificate(s) you have configured for
> tls?  What AltSubject names, if any, do the certificate(s) support?
>
both were wildcard certificates, one for each domain ...


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dnsmasq and /etc/hosts

2016-11-24 Thread Leon Fauster
Am 24.11.2016 um 10:50 schrieb Nicolas Kovacs :
> Le 24/11/2016 à 10:22, Yamaban a écrit :
>> Hmmm, looks like the "lookup question" from amandine(server) is not
>> resolved in the same way it is resoved from bernadette or raymonde
>> (clients).
> 
> After some more fiddling, I guess I found a solution to my problem. If
> we formulate the problem differently, we can say that the clients use
> the information provided by Dnsmasq, but the server does not. So in
> order to make the server use that information, here's how I changed the
> configuration.
> 
> First, point /etc/resolv.conf to the server itself:
> 
>  # /etc/resolv.conf
>  nameserver 127.0.0.1
> 
> Next, get rid of the 'no-resolv' option in '/etc/dnsmasq.conf':
> 


you can put your upstreams dns servers instead separated and add

resolv-file=/etc/resolv.upstream

to dnsmasq conf.

--
LF

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-24 Thread Leon Fauster
Am 24.11.2016 um 00:15 schrieb Warren Young :
> On Nov 23, 2016, at 3:40 PM, John R Pierce  wrote:
>> I do wonder how the OP plans on connecting his phone and/or tablet via 
>> ethernet to this.
> 
> It can be done:
> 
>  http://www.gottabemobile.com/2014/08/28/how-to-connect-an-ipad-to-ethernet/


I have such a setup here with an iPadAir. Normal network use works but 
"facetime"
seems to be hardwired to WIFI. It complains not having a connection. So, not 
100%
functional. 

--
LF




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dnsmasq and /etc/hosts

2016-11-24 Thread Nicolas Kovacs
Le 24/11/2016 à 10:50, Nicolas Kovacs a écrit :
> After some more fiddling, I guess I found a solution to my problem. If
> we formulate the problem differently, we can say that the clients use
> the information provided by Dnsmasq, but the server does not. So in
> order to make the server use that information, here's how I changed the
> configuration.

I put all this information together in a little blog article (in French) :

http://blog.microlinux.fr/serveur-lan-centos/serveur-dnsmasq/

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dnsmasq and /etc/hosts

2016-11-24 Thread Nicolas Kovacs
Le 24/11/2016 à 10:22, Yamaban a écrit :
> Hmmm, looks like the "lookup question" from amandine(server) is not
> resolved in the same way it is resoved from bernadette or raymonde
> (clients).

After some more fiddling, I guess I found a solution to my problem. If
we formulate the problem differently, we can say that the clients use
the information provided by Dnsmasq, but the server does not. So in
order to make the server use that information, here's how I changed the
configuration.

First, point /etc/resolv.conf to the server itself:

  # /etc/resolv.conf
  nameserver 127.0.0.1

Next, get rid of the 'no-resolv' option in '/etc/dnsmasq.conf':

# /etc/dnsmasq.conf
domain-needed
bogus-priv
interface=enp3s1
dhcp-range=192.168.3.100,192.168.3.200,24h
local=/sandbox.lan/
domain=sandbox.lan
expand-hosts
# DNS
server=192.168.2.1
# Postes fixes
dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.3.3

After restarting Dnsmasq, everything seems fine now:

  [root@amandine:~] # host bernadette
  bernadette has address 192.168.3.2
  [root@amandine:~] # host raymonde
  raymonde has address 192.168.3.3


Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Dnsmasq and /etc/hosts

2016-11-24 Thread Yamaban

On Thu, 24 Nov 2016 09:25, Nicolas Kovacs  wrote:


Hi,

I just setup CentOS 7 on three boxes to fiddle with it.

1. amandine.sandbox.lan is a headless LAN server

2. bernadette.sandbox.lan is a client desktop

3. raymonde.sandbox.lan is another client desktop

I've setup Dnsmasq on amandine.sandbox.lan. Here's the very basic
configuration:

 # /etc/dnsmasq.conf
 domain-needed
 bogus-priv
 interface=enp3s1
 dhcp-range=192.168.3.100,192.168.3.200,24h
 local=/sandbox.lan/
 domain=sandbox.lan
 expand-hosts
 no-resolv
 # DNS
 server=192.168.2.1
 # Postes fixes
 dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
 dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.3.3

With this setup as such, I can resolve bernadette from raymonde, and I
can also resolve raymonde from bernadette. But when I try to resolve
either bernadette or raymonde from the server, I get an unknown
hostname. The only way to solve this is to add two corresponding lines
to /etc/hosts:

 # /etc/hosts
 127.0.0.1   localhost.localdomain localhost
 192.168.3.1 amandine.sandbox.lan amandine
 192.168.3.2 bernadette.sandbox.lan bernadette
 192.168.3.3 raymonde.sandbox.lan raymonde

This strikes me as a benign redundancy, which makes me wonder if I'm
doing something unorthodox here.

Any suggestions?


Hmmm, looks like the "lookup question" from amandine(server) is not
resolved in the same way it is resoved from bernadette or raymonde
(clients).

How about adding a reverse lookup for your lan ip group, pointing to
your server?

server=/168.192.3.in-addr.arpa/192.168.3.1

Otherwise, little to no idea.

 - Yamaban.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Dnsmasq and /etc/hosts

2016-11-24 Thread Nicolas Kovacs
Hi,

I just setup CentOS 7 on three boxes to fiddle with it.

1. amandine.sandbox.lan is a headless LAN server

2. bernadette.sandbox.lan is a client desktop

3. raymonde.sandbox.lan is another client desktop

I've setup Dnsmasq on amandine.sandbox.lan. Here's the very basic
configuration:

  # /etc/dnsmasq.conf
  domain-needed
  bogus-priv
  interface=enp3s1
  dhcp-range=192.168.3.100,192.168.3.200,24h
  local=/sandbox.lan/
  domain=sandbox.lan
  expand-hosts
  no-resolv
  # DNS
  server=192.168.2.1
  # Postes fixes
  dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
  dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.3.3

With this setup as such, I can resolve bernadette from raymonde, and I
can also resolve raymonde from bernadette. But when I try to resolve
either bernadette or raymonde from the server, I get an unknown
hostname. The only way to solve this is to add two corresponding lines
to /etc/hosts:

  # /etc/hosts
  127.0.0.1   localhost.localdomain localhost
  192.168.3.1 amandine.sandbox.lan amandine
  192.168.3.2 bernadette.sandbox.lan bernadette
  192.168.3.3 raymonde.sandbox.lan raymonde

This strikes me as a benign redundancy, which makes me wonder if I'm
doing something unorthodox here.

Any suggestions?

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos