How to disable DHCP NO AUTHENTICATED :)

Tutorials and Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
this is for debian or ubuntu or mint
GRAB YOUR NETWORK DEVICE ID WITH sudo ifconfig

go to etc/network/interfaces.txt

open with root access and add this entry to put static ip address on ipv4 and ipv6 connections

auto YOUR DEVICE ID
iface YOUR DEVICE ID inet static
address 127.0.0.1
netmask 255.255.255.0
gateway 127.0.0.254

iface YOUR DEVICE ID inet6 static
address ::1/128
netmask 64
gateway ::1/128

disable your network connection on panel and enable it again
result is simple ... AWESOMOUS!!

background source
https://static.nodeteria.com/wp-content/assets/lock.jpg

IT SEEMS AFTER REBOOT you dont be able to start your network connection.
to solucionate copy the interface file to somewhere inside of your home directory per example /Documents/STATIC
and put other interface file with default values on /Documents/NON_STATIC

now create 2 script files, one for static and another for non_static > its only two documents files with sh extension on the name

for STATIC.sh
lxterminal -e 'bash -c "sudo /bin/cp -rf /home/mint/Documents/STATIC/interfaces /etc/network/interfaces;bash"'

for NON_STATIC.sh FOR SHUTDOWN in 10 seconds after you prompt your password
lxterminal -e 'bash -c "sudo /bin/cp -rf /home/mint/Documents/NON_STATIC/interfaces /etc/network/interfaces;sleep 10s; shutdown -h now;bash"'

for NON_STATIC2.sh FOR REBOOT in 10 seconds after you prompt your password
lxterminal -e 'bash -c "sudo /bin/cp -rf /home/mint/Documents/NON_STATIC/interfaces /etc/network/interfaces;sleep 10s; shutdown -r now;bash"'

per example in cinnamon you can use command launcher applet in panel to apply the shutdown and reboot functions and at the same time put interface with default configuration... when you reboot you can apply static script in another command launcher

simple

THE TIME IS NOW - feel free to surfing in web... yes Google i feel pleased with you.
the following info is for smartphones and tablets devices
Network Surveillance authorities may not like it but .. common... NSA can read everything in the same way.
This was tested on CM 5.1 ROM with > root access - its necessary

1 - install terminal emulator for android

2 - in terminal type su

3- disable ipv6, writing the following (this may be different on your device)
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

4 - disable root on ssh with your root file manager
on /etc/ssh/ssh_config add this entry
PermitRootLogin no

5 - check your MAC address in terminal
su
ip link show wlan0
copy with some pencil

6 - enable static ip with your root file manager
on /system/etc/dhcpcd and add this entry on dhcpcd.conf

config host
option ip '(some ip just like 192.168.1.6)'
option mac 'XX:XX:XX:XX:XX:XX aa:bb:cc:dd:ee:ff'
option name 'myandroid'
save it and disable your wifi and enable it again

DONE

Ratings & Comments

1 Comment

bernicestockstill

wow, really nice

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

More Tutorials and Scripts from sysmod_linuxus:

Nautilus Delete Context Menu :)
sysmod_linuxus
last update date: 7 years ago

Score 5.0

How to reduce your PING?
sysmod_linuxus
last update date: 7 years ago

Score 5.0

Close All Windows at once
sysmod_linuxus
last update date: 7 years ago

Score 5.0

Avahi user :( -HOW TO DISABLE IT :)
sysmod_linuxus
last update date: 7 years ago

Score 5.0

Other Tutorials and Scripts:

How to use fdisk
ynroot
last update date: 10 years ago

Score 5.0

Cooler recycling: old fans for fresh air
ChEnders
last update date: 10 years ago

Score 6.4

Improved Layout and Icons for RECOLL
stalin2000
last update date: 4 years ago

Score 5.7

How Launch Firefox in Private Mode
lisabonne_citadel
last update date: 8 years ago

Score 5.0

Running screensaver as animated wallpaper
lisabonne_citadel
last update date: 8 years ago

Score 5.0

cmus theme for flurry animated wallpaper
lisabonne_citadel
last update date: 8 years ago

Score 5.0