Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-22 Thread Peter Humphrey
On Saturday 22 Apr 2017 00:45:31 Mick wrote: > On Saturday 22 Apr 2017 00:08:25 Peter Humphrey wrote: > > On Friday 21 Apr 2017 13:39:52 Neil Bothwick wrote: > > > I was referring to the situation where you use the DHCP server to give > > > out pseudo-static addresses. I have always used addresses

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Mick
On Saturday 22 Apr 2017 00:08:25 Peter Humphrey wrote: > On Friday 21 Apr 2017 13:39:52 Neil Bothwick wrote: > > I was referring to the situation where you use the DHCP server to give > > out pseudo-static addresses. I have always used addresses outside of, but > > in the same subnet as, the

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Peter Humphrey
On Friday 21 Apr 2017 13:39:52 Neil Bothwick wrote: > I was referring to the situation where you use the DHCP server to give > out pseudo-static addresses. I have always used addresses outside of, but > in the same subnet as, the reserved range. The reserved range just tells > the DHCP server

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Florian Gamböck
Hi Peter! On 2017-04-21 13:53, Peter Humphrey wrote: Have you considered spending a little money, ditching the router and substituting one that you can control? Reasonably capable routers aren't expensive. Yes, I have considered this. But this is a router by my internet provider, especially

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Florian Gamböck
On 2017-04-21 13:39, Neil Bothwick wrote: I was referring to the situation where you use the DHCP server to give out pseudo-static addresses. I have always used addresses outside of, but in the same subnet as, the reserved range. The reserved range just tells the DHCP server which addresses to

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Peter Humphrey
On Friday 21 Apr 2017 14:20:06 Florian Gamböck wrote: > I got this pre-configured router from my internet provider and I have > *very* limited access to the configuration. I have no telnet and no ssh, > as far as I can tell. For example, when I want to change my wifi > configuration, I have to do

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Neil Bothwick
On Fri, 21 Apr 2017 14:20:07 +0200, Florian Gamböck wrote: > > You should allocate static addresses from outside of the DHCP > > reserved range. For example, set the DHCP range to 192.168.1.100-200 > > then allocate static addresses from below there. > > That's what I've been doing until now,

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Florian Gamböck
On 2017-04-19 12:17, Mick wrote: On Wednesday 19 Apr 2017 12:46:09 Florian Gamböck wrote: On 2017-04-18 20:41, Mick wrote: Assuming you have access to your home's router, you can configure on it a static IP address for the MAC address of the Raspi. That's what I've been doing in the past,

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Florian Gamböck
Hi Neil! On 2017-04-19 12:00, Neil Bothwick wrote: On Wed, 19 Apr 2017 12:46:09 +0200, Florian Gamböck wrote: On 2017-04-18 20:41, Mick wrote: Assuming you have access to your home's router, you can configure on it a static IP address for the MAC address of the Raspi. The home router will

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-21 Thread Florian Gamböck
On 2017-04-19 12:46, Florian Gamböck wrote: On 2017-04-18 20:41, Mick wrote: (...) Something like this should work: # Define the gateway you want to configure gateways_eth0="192.168.0.254,AA:BB:CC:DD:EE:FF,192.168.0.10" # Define the default route for gateway 192.168.0.254

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-20 Thread Paul Klos
Op 20-4-2017 om 01:16 schreef Peter Humphrey: On Wednesday 19 Apr 2017 12:00:50 Neil Bothwick wrote: If you have an always on computer on your network, I would recommend trying dnsmasq. It has a DHCP server and means you can do all your network configuration in the one place, with simple

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-19 Thread Peter Humphrey
On Wednesday 19 Apr 2017 12:00:50 Neil Bothwick wrote: > If you have an always on computer on your network, I would recommend > trying dnsmasq. It has a DHCP server and means you can do all your > network configuration in the one place, with simple text config files. +1. I've been using it for

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-19 Thread Mick
On Wednesday 19 Apr 2017 12:46:09 Florian Gamböck wrote: > On 2017-04-18 20:41, Mick wrote: > > I can think of at least two ways you can attempt to achieve what you > > want. > > > > 1. Set the Raspi to use DHCP only > > > > Assuming you have access to your home's router, you can configure on >

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-19 Thread Neil Bothwick
On Wed, 19 Apr 2017 12:46:09 +0200, Florian Gamböck wrote: > On 2017-04-18 20:41, Mick wrote: > > Assuming you have access to your home's router, you can configure on > > it a static IP address for the MAC address of the Raspi. The home > > router will not allocate any such reserved IP

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-19 Thread Florian Gamböck
On 2017-04-18 20:41, Mick wrote: I can think of at least two ways you can attempt to achieve what you want. 1. Set the Raspi to use DHCP only Assuming you have access to your home's router, you can configure on it a static IP address for the MAC address of the Raspi. The home router will

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-18 Thread Mick
On Tuesday 18 Apr 2017 20:41:54 Florian Gamböck wrote: > Hi Mick, > > thank you for your response! > > On 2017-04-18 16:41, Mick wrote: > > I had to read this message twice and I am not yet sure I understand > > correctly what it is you are trying to achieve. > > > > Do you want whichever NIC

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-18 Thread Florian Gamböck
Hi Mick, thank you for your response! On 2017-04-18 16:41, Mick wrote: I had to read this message twice and I am not yet sure I understand correctly what it is you are trying to achieve. Do you want whichever NIC of your PC connects first to a specific SSID to always obtain IP

Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-18 Thread Mick
On Tuesday 18 Apr 2017 16:03:25 Florian Gamböck wrote: > Hello! > > In my wireless home network I use a static IP for my machine. The > regarding line in /etc/conf.d/net reads as follows (let's assume that my > SSID is in fact "MySSID"): > > config_MySSID="192.168.0.10/24" > > Is there a

[gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-18 Thread Florian Gamböck
Hello! In my wireless home network I use a static IP for my machine. The regarding line in /etc/conf.d/net reads as follows (let's assume that my SSID is in fact "MySSID"): config_MySSID="192.168.0.10/24" Is there a possibility to configure this IP not only for this specific SSID, but