Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

Change your hostname randomly in Ubuntu

The following script worked great: #!/bin/bash #random_computer_name sudo sed -i 1,10d /etc/hostname function randnum{number=$[ ( $RANDOM % 15 ) + 8 ]} randnum function randpass{newhostname=`} randpass (echo ‘0a’; echo $newhostname; echo ‘.’; echo ‘wq’) | sudo ed -s /etc/hostname sudo … Continue reading →

Tagged , | Leave a comment

Change your computer’s hostname in Ubuntu

“sudo hostname new_name“ where “new_name” is the new hostname you’ll use

Tagged , | Leave a comment

How to change your network MAC address on Ubuntu

“sudo ifconfig eth0 down” #bring down the network card“sudo ifconfig eth0 inet hw ether xx:xx:xx:xx:xx:xx up” #change the MAC and bring it back up where “eth0” is the network adapter you wish to change its MAC and “xx:xx:xx:xx:xx:xx” is the … Continue reading →

Tagged , | 1 Comment

An Excellent Solution to websites that don’t save the username and password

A very nice tutorial that I read here,and it then led me to here, it’s a Javascript script that enables Firefox to remember usernames and passwords for some websites that orders the browser not to remember it, and I LOVE … Continue reading →

Tagged , | Leave a comment

How to connect using Mobinil 3G Modem in Egypt, Solution to a problem in Ubuntu’s default configuration

If you create a profile in 3G connections in Ubuntu (I’m currently using version 9.04), you will be able to connect but you won’t be able to reach any website, that’s because of a glitch in the default configuration for … Continue reading →

Tagged , | 2 Comments