As CentOS and RHEL curse shit-and there are some things they invented quite literate. For example, the addition of a large number of additional IP is quite a nice job. In General, if you need to add a large number of addresses I'd signed a bash script in that period to carry out the operation in question that the hand is not working. Under Centos/RHEL people have figured it out quite nice range file. Basically we create file/etc/sysconfig/network-scripts/ifcfg-eth0-range0. Here replace eth0 with the network adapter name if not eth0. Then add the following content

IPADDR_START=192.168.0.129
IPADDR_END=192.168.0.254
NETMASK=255.255.255.128
CLONENUM_START=0

as the arguments are

  • IPADDR_START – starting IP address
  • IPADDR_END – final address
  • NETMASK – subnet mask
  • CLONENUM_START – numbering to begin network adapter eth0:0 in our case

 

A few days ago I came across a holynix. This distribution is prepared for hacking on the basis of a Ubuntu with apache installed + mind + php and some sort of page. The goal is to eksploitnat running applications and services to reach the root rights. Now I'm not going to describe how break services and aplikaciite and how it solves the problem with no boot to network. When I used to virtualbox to start holynix v1. I run my image and gledma for a new device on my network – I decided to do it as people do not know what is the IP for ekplojtvane, but I have not found such. You don't understand, and I removed the quiet startup and I saw, during the launch of the network's crying, that there is no /var/run/network/ifstate. The solution is simple you need when starting a network to check whether there are any appropriate directory and if not to the same file for zadade. This is a trivial operation in /etc/init.d/networking at the beginning of the function start add the following 2 row

[ -d /var/run/network ] || mkdir /var/run/network
[ -f /var/run/network/ifstate ] || touch /var/run/network/ifstate

It is clear that a good decision but we don't have a password for the root user 😀 Now follows the fun part and our first hack 😉 to take root in the grub menu we need to do a little magic. You have to push esc quickly before the next system startup menu will appear. Then we're in a mode of the Edit menu in the kernel section finally we add init=/bin/bash and change ro the rw in order for us to file system with write permissions when installing after taking a root-shell.

Then fix the file for network interfaces. We need to change /etc/network/interfaces to lift eht1 and take a dhcp network settings. Because the default is looking eth0 and we have a new device that will be initialized to eth1. Reboot and now you need to name a new device on your network.

ps hint for the part to drill into the login password is there a sql injection 😉 Nice hahorvane

ps 2 To me I enjoyed VirtualBox in the preview mode for the network bridge.

Enhanced by Zemanta

BackTrack 5 It was released on May 10,. For the first time appear with an official version 侏儒 probably the pressure of society has spoken 🙂 and due to this fact you decided to install it on my EEE 1000H. Still my favorite Gnome graphical environment 😉 . Again as the 4th version again and this is based on the Ubuntu 10.04LTS. Which in my opinion did not drawback to say though the target group are the lamavi hahori 😀 . As a regular bloke, a major network's Manager wicd, that's usually a pretty nice in my opinion is the preferred ( When I need a 😉 ), but the eee-it makes me a bug that you can't hook up to unencrypted wireless networks. Definitely quite uncomfortable, with your normal network manager of Gnome this problem is absent. The situation is now clear and I have a problem I have a solution.

Basically won't insist on instalciâta and removing a basic underwater stone that will happen. Otherwise, the previous 2 операции по стандартния начин с apt-get или през synaptic както ви е най комфортно. So I mentioned to an underwater rock and he is following about contents in/etc/network/interfaces network-manager-a cannot initialize your network adapters. It is necessary to comment all superfluous, including the settings with IP addresses. After I cleaned the content of my work out something

auto loe th0 wlan0
allow-hotplug wlan0
allow-hotplug eth0

This solves the problem of not working network manager.

Enhanced by Zemanta

Pfff I had never played with such big numbers for subnetting. I'm not going to explain the process itself has enough written on the net, how through netmask is considered in which position shift 1 and 0 and of course there are already up to where it ends the network part and a host part begins. I had a pretty interesting job teaser 2 /16-BOM (videlicet 255.255.0.0) or for a completely innocent eye 2 x 65534 host address to split them up into 2 the region, with several networks – единия с изисквания за 32к хоста, 16k and 8 k host host which in turn had to split the- 4 equal subnets. The second region had a requirement for 4 k host, 2k and 1 k host hostname, and again like the previous zone each network 4 equal subnets 😆 I'm usually pretty good at subnetting-but so far I've played with networks in such scales. Fell a beautiful great calculus but at least have gotten a lot more experience with large proportions of separating/24-Ki which is done quietly in your mind. Now all the networks to be scattered on the devices to be made rutaciite and networks to work 😀 hahaha. Диаграмата с устройствата ми наброяваше над 30 като престанах да ги борякрасота 😎

On Sunday it was modular exam (end of semester 1) for Cisco CCNA Network Fundamentals. Overall it was great reading and learning from September to now. Накрая всичко се нареди но както обикновено съм недоволен – the good thing is that I took a snap, it in itself doesn't mean anything, or at least not in Bulgaria, Despite, My certificate that I know all the fundamental truths about the networks according to Cisco. I'm dissatisfied, the result is low – 85%. I was hoping for at least 90% but a chance. It's not a failure 😆 . I'm somewhat satisfied already starts a real pleasant pursuits which only vaguely razčoplihme – rutingi protocols, etc.. Now all the dry theory which is going to stay in the past and starts the big fun with routers and switches.

It's a little strange this week for the first time since September I have to learn an entire free week after work will wonder what to do, or 😈

p. s Male Radiohead just kills me – crazy hot stuff. I've only heard good reviews about their latest album.