On Wednesday 29 Jul 2015 16:05:10 meino.cra...@gmx.de wrote: > Thanasis <thana...@asyr.hopto.org> [15-07-29 16:38]: > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > <...snip...> > > > > >2) How I can assign a static IP to my tablet. > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > xxx.xxx.xxx.xxx; } > > > > >3) How I can change the MAC on my tablet. > > > > What is the OS on the tablet? > > Hi Thanasis, > > thanks for your help! > I didn't thought of "dynamically" assigning a fixed IP to > my tablet via DHCPd (my fault). But this is an elegant solution > for this!
If your client is running dhcpcd, then --request 123.456.78.9 #will request this address from the server --inform 123.456.78.9/24 #will inform the server of this address > The tablet runs Android Lollipop 5.0. The tablet is an > ASUS MeMO Pad 7 (ME176CX). To set the IP address manually: ifconfig wlan0 123.456.78.9 or ip addr add 123.456.78.9 dev wlan0 depending on the commands that come with this distro. To change the MAC address manually: ifconfig wlan0 hw ether 00:AA:BB:CC:DD:FF or ip link set wlan0 address 00:AA:BB:CC:DD:FF Reboot to get back what you had originally. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.