Debian Configuration :: Show MAC And IP In Realtime From Shell?
Dec 28, 2015What command to show MAC and IP of any computer conected in realtime?
View 9 RepliesWhat command to show MAC and IP of any computer conected in realtime?
View 9 RepliesI use Debian testing and when I run this
Code: Select alluname -a
I see these
Code: Select allLinux debian-mfaridi 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64 GNU/Linux
I've been trying to setup Plymouth on Debian Squeeze, but have only been partially successful: Plymouth works with shutdown (i.e. I see Plymouth after I tell the computer to shut down), but not when I start up my computer (before it reaches GDM). In other words, Plymouth seems to work with my graphics, but for some reason does not show up at startup (not even briefly, as far as I can tell). I've searched the forums and followed this advice, as well as the instructions found here: [URL] but neither of those worked. I'm running Debian Testing (Squeeze) on a Thinkpad X41, which uses "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller" for graphics.
View 4 Replies View RelatedI have just installed and enabled plymouth, and during the process I had to update Grub. Something got messed up and I have the following issues:
1. Grub does not show Fedora15
2. Windows7 loader is listed as Windows Vista loader
I cannot log into Fedora15, though I can log into Windows... Please guide to the proper resolution of the above issue.
Daily updated Debian Testing Because Debian is the only operating system on this laptop and I keep at least two working kernels, I would like to hide Grub2's menu unless I press a key (like one could do with Grub). I can hide the menu if the line GRUB_TIMEOUT=0 is in /etc/default/grub but it doesn't appear after pressing SHIFT, which is a threat if the system cannot boot the selected kernel. Right now, the timeout is set to one second. I've read Grub2's documentation and [URL] and tried various combinations, but I haven't been able to make this work.
View 1 Replies View RelatedI recently installed Lenny but have not been successful using the wireless. have previously used Ubuntu 8.04 where the wireless worked without problems (network-manager).I have also tried to install wicd but that too does not list any available networks. I have presently reinstalled network-manager
lspci:
06:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
iwconfig:
[code]...
My Debian server is used by people to set up ssh-tunnels for use as a local proxy ( on their remote machines).Since only the tunnel is setup, and no shell is used, I can't use "who" to see which users have an active ssh-tunnel on my server, but I would like to have an idea about who is active etc. I think I should be able to determine this from the auth.log file, but then I would have to use some script to determine what connection is still active. Is there an easy way to see what users have active ssh-tunnels on my Debian server at any given moment?
View 3 Replies View RelatedI just freshly installed Jessie on my Dell Inspiron 5110, I configured the network on the installer and had no problem. I can browse the web, get updates and install software.
But I can't find new networks. It just show "No Networks".
lspci -vnn
Code: Select all09:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34)
Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN [8086:5325]
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at f7e00000 (64-bit, non-prefetchable) [size=8K]
[Code] ....
What input should I post?
I have vsftpd installed on my Debian (squeeze). I wish to let a local user (ftp) access the FTP server, but not login as normal user through SSH. In vsftpd.conf, I have enabed local user and chroot. I have also changed the shell of the local user (ftp) to /bin/false. The problem is that, I cannot login the FTP server from another computer (I login as "ftp" on a Windows machine). But when I change the shell of the local user (ftp) to /bin/sh, I can login the FTP successfully.
Is this the problem of Windows, or I should use something else instead of /bin/false if I want to prevent "ftp" login service other than FTP?
Does anyone know how to make the file colours appear different for each file type in the shell like happens in ubuntu?
View 4 Replies View Relatedhow can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.
View 5 Replies View RelatedI have two machines running SQUEEZE, both installed and configured within the same week (not simultaneously). Both get the users info from a NIS server. In one of the machines (named "corona"), users cannot login, neither locally nor by ssh, in the other one ("xxlager") there is no problem. Both mount the users home directories by NFS. I have not found much useful info in the web. /etc/passwd, /etc/group/, /etc/shadow, are equally configured. The only difference I have found is when I use getent. Using "getent passwd isaenz" on xxlager yields:
isaenz:x:1001:1001:User Name,,,:/home/isaenz:/bin/tcsh
but on corona the result is
isaenz:x:1001:1001:User Name,,,:/home/isaenz:
so the shell info is empty.
Checking /var/log/auth.log I see a message saying:
"User isaenz not allowed because shell does not exist"
But "ypmatch isaenz passwd" returns complete information for isaenz, both on xxlager and corona.
I have no idea how I managed this, but I am able to connect to the internet but NetworkManager doesn't show any connection. This means that until I kill it, I cannot log in with Pidgin, because it is waiting for a connection.
Do I disable NetworkManager completely or do I try to make it recognize that I am connected to the Internet? If the latter, then how should I go about? (Please let me know which files I need to show you, because I know I've messed around with a couple).
I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.
I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.
Where exactly on the file is it that I need to make the change?
Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man
export HOSTNAME="`cat /etc/HOSTNAME`"
[Code]....
I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root
I cannot start jackd in X with realtime scheduling:
[Code]...
Whenever I go inside a directory in Linux, it shows the file path at prompt like:
root@vivek-HP-Pavilion-dv6-Notebook-PC:/var/www/abc/def/
How can I change it to show short names instead?
I'm currently on a Linux machine and the shell prompt is showing me the last return value and number of executed commands (picture included, with these numbers shown in purple).
My own computer doesn't have this, how can I configure it? I'm using Xubunto, if more details are needed let me know -- I'm not much of a Linux user (I don't know what's relevant here).
It always shows a same icon, for every application which shows message tray icon. I just did some shell extension work after fresh installation of F15, nothing related on message tray. Don't know how to change it back.Dose anyone knows how to customize message tray icon for gnome-shell?
View 2 Replies View RelatedI am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?
View 3 Replies View RelatedThis may fall under the "ain't broke don't fix it" category but it's driving me nuts. I've got the Broadcom 4322 wireless adapter in my laptop and it works fine with broadcom-wl driver and kmod. However there is no ifcfg-eth1 file and the card does not show up in system-config-network.
View 2 Replies View RelatedI am attempting to mount my Direct TV DVR (HR22) SATA Drive using Fedora 12 x86_64 using the following command:
The output of BLKID is:
I am able to mount this using MSFLive.org LIVECD/USB: [url] and knoppix
I have a question, tried to search on the Internet but it is hopeless. I want to write a shell script(bashShell) that will run commands of configuration for vim editor.For example: in the script, it will run ":let", ":set", ":highlight" to configure for vim editor. In addition to, when I searched a pattern and wrote it to file,ed vi to open it automatically. But, I couldn't highlight a word(that is the pattern I'm searching) in vim automatically
View 3 Replies View Relatedvi /etc/samba/smb.conf
[samba test]
comment = client
path = /opt/apps/deploy/websites
public = no
writable = yes
[Code]...
Using the bash shell script the above given samba configuration,the script should automatically add these above given entries in the /etc/samba/smb.conf.can any one help me how to edit the file add entries in the config file using shell script.
how to write shell script(awk/sed or any other) to edit value of parameters in configuration files on same server or remote server.
View 3 Replies View Relatedi need to use the realtime kernel because i use jack audio connection kit so i tried to install the realtime kernel from the install/remove software program. I've found 2 kernels : Kernel-trace and kernel-rt i tried both of 'em but i cannot boot up suse. The first one gets to 3/4 of the loading bar , i hear the welcome sound and then it won't do anything else. The second won't do anything, black screen.
View 9 Replies View Relatedis there a realtime or low-latency kernel in a repository somewhere for OpenSUSE 11.4? I know I can just compile a rt kernel, but that's a bit tedious and I'd like to avoid it if possible.
View 9 Replies View RelatedJust got Studio 9.10 running and the RT kernel installed. I have a Prescott P4 3.2ghz (hyperthreading) and i encountered what looks like a common freeze problem. I am guessing my cpu will not be supported in the RT kernel since it is pretty old now.I added nosmp acpi=off during boot at the Grub2 menu and it booted fine and I was able to capture some video great.
My questions is, if I remove the smp support by using the nosmp option, do I still benefit from the RT kernel or would I do just as well with the generic kernel I have installed?Eventually I will upgrade do a new system board and processor but for now I just got some life back in this one by switching to Linux
I have investigated loads and loads of options and haven't really yet come across what I need.
I wish to stream the microphone input from a PC using Lucid to another PC also using Lucid on the same network. I don't care about the quality, however, latency is really important. I hope to use it to monitor the cries of my baby daughter, so the lower the latency the better.
I have tired various options:
- FFserver and FFmpeg - latency of over 30 seconds
- VLC - couldn't get it to work with my mic and maxes out the CPU
- ssh server 'cat /dev/dsp > /dev/dsp' - latency of around 5 seconds by audio keeps breaking up with huge delays
- icecast2 and darkice - latency of around 7 seconds but no audio breakups
I've been reading on maybe using PulseAudio to stream the input, but I am not sure if it will work or not...
how to get near real-time streaming audio? As I said, it is the realtime, not the quality that is important...
I am not able to start JACK in realtime mode. This is a bummer. here is the error message I get:
p, li { white-space: pre-wrap; } 11:58:20.745 Patchbay deactivated.
11:58:20.746 Statistics reset.
11:58:20.812 ALSA connection graph change.
[code]...
This might be a very stupid questions, but I'm wondering if anyone can tell me if there are any antivirus software for Linux?I know that it normally is not something that is needed, but in the company where I work they have a policy saying that every OS must have a realtime anti virus program installed on the pc's with automatic updates.
View 14 Replies View Related