1 |
On Wednesday 29 Jul 2015 16:05:10 Meino.Cramer@×××.de wrote: |
2 |
> Thanasis <thanasis@××××××××××.org> [15-07-29 16:38]: |
3 |
> > On 07/29/2015 05:42 AM, Meino.Cramer@×××.de wrote: |
4 |
> > <...snip...> |
5 |
> > |
6 |
> > >2) How I can assign a static IP to my tablet. |
7 |
> > |
8 |
> > At the end of /etc/dhcp/dhcpd.conf add a line like |
9 |
> > |
10 |
> > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address |
11 |
> > xxx.xxx.xxx.xxx; } |
12 |
> > |
13 |
> > >3) How I can change the MAC on my tablet. |
14 |
> > |
15 |
> > What is the OS on the tablet? |
16 |
> |
17 |
> Hi Thanasis, |
18 |
> |
19 |
> thanks for your help! |
20 |
> I didn't thought of "dynamically" assigning a fixed IP to |
21 |
> my tablet via DHCPd (my fault). But this is an elegant solution |
22 |
> for this! |
23 |
|
24 |
If your client is running dhcpcd, then |
25 |
|
26 |
--request 123.456.78.9 #will request this address from the server |
27 |
|
28 |
--inform 123.456.78.9/24 #will inform the server of this address |
29 |
|
30 |
|
31 |
> The tablet runs Android Lollipop 5.0. The tablet is an |
32 |
> ASUS MeMO Pad 7 (ME176CX). |
33 |
|
34 |
To set the IP address manually: |
35 |
|
36 |
ifconfig wlan0 123.456.78.9 |
37 |
|
38 |
or |
39 |
|
40 |
ip addr add 123.456.78.9 dev wlan0 |
41 |
|
42 |
depending on the commands that come with this distro. |
43 |
|
44 |
|
45 |
To change the MAC address manually: |
46 |
|
47 |
ifconfig wlan0 hw ether 00:AA:BB:CC:DD:FF |
48 |
|
49 |
or |
50 |
|
51 |
ip link set wlan0 address 00:AA:BB:CC:DD:FF |
52 |
|
53 |
|
54 |
Reboot to get back what you had originally. |
55 |
|
56 |
-- |
57 |
Regards, |
58 |
Mick |