Ubuntu :: IP Address Detection Script ?
Oct 24, 2010Do anyone have IP address detection script like the one you see in this webpage.
View 6 RepliesDo anyone have IP address detection script like the one you see in this webpage.
View 6 RepliesLinux has duplicate address detection mechanism for IPv6 and nothing for IPv4 in kernel. At boot time, initscripts take care to check for the duplicate address but when an IP address is assigned using ifconfig or ip utility, no error is generated.
View 2 Replies View RelatedI have essentially been raised on Windows so I have no idea how to get DVI to work in Ubuntu. I have a Ubuntu/Vista desktop with an ATI Radeon X1350 graphics card. I can get picture from DVI when I boot into my Vista partition (the computer originally came with Vista and I have a Zune which will not work with Ubuntu ). But the moment I try to use DVI on Ubuntu: I have no picture. The ATI Radeon X1350 Pro is using the open source radeon driver. I know this from the System Testing diagnostic I ran when I finished setting up Ubuntu, the log file mentioned a line: Kernel module: radeon, underneath the section about my graphics card. That is about the limit of my Linux skills for right now, so any thoughts? If you need more information about my system I can comb through that log file which is still saved in my Fire Fox history.
View 4 Replies View RelatedI'm running Ubuntu 9.10 together with Windows 7 and when I launch Nautilus I have a list of all my (Windows) partitions in the navigation bar on the left. However I don't want to see all those partitions in Ubuntu (eg. the Windows system partition or the partition reserved for the Win boot loader. Is there a way I can control which partitions will be detected and listed for mount in Nautilus?
View 3 Replies View RelatedI'm trying to setup motion detection software with a view to getting pictures emailed to me.
I've had a look at a package called motion, which seems great, except it takes tens of pictures every second during motion.
I am having a very strange problem with my sound card. I have found that occasionally when I boot up my system the sound card is not detected. I could understand that there may be driver issues if it was never detected but it usually works again after a reboot. I read that it might help to switch to ALSA so I switched the audio input and output to ALSA and thought it had fixed the problem but I just noticed that the sound card was not connected on my most recent boot up.
View 2 Replies View RelatedI installed via APT GET Modeswitch form my ZTE USB wireless modem. I need to know which modeswitch option is correct, and how to get Ubuntu 10.10 Studio to detect the modem in the my computer option. It only seems to detect a storage device.Using a Dell Inspiron Laptop.The modem glows green as it should, but no detection and connection.
View 3 Replies View RelatedIf i install new hardware using a vmguest or physical system How can I detect it.
disk
nic
memory
etc.
In AIX we just run cfgmgr -v. Is there a similar command in Red Hat?
I am guessing a reboot will pick it up if the device drivers are common enough and in the kernel already.
I want to know how to do this dynamically with the system on-line if possible.
I want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.
View 1 Replies View RelatedI regularly use 2 monitors at 2 different locations. Booting Ubuntu on monitor 1 works great. Booting with monitor 2 connected causes Ubuntuto load with really low resolution.If Ubuntu is running and I unplug monitor 1 and connect monitor 2 all is well and it works perfectly.How can I tell Ubuntu not to check/change the display settings during boot so that it will work correctly with monitor 2?
View 1 Replies View RelatedI am working on comparitive study of mobility models on intruder detection. An ns2 code for detecting an intruder is required.
View 2 Replies View RelatedIt's detecting a 73" Mitsubishi TV when I have a 60". I installed my graphics card driver and that didn't correct the error.
View 4 Replies View RelatedIm an academic (university networks and security lecturer) studying/teaching network and operating system security, and inspired by the work of Hovav Shacham set about testing ASLR on linux. Principley I did this by performing a brute force buffer overflow attack on Fedora 10 and Ubuntu 9. I did this by writting a little concurrent server daemon which accidently on purpose didnt do bounds checking.
I then wrote a client to send it a malicious string brute forcing guessed addresses which caused a return-to-libc to the function usleep with a parameter of 16m causing a delay of 16 seconds as laid out in [URL] Once I hit the delay I new I had found the function and could calculate delta_mmap allowing me to create a standard chained ret-to-libc attack. All of that works fine. However .... To complete my understanding I am trying establish where I can find the standard base address for ubuntu 9 (and other distros) for the following, taken from Shacham:-
Quote:
[code]....
/proc/uid/maps gives me some information but not the base address ldd also gives me the randomised starting address for sections in the user address space but neither gives me the base address. Intrestingly ... when a run ldd with aslr on for over (about) 100 times and checked the start point of libc I determined that the last 3 (least significant) hex digits were always 0's and the fist 4 (most significant) where between 0xB7D7 and 0xB7F9. To me this indicated that bits 22-31 were fixed and bits 12-21 were randomized with bits 11-0 fixed. Although even that doesnt define the boundaries observed correctly.
Note: I am replicating the attack to provide signatures to detect it using IDS, and for teaching purposes. I am NOT a hacker and if needed to could reply from my .ac.uk email address as verification.
Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).
I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
My files are as follows:
When I try to search for something in the main address bar It always adds the following with my input at the end
View 1 Replies View RelatedI'm running Ubuntu 10.10 and I'm having problems trying to assign it a static IP address. No matter what I put in the Preferences->Networking area (identifying the interface as Manual)... it still will query DHCP for an address if I run the dhclient command. I'm using to using ubuntu server where I just set the IP in the interfaces config file.
View 1 Replies View RelatedIf I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
View 2 Replies View RelatedI have a netbook with inbuilt camera attached. i have fedora 14 installed.Is there any software which can login using face detection.I think this is a safer way to login.
View 5 Replies View RelatedI opted to blow away my system (no did not save xorg.conf), and do a clean install of 11.3. Not a big deal to blow it away, nothing lost.
Dell Dimension C521, 3GB RAM, Athlon DualCore
OpenSuse 11.3 x64
Nvidia GeForce 6150LE (on mainboard)
Dell 2048FP 24" Monitor, connected via VGA
When doing the install, all appears to go well. I added the "nomodeset" option after the first boot to avoid the graphics issues. KDE comes up and is in 800x600 mode at 50hz. That is the best resolution it will show. All other options in the configure desktop applet are lower. This monitor was driven at 1900x1200 on the same config with 11.2.
[Code]...
In the nVidia-Settings applet (run as root), it shows the display as "CRT-0". 11.2 showed it as a Dell.
Amarok 2 can search through music collection using ID3v2 tag's 'bpm' field. That would be very nice to retag the entire music collection so I can find the 'mood' of the track I like.However I've not found any beat-detection software that could have helped me. Have you ever used one? CLI, preferably. Also I'm interested if there's anything alike for tagging FLACs with the same 'bpm' field.
View 4 Replies View RelatedI would like to know if there is any way to detect a command if it going to be executed in the shell?
Eg:
Cmd: sudo apt-get clean I want a C program to be called before this cmd is executed.
I have a firewire device on my pc, but I don't know if linux detects it. What is the best way to check if Linux (i'm using slackware) detects it?
View 1 Replies View Relatedi got into serious harddrive detecting issues after an upgrade from slackware 12.2 to 13.0, it simply doesnt seem to find them anymore. ide drive giving lost interrupts and sata drive not being found. when i boot a slackware 13.1 install dvd i get the same issue. but when i boot a 12.1 slackware install dvd it works fine.
to me it seems that something changed in the kernel between these releases which causes this, but i wouldn't know what and how to fix it. i tried searching here and googling but probably not using the correct keyboards. anyone got a clue what to try? i find it hard to believe that this mobo / chipset (which arent the latest but not that old or weird either i believe) arent supported anymore.
I bought a Toshiba T135D-S1324 two days ago, and the only thing I can't get to work is for the internal speakers to automatically mute when headphones are plugged in. (Ubuntu 9.10 for AMD64 by the way.)
I have tried to add "options snd-hda-intel model=laptop probe_mask=1" to /etc/modprobe.d/alsa-base.conf but that didn't work.
The jack detection box is not available under sound preferences. Alsamixer only shows PCM and Master.
"sudo cat /proc/asound/card0/codec#* | grep Codec" shows "Codec: Conexant ID 5066"
I've just installed Ubuntu on my laptop. My laptop has an nVidia card so I'm forced to use the nVidia configuration tools. What I'd like to happen is for it to automatically start using my monitors if they're detected. OR, make a simple script that will enable the monitors without needing to restart X.
View 1 Replies View RelatedI changed the grub2 on my /dev/sda to Arch's version, instead of Ubuntu's, and now I keep booting into the initramfs prompt whenever I try to use Ubuntu. The automatic OS detection won't find it when I run the mkconfig command on grub2's wiki, and I currently have the following in /etc/grub.d/40_custom:
Code:
enuentry "Ubuntu Linux" {
set root=(hd0,3)
linux /boot/vmlinuz-2.6.35-23-generic
initrd /boot/initrd.img-2.6.35-23-generic root=dev/sda3 ro quiet
}
Which according to my partition layout, and a double check on gparted, is correct. Do I need to flag it as boot or something else? I tried putting Ubuntu's grub2 back on with the live cd but it kept saying /dev/ was busy.
Let's say I install Ubuntu in a way that I use VirtualBox with it, so I can run it inside of Windows.
If you use a Linux-incompatible keylogger such as eBlaster on my computer, will it still record my keystrokes because I'm running it in Windows? Or will it be unable to detect anything since I'd be typing in Ubuntu?
software to use against Intrusion and such. The thing is that I don't want to have several anti virus programs running at the same time due to collision.
View 9 Replies View RelatedI have a laptop running Ubuntu 11.04 with Unity The graphics card has an HDMI output that I want to use with a second monitor, but when an HDMI output is connected there is no detection what soever. I think I need to install additional drivers to support Xrandr output when 2nd monitor through HDMI is connected:
[Code]....